Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration option for additional endpoint paths #2406

Closed
osamra-rbi opened this issue Jan 13, 2023 · 1 comment · Fixed by #2410
Closed

Add configuration option for additional endpoint paths #2406

osamra-rbi opened this issue Jan 13, 2023 · 1 comment · Fixed by #2410
Assignees

Comments

@osamra-rbi
Copy link
Contributor

Is your feature request related to a problem? Please describe.
There's currently no way to allow additional paths for endpoints. For example, we want to expose the GraphQL endpoint on both

  • /graphql
  • /gateway

Describe the solution you'd like
A configuration option to allow multiple paths would be nice where you can pass in a list:

multiple_paths:
    - /path1
    - /path2
@osamra-rbi osamra-rbi changed the title Adding configuration option for additional endpoint paths Add configuration option for additional endpoint paths Jan 13, 2023
@bnjjj
Copy link
Contributor

bnjjj commented Jan 16, 2023

Part of the solution is to use /p:router_path as path parameter. It will match /path1 and /path2. However it's not a consistent notation in that case it would be more consistent to use /p*. So I think the correct way to handle your need is to fix this weird inconsistency.

@bnjjj bnjjj self-assigned this Jan 16, 2023
bnjjj added a commit that referenced this issue Jan 25, 2023
- Fix #2406

Signed-off-by: Benjamin Coenen <5719034+bnjjj@users.noreply.github.com>
@abernix abernix removed the triage label Feb 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants