Skip to content

Commit

Permalink
services - being able to override app.properties file from the geor d…
Browse files Browse the repository at this point in the history
…atadir

Note: it's possible that we have to do so elsewhere, but let's see one
by one.
  • Loading branch information
pmauduit authored and fgravin committed Aug 26, 2021
1 parent f60f805 commit c525cac
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion services/src/main/resources/config-spring-geonetwork.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.2.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">

<context:property-placeholder location="file:${georchestra.datadir}/geonetwork/geonetwork.properties"
ignore-resource-not-found="true" ignore-unresolvable="true" order="1"/>
<context:property-placeholder location="WEB-INF/config-geonetwork-georchestra.properties"
ignore-resource-not-found="true" ignore-unresolvable="true" order="2"/>
<context:property-placeholder location="${app.properties}"
order="3"
file-encoding="UTF-8"
ignore-unresolvable="true" />
ignore-unresolvable="true"/>

<context:component-scan base-package="org.springdoc.webmvc"/>
<context:component-scan base-package="org.springdoc.core"/>
Expand Down

0 comments on commit c525cac

Please sign in to comment.