feat(deploy): token-gated internal deployment-config fetch endpoint

This commit is contained in:
Joseph Doherty
2026-06-26 12:34:34 -04:00
parent a61865daa0
commit 381d26d1b1
3 changed files with 248 additions and 0 deletions
@@ -369,6 +369,10 @@ try
// Basic-Auth + LDAP mechanism as /management; gated on the OperationalAudit
// / AuditExport role sets.
app.MapAuditAPI();
// Notify-and-fetch deploy (#2/#3): site-facing token-gated fetch of a staged
// deployment's flattened config. Machine-to-machine — AllowAnonymous, gated
// solely by the per-deployment X-Deployment-Token (no central FallbackPolicy).
app.MapDeploymentConfigAPI();
app.MapHub<ZB.MOM.WW.ScadaBridge.ManagementService.DebugStreamHub>("/hubs/debug-stream");
// Compile and register all Inbound API method scripts at startup