>
> Thanks in advance!
>
>
>
> --
> View this message in context: http://karaf.922171.n3.nabble.
> com/Complex-config-tp4043584p4050746.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>
--
Guillaume Nodet
iew this message in context:
http://karaf.922171.n3.nabble.com/Complex-config-tp4043584p4050746.html
Sent from the Karaf - User mailing list archive at Nabble.com.
On Wed, Nov 18, 2015 at 12:39 PM, Jean-Baptiste Onofré
wrote:
> Hi Benson,
>
> It's something that we do in Decanter (with elasticsearch.yaml, but it's
> just a load), or in Cellar (with Hazelcast XML parsing), or in Pax Web (when
> refering the jetty.xml).
>
> What do you
Hi Benson,
It's something that we do in Decanter (with elasticsearch.yaml, but it's
just a load), or in Cellar (with Hazelcast XML parsing), or in Pax Web
(when refering the jetty.xml).
What do you mean exactly ? You want to load the yaml configuration in
ConfigAdmin ? In that case, it's
I've got some cases where I made a .cfg file point to a .yaml file
because I had a complex configuration. The API to config admin sort of
suggests that it might be possible to have more complex data
structures so long as the top-level is key-value; is this actually
doable, and, if so, how?
Any complex structure may be flattened.
Example for HOCON: https://gist.github.com/FeiWongReed/44799f4461c43f8e83c2
On 18/11/15 17:44, Benson Margulies wrote:
> On Wed, Nov 18, 2015 at 12:39 PM, Jean-Baptiste Onofré
> wrote:
>> Hi Benson,
>>
>> It's something that we do in
Pavel, as I haven't coded in scala, this will take some digesting.
On Wed, Nov 18, 2015 at 1:30 PM, Pavel E. Shirshov <pshirs...@gmail.com> wrote:
> That's exactly my sample about.
>
> It's simple idea how to implement complex config over Karaf k-v storage.
> Even with dynamic
mail.com>
> wrote:
>> That's exactly my sample about.
>>
>> It's simple idea how to implement complex config over Karaf k-v storage.
>> Even with dynamic reload. Just look at the gist.
>>
>> On 18/11/15 18:12, Benson Margulies wrote:
>>> I realize
(hope this is not showing up multiple times, I’ve been having mail problems,
have now subscribed from a different account….).
I think some kind of flattening is a good idea as otherwise you have
coordination problems between multiple configs.
Felix ds actually supports consuming flattening