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

Support scanning applibs #23957

Merged
merged 2 commits into from
Jun 1, 2022
Merged

Conversation

arjantijms
Copy link
Contributor

Refactoring first:

  • Renaming variables
  • Formatting
  • Simplifying logic
  • Etc

Refactoring first:

* Renaming variables
* Formatting
* Simplifying logic
* Etc

Signed-off-by: Arjan Tijms <arjan.tijms@gmail.com>
@arjantijms arjantijms added this to the 7.0.0 milestone May 31, 2022
@arjantijms arjantijms self-assigned this May 31, 2022
Signed-off-by: Arjan Tijms <arjan.tijms@gmail.com>
@arjantijms
Copy link
Contributor Author

@anajosep what do you think? Is this a good approach? @senivam any opinion? This touches the deployer code.

@gurunrao
Copy link
Contributor

gurunrao commented Jun 1, 2022

@arjantijms, IMO we can add following details for wider review of the PR:

  • changes proposed in this pull request(or issue (link) that is solved with pull request or link to mailing list discussion thread)
  • PR tested(like CI link or logs)

Copy link
Contributor

@dmatej dmatej left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question - is there some fix I did not notice or is it really just cleanup? (if not, the title is a bit misleading)

@arjantijms
Copy link
Contributor Author

The fix / change is in the second commit. It adds the libraries identified by extension-list to the collection of libraries returned.

The first commit is only cleanup.

@arjantijms
Copy link
Contributor Author

@gurunrao thanks for your suggestion, you are right. This fixes the CDI TCK test for EarInstalledLibs which has 3 variants. It's the test where the CDI TCK wants the integrator / test runner to put the ext-cdi-Lib in a server extension folder (in gf this is domains/domain1/Lib/applied). The test then checks that the beans inside this jar are scanned.

Ultimately the change is small (2nd commit). The first commit represents the code I had to read and study to ultimately be able to make that small change.

@arjantijms arjantijms merged commit 4caaa9f into eclipse-ee4j:master Jun 1, 2022
@arjantijms arjantijms deleted the cdi_scan_applibs branch June 1, 2022 10:16
@dmatej
Copy link
Contributor

dmatej commented Jun 1, 2022

The fix / change is in the second commit. It adds the libraries identified by extension-list to the collection of libraries returned.

The first commit is only cleanup.

Oh, yeah, mea culpa, I should take a look on the list of commits, now I understand. Yeah, seems logical to me.

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.

4 participants