PipelineRegistryService
Namespace: Meshmakers.Octo.Sdk.Common.Services
Implementation of the pipeline execution service
public sealed class PipelineRegistryService : IPipelineRegistryService
Inheritance Object → PipelineRegistryService
Implements IPipelineRegistryService
Constructors
PipelineRegistryService(ILogger<PipelineRegistryService>, IServiceProvider, IPipelineConfigurationSerializer)
Implementation of the pipeline execution service
public PipelineRegistryService(ILogger<PipelineRegistryService> logger, IServiceProvider serviceProvider, IPipelineConfigurationSerializer pipelineConfigurationSerializer)
Parameters
logger ILogger<PipelineRegistryService>
serviceProvider IServiceProvider
pipelineConfigurationSerializer IPipelineConfigurationSerializer
Methods
RegisterPipelineAsync(String, PipelineConfigurationDto)
public Task RegisterPipelineAsync(string tenantId, PipelineConfigurationDto pipelineConfiguration)
Parameters
tenantId String
pipelineConfiguration PipelineConfigurationDto
Returns
RegisterPipelinesAsync(String, ICollection<PipelineConfigurationDto>, List<DeploymentUpdateErrorMessageDto>)
public Task<bool> RegisterPipelinesAsync(string tenantId, ICollection<PipelineConfigurationDto> pipelineConfigurations, List<DeploymentUpdateErrorMessageDto> deploymentErrorMessages)
Parameters
tenantId String
pipelineConfigurations ICollection<PipelineConfigurationDto>
deploymentErrorMessages List<DeploymentUpdateErrorMessageDto>
Returns
UnregisterPipelineAsync(String, RtEntityId)
public Task UnregisterPipelineAsync(string tenantId, RtEntityId pipelineRtEntityId)
Parameters
tenantId String
pipelineRtEntityId RtEntityId
Returns
UnregisterAllPipelinesAsync(String)
public Task UnregisterAllPipelinesAsync(string tenantId)
Parameters
tenantId String
Returns
UpdatePipelinesAsync(String, ICollection<PipelineConfigurationDto>, List<DeploymentUpdateErrorMessageDto>)
public Task<bool> UpdatePipelinesAsync(string tenantId, ICollection<PipelineConfigurationDto> pipelineConfigurations, List<DeploymentUpdateErrorMessageDto> deploymentErrorMessages)
Parameters
tenantId String
pipelineConfigurations ICollection<PipelineConfigurationDto>
deploymentErrorMessages List<DeploymentUpdateErrorMessageDto>
Returns
IsRegistered(String, RtEntityId)
public bool IsRegistered(string tenantId, RtEntityId pipelineRtEntityId)
Parameters
tenantId String
pipelineRtEntityId RtEntityId
Returns
TryGetPipelineRegistration(String, RtEntityId, out PipelineRegistration)
public bool TryGetPipelineRegistration(string tenantId, RtEntityId pipelineRtEntityId, out PipelineRegistration pipelineRegistration)
Parameters
tenantId String
pipelineRtEntityId RtEntityId
pipelineRegistration PipelineRegistration
Returns
GetRegisteredPipelines(String)
public IEnumerable<RtEntityId> GetRegisteredPipelines(string tenantId)
Parameters
tenantId String