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() {
String filePath = environment.getProperty("configuration.rda");
logger.info("Loaded also config file: " + filePath);
BufferedReader reader;
List<String> 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;
}