Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20119 Legal API - Update aliases code to work with alternate names #2516

Merged
merged 5 commits into from
Mar 15, 2024

Conversation

chenhongjing
Copy link
Collaborator

@chenhongjing chenhongjing commented Mar 14, 2024

Issue #: /bcgov/entity#20119

Description of changes:

  • Update GET businesses & aliases endpoint to use alternate names
  • Update alternate name & legal entity data models
  • Update other related parts
  • Update unit tests
  • Remove alias references
  • Remove test_alias.py
  • Fix some bugs
  • Note that current commits exclude changes for unit tests

Some Tests run at local environment

  • GET businesses
    image

  • GET aliases
    image

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the lear license (Apache 2.0).

@leodube-aot
Copy link
Collaborator

Looks good so far! I just merged my unit test PR so you should be good to make the changes for the unit tests.

@chenhongjing
Copy link
Collaborator Author

Looks good so far! I just merged my unit test PR so you should be good to make the changes for the unit tests.

Thanks! 😸

Signed-off-by: Hongjing Chen <[email protected]>
Signed-off-by: Hongjing Chen <[email protected]>
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Collaborator

@JazzarKarim JazzarKarim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@chenhongjing chenhongjing merged commit addc449 into bcgov:feature-legal-name Mar 15, 2024
4 of 5 checks passed
PaulGarewal pushed a commit to PaulGarewal/lear that referenced this pull request Mar 18, 2024
…cgov#2516)

* 20119 Legal API - update existing aliases code to work with alternate names

Signed-off-by: Hongjing Chen <[email protected]>

* update unit tests

Signed-off-by: Hongjing Chen <[email protected]>

* fix linting

Signed-off-by: Hongjing Chen <[email protected]>

* remove alias references & test_alias

Signed-off-by: Hongjing Chen <[email protected]>

* fix linting-2

Signed-off-by: Hongjing Chen <[email protected]>

---------

Signed-off-by: Hongjing Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants