Skip to content

Commit

Permalink
fix(application-system-api): Add missing national registry v3 xroad c…
Browse files Browse the repository at this point in the history
…lient config (#16770)

* fix: init

* chore: charts update dirty files

---------

Co-authored-by: andes-it <builders@andes.is>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored and jonnigs committed Nov 12, 2024
1 parent 2ef37dd commit 5bb10db
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/application-system/api/infra/application-system-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -267,6 +268,7 @@ export const serviceSetup = (services: {
Labor,
HealthInsurance,
NationalRegistry,
NationalRegistryB2C,
Payment,
DrivingLicense,
PaymentSchedule,
Expand Down
4 changes: 4 additions & 0 deletions charts/islandis/values.dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 4 additions & 0 deletions charts/islandis/values.prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
4 changes: 4 additions & 0 deletions charts/islandis/values.staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 5bb10db

Please sign in to comment.