Skip to content

Commit

Permalink
update app properties
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Nov 16, 2023
1 parent 62a18ff commit 2df0e11
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
7 changes: 4 additions & 3 deletions core/src/main/resources/config-spring-geonetwork.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
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}"
<context:property-placeholder location="${app.properties},file://#{systemEnvironment['geonetwork_dir']}/config/app.properties"
ignore-unresolvable="true"
ignore-resource-not-found="true"
order="3"
file-encoding="UTF-8"
ignore-unresolvable="true"/>
file-encoding="UTF-8"/>

<context:annotation-config/>
<bean id="ProfileManager" class="jeeves.component.ProfileManager" lazy-init="true"/>
Expand Down
7 changes: 4 additions & 3 deletions services/src/main/resources/config-spring-geonetwork.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@
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}"
<context:property-placeholder location="${app.properties},file://#{systemEnvironment['geonetwork_dir']}/config/app.properties"
ignore-unresolvable="true"
ignore-resource-not-found="true"
order="3"
file-encoding="UTF-8"
ignore-unresolvable="true"/>
file-encoding="UTF-8"/>

<context:component-scan base-package="org.springdoc.webmvc"/>
<context:component-scan base-package="org.springdoc.core"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,11 @@
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}"
<context:property-placeholder location="${app.properties},file://#{systemEnvironment['geonetwork_dir']}/config/app.properties"
ignore-unresolvable="true"
ignore-resource-not-found="true"
order="3"
file-encoding="UTF-8"
ignore-unresolvable="true"/>
file-encoding="UTF-8"/>

<import resource="config-spring-env.xml"/>
<import resource="config-security/config-security.xml"/>
Expand Down
7 changes: 5 additions & 2 deletions web/src/main/webResources/WEB-INF/spring-servlet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,11 @@
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}"
file-encoding="UTF-8" ignore-unresolvable="true" order="3" />
<context:property-placeholder location="${app.properties},file://#{systemEnvironment['geonetwork_dir']}/config/app.properties"
ignore-unresolvable="true"
ignore-resource-not-found="true"
order="3"
file-encoding="UTF-8"/>

<context:component-scan base-package="org.fao.geonet"/>

Expand Down

0 comments on commit 2df0e11

Please sign in to comment.