You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Entities: Missing business information in the business query from NameX. #24319
We should talk about what you need. I see you want directors and addresses in the business response -- but we have separate endpoints for that already. As for the COLIN call, I haven't confirmed that COLIN provides all the information you want.
@vysakh-menon-aot The links provided above might work, but they require the 'colin' role for access. Namex accesses public business information through:
The head office is for xpro company only. It is available in COLIN.
Perhaps we could add a general service, such as retrieving parties/all, to gather all office information. @severinbeauvais I think it would be better for Entities to work on this. However, if you don't have time, I am available to do it.
Since the missing information doesn't break the app, @ozamani9gh will consult with the business team to determine if the issue needs immediate attention. In the meantime, I will create a new ticket to address the issue, allowing this ticket to proceed with testing.
Open an NR and click Edit Request.
Change the request type to Change of Name or others that a corp number is required.
Verify that the corp number validation works correctly by saving edit.
Open an NR and observe the Conflicts of Name section.
Ensure that companies with conflicting names appear under Exact Match or Exact Word Order + Synonym Match.
Click on a company number and verify:
The company information is correctly retrieved.
The app does not crash.
For Name Request types Change Name or Reactivate a Company, ensure that:
A company number must be entered.
The entered company number is validated correctly.
Activity
ozamani9gh commentedon Nov 12, 2024
Omid to discuss with @severinbeauvais about who should complete work.
severinbeauvais commentedon Nov 12, 2024
We should talk about what you need. I see you want directors and addresses in the business response -- but we have separate endpoints for that already. As for the COLIN call, I haven't confirmed that COLIN provides all the information you want.
cc: @vysakh-menon-aot
severinbeauvais commentedon Nov 12, 2024
Also, when do you need this by?
vysakh-menon-aot commentedon Nov 12, 2024
public endpoint in colin is intent to provide the basic details of business.
I could see few endpoints, lear is not using these (but not sure if someone is using these). you can try if it works
get party https://github.com/bcgov/lear/blob/main/colin-api/src/colin_api/resources/parties.py
get office https://github.com/bcgov/lear/blob/main/colin-api/src/colin_api/resources/office.py
eve-git commentedon Nov 13, 2024
@vysakh-menon-aot The links provided above might work, but they require the 'colin' role for access. Namex accesses public business information through:
Is it possible to make the parties and offices endpoints publicly accessible in a similar way?
severinbeauvais commentedon Nov 13, 2024
@eve-git , you are right: the
partiesandofficeendpoints require the "COLIN_SVC_ROLE", while thepublicendpoint just requires an auth token.@vysakh-menon-aot , is there any reason to not change
partiesandofficeto matchpublic?@OlgaPotiagalova Maybe we do need some changes to our COLIN API for this.
vysakh-menon-aot commentedon Nov 13, 2024
If we change similar to public anyone who logged in to registries can access other business parties and offices (which i don't think is right)
severinbeauvais commentedon Nov 13, 2024
Good point. What's the alternative?
Could the Namex API use a JWT with the COLIN role?
vysakh-menon-aot commentedon Nov 13, 2024
Yes. @eve-git use
entity-service-accountjwt token3 remaining items
severinbeauvais commentedon Nov 19, 2024
Eve, do you know for sure that the Head Office Information for xpro companies is available in COLIN?
And, are you planning to update COLIN API code or do you need Entities Team to do it?
cc: @OlgaPotiagalova
eve-git commentedon Nov 20, 2024
The head office is for xpro company only. It is available in COLIN.
Perhaps we could add a general service, such as
retrieving parties/all, to gather all office information.@severinbeauvais I think it would be better for Entities to work on this. However, if you don't have time, I am available to do it.
severinbeauvais commentedon Nov 20, 2024
@vysakh-menon-aot Any thoughts on what we should do here?
@eve-git , when do you need this by ???
eve-git commentedon Nov 20, 2024
Since the missing information doesn't break the app, @ozamani9gh will consult with the business team to determine if the issue needs immediate attention. In the meantime, I will create a new ticket to address the issue, allowing this ticket to proceed with testing.
eve-git commentedon Nov 20, 2024
deployed to both dev and test
eve-git commentedon Nov 20, 2024
Testing
In Name Examination:
Edit Request and Validate Corp Number:
Verify Conflict Name Details:
In Name Request:
Please verify that all the above functionality works as expected.
gunanagar commentedon Dec 5, 2024
Tested
Edit Request and Validate Corp Number:
Open an NR and click Edit Request.
Change the request type to Change of Name or others that a corp number is required.
Verify that the corp number validation works correctly by saving edit.
gunanagar commentedon Dec 5, 2024
Verify Conflict Name Details: - PASS
Open an NR and observe the Conflicts of Name section.
Ensure that companies with conflicting names appear under Exact Match or Exact Word Order + Synonym Match.
Click on a company number and verify:
The company information is correctly retrieved.
The app does not crash.
gunanagar commentedon Dec 6, 2024
In Name Request: - PASS
For Name Request types Change Name or Reactivate a Company, ensure that:
A company number must be entered.
The entered company number is validated correctly.
Invalid

Valid
