bcgov / von-bc-registries-agent-configurations

Build and Deployment Configurations for the Indy-Catalyst version of the BC Registries Agent
Apache License 2.0
0 stars 7 forks source link

Add commands to reprocess orgs when there are missing relationships in OrgBook #76

Closed ianco closed 5 months ago

ianco commented 5 months ago

OrgBook and the BC Reg issuer can get out of sync (due to side effects of some reprocessing activities I think).

For this scenario, I've observed that there is no relationship in OrgBook (or half a relationship) however the issuer thinks there are posted credentials.

These new commands (for COLIN and LEAR) will delete existing relationship credentials from the event processor database (only for the selected "from" and "to" companies) and then queue the "owing" company for reprocessing.

I'll update the BC Reg audit script to check for missing relationships and provide the appropriate commands to run.