Fix issue of reloading externalUrls
This commit is contained in:
parent
38cd336bc9
commit
c0599d5fed
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue