From ec701d828336fc8f0cadb23e85dc1a92167d3bcd Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Thu, 29 Aug 2024 12:42:03 +0200 Subject: [PATCH] OZG-6499 Fix Spring cloud config client configuration --- alfa-server/src/main/resources/application.yml | 2 +- .../main/java/de/ozgcloud/alfa/postfach/PostfachProperties.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/alfa-server/src/main/resources/application.yml b/alfa-server/src/main/resources/application.yml index 7797843ae4..46c43c0b39 100644 --- a/alfa-server/src/main/resources/application.yml +++ b/alfa-server/src/main/resources/application.yml @@ -24,7 +24,7 @@ spring: issuer-uri: ${ozgcloud.oauth2.issuer-uri} jwk-set-uri: ${spring.security.oauth2.resourceserver.jwt.issuer-uri}/protocol/openid-connect/certs config: - import: optional:${ozgcloud_administration_address:http://localhost:8888/configserver/} + import: optional:configserver:${ozgcloud_administration_address:http://localhost:8888/configserver/} server: http2: diff --git a/alfa-service/src/main/java/de/ozgcloud/alfa/postfach/PostfachProperties.java b/alfa-service/src/main/java/de/ozgcloud/alfa/postfach/PostfachProperties.java index 1d1a549b5c..534624c555 100644 --- a/alfa-service/src/main/java/de/ozgcloud/alfa/postfach/PostfachProperties.java +++ b/alfa-service/src/main/java/de/ozgcloud/alfa/postfach/PostfachProperties.java @@ -12,7 +12,7 @@ import lombok.Setter; @RefreshScope @Getter @Setter -class PostfachProperties { +public class PostfachProperties { static final String PREFIX = "ozgcloud.postfach"; -- GitLab