-
Notifications
You must be signed in to change notification settings - Fork 7
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
Remove SharedCollectionAPI and IntegrationClient 🔥 (PP-224) #1298
Conversation
ade9cd5
to
db59d64
Compare
Rebased this, and resolved the conflicts that came in with #1288. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #1298 +/- ##
==========================================
- Coverage 89.87% 89.84% -0.03%
==========================================
Files 210 208 -2
Lines 28727 28542 -185
Branches 6567 6536 -31
==========================================
- Hits 25817 25643 -174
+ Misses 1896 1890 -6
+ Partials 1014 1009 -5
☔ View full report in Codecov by Sentry. |
@@ -1409,197 +1409,6 @@ def active_licensepool_for(self, work): | |||
return super().active_licensepool_for(work, library=self.library) | |||
|
|||
|
|||
class SharedCollectionAnnotator(CirculationManagerAnnotator): |
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.
You just blew away days of work from the Annotator refactor 🥳
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.
@RishiDiwanTT that is great to hear! 🎉
Trying to save us time, and reduce cognitive overhead when trying to reason about the code it the big reason I've been trying to remove bits and pieces that are no longer used or needed.
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.
Looks good 👍
db59d64
to
14a2f87
Compare
Description
In this PR we remove the following classes from the CM:
SharedCollectionAPI
IntegrationClient
This involves a database migration to drop the
integration_client
table. I did a quick query of the DBs on the Palace production servers to make sure that none of them have any entries in this table.JIRA: PP-224
Motivation and Context
This work was started in #1276 as part of the work on PP-11. However when working on a unrelated issue, I noticed that I had removed the "client" side of the Shared ODL integration, but I had failed to remove the "server" side.
Since there is no Shared ODL client anymore, this "server" code is effectively dead, and should also be removed.
How Has This Been Tested?
Checklist