feat(deploy): add RefreshDeploymentCommand notify message

This commit is contained in:
Joseph Doherty
2026-06-26 12:26:33 -04:00
parent 290acfb1f0
commit 8cb512ac51
@@ -0,0 +1,17 @@
namespace ZB.MOM.WW.ScadaBridge.Commons.Messages.Deployment;
/// <summary>
/// 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 <see cref="CentralFetchBaseUrl"/> using
/// <see cref="FetchToken"/> and applies it. The reply is the existing
/// DeploymentStatusResponse.
/// </summary>
public record RefreshDeploymentCommand(
string DeploymentId,
string InstanceUniqueName,
string RevisionHash,
string DeployedBy,
DateTimeOffset Timestamp,
string CentralFetchBaseUrl,
string FetchToken);