Azure / Azure/azure-functions-host

Automatically import new functions from Function App if API management integration is enabled

Open
#9,552 1 comment 2 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
2k
Forks
482
Avg merge
2d 12h
Merged PRs (30d)
38

Description

#### What problem would the feature you're requesting solve? Please describe.
When I add new functions to my function app, I have to manually import the newly-added functions as APIs in my API management service. This is the case even when I enable new HTTP methods for existing functions. There is no simple method to automate this right now, especially if you do not have an OpenAPI spec.

#### Describe the solution you'd like
Since the Function App is "aware" of the integration with API management service, it would be nice if modifications to the functions in the Function App are automatically synced with the API management service, therefore removing the need to constantly update the imported APIs.

#### Describe alternatives you've considered
I've looked at https://techcommunity.microsoft.com/t5/azure-paas-blog/import-azure-function-app-to-azure-api-management/ba-p/2594810. However, that requires maintaining an OpenAPI spec exported from the API management service which doesn't fit very well with the Function App programming model. Admittedly, it is better than having to manually do the import every time in the Portal. So while it can be considered a workaround it is still not a straightforward to keep the two in-sync.

#### Additional context
N/A

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or implementation entry points. Start by reviewing the existing Azure Functions and API Management integration, then clarify how function and HTTP-method changes should be detected and synchronized without an OpenAPI spec. Done should include an agreed synchronization design and validation of the expected behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp
Domain
api, backend, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.