Create API storage for alternate exchange rate details

Description

Purpose/overview:

The goal is to develop a new API in mod-finance-storage for managing information about alternative exchange rate providers. This API will handle creating, reading, updating, and deleting information, and will ensure that sensitive login details are not stored in the database.

Acceptance Criteria:

  1. CRUD Operations:

    • The API must support all CRUD operations (Create, Read, Update, Delete).

  2. Data Model:

    • Create a data model that includes:

      • Provider URI

      • API Key or Login (not stored in DB)

      • API Secret or Password (not stored in DB)

      • Refresh Interval (default to 1 day)

  3. Single Configuration:

    • Ensure only one custom configuration per provider is allowed.

  4. Security:

    • Set up secure retrieval of API Key, Login, and Password from services like AWS SSM or Vault (detailed setup will be handled separately).

  5. Testing:

    • Ensure all functionalities are tested, including the correct fallback to the default provider when no custom configuration exists.

Environment

None

Potential Workaround

None

Checklist

hide

Activity

Show:

Serhii_Nosko 3 days ago

Implemented in scope of https://github.com/folio-org/mod-finance-storage/pull/468, looks good, closing this ticket.

Done

Details

Assignee

Reporter

Labels

Priority

Story Points

Development Team

Thunderjet

Fix versions

Release

Trillium (R2 2025)

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created February 14, 2025 at 9:39 AM
Updated 3 days ago
Resolved 3 days ago