Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RDoc-2940 External replication task: Fix definition of Name param #1881

Merged
merged 1 commit into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The required elements of an External Replication task are:
* **ConnectionStringName**
The connection string name.
* **Name**
The target database name.
The External Replication task name.

{CODE ExternalReplication@Server\OngoingTasks\ExternalReplicationSamples.cs /}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Raven.Client.Documents;
using Raven.Client.Documents.Operations.ConnectionStrings;
using Raven.Client.Documents.Operations.ETL;
using System.Threading.Tasks;
using Raven.Client.Documents.Operations.Replication;
using System;

namespace Raven.Documentation.Samples.Server.OngoingTasks.ExternalReplicationSamples
using Raven.Client.Documents;
using Raven.Client.Documents.Operations.ConnectionStrings;
using Raven.Client.Documents.Operations.ETL;
using System.Threading.Tasks;
using Raven.Client.Documents.Operations.Replication;
using System;
namespace Raven.Documentation.Samples.Server.OngoingTasks.ExternalReplicationSamples
{

public class ExternalReplicationExampleConfig
Expand Down Expand Up @@ -47,7 +47,7 @@ await sourceStore.Maintenance.SendAsync(
new UpdateExternalReplicationOperation(new ExternalReplication
{
ConnectionStringName = connectionStrName,
Name = "targetDatabaseName",
Name = "task-name",
}));

#endregion
Expand Down Expand Up @@ -78,12 +78,12 @@ await sourceStore.Maintenance.SendAsync(
new UpdateExternalReplicationOperation(new ExternalReplication
{
ConnectionStringName = connectionStrName,
Name = "targetDatabaseName",
Name = "task-name",
MentorNode = "B",
DelayReplicationFor = TimeSpan.FromMinutes(30)
}));

#endregion
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The required elements of an External Replication task are:
* **ConnectionStringName**
The connection string name.
* **Name**
The target database name.
The External Replication task name.

{CODE ExternalReplication@Server\OngoingTasks\ExternalReplicationSamples.cs /}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Raven.Client.Documents;
using Raven.Client.Documents.Operations.ConnectionStrings;
using Raven.Client.Documents.Operations.ETL;
using System.Threading.Tasks;
using Raven.Client.Documents.Operations.Replication;
using System;

namespace Raven.Documentation.Samples.Server.OngoingTasks.ExternalReplicationSamples
using Raven.Client.Documents;
using Raven.Client.Documents.Operations.ConnectionStrings;
using Raven.Client.Documents.Operations.ETL;
using System.Threading.Tasks;
using Raven.Client.Documents.Operations.Replication;
using System;
namespace Raven.Documentation.Samples.Server.OngoingTasks.ExternalReplicationSamples
{

public class ExternalReplicationExampleConfig
Expand Down Expand Up @@ -47,7 +47,7 @@ await sourceStore.Maintenance.SendAsync(
new UpdateExternalReplicationOperation(new ExternalReplication
{
ConnectionStringName = connectionStrName,
Name = "targetDatabaseName",
Name = "task-name",
}));

#endregion
Expand Down Expand Up @@ -78,12 +78,12 @@ await sourceStore.Maintenance.SendAsync(
new UpdateExternalReplicationOperation(new ExternalReplication
{
ConnectionStringName = connectionStrName,
Name = "targetDatabaseName",
Name = "task-name",
MentorNode = "B",
DelayReplicationFor = TimeSpan.FromMinutes(30)
}));

#endregion
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The required elements of an External Replication task are:
* **ConnectionStringName**
The connection string name.
* **Name**
The target database name.
The External Replication task name.

{CODE ExternalReplication@Server\OngoingTasks\ExternalReplicationSamples.cs /}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
using Raven.Client.Documents;
using Raven.Client.Documents.Operations.ConnectionStrings;
using Raven.Client.Documents.Operations.ETL;
using System.Threading.Tasks;
using Raven.Client.Documents.Operations.Replication;
using System;

namespace Raven.Documentation.Samples.Server.OngoingTasks.ExternalReplicationSamples
using Raven.Client.Documents;
using Raven.Client.Documents.Operations.ConnectionStrings;
using Raven.Client.Documents.Operations.ETL;
using System.Threading.Tasks;
using Raven.Client.Documents.Operations.Replication;
using System;
namespace Raven.Documentation.Samples.Server.OngoingTasks.ExternalReplicationSamples
{

public class ExternalReplicationExampleConfig
Expand Down Expand Up @@ -47,7 +47,7 @@ await sourceStore.Maintenance.SendAsync(
new UpdateExternalReplicationOperation(new ExternalReplication
{
ConnectionStringName = connectionStrName,
Name = "targetDatabaseName",
Name = "task-name",
}));

#endregion
Expand Down Expand Up @@ -78,12 +78,12 @@ await sourceStore.Maintenance.SendAsync(
new UpdateExternalReplicationOperation(new ExternalReplication
{
ConnectionStringName = connectionStrName,
Name = "targetDatabaseName",
Name = "task-name",
MentorNode = "B",
DelayReplicationFor = TimeSpan.FromMinutes(30)
}));

#endregion
}
}
}
}
}
Loading