Fix issue of reloading externalUrls

This commit is contained in:
George Kalampokis 2021-11-19 11:20:47 +02:00
parent 38cd336bc9
commit c0599d5fed
1 changed files with 3 additions and 1 deletions

View File

@ -64,6 +64,7 @@ public class DefaultConfigLoader implements ConfigLoader {
private void setRdaProperties() { private void setRdaProperties() {
String filePath = environment.getProperty("configuration.rda"); String filePath = environment.getProperty("configuration.rda");
logger.info("Loaded also config file: " + filePath);
BufferedReader reader; BufferedReader reader;
List<String> rdaList = new LinkedList<>(); List<String> rdaList = new LinkedList<>();
try { try {
@ -83,6 +84,7 @@ public class DefaultConfigLoader implements ConfigLoader {
private void setDocument() { private void setDocument() {
String filePath = environment.getProperty("configuration.h2020template"); String filePath = environment.getProperty("configuration.h2020template");
logger.info("Loaded also config file: " + filePath);
InputStream is = null; InputStream is = null;
try { try {
is = getStreamFromPath(filePath); is = getStreamFromPath(filePath);
@ -100,6 +102,7 @@ public class DefaultConfigLoader implements ConfigLoader {
private void setConfigurableProviders() { private void setConfigurableProviders() {
String filePath = environment.getProperty("configuration.configurable_login_providers"); String filePath = environment.getProperty("configuration.configurable_login_providers");
logger.info("Loaded also config file: " + filePath);
InputStream is = null; InputStream is = null;
try { try {
is = getStreamFromPath(filePath); is = getStreamFromPath(filePath);
@ -206,7 +209,6 @@ public class DefaultConfigLoader implements ConfigLoader {
} }
} }
} }
this.setKeyToSourceMap();
return keyToSourceMap; return keyToSourceMap;
} }