stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lahiru Sandaruwan <lahi...@wso2.com>
Subject Re: Keeping Duplicate config files
Date Wed, 20 Aug 2014 05:14:07 GMT
On Wed, Aug 20, 2014 at 10:34 AM, Udara Liyanage <udara@wso2.com> wrote:

> Hi,
>
> We have duplicates some product configurations files, one inside product
> and one in stratos-installer. At the boot time (when setup.sh is executed)
> config files inside products will be replaced by the config files inside
> stratos-installer.
> Maintaining duplicate config files become an overhead when a parameter is
> added to the config files in the product, it has to be added to the other
> copy as well. Otherwise it may be missing at deployment time. This occurred
> for expiryTimeout recently in autoscaler.xml
>
> Possible solutions:
> Replicate the changes as we do now,
> Maintain only the config file in stratos-installer
> or any other idea?
>

Can't we have the xml only in product and adjust the installer such that it
find the XMl tag and replace?



> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Mime
View raw message