Skip to main content

DefaultEtlContext

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline

Represents the default implementation of the IEtlContext interface.

public class DefaultEtlContext : IEtlContext

Inheritance Object → DefaultEtlContext
Implements IEtlContext

Properties​

TenantId​

public string TenantId { get; }

Property Value​

String

PipelineExecutionId​

public Guid PipelineExecutionId { get; }

Property Value​

Guid

DataFlowRtId​

public OctoObjectId DataFlowRtId { get; }

Property Value​

OctoObjectId

TransactionStartedDateTime​

public DateTime TransactionStartedDateTime { get; }

Property Value​

DateTime

PipelineRtEntityId​

public RtEntityId PipelineRtEntityId { get; }

Property Value​

RtEntityId

ExternalReceivedDateTime​

public Nullable<DateTime> ExternalReceivedDateTime { get; }

Property Value​

Nullable<DateTime>

Properties​

public IDictionary<string, object> Properties { get; }

Property Value​

IDictionary<String, Object>

GlobalConfiguration​

public IGlobalConfiguration GlobalConfiguration { get; }

Property Value​

IGlobalConfiguration

VerifiedPrincipal​

public VerifiedPrincipal VerifiedPrincipal { get; }

Property Value​

VerifiedPrincipal

CallerAccessToken​

public string CallerAccessToken { get; }

Property Value​

String

CallerTrust​

public CallerTrustLevel CallerTrust { get; }

Property Value​

CallerTrustLevel

Constructors​

DefaultEtlContext(String, OctoObjectId, Guid, RtEntityId, DateTime, Nullable<DateTime>, IGlobalConfiguration, IDictionary<String, Object>, VerifiedPrincipal, String, CallerTrustLevel)​

Creates a new instance of the DefaultEtlContext class.

public DefaultEtlContext(string tenantId, OctoObjectId dataFlowRtId, Guid pipelineExecutionId, RtEntityId pipelineRtEntityId, DateTime transactionStartedDateTime, Nullable<DateTime> externalReceivedDateTime, IGlobalConfiguration globalConfiguration, IDictionary<string, object> properties, VerifiedPrincipal verifiedPrincipal, string callerAccessToken, CallerTrustLevel callerTrust)

Parameters​

tenantId String
Tenant identifier

dataFlowRtId OctoObjectId
Data flow runtime identifier

pipelineExecutionId Guid
Guid that identifies the pipeline execution instance

pipelineRtEntityId RtEntityId
Pipeline identifier

transactionStartedDateTime DateTime
Date and time when the transaction started

externalReceivedDateTime Nullable<DateTime>
Date and time when the value was received by an optional external system

globalConfiguration IGlobalConfiguration
Global configuration for the pipeline provided by associating configuration to a pipeline

properties IDictionary<String, Object>
properties that are shared between the different stages of the ETL process and different runs of the pipeline

verifiedPrincipal VerifiedPrincipal
Authenticated caller of the trigger, if any (AB#4975)

callerAccessToken String
Raw access token the caller presented to the trigger, for delegation ("on-behalf-of") requests (AB#5031). Never log it and never write it into the data context.

callerTrust CallerTrustLevel
Effective trust of the verified caller, so a node can demand a minimum (AB#5126). Defaults to CallerTrustLevel.None — an execution with no verified caller.