Replace mod-configuration usage to use Settings API from orders-storage

CSP Request Details

None

CSP Rejection Details

None

CSP Approved

None

Description

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

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Details

Assignee

Reporter

Priority

Story Points

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
Loading...