-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 2021.45
-
Fix Version/s: None
-
Component/s: nuxeoctl start/stop/admin
-
Tags:
-
Team:PLATFORM
My nuxeo.conf contains the following properties:
elasticsearch.indexNamePrefix=nuxeo elasticsearch.indexName=${elasticsearch.indexNamePrefix}-default audit.elasticsearch.indexName=${elasticsearch.indexName}-audit
seqgen.elasticsearch.indexName=${elasticsearch.indexName}-uidgen
(Note: the customĀ elasticsearch.indexNamePrefix property is to allow for a multi-repo configuration)
When querying the configuration with nuxeoctl showconf, these variable references should be resolved.
Expected Result
> nuxeoctl showconf | grep elasticsearch.indexName | sort -u audit.elasticsearch.indexName=nuxeo-default-audit elasticsearch.indexName=nuxeo-default elasticsearch.indexNamePrefix=nuxeo seqgen.elasticsearch.indexName=nuxeo-default-uidgen
Actual Result
> nuxeoctl showconf | grep elasticsearch.indexName | sort -u
audit.elasticsearch.indexName=${elasticsearch.indexName}-audit
elasticsearch.indexName=${elasticsearch.indexNamePrefix}-default
elasticsearch.indexNamePrefix=nuxeo
seqgen.elasticsearch.indexName=${elasticsearch.indexName}-uidgen
Nuxeo (nuxeoctl showconf) should do this recursive expansion itself, as it's done when properties are read in Java code.