From 91277e330777ea7e36c2f36865302ee4c16ada80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Eorkell=20M=C3=A1ni=20=C3=9Eorkelsson?= Date: Fri, 8 Nov 2024 09:39:29 +0000 Subject: [PATCH 1/2] fix: init --- apps/application-system/api/infra/application-system-api.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/application-system/api/infra/application-system-api.ts b/apps/application-system/api/infra/application-system-api.ts index ef44dd546487..41738c668a20 100644 --- a/apps/application-system/api/infra/application-system-api.ts +++ b/apps/application-system/api/infra/application-system-api.ts @@ -36,6 +36,7 @@ import { Frigg, HealthDirectorateVaccination, HealthDirectorateOrganDonation, + NationalRegistryB2C, } from '../../../../infra/src/dsl/xroad' export const GRAPHQL_API_URL_ENV_VAR_NAME = 'GRAPHQL_API_URL' // This property is a part of a circular dependency that is treated specially in certain deployment types @@ -267,6 +268,7 @@ export const serviceSetup = (services: { Labor, HealthInsurance, NationalRegistry, + NationalRegistryB2C, Payment, DrivingLicense, PaymentSchedule, From d66570d9129875dff3304f03bee8e492a6d1c7ad Mon Sep 17 00:00:00 2001 From: andes-it Date: Fri, 8 Nov 2024 09:41:34 +0000 Subject: [PATCH 2/2] chore: charts update dirty files --- charts/islandis/values.dev.yaml | 4 ++++ charts/islandis/values.prod.yaml | 4 ++++ charts/islandis/values.staging.yaml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/charts/islandis/values.dev.yaml b/charts/islandis/values.dev.yaml index f628fff3f928..ca6d0b8694db 100644 --- a/charts/islandis/values.dev.yaml +++ b/charts/islandis/values.dev.yaml @@ -610,6 +610,10 @@ application-system-api: LOGIN_SERVICE_APPLICATION_RECIPIENT_EMAIL_ADDRESS: 'gunnar.ingi@fjr.is' LOGIN_SERVICE_APPLICATION_RECIPIENT_NAME: 'Gunnar Ingi' LOG_LEVEL: 'info' + NATIONAL_REGISTRY_B2C_CLIENT_ID: 'b464afdd-056b-406d-b650-6d41733cfeb7' + NATIONAL_REGISTRY_B2C_ENDPOINT: 'https://skraidentitydev.b2clogin.com/skraidentitydev.onmicrosoft.com/b2c_1_midlun_flow/oauth2/v2.0/token' + NATIONAL_REGISTRY_B2C_PATH: 'IS-DEV/GOV/10001/SKRA-Cloud-Protected/Midlun-v1' + NATIONAL_REGISTRY_B2C_SCOPE: 'https://skraidentitydev.onmicrosoft.com/midlun/.default' NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init' NOVA_ACCEPT_UNAUTHORIZED: 'true' NOVA_USERNAME: 'IslandIs_User_Development' diff --git a/charts/islandis/values.prod.yaml b/charts/islandis/values.prod.yaml index c7e37f4144c5..0564cf2d03c7 100644 --- a/charts/islandis/values.prod.yaml +++ b/charts/islandis/values.prod.yaml @@ -598,6 +598,10 @@ application-system-api: LOGIN_SERVICE_APPLICATION_RECIPIENT_EMAIL_ADDRESS: 'island@island.is' LOGIN_SERVICE_APPLICATION_RECIPIENT_NAME: 'Stafrænt Ísland' LOG_LEVEL: 'info' + NATIONAL_REGISTRY_B2C_CLIENT_ID: '2304d7ca-7ed3-4188-8b6d-e1b7e0e3df7f' + NATIONAL_REGISTRY_B2C_ENDPOINT: 'https://skraidentity.b2clogin.com/skraidentity.onmicrosoft.com/b2c_1_midlun_flow/oauth2/v2.0/token' + NATIONAL_REGISTRY_B2C_PATH: 'IS/GOV/6503760649/SKRA-Cloud-Protected/Midlun-v1' + NATIONAL_REGISTRY_B2C_SCOPE: 'https://skraidentity.onmicrosoft.com/midlun/.default' NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init' NOVA_ACCEPT_UNAUTHORIZED: 'false' NOVA_USERNAME: 'IslandIs_User_Production' diff --git a/charts/islandis/values.staging.yaml b/charts/islandis/values.staging.yaml index 227a2b0fcc6d..c7e4a2583b0d 100644 --- a/charts/islandis/values.staging.yaml +++ b/charts/islandis/values.staging.yaml @@ -607,6 +607,10 @@ application-system-api: LOGIN_SERVICE_APPLICATION_RECIPIENT_EMAIL_ADDRESS: 'gunnar.ingi@fjr.is' LOGIN_SERVICE_APPLICATION_RECIPIENT_NAME: 'Gunnar Ingi' LOG_LEVEL: 'info' + NATIONAL_REGISTRY_B2C_CLIENT_ID: 'ca128c23-b43c-443d-bade-ec5a146a933f' + NATIONAL_REGISTRY_B2C_ENDPOINT: 'https://skraidentitydev.b2clogin.com/skraidentitystaging.onmicrosoft.com/b2c_1_midlun_flow/oauth2/v2.0/token' + NATIONAL_REGISTRY_B2C_PATH: 'IS-TEST/GOV/6503760649/SKRA-Cloud-Protected/Midlun-v1' + NATIONAL_REGISTRY_B2C_SCOPE: 'https://skraidentitystaging.onmicrosoft.com/midlun/.default' NODE_OPTIONS: '--max-old-space-size=921 -r dd-trace/init' NOVA_ACCEPT_UNAUTHORIZED: 'false' NOVA_USERNAME: 'IslandIs_User_Development'