frmscoe / General-Issues

This repo exists to track current work and any issues within the FRMS CoE
2 stars 0 forks source link

Add the pacs.008 amount to the dataCache in data preparation #344

Closed Justus-at-Tazama closed 6 months ago

Justus-at-Tazama commented 6 months ago

As an Ekuta platform operator, I want the amount from the pacs.008 message stored in the dataCache So that when the pacs.002 message is evaluated, the rule processor does not need to look up the associated pacs.008 in the database to retrieve the amount

Acceptance Criteria

  1. When a pacs.008 is received, record the amount object (amount and currency) in the dataCache (DataCache.amt.amt and DataCache.amt.ccy)
  2. Catalogue the rule processors and queries that looks up the amount from the pacs.008 associated with the current incoming transaction (pacs.002).
  3. Remove the lookup of the pacs.008 amount
  4. Retrieve the pacs.008 amount from the dataCache