6ea38faa6f
Deployment Manager (WP-1–8, WP-16): - DeploymentService: full pipeline (flatten→validate→send→track→audit) - OperationLockManager: per-instance concurrency control - StateTransitionValidator: Enabled/Disabled/NotDeployed transition matrix - ArtifactDeploymentService: broadcast to all sites with per-site results - Deployment identity (GUID + revision hash), idempotency, staleness detection - Instance lifecycle commands (disable/enable/delete) with deduplication Store-and-Forward (WP-9–15): - StoreAndForwardStorage: SQLite persistence, 3 categories, no max buffer - StoreAndForwardService: fixed-interval retry, transient-only buffering, parking - ReplicationService: async best-effort to standby (fire-and-forget) - Parked message management (query/retry/discard from central) - Messages survive instance deletion, S&F drains on disable 620 tests pass (+79 new), zero warnings.
17 lines
719 B
C#
17 lines
719 B
C#
namespace ScadaLink.DeploymentManager;
|
|
|
|
/// <summary>
|
|
/// Configuration options for the central-side Deployment Manager.
|
|
/// </summary>
|
|
public class DeploymentManagerOptions
|
|
{
|
|
/// <summary>Timeout for lifecycle commands sent to sites (disable, enable, delete).</summary>
|
|
public TimeSpan LifecycleCommandTimeout { get; set; } = TimeSpan.FromSeconds(30);
|
|
|
|
/// <summary>WP-7: Timeout per site for system-wide artifact deployment.</summary>
|
|
public TimeSpan ArtifactDeploymentTimeoutPerSite { get; set; } = TimeSpan.FromSeconds(120);
|
|
|
|
/// <summary>WP-3: Timeout for acquiring an operation lock on an instance.</summary>
|
|
public TimeSpan OperationLockTimeout { get; set; } = TimeSpan.FromSeconds(5);
|
|
}
|