Skip to content

[spring-cloud-fuction-adapter-azure-web] Make AZURE_WEB_ADAPTER_NAME configurable #1252

@alxmrtn-kroger

Description

@alxmrtn-kroger

Is your feature request related to a problem? Please describe.
Our API routes look unattractive with /AzureWebAdapter/ stuck in the path.

Describe the solution you'd like
Change AZURE_WEB_ADAPTER_NAME from a static variable to a value that can be configured. This allows us to customize the function name as well as the root path.

It would be even better if the function name was decoupled from the base path of the function so both could be configured separately.

Additional context
Offending line of code: https://github.com/spring-cloud/spring-cloud-function/blob/main/spring-cloud-function-adapters/spring-cloud-function-adapter-azure-web/src/main/java/org/springframework/cloud/function/adapter/azure/web/AzureWebProxyInvoker.java#L59

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions