-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
RestEasy extension no longer picks up Resource implementations with a corresponding interface #3871
Comments
Update: this stemmed from the fact that my project is a multi-module project. In 0.20.0, one of my modules was included in the Jandex index even though it had no I'm not sure if this a regression, but I do wonder if we can handle the multi-module case in a better way (is sticking all our user modules in the Jandex index a reasonable thing to do?) Happy to close this unless the behaviour is viewed as a regression. |
This is how bean discovery currently works in Quarkus, ie. a module must contain So I'd say it's not a regression but a fixed bug in the gradle integration.
Hm, something like "add all modules from the project automatically" similarly as we do with the root? I'm not sure it's a good idea. @stuartwdouglas @gsmet @aloubyansky @geoand WDYT? For now just add an empty |
Maybe this would create more problems that it solved? Not sure either, so just asking |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you! |
Describe the bug
Previously it was possible to create an interface specification of a JAX-RS resource, and implement it separately:
common-project/MyResource.java
quarkus-project/ServerMyResource.java
Expected behavior
Accessing
/
in my Quarkus application should return "value".Actual behavior
I see a 404 instead.
To Reproduce
Steps to reproduce the behavior:
Configuration
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment (please complete the following information):
uname -a
orver
: 5.2.7-200.fc30.x86_64 Switch to the Maven distributed copy of the SubstrateVM annotations #1 SMP Thu Aug 8 05:35:29 UTC 2019 x86_64 x86_64 x86_64 GNU/Linuxjava -version
: openjdk version "1.8.0_222"Additional context
This only became a problem as of 21.0, in 20.0 it still works fine. I've put together a test case to verify this behaviour:
Which fails with the following (not sure why it's manifesting as unauthorized):
The text was updated successfully, but these errors were encountered: