diff --git a/alfa-server/src/main/resources/application.yml b/alfa-server/src/main/resources/application.yml index 7797843ae481fe136f478d5e5e32250c1b774c6f..46c43c0b39063acf6a99c612f24062a4568a91a3 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 1d1a549b5c44f6e7be3e8b2353c6d4ffca4e0890..534624c55592da692f9f28f115c40f73fb2b32f1 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";