Skip to content

Commit

Permalink
Update to match new release's rules
Browse files Browse the repository at this point in the history
  • Loading branch information
alicela committed Aug 10, 2020
1 parent bc22790 commit 31832bd
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions bauhaus-back-changeLog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.1.0 : Ajout de la publication vers l'interne et changement d'ergonomie de l'application
2 changes: 1 addition & 1 deletion src/main/java/fr/insee/rmes/config/ApplicationContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

@Configuration("AppContext")
@PropertySource(value = { "classpath:bauhaus-core.properties", "classpath:bauhaus-dev.properties",
"file:${catalina.base}/webapps/bauhaus-dev.properties", "file:${catalina.base}/webapps/bauhaus-qf.properties",
"file:${catalina.base}/webapps/bauhaus-dev.properties", "file:${catalina.base}/webapps/bauhaus-qf.properties","file:${catalina.base}/webapps/bauhaus-production.properties",
"file:${catalina.base}/webapps/production.properties", }, ignoreResourceNotFound = true)
public class ApplicationContext {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ private Properties getProperties() throws IOException {
props.load(getClass().getClassLoader().getResourceAsStream("bauhaus-dev.properties"));
loadPropertiesIfExist(props, "bauhaus-dev.properties");
loadPropertiesIfExist(props, "bauhaus-qf.properties");
loadPropertiesIfExist(props, "bauhaus-production.properties");
loadPropertiesIfExist(props, "production.properties");
return props;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ private String getEnv() throws IOException {
props.load(getClass().getClassLoader().getResourceAsStream("bauhaus-dev.properties"));
loadPropertiesIfExist(props, "bauhaus-dev.properties");
loadPropertiesIfExist(props, "bauhaus-qf.properties");
loadPropertiesIfExist(props, "bauhaus-production.properties");
loadPropertiesIfExist(props, "production.properties");
return props.getProperty("fr.insee.rmes.bauhaus.env");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ private String getEnv() throws IOException {
.getResourceAsStream("bauhaus-dev.properties"));
loadPropertiesIfExist(props, "bauhaus-dev.properties");
loadPropertiesIfExist(props, "bauhaus-qf.properties");
loadPropertiesIfExist(props, "bauhaus-production.properties");
loadPropertiesIfExist(props, "production.properties");
return props.getProperty("fr.insee.rmes.bauhaus.env");
}
Expand Down

0 comments on commit 31832bd

Please sign in to comment.