Python durable funtion in kubernetes, baseUri of the management api payload cannot be configured #1921
Replies: 3 comments 5 replies
-
Hi @realsenseme, Thanks for reaching out! Can you clarify what you mean by "the response management APIs has the baseURI with a missing path segment"? Is it that you expect to see a Also, do the links you receive 404 on a GET request, or do they work as-is? Finally, and just for context, what version of |
Beta Was this translation helpful? Give feedback.
-
To my knowledge, the /runtime/webhooks/durabletask endpoint is not customizable. The good news is that all of these HTTP endpoints are essentially just prebuilt APIs that call the durable client. You can create your own custom HTTP triggers that implement the actions you need. With HTTP triggers, you have a lot more control over the api endpoints, as you have found in your other post already. Then, instead of using It's a bit more work, but then you have full control over the endpoints as opposed to our fixed APIs. |
Beta Was this translation helpful? Give feedback.
-
@ConnorMcMahon This was the next logical thing that worked. But for our arrangement, to have a wrapper which builds the response payload works but not preferred. I was able to configure this at my reverse proxy by configuring the ingress and that works better with less work. Thanks everyone for the help :) . It would still be nice and handy if we had an option to configure the context path for runtime apis. |
Beta Was this translation helpful? Give feedback.
-
Hi All,
I have a durable function app with kubernetes as deployment target. Function runtime is python.
If I trigger one of the registered orchestrator as below, the response with management apis has the baseUri with a missing path segment. (highlighted in green on the trigger url)
How is the baseUrl evaluated and is there a way to configure the baseUri or atleast exclude the baseUrl and have only relative paths starting from /runtime in the response payload?
Any inputs is highly appreciated :)
regards
Beta Was this translation helpful? Give feedback.
All reactions