Re: KARAF-4609 Be able to override ConfigAdmin properties with System/JVM properties

2021-07-18 Thread Steven Huypens
Hi JB, Thanks, It's completely clear now. Steven On Mon, Jul 19, 2021 at 7:47 AM Jean-Baptiste Onofre wrote: > Hi, > > Yes it’s normal, the config file can contain whatever you want. > > When you use implicit env variable, the config property is override at > runtime. > > So, if you have

Re: KARAF-4609 Be able to override ConfigAdmin properties with System/JVM properties

2021-07-18 Thread Jean-Baptiste Onofre
Hi, Yes it’s normal, the config file can contain whatever you want. When you use implicit env variable, the config property is override at runtime. So, if you have etc/my.config.cfg containing: foo=bar Without any env variable, foo value will be bar. If you set export MY_CONFIG_FOO=other,

Re: KARAF-4609 Be able to override ConfigAdmin properties with System/JVM properties

2021-07-18 Thread Steven Huypens
Hi JB, >From your answer I understand that Karaf will actually edit my config-file, but we don't see this. The application behaviour is as expected, but the config-file still contains the default values (as does ConfigAdmin), which might be confusing. Is that how it is supposed to work, or