I come from the IBM Cloud background. In IBM Cloud, there is a service called Functions (soon to be deprecated and replaced by Code Engine). IBM Cloud Functions made it very easy to chain functions (called actions) together using sequences. I need an equivalent of this in Azure, not necessarily a 1:1 match.
My exact use case
In Azure, I have a JavaScript httpTrigger
Function that I want to call in another httpTrigger
Function. Both are in the same resource group.
To my limited knowledge, neither Durable Functions nor Queue Storage would require a compromise in this scenario because:
- I'd have to change the Function to
activityTrigger
to use Durable Functions, meaning that I wouldn't be able to use it separately to handle HTTP requests. - If I used the Function in Queue Storage, it would trigger the other Function every time it's called, limiting its reusability in other scenarios.
What is the most common, straightforward or optimal solution to this problem in the Azure infrastructure?
I’m familiar with these solutions (not necessarily experienced in their implementation):
- Durable Functions
- Logic App
- BizTalk Server
- HTTP request
You can use a
http
module to call another function