From 3e70034d1faca662421d72c77e426e3ddb7c5d4a Mon Sep 17 00:00:00 2001 From: "Kristen.Herum" Date: Mon, 11 Nov 2024 13:48:56 +0100 Subject: [PATCH] Fix property typo and update JDBC URL format #deploy-altinn3-tilgang-service Corrected a typo in the AltinnConfig identifier property. Additionally, updated the JDBC URL in the application-prod.yml to use a more consistent and environment-friendly format. --- .../nav/testnav/altinn3tilgangservice/config/AltinnConfig.java | 2 +- .../src/main/resources/application-prod.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/altinn3-tilgang-service/src/main/java/no/nav/testnav/altinn3tilgangservice/config/AltinnConfig.java b/apps/altinn3-tilgang-service/src/main/java/no/nav/testnav/altinn3tilgangservice/config/AltinnConfig.java index d02db4f2a8a..bcc747c7eba 100644 --- a/apps/altinn3-tilgang-service/src/main/java/no/nav/testnav/altinn3tilgangservice/config/AltinnConfig.java +++ b/apps/altinn3-tilgang-service/src/main/java/no/nav/testnav/altinn3tilgangservice/config/AltinnConfig.java @@ -16,6 +16,6 @@ public class AltinnConfig { @Value("${altinn.resource.owner}") private String owner; - @Value("$altinn.resource.identifier}") + @Value("${altinn.resource.identifier}") private String identifier; } diff --git a/apps/altinn3-tilgang-service/src/main/resources/application-prod.yml b/apps/altinn3-tilgang-service/src/main/resources/application-prod.yml index 1bb34780bf1..a7c1ccf5d43 100644 --- a/apps/altinn3-tilgang-service/src/main/resources/application-prod.yml +++ b/apps/altinn3-tilgang-service/src/main/resources/application-prod.yml @@ -3,7 +3,7 @@ ALTINN_URL: https://tt02.altinn.no spring: flyway: locations: classpath:db/migration - url: jdbc:postgresql://${NAIS_DATABASE_TESTNAV_ALTINN3_TILGANG_TESTNAV_ALTINN3_TILGANG_HOST}:${NAIS_DATABASE_TESTNAV_ALTINN3_TILGANG_TESTNAV_ALTINN3_TILGANG_PORT}/${NAIS_DATABASE_TESTNAV_ALTINN3_TILGANG_TESTNAV_ALTINN3_TILGANG_DATABASE} + url: ${NAIS_DATABASE_TESTNAV_ALTINN3_TILGANG_TESTNAV_ALTINN3_TILGANG_JDBC_URL} user: ${NAIS_DATABASE_TESTNAV_ALTINN3_TILGANG_TESTNAV_ALTINN3_TILGANG_USERNAME} password: ${NAIS_DATABASE_TESTNAV_ALTINN3_TILGANG_TESTNAV_ALTINN3_TILGANG_PASSWORD} r2dbc: