Skip to content

Commit 8225521

Browse files
authored
Add suspend/resume URIs to createcheckresponse payload (#2785)
1 parent fd63eb7 commit 8225521

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

release_notes.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
# Release Notes
22

3-
## Microsoft.Azure.Functions.Worker.Extensions.DurableTask 1.1.1
3+
## Microsoft.Azure.Functions.Worker.Extensions.DurableTask 1.2.0
44

55
### New Features
66

7-
- Add `CreateCheckStatusResponseAsync` APIs. (https://github.com/Azure/azure-functions-durable-extension/pull/2722)
7+
- Add `suspendPostUri` and `resumePostUri` to the list of returned URIs in `CreateCheckStatusResponseAsync`. (https://github.com/Azure/azure-functions-durable-extension/pull/2785)
88

99
### Bug Fixes
1010

11-
- Fix issue with isolated entities: custom deserialization was not working because IServices was not passed along (https://github.com/Azure/azure-functions-durable-extension/pull/2686)
12-
- Fix issue with `string` activity input having extra quotes (https://github.com/Azure/azure-functions-durable-extension/pull/2708)
13-
- Fix issue with out-of-proc entity operation errors: success/failure details of individual operations in a batch was not processed correctly (https://github.com/Azure/azure-functions-durable-extension/pull/2752)
14-
- Fix issues with .NET Isolated out-of-process error parsing (see https://github.com/Azure/azure-functions-durable-extension/issues/2711)
15-
1611
### Breaking Changes
1712

1813
### Dependency Updates
@@ -23,8 +18,6 @@
2318

2419
### Bug Fixes
2520

26-
- Fix execution context / log scope leak in token renewal (https://github.com/Azure/azure-functions-durable-extension/pull/2782)
27-
2821
### Breaking Changes
2922

3023
### Dependency Updates

src/Worker.Extensions.DurableTask/DurableTaskClientExtensions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,9 @@ static string BuildUrl(string url, params string?[] queryValues)
146146
purgeHistoryDeleteUri = BuildUrl(instanceUrl, commonQueryParameters),
147147
sendEventPostUri = BuildUrl($"{instanceUrl}/raiseEvent/{{eventName}}", commonQueryParameters),
148148
statusQueryGetUri = BuildUrl(instanceUrl, commonQueryParameters),
149-
terminatePostUri = BuildUrl($"{instanceUrl}/terminate", "reason={{text}}}", commonQueryParameters),
149+
terminatePostUri = BuildUrl($"{instanceUrl}/terminate", "reason={{text}}", commonQueryParameters),
150+
suspendPostUri = BuildUrl($"{instanceUrl}/suspend", "reason={{text}}", commonQueryParameters),
151+
resumePostUri = BuildUrl($"{instanceUrl}/resume", "reason={{text}}", commonQueryParameters)
150152
};
151153
}
152154

0 commit comments

Comments
 (0)