From bcgov/lear#4618 review: filer calls update_document_records after the filing transaction commits — sync PATCH through the API, failure only logged, no retry. Same weakness as namex consume and business profile update_entity.
Two options raised in the review thread:
- A: publish message to a DRS queue and process there (like
publish_drs_create_message, new topic e.g. doc-api-app-update-record)
- B: make post-transaction actions retryable sub-tasks of business-filer
Option A - Selected Option
Verify which path, define what work is needed, then implement. Changes may span legal-api and queue services.
From bcgov/lear#4618 review: filer calls
update_document_recordsafter the filing transaction commits — sync PATCH through the API, failure only logged, no retry. Same weakness as namex consume and business profile update_entity.Two options raised in the review thread:
publish_drs_create_message, new topic e.g.doc-api-app-update-record)Option A - Selected Option
Verify which path, define what work is needed, then implement. Changes may span legal-api and queue services.