| Jira Legacy | ||||||
|---|---|---|---|---|---|---|
|
...
7) folio-holdingsiq-service needs to be updated with all new endpoints from https://developer.ebsco.com/interactive/holdingsiqbeta#/
2) Implementation in mod-kb-ebsco-java
Since new HoldingsIQ API is still in beta, I propose to preserve old implementation and add ability to switch between two implementations.
Most of the process is the same so we can use template method pattern:
We will move most of the logic to AbstractLoadServiceFacade class.
Two classes will extend it:
DefaultLoadServiceFacade (class that will have details related to current logic (e.g. it will call endpoint "GET /holdings" instead of "GET /reports/holdings/transactions/{transactionId}")),
TransactionLoadServiceFacade (class that will implement details for new logic).
| Drawio | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|