diff --git a/src/ZB.MOM.WW.ScadaBridge.Commons/Messages/Deployment/RefreshDeploymentCommand.cs b/src/ZB.MOM.WW.ScadaBridge.Commons/Messages/Deployment/RefreshDeploymentCommand.cs new file mode 100644 index 00000000..618fbba5 --- /dev/null +++ b/src/ZB.MOM.WW.ScadaBridge.Commons/Messages/Deployment/RefreshDeploymentCommand.cs @@ -0,0 +1,17 @@ +namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Deployment; + +/// +/// Small central→site notify (replaces the fat DeployInstanceCommand on the wire). +/// Routes via the deployment-manager singleton proxy to the active node, which +/// fetches the flattened config from using +/// and applies it. The reply is the existing +/// DeploymentStatusResponse. +/// +public record RefreshDeploymentCommand( + string DeploymentId, + string InstanceUniqueName, + string RevisionHash, + string DeployedBy, + DateTimeOffset Timestamp, + string CentralFetchBaseUrl, + string FetchToken);