bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 59 forks source link

Legal API - Update Prod Configuration for GCP Report API and 1Password #24475

Open AimeeGao opened 5 days ago

AimeeGao commented 5 days ago

We need to update the Prod environment to use the new GCP Report API configuration.

Findings: The Prod's URL for REPORT_SVC_URL is https://report-api-prod-mr7xg6cgsa-nn.a.run.app/api/v1/reports. The current OCP configuration does not match the correct Prod URL.

TODOs:

~Check and Update 1Password Configuration: (Done)~

~Verify if the current 1Password configuration for Prod is up-to-date with the new REPORT_SVC_URL GCP setup.~

~If necessary, update the 1Password to use the new GCP URL.~

severinbeauvais commented 4 days ago

Currently, the subject 1Password:entity:Prod key is:

image.png

I don't know if this was changed before or after the last Entities deployment to Prod (which may have picked up the change). Can you confirm what Report API Prod is currently using?

AimeeGao commented 4 days ago

Confirmed with Andriy, the Prod URL for REPORT_SVC_URL should be: https://report-api-prod-mr7xg6cgsa-nn.a.run.app

With Karim's help, we've verified the current REPORT_SVC_URL setting in the OCP production is:

image.png
severinbeauvais commented 4 days ago

OK. Please update the description with your findings and anything else we need to check or plan for.