[ 
https://jira.nuxeo.com/browse/NXP-6482?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on NXP-6482 started by Julien Carsique.

> Make all nuxeo configuration properties directly accessible from Nuxeo
> ----------------------------------------------------------------------
>
>                 Key: NXP-6482
>                 URL: https://jira.nuxeo.com/browse/NXP-6482
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 5.4.0.1
>            Reporter: Julien Carsique
>            Assignee: Julien Carsique
>
> Currently, in order to access them from Nuxeo, a developer has to add a 
> property in nuxeo.properties :
>     nuxeo.conf: nuxeo.a.property=something
>     nuxeo.properties: nuxeo.a.property=${nuxeo.a.property}
> Wouldn't it be good to make all nuxeo.conf properties directly accessible 
> from Nuxeo ?
> When talking about "nuxeo.conf" properties, I mean the aggregation of 
> properties from nuxeo.conf and selected templates' nuxeo.default files.
> A simple solution could be to automatically generate at startup a 
> configuration.properties file containing all "org.nuxeo*" and "nuxeo*" 
> properties set from nuxeo.conf. This way, those properties would be available 
> through Framework.getProperties().
> Any solution that could avoid such redundancy in nuxeo.properties:
>     org.nuxeo.ecm.instance.name=${org.nuxeo.ecm.instance.name}
>     org.nuxeo.ecm.instance.description=${org.nuxeo.ecm.instance.description}
>     org.nuxeo.ecm.product.name=${org.nuxeo.ecm.product.name}
>     org.nuxeo.runtime.server.enabled=${org.nuxeo.runtime.server.enabled}
>     org.nuxeo.runtime.server.host=${org.nuxeo.ecm.instance.host}
>     ...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to