Return-Path: X-Original-To: apmail-ace-commits-archive@www.apache.org Delivered-To: apmail-ace-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5ADF6D287 for ; Mon, 27 May 2013 07:40:37 +0000 (UTC) Received: (qmail 29779 invoked by uid 500); 27 May 2013 07:40:36 -0000 Delivered-To: apmail-ace-commits-archive@ace.apache.org Received: (qmail 29546 invoked by uid 500); 27 May 2013 07:40:34 -0000 Mailing-List: contact commits-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ace.apache.org Delivered-To: mailing list commits@ace.apache.org Received: (qmail 28735 invoked by uid 99); 27 May 2013 07:40:31 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 May 2013 07:40:31 +0000 Date: Mon, 27 May 2013 07:40:31 +0000 (UTC) From: "Bram de Kruijff (JIRA)" To: commits@ace.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (ACE-90) Allow property substitution with the Configurator bundle MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACE-90?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bram de Kruijff reopened ACE-90: -------------------------------- > 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