-
Notifications
You must be signed in to change notification settings - Fork 251
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
feat(catalog): simplify the FederatedCatalog #1741
feat(catalog): simplify the FederatedCatalog #1741
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1741 +/- ##
==========================================
- Coverage 67.34% 67.31% -0.03%
==========================================
Files 785 781 -4
Lines 16862 16758 -104
Branches 1062 1057 -5
==========================================
- Hits 11356 11281 -75
+ Misses 5050 5020 -30
- Partials 456 457 +1
Continue to review full report at Codecov.
|
...talog-cache/src/main/java/org/eclipse/dataspaceconnector/catalog/cache/ExecutionManager.java
Outdated
Show resolved
Hide resolved
5293e36
to
ff5578c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✂️
* removed partition manager, workitem queue and old crawler * introduced execution manager * cleanup * added crawler test * added test for ExecutionManager * moved back to using explicit mocking * moved the successhandler back into the crawler * use test utils for port * feat: add tests for FC extension * source doc
What this PR changes/adds
Cleans out a bit of unnecessary code of the FederatedCatalog. In particular the following classes were removed:
PartitionManager
+ implementorsLoaderManager
+ implementorsWorkItemQueue
+ implementorsLoader
+ implementorsInstead, the entire crawler subsystem has been simplified to:
ExecutionManager
ExecutionManager
runsExecutionPlan
:FederatedCacheNodeDirectory
(these are the crawl targets)pre
and apost
hookWhy it does that
Simplicity is good for readability and maintainability. And mental sanity.
Further notes
.
Linked Issue(s)
Closes #1733
Checklist
no-changelog
)