From c0599d5fedb3b250a637de99088829a58fd7ef40 Mon Sep 17 00:00:00 2001 From: George Kalampokis Date: Fri, 19 Nov 2021 11:20:47 +0200 Subject: [PATCH] Fix issue of reloading externalUrls --- .../logic/proxy/config/configloaders/DefaultConfigLoader.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dmp-backend/web/src/main/java/eu/eudat/logic/proxy/config/configloaders/DefaultConfigLoader.java b/dmp-backend/web/src/main/java/eu/eudat/logic/proxy/config/configloaders/DefaultConfigLoader.java index 9c1eca88c..50ec81046 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/logic/proxy/config/configloaders/DefaultConfigLoader.java +++ b/dmp-backend/web/src/main/java/eu/eudat/logic/proxy/config/configloaders/DefaultConfigLoader.java @@ -64,6 +64,7 @@ public class DefaultConfigLoader implements ConfigLoader { private void setRdaProperties() { String filePath = environment.getProperty("configuration.rda"); + logger.info("Loaded also config file: " + filePath); BufferedReader reader; List rdaList = new LinkedList<>(); try { @@ -83,6 +84,7 @@ public class DefaultConfigLoader implements ConfigLoader { private void setDocument() { String filePath = environment.getProperty("configuration.h2020template"); + logger.info("Loaded also config file: " + filePath); InputStream is = null; try { is = getStreamFromPath(filePath); @@ -100,6 +102,7 @@ public class DefaultConfigLoader implements ConfigLoader { private void setConfigurableProviders() { String filePath = environment.getProperty("configuration.configurable_login_providers"); + logger.info("Loaded also config file: " + filePath); InputStream is = null; try { is = getStreamFromPath(filePath); @@ -206,7 +209,6 @@ public class DefaultConfigLoader implements ConfigLoader { } } } - this.setKeyToSourceMap(); return keyToSourceMap; }