Skip to main content

IGlobalConfiguration

Namespace: Meshmakers.Octo.Sdk.Common.EtlDataPipeline.Nodes

Global configuration access for the pipeline

public interface IGlobalConfiguration

Methods​

GetNames()​

Returns a list of names that are available in the configuration

IEnumerable<string> GetNames()

Returns​

IEnumerable<String>

IsDefined(String)​

Is the parameter defined in the configuration

bool IsDefined(string configurationName)

Parameters​

configurationName String
Name of the configuration parameter

Returns​

Boolean

GetValue<T>(String)​

Returns the value of the parameter as a deserialized object

T GetValue<T>(string configurationName)

Type Parameters​

T
Type of the object to return

Parameters​

configurationName String
Name of the configuration parameter

Returns​

T
Value of the parameter

GetRawJson(String)​

Returns the raw JSON string value of the parameter

string GetRawJson(string configurationName)

Parameters​

configurationName String
Name of the configuration parameter

Returns​

String
Raw JSON string value of the parameter

GetAllRawJsonByCkTypeId(String)​

Returns the raw JSON string values of all configurations matching the given CkTypeId

IEnumerable<string> GetAllRawJsonByCkTypeId(string ckTypeId)

Parameters​

ckTypeId String
The semantic versioned full name of the CkTypeId to search for

Returns​

IEnumerable<String>
Raw JSON string values of all matching configurations

GetConfigurationTypeId(String)​

CK type of the configuration entity named configurationName, or null when it is not defined or the implementation does not know it (AB#5538: used to find its Secret attributes). Default interface member, so custom implementations keep compiling.

RtCkId<CkTypeId> GetConfigurationTypeId(string configurationName)

Parameters​

configurationName String
Name of the configuration

Returns​

RtCkId<CkTypeId>