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

data factory validation activity #5011

Merged
merged 1 commit into from
Jan 15, 2019
Merged
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 @@ -2919,6 +2919,49 @@
"activities"
]
},
"ValidationActivity": {
Copy link
Member

Choose a reason for hiding this comment

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

I see that you have added 2 definitions ValidationActivity & ValidationActivityTypeProperties. Where are these definitions used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My understanding is that these definitions are used by our tools to generate the SDKs. I am not aware of any place where these are supposed to be referenced. @hvermis am I missing something?

"x-ms-discriminator-value": "Validation",
"description": "This activity blocks execution until a file has been validated to exist, with an optional minimum size, or the timeout is reached, whichever is earlier.",
"allOf": [
{
"$ref": "#/definitions/ControlActivity"
}
],
"properties": {
"typeProperties": {
"description": "Validation activity properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/ValidationActivityTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"ValidationActivityTypeProperties": {
"description": "Validation activity properties.",
"properties": {
"timeout": {
"type": "object",
"description": "Specifies the timeout for the activity to run. If there is no value specified, it takes the value of TimeSpan.FromDays(7) which is 1 week as default. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9])). Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"sleep": {
"description": "A delay in seconds between validation attempts. If no value is specified, 10 seconds will be used as the default.",
"type": "integer"
},
"minimumSize": {
"description": "Minimum size of a file in byte. If no value is specified, 0 byte will be used as the default.",
"type": "integer"
},
"dataset": {
"description": "Validation activity dataset reference.",
"$ref": "../datafactory.json#/definitions/DatasetReference"
}
},
"required": [
"dataset"
]
},
"FilterActivity": {
"x-ms-discriminator-value": "Filter",
"description": "Filter and return results from input array based on the conditions.",
Expand Down