Skip to content

32806 - Business API - update LEGAL_API_BASE_URL to use gw url instead of internal api url#4389

Merged
kialj876 merged 1 commit into
bcgov:mainfrom
kialj876:32806-update-LEGAL_API_BASE_URL
May 15, 2026
Merged

32806 - Business API - update LEGAL_API_BASE_URL to use gw url instead of internal api url#4389
kialj876 merged 1 commit into
bcgov:mainfrom
kialj876:32806-update-LEGAL_API_BASE_URL

Conversation

@kialj876
Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#32806

Description of changes:

  • Checked the code in search and business dashboard UIs to make sure this will not cause integration problems
  • local testing:

env
env-gw-var

business response
business-resp

filing response
filings-resp

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).

…ernal api url

Signed-off-by: Kial Jinnah <kialj876@gmail.com>
BUSINESS_API_GW_URL="op://API/$APP_ENV/business-api/BUSINESS_API_GW_URL"
BUSINESS_API_VERSION_2="op://API/$APP_ENV/business-api/BUSINESS_API_VERSION_2"
LEGAL_API_URL="op://API/$APP_ENV/legal-api/LEGAL_API_URL"
LEGAL_API_VERSION_2="op://API/$APP_ENV/legal-api/LEGAL_API_VERSION_2"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

no longer used

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(any cleanup for SRE? Or just not needed in this proj, or already gone from secret storage?)

Copy link
Copy Markdown
Collaborator Author

@kialj876 kialj876 May 15, 2026

Choose a reason for hiding this comment

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

I think there's other projects still using this at the moment (this was the original 1pass key so I think several other projects still use it - i.e. search). I'm thinking we just let SRE manage the 1pass cleanup when they are ready

LEGAL_API_URL="op://API/$APP_ENV/legal-api/LEGAL_API_URL"
LEGAL_API_VERSION_2="op://API/$APP_ENV/legal-api/LEGAL_API_VERSION_2"
NAICS_API_URL="op://API/$APP_ENV/naics-api/NAICS_API_URL"
NAICS_API_VERSION="op://API/$APP_ENV/naics-api/NAICS_API_VERSION"
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

was already not being used (uses BUSINESS_API_URL/VERSION_2)

@sonarqubecloud
Copy link
Copy Markdown

@kialj876 kialj876 requested review from loneil and meawong May 13, 2026 19:12
@kialj876 kialj876 changed the title Business API - update LEGAL_API_BASE_URL to use gw url instead of internal api url 32806 - Business API - update LEGAL_API_BASE_URL to use gw url instead of internal api url May 14, 2026
@kialj876 kialj876 merged commit f0b3cd9 into bcgov:main May 15, 2026
8 checks passed
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.

3 participants