-
Notifications
You must be signed in to change notification settings - Fork 54
Description
The Durable Extension recently introduced a local rpc endpoint feature that enables Durable SDKs to communicate directly to the Durable Functions API, whereas before this communicate would occur via HTTP calls. Without this feature, we cannot integrate Durable Functions for PowerShell with EasyAuth, as framework-internal HTTP calls will fail due to authentication requirements.
Implementation Requirements
Thankfully, it appears that supporting this feature is relatively simple: it simply means that we call a different URI in places where we used to make HTTP requests. Also, it appears that this feature is only used for durable clients bindings, which potentially limits the scope of this refactor.
Judging by its usage in the JavaScript SDK, I expect the following APIs need to be revised:
- purgeInstanceHistory
-
- JS example here
- raiseEvent
-
- JS example here
- startNew
-
- JS example here
- terminate
-
- JS example here
- getStatusBy
-
- JS example here
I've omitted the entity APIs that make use of this feature as I believe PowerShell doesn't support those yet. If needed, let me know and I can list those JS examples as well 😄