Add SiteReplicationActor (runs on every site node) to replicate deployed configs and store-and-forward buffer operations to the standby peer via cluster member discovery and fire-and-forget Tell. Wire ReplicationService handler and pass replication actor to DeploymentManagerActor singleton. Fix 5 pre-existing ConfigurationDatabase test failures: RowVersion NOT NULL on SQLite, stale migration name assertion, and seed data count mismatch.
15 lines
1.1 KiB
C#
15 lines
1.1 KiB
C#
namespace ScadaLink.Commons.Messages.Management;
|
|
|
|
public record ListExternalSystemsCommand;
|
|
public record GetExternalSystemCommand(int ExternalSystemId);
|
|
public record CreateExternalSystemCommand(string Name, string EndpointUrl, string AuthType, string? AuthConfiguration);
|
|
public record UpdateExternalSystemCommand(int ExternalSystemId, string Name, string EndpointUrl, string AuthType, string? AuthConfiguration);
|
|
public record DeleteExternalSystemCommand(int ExternalSystemId);
|
|
|
|
// External System Methods
|
|
public record ListExternalSystemMethodsCommand(int ExternalSystemId);
|
|
public record GetExternalSystemMethodCommand(int MethodId);
|
|
public record CreateExternalSystemMethodCommand(int ExternalSystemId, string Name, string HttpMethod, string Path, string? ParameterDefinitions = null, string? ReturnDefinition = null);
|
|
public record UpdateExternalSystemMethodCommand(int MethodId, string? Name = null, string? HttpMethod = null, string? Path = null, string? ParameterDefinitions = null, string? ReturnDefinition = null);
|
|
public record DeleteExternalSystemMethodCommand(int MethodId);
|