From a03a7e362605e821470c7bd518ae1fcdfd228570 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Sat, 29 Nov 2025 09:06:23 +0100 Subject: [PATCH] feat(#23): Add maildev application.yaml configs --- .../resources/application-testcontainers.yaml | 5 +++++ .../src/test/resources/application.yaml | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml b/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml index 923bddc..3875810 100644 --- a/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml +++ b/legalconsenthub-backend/src/main/resources/application-testcontainers.yaml @@ -48,3 +48,8 @@ logging: web: DEBUG org.testcontainers: INFO com.github.dockerjava: WARN + +management: + health: + mail: + enabled: false diff --git a/legalconsenthub-backend/src/test/resources/application.yaml b/legalconsenthub-backend/src/test/resources/application.yaml index 1376ec2..4bd9f28 100644 --- a/legalconsenthub-backend/src/test/resources/application.yaml +++ b/legalconsenthub-backend/src/test/resources/application.yaml @@ -8,3 +8,21 @@ spring: 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} + + mail: + host: ${MAIL_HOST:0.0.0.0} + port: ${MAIL_PORT:1025} + username: ${MAIL_USERNAME:} + password: ${MAIL_PASSWORD:} + properties: + mail: + smtp: + auth: false + starttls: + enable: false + required: false + ssl: + enable: false + connectiontimeout: 5000 + timeout: 5000 + writetimeout: 5000