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

Adapt container to recognize and honor annotated discovery mode. #108

Merged
merged 1 commit into from
Aug 6, 2021

Conversation

manovotn
Copy link
Contributor

Fixes #107

The crux of this change is that CDI 4.0 will change the default perception of empty beans.xml from all to annotated. This changes what beans should and shouldn't be discovered by default. Up until this point, arq-conteiner-weld was simply using all at all times.

I am currently testing this with Weld to see if further changes are needed, hence it is now a draft.

@manovotn
Copy link
Contributor Author

manovotn commented Aug 4, 2021

I have updated the PR so that it now considers EJB annotations as bean defining if the discovery mode is annotated.

@manovotn manovotn marked this pull request as ready for review August 6, 2021 09:26
@manovotn manovotn requested review from mkouba and starksm64 August 6, 2021 09:26
@manovotn
Copy link
Contributor Author

manovotn commented Aug 6, 2021

I am fairly confident these changes will do. I have run Weld TS using this container with changes contained here and it worked for me.

@starksm64 if you could also perform a release with this change, that would be great :)

@starksm64 starksm64 merged commit 2716cc7 into arquillian:master Aug 6, 2021
@manovotn manovotn deleted the issue107 branch November 16, 2021 21:39
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.

Annotated discovery is not honored
2 participants