feat(dcl): extend CreateConnectionCommand with backup config and failover retry count

Update CreateConnectionCommand to carry PrimaryConnectionDetails,
BackupConnectionDetails, and FailoverRetryCount. Update all callers:
DataConnectionManagerActor, DataConnectionActor, DeploymentManagerActor,
FlatteningService, and ConnectionConfig. The actor stores both configs
but continues using primary only — failover logic comes in Task 3.
This commit is contained in:
Joseph Doherty
2026-03-22 08:24:39 -04:00
parent 04af03980e
commit 46304678da
7 changed files with 42 additions and 10 deletions

View File

@@ -70,7 +70,7 @@ public class DataConnectionManagerActorTests : TestKit
new DataConnectionManagerActor(_mockFactory, _options, _mockHealthCollector)));
manager.Tell(new CreateConnectionCommand(
"conn1", "OpcUa", new Dictionary<string, string>()));
"conn1", "OpcUa", new Dictionary<string, string>(), null, 3));
// Factory should have been called
AwaitCondition(() =>