-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port "Fix various DF bugs" to v4.x/ps7.0 (#796)
* Fix various DF bugs (#783) * remove release_notes.md
- Loading branch information
1 parent
2173c49
commit 004591d
Showing
11 changed files
with
205 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
* Bug fix: Activity Functions can now use output bindings (https://github.com/Azure/azure-functions-powershell-worker/issues/646) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
test/E2E/TestFunctionApp/DurableClientOrchContextProperties/function.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"bindings": [ | ||
{ | ||
"authLevel": "function", | ||
"name": "Request", | ||
"type": "httpTrigger", | ||
"direction": "in", | ||
"methods": [ | ||
"post", | ||
"get" | ||
] | ||
}, | ||
{ | ||
"type": "http", | ||
"direction": "out", | ||
"name": "Response" | ||
}, | ||
{ | ||
"name": "starter", | ||
"type": "durableClient", | ||
"direction": "in" | ||
} | ||
] | ||
} |
9 changes: 9 additions & 0 deletions
9
test/E2E/TestFunctionApp/DurableClientOrchContextProperties/run.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
using namespace System.Net | ||
|
||
param($Request, $TriggerMetadata) | ||
|
||
$InstanceId = Start-DurableOrchestration -FunctionName "DurableOrchestratorAccessContextProps" -InstanceId "myInstanceId" | ||
Write-Host "Started orchestration with ID = '$InstanceId'" | ||
|
||
$Response = New-DurableOrchestrationCheckStatusResponse -Request $Request -InstanceId $InstanceId | ||
Push-OutputBinding -Name Response -Value $Response |
9 changes: 9 additions & 0 deletions
9
test/E2E/TestFunctionApp/DurableOrchestratorAccessContextProps/function.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"bindings": [ | ||
{ | ||
"name": "Context", | ||
"type": "orchestrationTrigger", | ||
"direction": "in" | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
test/E2E/TestFunctionApp/DurableOrchestratorAccessContextProps/run.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
param($Context) | ||
|
||
$output = @() | ||
|
||
$output += $Context.IsReplaying | ||
$output += Invoke-DurableActivity -FunctionName 'DurableActivity' -Input $Context.InstanceId | ||
$output += $Context.IsReplaying | ||
$output |
9 changes: 9 additions & 0 deletions
9
test/E2E/TestFunctionApp/DurableOrchestratorRaiseEvent/function.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"bindings": [ | ||
{ | ||
"name": "Context", | ||
"type": "orchestrationTrigger", | ||
"direction": "in" | ||
} | ||
] | ||
} |
7 changes: 7 additions & 0 deletions
7
test/E2E/TestFunctionApp/DurableOrchestratorRaiseEvent/run.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
param($Context) | ||
|
||
$output = @() | ||
|
||
$output += Start-DurableExternalEventListener -EventName "TESTEVENTNAME" | ||
|
||
$output |