Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DataFactory] Add Chaining Trigger #6455

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4290,6 +4290,14 @@
},
"readOnly": true
},
"runDimension": {
"description": "Run dimension emitted by Pipeline run.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"readOnly": true
},
"invokedBy": {
"description": "Entity that started the pipeline run.",
"$ref": "#/definitions/PipelineRunInvokedBy",
Expand Down Expand Up @@ -4529,6 +4537,22 @@
"type": "string"
},
"readOnly": true
},
"runDimension": {
"description": "Run dimention for which trigger was fired.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"readOnly": true
},
"DependencyStatus": {
"description": "Status of the upstream pipelines.",
"type": "object",
"additionalProperties": {
"type": "string"
},
"readOnly": true
}
},
"additionalProperties": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
"type": "object"
}
},
"runDimensions": {
"description": "Dimensions emitted by Pipeline.",
"type": "object",
"additionalProperties": {
"type": "object",
"description": "Type: string (or Expression with resultType string)."
}
},
"folder": {
"description": "The folder that this Pipeline is in. If not specified, Pipeline will appear at the root level.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -585,6 +585,50 @@
"required": [
"typeProperties"
]
},
"ChainingTrigger": {
"description": "Trigger that schedules pipeline runs based on dependent pipelines successful completion.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Trigger"
}
],
"properties": {
"pipeline": {
"$ref": "../datafactory.json#/definitions/TriggerPipelineReference",
"description": "Pipeline for which runs are created when all dependent pipelines complete successfully."
},
"typeProperties": {
"description": "Chaining Trigger properties.",
"x-ms-client-flatten": true,
"properties": {
"dependsOn": {
"type": "array",
"items": {
"$ref": "../datafactory.json#/definitions/PipelineReference"
},
"description": "Dependent Pipelines."
},
"retryPolicy": {
"$ref": "#/definitions/RetryPolicy",
"description": "Retry policy that will be applied for failed pipeline runs."
},
"runDimension": {
"description": "Run Dimenstion property that needs to be emitted by dependent pipelines.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description": "Run Dimenstion property that needs to be emitted by dependent pipelines.",
"description": "Run Dimension property that needs to be emitted by dependent pipelines.",

"type": "string"
}
},
"required": [
"runDimension",
"dependsOn"
]
}
},
"required": [
"pipeline",
"typeProperties"
]
}
}
}