bcgov / bcgov/entity

Entity BN - Update correction flow to work with alternate names

Open
#20,495 0 comments 0 reactions 0 assignees View on GitHub
blocked Entities - Data Migration ENTITY - DO NOT USE
Dominant language
JavaScript
Stars
23
Forks
62
Avg merge
24m
Merged PRs (30d)
1

Description

Update bn processor such that we are able to work with alternate_name entries where required. With the new data model, SPs will need to use alternate_name similar to the way we use a legal_entity record.

**TODOs**
Do following for bn processor(s) relevant to this ticket:
- [ ] Do work in legal name branch
- [ ] Update to work with alternate names and legal entities
- [ ] Update versioning logic where required. May be still using versioning approach used in old data model
- [ ] There may be some other misc updates required to get processor working. Update as appropriate.
- [ ] Update LegalEntity, AlternateName and Filings model manually in common models to match with legal api models as required
- [ ] Update worker.py as required
- [ ] Update tests relevant to this bn processor

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the bn processor's legal name branch and worker.py, then compare the common LegalEntity, AlternateName, and Filings models with the legal API models. Review the existing processor tests and versioning logic before making changes. Done means alternate_name and legal entity correction flows work, versioning is compatible with the new model, and relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
postgres, python
Domain
backend, database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.