Skip to content

Commit

Permalink
Support azureFunctionReceivers in actionGroup APIs (#2659)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanD1 authored and sarangan12 committed Mar 15, 2018
1 parent 8d1a0b8 commit 8c843d6
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,13 @@
"$ref": "#/definitions/LogicAppReceiver"
},
"description": "The list of logic app receivers that are part of this action group."
},
"azureFunctionReceivers": {
"type": "array",
"items": {
"$ref": "#/definitions/AzureFunctionReceiver"
},
"description": "The list of azure function receivers that are part of this action group."
}
},
"required": [
Expand Down Expand Up @@ -673,6 +680,33 @@
"callbackUrl"
]
},
"AzureFunctionReceiver": {
"description": "An azure function receiver.",
"properties": {
"name": {
"type": "string",
"description": "The name of the azure function receiver. Names must be unique across all receivers within an action group."
},
"functionAppResourceId": {
"type": "string",
"description": "The azure resource id of the function app."
},
"functionName": {
"type": "string",
"description": "The function name in the function app."
},
"httpTriggerUrl": {
"type": "string",
"description": "The http trigger url where http request sent to."
}
},
"required": [
"name",
"functionAppResourceId",
"functionName",
"httpTriggerUrl"
]
},
"ReceiverStatus": {
"type": "string",
"enum": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@
"resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
"callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
}
],
"azureFunctionReceivers": [
{
"name": "Sample azureFunction",
"functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
"functionName": "HttpTriggerCSharp1",
"httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
}
]
}
}
Expand Down Expand Up @@ -162,6 +170,14 @@
"resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
"callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
}
],
"azureFunctionReceivers": [
{
"name": "Sample azureFunction",
"functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
"functionName": "HttpTriggerCSharp1",
"httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
}
]
}
}
Expand Down Expand Up @@ -247,6 +263,14 @@
"resourceId": "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/LogicApp/providers/Microsoft.Logic/workflows/testLogicApp",
"callbackUrl": "https://prod-27.northcentralus.logic.azure.com/workflows/68e572e818e5457ba898763b7db90877/triggers/manual/paths/invoke/azns/test?api-version=2016-10-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=Abpsb72UYJxPPvmDo937uzofupO5r_vIeWEx7KVHo7w"
}
],
"azureFunctionReceivers": [
{
"name": "Sample azureFunction",
"functionAppResourceId": "/subscriptions/5def922a-3ed4-49c1-b9fd-05ec533819a3/resourceGroups/aznsTest/providers/Microsoft.Web/sites/testFunctionApp",
"functionName": "HttpTriggerCSharp1",
"httpTriggerUrl": "https://testfunctionapp.azurewebsites.net/api/HttpTriggerCSharp1?code=4CopFfiXqUQC8dvIM7F53J7tIU3Gy9QQIG/vKAXMe2avhHqK3/jVYw=="
}
]
}
}
Expand Down

0 comments on commit 8c843d6

Please sign in to comment.