[
https://issues.apache.org/jira/browse/ACE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcel Offermans closed ACE-90.
-------------------------------
Resolution: Fixed
The configurator already supports this (system or framework properties) and we
have in fact used this to make the webserver port configurable in one location.
> Allow property substitution with the Configurator bundle
> --------------------------------------------------------
>
> Key: ACE-90
> URL: https://issues.apache.org/jira/browse/ACE-90
> Project: ACE
> Issue Type: New Feature
> Reporter: Marcel Offermans
>
> The configurator currently monitors the "conf" directory for property files
> and publishes them in ConfigurationAdmin whenever they are created/modified.
> There are several property values that belong to different services that have
> (partly) the same values (a good example is the port number of the webserver,
> which appears in various URLs). It whould be nice if the configurator could
> read a set of global properties from a file and use those to substitute
> properties in other files. That way, things like a port and hostname can be
> configured once. Of course it would have to monitor that global property file
> and upon a change:
> 1) figure out which of the global properties really changed value
> 2) figure out in what .cfg files these properties are used
> 3) update the appropriate ConfigurationAdmin configurations
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira