Skip to content

Commit

Permalink
Merge pull request #1881 from Danielle9897/RDoc-2940-fixExtRepNameParam
Browse files Browse the repository at this point in the history
RDoc-2940 External replication task: Fix definition of Name param
  • Loading branch information
ppekrol committed Aug 21, 2024
2 parents e0d55b8 + d029556 commit db66bc9
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 39 deletions.
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
}
}
}
}
}

0 comments on commit db66bc9

Please sign in to comment.