Skip to main content

MovePipelinesToAdapterRequestDto

Namespace: Meshmakers.Octo.Communication.Contracts.DataTransferObjects

Body for PATCH {tenantId}/v1/pipeline/move-to-adapter. Reassigns the Pipeline.Executes association of one or more pipelines from their current adapter to . Used when a new adapter (e.g. one provisioned from a fresh Blueprint) replaces an older adapter and the existing pipelines should keep running.

Server validates each source adapter's CkTypeId against the target adapter's CkTypeId — only same-subtype moves are accepted so a pipeline never lands on an adapter that cannot execute its nodes. Each pipeline is moved atomically (old assoc removed + new assoc inserted in one transaction); pipeline-level failures do not abort the bulk run.

public record MovePipelinesToAdapterRequestDto : IEquatable<MovePipelinesToAdapterRequestDto>

Inheritance Object → MovePipelinesToAdapterRequestDto
Implements IEquatable<MovePipelinesToAdapterRequestDto>

Properties​

PipelineRtIds​

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

Property Value​

IReadOnlyList<String>

TargetAdapterRtId​

public string TargetAdapterRtId { get; set; }

Property Value​

String

Redeploy​

public bool Redeploy { get; set; }

Property Value​

Boolean

Constructors​

MovePipelinesToAdapterRequestDto(IReadOnlyList<String>, String, Boolean)​

Body for PATCH {tenantId}/v1/pipeline/move-to-adapter. Reassigns the Pipeline.Executes association of one or more pipelines from their current adapter to . Used when a new adapter (e.g. one provisioned from a fresh Blueprint) replaces an older adapter and the existing pipelines should keep running.

Server validates each source adapter's CkTypeId against the target adapter's CkTypeId — only same-subtype moves are accepted so a pipeline never lands on an adapter that cannot execute its nodes. Each pipeline is moved atomically (old assoc removed + new assoc inserted in one transaction); pipeline-level failures do not abort the bulk run.

public MovePipelinesToAdapterRequestDto(IReadOnlyList<string> PipelineRtIds, string TargetAdapterRtId, bool Redeploy)

Parameters​

PipelineRtIds IReadOnlyList<String>

TargetAdapterRtId String

Redeploy Boolean