Stream Services are an Open-Source accelerator to connect with Backbase "out-of-the-box" components responsible for orchestrating calls to Banking Services.
Currently, during pmt ingestion, we query the payment-order-service to retrieve a list of existing pmts. That way we can see what needs to be updated and what is new. We query these pmts by using the user's id.
Unfortunately, as soon as we introduce joint users, then not all the payments will come up. This results in duplicates being created.
This update will query the payment-order-service by using the arrangement ids associated with the payment. This way should eliminate any duplicates.
[x] I made sure, I read CONTRIBUTING.md to put right branch prefix as per my need.
Currently, during pmt ingestion, we query the payment-order-service to retrieve a list of existing pmts. That way we can see what needs to be updated and what is new. We query these pmts by using the user's id. Unfortunately, as soon as we introduce joint users, then not all the payments will come up. This results in duplicates being created.
This update will query the payment-order-service by using the arrangement ids associated with the payment. This way should eliminate any duplicates.