Replace mod-configuration usage to use Settings API from orders-storage
CSP Request Details
None
CSP Rejection Details
None
CSP Approved
None
Description
Environment
None
Potential Workaround
None
Checklist
hideActivity
Show:
Details
Assignee
UnassignedUnassignedReporter
Serhii_NoskoSerhii_NoskoPriority
TBDStory Points
2Development Team
ThunderjetRelease
Trillium (R2 2025)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee
Unassigned
UnassignedReporter

Priority
Story Points
2
Development Team
Thunderjet
Release
Trillium (R2 2025)
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created November 13, 2024 at 1:34 PM
Updated February 17, 2025 at 4:35 PM
Purpose/Overview:
We have ConfigurationEntiesCache that uses mod-configuration to retrieve settings and cache them. It should be refactored to use mod-settings for retrieving common settings like system currency and mod-orders-storage Settings API for different internal settings to be used in order related functionality.
Orders-storage Settings API allows to store settings in generic way with key-value pairs like deprecated mod-configuration so can be a replacement of mod-configuration.
Functionality that should use orders-storage Settings API:
Instance matching enabled or disabled
Default Create Inventory value
PO Line limit
Is approval required
Inventory holdings source name, Inventory instance type code, Inventory Instance Status Code, Inventory Loan type name
Link to this cache service: https://github.com/folio-org/mod-orders/blob/master/src/main/java/org/folio/service/caches/ConfigurationEntriesCache.java