entity icon indicating copy to clipboard operation
entity copied to clipboard

BE - Create separate module for legal api models

Open JazzarKarim opened this issue 1 year ago • 0 comments

Moving forward, we plan to keep the legal api models in a common business model module. We will move over to using the module fully when all the BE components have been upgraded to use the new models module.

BE components are still referencing the legal api models.

Here's reference code that we can use. As you can see, there's a new business-registry-model that has the legal api models. We need to do something similar here.

TODOs

  • [ ] Create the module as an installable module (can use reference work)
  • [ ] Grab all the models from Legal API and pull them in (can use reference work) Note: will probably need some tweaks as our models and sql-versioning will be different from legal name branch (legal name branch is extremely outdated)
  • [ ] Grab all the alembic migrations and we need to make sure they're working
  • [ ] ~Grab the unit tests and pull them in and we need to make sure they're working~ this will be done in https://github.com/bcgov/entity/issues/23164

JazzarKarim avatar Sep 05 '24 18:09 JazzarKarim