Skip to content

Legal Api/Filer - Document Record Creation on Staff Filings + Fix errors on unit test #25257

Closed

Description

@cameron-eyds

STAFF ONLY

  • Implement an API Hook/interceptor at the point of STAFF filing submissions to Legal Api/Filer

  • Hook will create a Document Record, with the relevant filing meta data (ie entity id, class, type and a generated Doc Id if required)

  • May require some research regarding on best place to try and 'catch all'.

  • Handle manually entered document ids (barcodes)

  • Pass the filingId to the new client reference property in the DRS

  • Add a new mapping between filingID and DRS DocumentID

  • Verify single API endpoint? Business Api

  • Map List of Corps Forms so filing document types

  • Add a query param to the filing endpoint

  • Fix errors on failed unit tests(231)

Notes:

  • Will require a comprehensive list of Filing Names, Types and Codes unless we are planning on record creation for all Staff Filings?
  • May also want to feature flag or use an env variable to toggle this on/off

Repo: https://github.com/bcgov/lear

Activity

  1. added theissue type on Jun 3, 2025
  2. shahriarkhan-ey commented on Sep 5, 2025

    @shahriarkhan-ey

    Closing because it's not needed any more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions