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 Webhook Activity to Azure Data Factory #5007

Merged
merged 4 commits into from
Jan 10, 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 @@ -456,7 +456,7 @@
}
}
},
"SqlSource": {
"SqlSource": {
"description": "A copy activity SQL source.",
"type": "object",
"allOf": [
Expand Down Expand Up @@ -1134,7 +1134,7 @@
"description": "A query to retrieve data from source. Type: string (or Expression with resultType string)."
}
}
} ,
},
"AmazonRedshiftSource": {
"description": "A copy activity source for Amazon Redshift Source.",
"type": "object",
Expand Down Expand Up @@ -2152,7 +2152,7 @@
},
"SSISPackageLocation": {
"description": "SSIS package location.",
"type" : "object",
"type": "object",
"properties": {
"packagePath": {
"description": "The SSIS package path. Type: string (or Expression with resultType string).",
Expand Down Expand Up @@ -2374,16 +2374,16 @@
"type": "object",
"description": "If true, files or sub-folders under current folder path will be deleted recursively. Default is false. Type: boolean (or Expression with resultType boolean)."
},
"maxConcurrentConnections":{
"maxConcurrentConnections": {
"type": "integer",
"minimum": 1,
"description": "The max concurrent connections to connect data source at the same time."
},
"enableLogging":{
"type":"object",
"enableLogging": {
"type": "object",
"description": "Whether to record detailed logs of delete-activity execution. Default value is false. Type: boolean (or Expression with resultType boolean)."
},
"logStorageSettings":{
"logStorageSettings": {
"description": "Log storage settings customer need to provide when enableLogging is true.",
"$ref": "#/definitions/LogStorageSettings"
},
Expand Down Expand Up @@ -2540,6 +2540,69 @@
"url"
]
},
"WebHookActivity": {
"x-ms-discriminator-value": "WebHook",
"description": "WebHook activity.",
"allOf": [
{
"$ref": "#/definitions/ControlActivity"
}
],
"properties": {
"typeProperties": {
"description": "WebHook activity properties.",
"x-ms-client-flatten": true,
"$ref": "#/definitions/WebHookActivityTypeProperties"
}
},
"required": [
"typeProperties"
]
},
"WebHookActivityMethod": {
"description": "The list of HTTP methods supported by a WebHook activity.",
"type": "string",
"enum": [
"POST"
],
"x-ms-enum": {
"name": "WebHookActivityMethod",
"modelAsString": true
}
},
"WebHookActivityTypeProperties": {
"description": "WebHook activity type properties.",
"properties": {
"method": {
"description": "Rest API method for target endpoint.",
"$ref": "#/definitions/WebHookActivityMethod"
},
"url": {
"type": "object",
"description": "WebHook activity target endpoint and path. Type: string (or Expression with resultType string)."
},
"timeout": {
"type": "object",
"description": "Specifies the timeout within which the webhook should be called back. If there is no value specified, it takes the value of TimeSpan.FromMinutes(10) which is 10 minutes as default. Type: string (or Expression with resultType string), pattern: ((\\d+)\\.)?(\\d\\d):(60|([0-5][0-9])):(60|([0-5][0-9]))."
},
"headers": {
"type": "object",
"description": "Represents the headers that will be sent to the request. For example, to set the language and type on a request: \"headers\" : { \"Accept-Language\": \"en-us\", \"Content-Type\": \"application/json\" }. Type: string (or Expression with resultType string)."
},
"body": {
"type": "object",
"description": "Represents the payload that will be sent to the endpoint. Required for POST/PUT method, not allowed for GET method Type: string (or Expression with resultType string)."
},
"authentication": {
"description": "Authentication method used for calling the endpoint.",
"$ref": "#/definitions/WebActivityAuthentication"
}
},
"required": [
"method",
"url"
]
},
"GetMetadataActivity": {
"x-ms-discriminator-value": "GetMetadata",
"description": "Activity to get metadata of dataset",
Expand Down Expand Up @@ -3162,4 +3225,4 @@
}
}
}
}
}