Ok, I filters the sync but the properties are always bad. When I use the command config:list I see my properties on all nodes but when I use the instruction reference.getPropertyKeys() I don't see my properties. Why ? I don't understand

Le 14.03.2014 16:30, [email protected] a écrit :
Cellar doesn't sync the deploy folder.

The cfg file should go into the etc folder (and it will be sync).
To filter the sync, you can use the blacklist/whitelist (in
etc/org.apache.karaf.cellar.groups.cfg).

Regards
JB

On 2014-03-14 16:20, Natalius wrote:
Le 14.03.2014 11:31, Jean-Baptiste Onofré a écrit :
No I create a cfg file in the deploy folder (not etc) and I not see
the config on all nodes because my nodes are not in the same group. Is
it a problem ? I would libe deploy my service only on particular nodes
and use it on another nodes.

Hi Fédéric,

I think you mix service properties and configuration.

Cellar config sync the configuration (from configadmin), only some
properties are filtered (for instance the felix.fileinstall properties
as the location may be different on nodes).

So it should work straight forward.

Just to be sure to understand: you create a cfg file in the etc folder
on one node. So you should be able to see the config (config:list
"(service.pid=yourconfig)" on all nodes. Is it the case ?
Do you see the cfg file created on the different nodes ?
The nodes should be in the same cluster group.

Regards
JB

On 03/13/2014 05:16 PM, Frédéric POULET wrote:
Yes, I use a configuration file and a class which implements ManagedServiceFactory.

-----Message d'origine-----
De : [email protected] [mailto:[email protected]]
Envoyé : jeudi 13 mars 2014 17:12
À : [email protected]
Objet : Re: cellar and service properties

Hi Frédéric,

What do you mean by "personal properties" ?
You mean stuff like <service-properties/> on DOSGi services ?

Regards
JB

On 2014-03-13 17:10, Frédéric POULET wrote:
Hi,

I can't see the personal properties of my remote services, why ?

Thank you for your help

Reply via email to