karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: [DISCUSS] Trim down the number of config files in etc/ in the distributions
Date Fri, 25 Nov 2016 10:17:51 GMT
yeah, metatype could really help.
All of the properties of Pax Web are already available. But do we use those
already with the config commands?
Should be easy to use?

regards, Achim


2016-11-25 11:13 GMT+01:00 Christian Schneider <chris@die-schneider.net>:

> +1
>
> It is really important that we do such house keeping in karaf as without
> that the distro tends to grow over time.
>
> The only small issue I see is that it is more difficult for people to
> understand the defaults if a config file is not present but maybe we can
> find another
> way to solve this. Maybe using meta type more often.
>
> Christian
>
> On 25.11.2016 08:19, Guillaume Nodet wrote:
>
>> I'd like to trim down a bit the number of files in the etc/ directory.
>> The distribution contains a bunch of config files for the ACLs, but I'm
>> not
>> sure people usually modify those.  I think this may be the same for
>> various
>> configuration.
>> What I'm proposing is the following:
>>    * make sure all those configurations are moved into their respective
>> feature
>>    * remove them from the assemblies/base maven module which is embedded
>> by
>> the framework and static kars
>>    * add a flag on the AssemblyMojo so that we can choose using glob
>> patterns which config pids should be extracted as files at build time
>>    * the other ones are extracted automatically by the FeaturesService
>> anyway during boot features installation
>>
>> The idea would be that distributions only contains configurations that are
>> actually used.
>>
>> Also, I'm going to removing some additional files from the static
>> framework
>> (bin/contrib/, bin/instance(.sh|.bat), deploy/).
>>
>> Thoughts ?
>> Guillaume
>>
>>
>>
>
> --
> Christian Schneider
> http://www.liquid-reality.de
>
> Open Source Architect
> http://www.talend.com
>
>


-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message