Skip to main content

IContextCreatorService

Namespace: Meshmakers.Octo.Sdk.Common.Services

Service that creates a context for a pipeline

public interface IContextCreatorService

Methods​

CreateTriggerContext(String, OctoObjectId, RtEntityId, INodeContext, IGlobalConfiguration)​

Creates a context for a trigger node

ITriggerContext CreateTriggerContext(string tenantId, OctoObjectId dataFlowRtId, RtEntityId pipelineRtEntityId, INodeContext nodeContext, IGlobalConfiguration globalConfiguration)

Parameters​

tenantId String
Tenant id

dataFlowRtId OctoObjectId
Runtime id of the data flow

pipelineRtEntityId RtEntityId
Runtime entity id of the pipeline

nodeContext INodeContext
Node context of the triggering extract node

globalConfiguration IGlobalConfiguration
Global configuration

Returns​

ITriggerContext
Create trigger context

CreateEtlContext<TContext>(PipelineRegistration, ExecutePipelineOptions, Guid)​

Creates a data context

Task<TContext> CreateEtlContext<TContext>(PipelineRegistration pipelineRegistration, ExecutePipelineOptions executePipelineOptions, Guid pipelineExecutionId)

Type Parameters​

TContext

Parameters​

pipelineRegistration PipelineRegistration

executePipelineOptions ExecutePipelineOptions

pipelineExecutionId Guid

Returns​

Task<TContext>