aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2022-08-17 15:54:54 +0200
committerThomas <>2022-08-17 15:54:54 +0200
commitfd61a1a7ac4b13fe06f46ade80b95650efce1c4c (patch)
tree9d103e4010c8b71591bfc980caa1c9e3cd84580a
parente42c64bf1eddbb8f7d93d48b6c8f9481369a751f (diff)
downloadNational_eIDAS_Gateway-fd61a1a7ac4b13fe06f46ade80b95650efce1c4c.tar.gz
National_eIDAS_Gateway-fd61a1a7ac4b13fe06f46ade80b95650efce1c4c.tar.bz2
National_eIDAS_Gateway-fd61a1a7ac4b13fe06f46ade80b95650efce1c4c.zip
refact(proxy): rename SystemD property to 'eidas.ms-proxy.configuration'
-rw-r--r--ms_specific_proxyservice/src/main/java/at/asitplus/eidas/specific/proxy/MsSpecificSpringBootApplicationContextInitializer.java2
-rw-r--r--ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/FullStartUpAndProcessTest.java2
-rw-r--r--ms_specific_proxyservice/src/test/java/at/asitplus/eidas/specific/proxy/test/builder/ProxyAuthenticationDataBuilderTest.java2
3 files changed, 3 insertions, 3 deletions
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