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

chore: Remove ServiceLoader use from the codebase #705

Merged
merged 11 commits into from
Mar 12, 2024
Merged

Conversation

triceo
Copy link
Contributor

@triceo triceo commented Mar 11, 2024

Score Directors are now accessed directly,
as we no longer have the need to be able to exclude some of them from the classpath.
Joiners for CS are also accessed directly, for the same reason.
Enterprise Edition no longer uses ServiceLoader and instead uses reflection.

Because of this, core is no longer 3 Maven modules.
core, core-impl and constraint-streams modules were all folded into core,
which is now a top-level module.

All the changes are either file renames to different places and packages,
or changes strictly necessary to get rid of ServiceLoader.
There are no unrelated changes in this PR.

@triceo triceo marked this pull request as ready for review March 12, 2024 12:57
Copy link
Contributor

@zepfred zepfred left a comment

Choose a reason for hiding this comment

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

LGTM! Let's ensure we have a green build.

Copy link

sonarcloud bot commented Mar 12, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
4 Security Hotspots
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

@triceo triceo merged commit e473fca into TimefoldAI:main Mar 12, 2024
9 of 12 checks passed
@triceo triceo deleted the fold branch March 12, 2024 13:46
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.

Feat: Eliminate ServiceLoader in JoinerSupport Feat: support for avoiding service loaders
2 participants