Skip to main content

OperatorDeployedDeploymentSiteReportDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Self-healing reverse-sync payload sent by a freshly (re)connected Cloud operator. Each entry lists a deployment site the operator currently has a healthy helm release for, plus the workload runtime ids whose releases the operator is actively managing inside that deployment site.

The controller restores DeploymentState=Deployed on every listed deployment site / workload (when not already Deployed) and rebuilds its per-connection tracking so undeploy fan-out works after the operator restart. Deployment sites / workloads omitted from the report are NOT touched — this is an additive "what I currently own" handshake, not a state diff.

Edge operators must NOT call this contract; the controller's handler rejects with a HubException when the operator's declared AutoManageDeploymentSites mode is anything other than true. The same guard that gates deployment site-environment claims (RtDeploymentSite.Environment == Cloud

  • OperatorMode == Cloud) is enforced per deployment site inside the loop so a rogue Cloud operator cannot revive Edge-deployment site state.
public record OperatorDeployedDeploymentSiteReportDto : IEquatable<OperatorDeployedDeploymentSiteReportDto>

Inheritance ObjectOperatorDeployedDeploymentSiteReportDto
Implements IEquatable<OperatorDeployedDeploymentSiteReportDto>

Properties

TenantId

Tenant the deployment site belongs to.

public string TenantId { get; set; }

Property Value

String

DeploymentSiteRtId

Runtime entity id of the deployment site the operator considers deployed. Same 24-char hex format as DeployedDeploymentSiteDto.DeploymentSiteRtId.

public string DeploymentSiteRtId { get; set; }

Property Value

String

DeploymentSiteName

The deployment site's human-readable name as the operator knows it (mirrors the CR metadata.labels.poolName). Used for tracking-map keys so later undeploy fan-out can be wired without an additional repository lookup.

public string DeploymentSiteName { get; set; }

Property Value

String

WorkloadRtIds

Runtime entity ids of every workload (Adapter / Application) the operator currently has an active helm release for inside this deployment site. Empty list is valid (deployment site deployed, no workloads currently running).

public IReadOnlyList<string> WorkloadRtIds { get; set; }

Property Value

IReadOnlyList<String>

Constructors

OperatorDeployedDeploymentSiteReportDto()

public OperatorDeployedDeploymentSiteReportDto()