diff --git a/pom.xml b/pom.xml index 69e166d..df108d0 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,18 @@ 3.0.1 + + + + org.springframework.cloud + spring-cloud-dependencies + 2022.0.5 + pom + import + + + + @@ -118,6 +130,11 @@ org.springframework.boot spring-boot-starter-actuator + + org.springframework.cloud + spring-cloud-starter-sleuth + 3.1.11 + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e9ddc81..7cab0b4 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -4,7 +4,6 @@ # Currently active profile spring.profiles.active=@activeSpringProfile@ spring.main.allow-bean-definition-overriding=true -spring.application.name=message-service # General app settings server.port=8080 @@ -59,6 +58,7 @@ springfox.documentation.swagger.v2.path=${springfox.docuPath}/v2/api-docs # UserService API user.service.api.url=:/users user.service.api.new.message.notification=${user.service.api.url}/mails/messages/new +user.service.api.new.feedback.message.notification=${user.service.api.url}/mails/messages/feedback/new user.service.api.liveproxy.url=: # CSRF token @@ -100,8 +100,13 @@ feature.multitenancy.with.single.domain.enabled=false management.endpoint.health.enabled=true management.endpoint.health.show-details=never management.endpoints.web.exposure.include=health +spring.application.name=message-service management.health.probes.enabled=true +spring.zipkin.baseUrl: https://localhost:9411/ +logging.pattern.level=%5p [${spring.application.name:},%X{traceId:-},%X{spanId:-}] + + spring.security.oauth2.resourceserver.jwt.issuer-uri: https://localhost/auth/realms/onlineberatung spring.security.oauth2.resourceserver.jwt.jwk-set-uri: https://localhost/auth/realms/onlineberatung/protocol/openid-connect/certs spring.jwt.auth.converter.resource-id: app