-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gate: Request Cleaning for BPN Update #431
Comments
In order to create the polling the Gate needs to remember the last time the changelog has been polled. This can be analogous to how the Pool does its sync with the Opensearch: |
This issue handles the second use case in the orchestration layer: #455 (comment) |
For now checking the timestamp is not needed. This would mean that the Gate which was responsible for causing the Pool Changelog Entry will also start this new request. |
Context: When business partner information in the BPDM Pool has been updated, Gates which have matching business partners need those business partners to be updated as well.
The Gate should poll the BPN changelog of the Pool and check for updates on BPNs. If there are updates for BPNs which are referenced by business partners in the output stage, the Gate should request cleaning for this output data from the Orchestrator.
Check whether business partner update needed
For a BPN update the Gate will request a cleaning to the orchestrator for business partners if he business partner has an associated BPN matching the updated BPN
Request cleaning
If the business partner needs to be cleaned, the Gate should request a cleaning from the orchestrator. The request should be in mode NoChanges and the output data needs to be put as the business partner data to clean.
Tasks
Dependencies
#429
The text was updated successfully, but these errors were encountered: