Changes
Additionally, in dcb-service
Deployment
Summary
Change Category | Required | Recommended | Not Required |
---|---|---|---|
Complete reset | |||
Environment configuration | |||
Host LMS configuration or setup | (instructions #1 & #3 below) | ||
Service configuration | |||
Ingest | |||
Index | (instructions #3 below) | ||
Library configuration | |||
Deploy new Executables |
Instructions - Before deploying the new version
A breaking change has been introduced for Polaris configuration. The lmsClientClass class for Polaris has changed to org.olf.dcb.core.interaction.polaris.PolarisLmsClient from the previous value org.olf.dcb.core.interaction.polaris.papi.PAPILmsClient
The Polaris config block has been extended substantially and now needs to be
"clientConfig": { "ingest": "false", "base-url": "https://stlouis-training.polarislibrary.com ", "page-size":100, "staff-username": "...", "staff-password": "...", "domain-id": "...", "access-id": "...", "access-key": "...", "papi": { "papi-version": "v1", "lang-id": "1033", "app-id": "100", "org-id": "1" }, "services": { "services-version": "v1", "language": "eng", "product-id": "20", "site-domain": "polaris", "organisation-id": "73", "workstation-id": "1" }, "item": { "renewal-limit": "0", "fine-code-id": "1", "history-action-id": "6", "loan-period-code-id": "9", "shelving-scheme-id": "3", "barcode-prefix": "test" } }
After changing - re-post the json to the hostlmss endpoint to commit the change.
This release adds direct support for dcb-service pushing records from the canonical shared index aggregation into a downstream discovery index (ES/OS in this case). This means DISABLING the existing script based ETL approach to populating the shared index and configuring a number of new environment variables in accordance with https://openlibraryenvironment.github.io/dcb-service/#environment-variables .
DCB_INDEX_NAME | Name of the index representing the shared index | no | si-index |
DCB_INDEX_USERNAME | Username to communicate with the index service | no | si-user |
DCB_INDEX_PASSWORD | Password to communicate with the index service | no | si-pass |
Choose 1 of the below | |||
ELASTICSEARCH_HTTP_HOSTS | 1 or more Elasticsearch hosts (Comma separated) | no (See note) | |
OPENSEARCH_HTTP_HOSTS | 1 or more OpenSearch hosts (Comma separated) | no (See note) |
Verification
After clear down
After deployment
- Be sure to disable the old style push to ES/OS script
- Check logs for proper configuraiton of ES/OS push