-
Notifications
You must be signed in to change notification settings - Fork 21
Sagas
This Service is part of the legal-entity-core module and it creates Legal Entities and their supporting objects from an aggregate model (Legal Entity) that contains all info required to ingest one Customer or multiple customers in a hierarchy.
-
For each Legal Entity object, it will either retrieve the existing Legal Entity or create a new one.
-
Next, it will either create or update the Administrator users which are used to create a Master Service agreement.
-
Next, After the users are created/retrieved and enriched with their internal Ids we can set up the Master Service
-
Next, it will create/update product groups (Arrangements) if they exist in the Legal Entity model
TODO: Include the diagram
This service is part of the stream-product module, it used implicitly in Legal Entity Saga and can be used independently, also it's responsible for ingesting customer products, arrangements, and set up user permissions.
This service is part of the approvals-core module, and it creates Policies and Approval Types and their supporting objects, also it's responsible for ingesting/assigning all approvals flow.
- This is not idempotent implementation (due to lack of service-api. The request for improvements is created)
- For each Approval object, it will create a new one of Policy and Approval Type.
TODO this service is not implemented yet
TODO this service is not implemented yet
TODO this service is not implemented yet
This saga is implemented in the loans-core module, creating loans in DBS's loan
service. The task for the SAGA is created and triggered in Product Ingestion SAGA as the loan itself is a specific type of arrangement and the arrangement should be created before corresponding loan.