feat: wire SQLite replication between site nodes and fix ConfigurationDatabase tests
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.
This commit is contained in:
@@ -104,6 +104,20 @@ public class SemanticValidator
|
||||
}
|
||||
}
|
||||
|
||||
// Validate Call-type scripts have parameter definitions
|
||||
foreach (var script in configuration.Scripts)
|
||||
{
|
||||
if (string.Equals(script.TriggerType, "Call", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (string.IsNullOrWhiteSpace(script.ParameterDefinitions))
|
||||
{
|
||||
warnings.Add(ValidationEntry.Warning(ValidationCategory.MissingMetadata,
|
||||
$"Call-type script '{script.CanonicalName}' has no parameter definitions.",
|
||||
script.CanonicalName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Validate alarm trigger operand types
|
||||
foreach (var alarm in configuration.Alarms)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user