From 8cb512ac5137ab05983eb2c93c3ea6aead1e83eb Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Fri, 26 Jun 2026 12:26:33 -0400 Subject: [PATCH] feat(deploy): add RefreshDeploymentCommand notify message --- .../Deployment/RefreshDeploymentCommand.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/ZB.MOM.WW.ScadaBridge.Commons/Messages/Deployment/RefreshDeploymentCommand.cs 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);