tazama-lf / frms-coe-lib

FRMS Center of Excellence package library
Apache License 2.0
3 stars 3 forks source link

feat: Event flow entity condition #155

Closed cshezi closed 2 months ago

cshezi commented 2 months ago

SPDX-License-Identifier: Apache-2.0

What did we change?

  1. Added a new method for saving conditions for entity collection
  2. Added a new method for saving condition edges for governed_as_creditor_by collection
  3. Added a new method for saving condition edges for governed_as_debtor_by collection
  4. Added a new method for getting all conditions for a particular entity
  5. Added a new method for getting the existence of a particular entity
  6. Protofile added a new CondtionEdge
  7. Unit tests were added

Why are we doing this?

  1. To allow the administrators to set conditions for an entity that exists or that does not exist
  2. To save data in valkey for high-speed retrieval
  3. To ensure that the conditions added are allowed valid

How was it tested?

cshezi commented 2 months ago

Review 1: By Len : Approved, published 4.0.1-rc1 for https://github.com/frmscoe/admin-service/issues/41

sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud