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

Same partial path for different components fails silently #2036

Open
efgpinto opened this issue Feb 17, 2024 · 0 comments
Open

Same partial path for different components fails silently #2036

efgpinto opened this issue Feb 17, 2024 · 0 comments
Labels
bug Something isnt working java-sdk

Comments

@efgpinto
Copy link
Member

efgpinto commented Feb 17, 2024

For java sdk, if one declares 2 different components that share a common sub-path, discovery works but then one of the paths seems to be unreachable with 404 URL does not exist.

To reproduce:

  • create Action with method at @GetMapping("/shared/endpoint1")
  • create another Action with method at @GetMapping("/shared/endpoint2")

Try reaching both endpoints. One of them will not be reachable.

We should either support this (Spring allows it) or at least throw something at discovery.

@efgpinto efgpinto added bug Something isnt working java-sdk labels Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isnt working java-sdk
Projects
None yet
Development

No branches or pull requests

1 participant