From fd61a1a7ac4b13fe06f46ade80b95650efce1c4c Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Wed, 17 Aug 2022 15:54:54 +0200 Subject: refact(proxy): rename SystemD property to 'eidas.ms-proxy.configuration' --- .../proxy/MsSpecificSpringBootApplicationContextInitializer.java | 2 +- .../asitplus/eidas/specific/proxy/test/FullStartUpAndProcessTest.java | 2 +- .../specific/proxy/test/builder/ProxyAuthenticationDataBuilderTest.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ms_specific_proxyservice') diff --git a/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/MsSpecificSpringBootApplicationContextInitializer.java b/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/MsSpecificSpringBootApplicationContextInitializer.java index 2ec08b17..35021919 100644 --- a/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/MsSpecificSpringBootApplicationContextInitializer.java +++ b/ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/MsSpecificSpringBootApplicationContextInitializer.java @@ -22,7 +22,7 @@ import lombok.extern.slf4j.Slf4j; public class MsSpecificSpringBootApplicationContextInitializer extends SpringBootApplicationContextInitializer { - private static final String SYSTEMD_PROP_NAME = "eidas.ms.configuration"; + private static final String SYSTEMD_PROP_NAME = "eidas.ms-proxy.configuration"; private static final String PATH_FILE_PREFIX = "file:"; @Override diff --git a/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/FullStartUpAndProcessTest.java b/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/FullStartUpAndProcessTest.java index 2fe7ee05..82103095 100644 --- a/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/FullStartUpAndProcessTest.java +++ b/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/FullStartUpAndProcessTest.java @@ -126,7 +126,7 @@ public class FullStartUpAndProcessTest { @SneakyThrows public static void classInitializer() { final String current = new java.io.File(".").toURI().toString(); - System.clearProperty("eidas.ms.configuration"); + System.clearProperty("eidas.ms-proxy.configuration"); //eIDAS Ref. Impl. properties System.setProperty("EIDAS_CONFIG_REPOSITORY", current.substring("file:".length()) diff --git a/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/builder/ProxyAuthenticationDataBuilderTest.java b/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/builder/ProxyAuthenticationDataBuilderTest.java index ee2c8d8c..5f9d6fda 100644 --- a/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/builder/ProxyAuthenticationDataBuilderTest.java +++ b/ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/builder/ProxyAuthenticationDataBuilderTest.java @@ -85,7 +85,7 @@ public class ProxyAuthenticationDataBuilderTest { @BeforeClass public static void classInitializer() throws InitializationException, ComponentInitializationException { final String current = new java.io.File(".").toURI().toString(); - System.setProperty("eidas.ms.configuration", current + System.setProperty("eidas.ms-proxy.configuration", current + "src/test/resources/config/junit_config_3.properties"); //eIDAS Ref. Impl. properties -- cgit v1.2.3