Skip to content

fix: properly index otherwise ignored dependency #280

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

Merged
merged 9 commits into from
Jan 7, 2021

Conversation

metacosm
Copy link
Collaborator

@metacosm metacosm commented Jan 4, 2021

Fixes #272. The core framework dependency needs to be a runtime
dependency so that it gets put in the extension-using application. We
also need to index the dependency explicitly because Quarkus doesn't do
it automatically (as things might get unruly fast).

Fixes #272. The core framework dependency needs to be a runtime
dependency so that it gets put in the extension-using application. We
also need to index the dependency explicitly because Quarkus doesn't do
it automatically (as things might get unruly fast).
@metacosm metacosm self-assigned this Jan 4, 2021
@s-soroosh
Copy link
Contributor

Can we have a test, either unit test or integration test for this fix? to ensure the same issue wouldn't happen again later on.

@metacosm
Copy link
Collaborator Author

metacosm commented Jan 4, 2021

Can we have a test, either unit test or integration test for this fix? to ensure the same issue wouldn't happen again later on.

Yes, definitely.

@s-soroosh
Copy link
Contributor

Can we have a test, either unit test or integration test for this fix? to ensure the same issue wouldn't happen again later on.

Yes, definitely.

Thanks

@metacosm metacosm force-pushed the index-core-dependency branch from 113799b to 6e97452 Compare January 5, 2021 13:56
@metacosm metacosm force-pushed the index-core-dependency branch from 7ff7e8d to 7664b85 Compare January 6, 2021 16:51
This is needed because we cannot currently use QuarkusUnitTest because
of an issue with the kubernetes extension and it's not possible to
inject beans in a test using QuarkusProdModeTest. The workaround then is
to create a separate app that's started using QuarkusProdModeTest and
that exposes some information that we can check over REST about the
injected beans to verify that they are indeed properly injected.
@metacosm metacosm force-pushed the index-core-dependency branch from 7664b85 to ba20028 Compare January 6, 2021 16:53
@metacosm
Copy link
Collaborator Author

metacosm commented Jan 6, 2021

Ready for merge.

@adam-sandor
Copy link
Collaborator

LGTM

@adam-sandor adam-sandor merged commit 1ab58ea into master Jan 7, 2021
@metacosm metacosm deleted the index-core-dependency branch January 7, 2021 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Registering EventSource fails in Quarkus project
3 participants