diff --git a/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml b/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml index 77af911..923bddc 100644 --- a/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml +++ b/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml @@ -2,6 +2,13 @@ spring: application: name: legalconsenthub + datasource: + hikari: + auto-commit: false + url: jdbc:postgresql://localhost:5432/legalconsenthub + username: legalconsenthub + password: legalconsenthub + jpa: database-platform: org.hibernate.dialect.PostgreSQLDialect hibernate: @@ -25,6 +32,13 @@ spring: init: platform: postgresql + security: + oauth2: + resourceserver: + jwt: + issuer-uri: http://localhost:7080/realms/legalconsenthub + jwk-set-uri: http://localhost:7080/realms/legalconsenthub/protocol/openid-connect/certs + logging: level: org: diff --git a/legalconsenthub-backend/src/main/resources/application.yaml b/legalconsenthub-backend/src/main/resources/application.yaml index 61e9046..074dd6b 100644 --- a/legalconsenthub-backend/src/main/resources/application.yaml +++ b/legalconsenthub-backend/src/main/resources/application.yaml @@ -3,7 +3,8 @@ spring: name: legalconsenthub datasource: - auto-commit: false + hikari: + auto-commit: false url: ${LEGALCONSENTHUB_DB_URL} username: ${LEGALCONSENTHUB_DB_APP_USER} password: ${LEGALCONSENTHUB_DB_PASSWORD} @@ -35,5 +36,5 @@ spring: oauth2: resourceserver: jwt: - issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI:http://localhost:7080} - jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI:http://localhost:7080} + issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI} + jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI}