-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.6.7, arender-2.0.0
-
Component/s: CI/CD
-
Team:PLATFORM
-
Sprint:nxplatform #45
Preamble
The ARender sever properties files are read by Spring in this order:
<value>classpath:arender-server-default.properties</value>
<value>classpath:arender-server.properties</value>
<value>classpath:arender-server-custom-vanilla.properties</value>
<value>file:#{propertiesFileLocation}/*-vanilla.properties</value>
<value>file:#{propertiesFileLocation}/*-custom-client-server.properties</value>
If a property is present in more than one of these files, then the property value that will finally be taken into account is the one in the lowest file in this list
Problem
The properties of the Nuxeo connector are defined in the arender-nuxeo-custom-client-server.properties file
Docker environment variables are populated in the arender-custom-client-server.properties file
These two files match the pattern of the last file in the list above, and may produce unwanted behavior.
We want the properties passed by the docker environment to have the highest priority, so we have to reserve the last file in the list for it.
My suggestion is to put the Nuxeo configuration file at classpath:arender-server.properties which is the first file that ARender allows to customize.
- Is referenced in