Re: Config feature element used as default

2018-08-28 Thread Jean-Baptiste Onofré
Hi Matteo, by default, the existing config is not overriden. So, the config in etc are taken, whatever is contain in the feature. However, it can happen in two steps: first loaded from the feature and after reloaded from the cfg file. So, your bundle has to react correctly to config updates.

Config feature element used as default

2018-08-28 Thread Matteo Rulli
Hello, I would like to know what is the expected behavior of the feature element when the the.config.pid.cfg file already exists in the karaf /etc folder. What properties are injected in the service? Those in the file or those in the element as a default value only when the corresp file in