fix(backend): Fix testcontainers configuration

This commit is contained in:
2025-11-17 11:05:43 +01:00
parent c23c4dcea2
commit 53b3e944b4
2 changed files with 18 additions and 3 deletions

View File

@@ -2,6 +2,13 @@ spring:
application: application:
name: legalconsenthub name: legalconsenthub
datasource:
hikari:
auto-commit: false
url: jdbc:postgresql://localhost:5432/legalconsenthub
username: legalconsenthub
password: legalconsenthub
jpa: jpa:
database-platform: org.hibernate.dialect.PostgreSQLDialect database-platform: org.hibernate.dialect.PostgreSQLDialect
hibernate: hibernate:
@@ -25,6 +32,13 @@ spring:
init: init:
platform: postgresql 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: logging:
level: level:
org: org:

View File

@@ -3,6 +3,7 @@ spring:
name: legalconsenthub name: legalconsenthub
datasource: datasource:
hikari:
auto-commit: false auto-commit: false
url: ${LEGALCONSENTHUB_DB_URL} url: ${LEGALCONSENTHUB_DB_URL}
username: ${LEGALCONSENTHUB_DB_APP_USER} username: ${LEGALCONSENTHUB_DB_APP_USER}
@@ -35,5 +36,5 @@ spring:
oauth2: oauth2:
resourceserver: resourceserver:
jwt: jwt:
issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI:http://localhost:7080} issuer-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_ISSUER_URI}
jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI:http://localhost:7080} jwk-set-uri: ${SPRING_SECURITY_OAUTH2_RESOURCESERVER_JWT_JWK_SET_URI}