A cross tenant metadata driven processing framework for Azure Data Factory and Azure Synapse Analytics achieved by coupling orchestration pipelines with a SQL database and a set of Azure Functions.
« Contents / Functions / Helpers
To provide a common validated set of pipeline request properties to be used with all worker pipeline interactions.
Namespace: mrpaulandrew.azure.procfwk.Helpers.
Property Name | Type |
---|---|
TenantId | string |
SubscriptionId | string |
AuthenticationKey | string |
SubscriptionId | string |
ResourceGroupName | string |
OrchestratorName | string |
OrchestratorType | PipelineServiceType |
PipelineName | string |
PipelineParameters | Dictionary<string, string> |
Role: To validate all request values provided.
Returns: bool
Role: provides a simple validation check for values passed to the public functions as part of the request body.
Example Use:
if (RequestHelper.CheckUri(authenticationKey))
{
log.LogInformation("Valid URL Provided");
}
Returns: bool
Role: provides a simple validation check for values passed to the public functions as part of the request body.
Example Use:
if (!RequestHelper.CheckGuid(applicationId))
{
log.Error("Invalid GUID Provided.");
}
Returns: InvalidRequestException
Role:
Example Use:
protected void ReportInvalidBody(ILogger logger)
{
var msg = "Invalid body.";
logger.LogError(msg);
throw new InvalidRequestException(msg);
}
Returns: Dictionary
Role: To parse provided worker pipeline parameters and return a dictionary of values to be used by the pipeline service.
Example Use:
var dictionary = new Dictionary<string, object>();
foreach (var key in PipelineParameters.Keys)
dictionary.Add(key, PipelineParameters[key]);
return dictionary;