From 26f0d4000f839dcd883b6bcc953749f8c10892e1 Mon Sep 17 00:00:00 2001 From: Wilson Wong Date: Mon, 3 Jun 2024 08:12:04 -0700 Subject: [PATCH] Add ENV variables for external api links --- .github/environments/values.dev.yaml | 2 ++ .github/environments/values.prod.yaml | 2 ++ .github/environments/values.test.yaml | 2 ++ charts/pcns/values.yaml | 2 ++ frontend/src/components/intake/ShasIntakeForm.vue | 1 - 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/environments/values.dev.yaml b/.github/environments/values.dev.yaml index a12b24076..2d9f8cc1c 100644 --- a/.github/environments/values.dev.yaml +++ b/.github/environments/values.dev.yaml @@ -6,6 +6,8 @@ config: FRONTEND_CHES_BCC: NRM.PermittingAndData@gov.bc.ca FRONTEND_COMS_APIPATH: https://coms-dev.api.gov.bc.ca/api/v1 FRONTEND_COMS_BUCKETID: 1f9e1451-c130-4804-aeb0-b78b5b109c47 + FRONTEND_GEOCODER_APIPATH: https://geocoder.api.gov.bc.ca + FRONTEND_ORGBOOK_APIPATH: https://orgbook.gov.bc.ca/api/v4 FRONTEND_OIDC_AUTHORITY: https://dev.loginproxy.gov.bc.ca/auth/realms/standard FRONTEND_OIDC_CLIENTID: nr-permit-connect-navigator-service-5188 SERVER_APIPATH: /api/v1 diff --git a/.github/environments/values.prod.yaml b/.github/environments/values.prod.yaml index 8d395a002..c31f70574 100644 --- a/.github/environments/values.prod.yaml +++ b/.github/environments/values.prod.yaml @@ -6,6 +6,8 @@ config: FRONTEND_CHES_BCC: Housing.Authorizations@gov.bc.ca FRONTEND_COMS_APIPATH: https://coms.api.gov.bc.ca/api/v1 FRONTEND_COMS_BUCKETID: 0089d041-5aab-485e-842d-8875475d0ed6 + FRONTEND_GEOCODER_APIPATH: https://geocoder.api.gov.bc.ca + FRONTEND_ORGBOOK_APIPATH: https://orgbook.gov.bc.ca/api/v4 FRONTEND_OIDC_AUTHORITY: https://loginproxy.gov.bc.ca/auth/realms/standard FRONTEND_OIDC_CLIENTID: nr-permit-connect-navigator-service-5188 SERVER_APIPATH: /api/v1 diff --git a/.github/environments/values.test.yaml b/.github/environments/values.test.yaml index 1fd29c1a4..865043ceb 100644 --- a/.github/environments/values.test.yaml +++ b/.github/environments/values.test.yaml @@ -6,6 +6,8 @@ config: FRONTEND_CHES_BCC: NRM.PermittingAndData@gov.bc.ca FRONTEND_COMS_APIPATH: https://coms-test.api.gov.bc.ca/api/v1 FRONTEND_COMS_BUCKETID: a9eabd1d-5f77-4c60-bf6b-83ffa0e21c59 + FRONTEND_GEOCODER_APIPATH: https://geocoder.api.gov.bc.ca + FRONTEND_ORGBOOK_APIPATH: https://orgbook.gov.bc.ca/api/v4 FRONTEND_OIDC_AUTHORITY: https://test.loginproxy.gov.bc.ca/auth/realms/standard FRONTEND_OIDC_CLIENTID: nr-permit-connect-navigator-service-5188 SERVER_APIPATH: /api/v1 diff --git a/charts/pcns/values.yaml b/charts/pcns/values.yaml index e693f262f..ccc50bc1f 100644 --- a/charts/pcns/values.yaml +++ b/charts/pcns/values.yaml @@ -135,6 +135,8 @@ config: FRONTEND_CHES_BCC: ~ FRONTEND_COMS_APIPATH: ~ FRONTEND_COMS_BUCKETID: ~ + FRONTEND_GEOCODER_APIPATH: ~ + FRONTEND_ORGBOOK_APIPATH: ~ FRONTEND_OIDC_AUTHORITY: ~ FRONTEND_OIDC_CLIENTID: ~ diff --git a/frontend/src/components/intake/ShasIntakeForm.vue b/frontend/src/components/intake/ShasIntakeForm.vue index 7ff3f2848..36c032e58 100644 --- a/frontend/src/components/intake/ShasIntakeForm.vue +++ b/frontend/src/components/intake/ShasIntakeForm.vue @@ -254,7 +254,6 @@ onBeforeMount(async () => {