You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Scott Jared <de...@aol.com> on 2013/03/19 17:02:56 UTC

Cellar 2.2.5 does not replicate Managed Service Factory configurations correctly

Apologize for the double post. I believe I am posting in the right place now.

I am experiencing the same issues referred to in Jira ticket KARAF-1190 in Cellar version 2.2.5. When I create the configuration from the managed factory service, the original output looks like this: 

PID = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f 
  Factory PID = My_Config_20 
  BundleLocation = mvn:my.program.soap/program-soap-endpoint20events/1.2.2-SNAPSHOT 
  deliveryMethodUrl = http://192.168.1.113:8080/mockprogramEventConsumerBinding?WSDL
  filterXml = blah 
  service.factoryPid = My_Config_20 
  service.pid = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f 
  ConfigId = my.contextual.id 
  ConfigUuid = my.contextual.id|http://192.168.1.113:8080/mockprogram?WSDL

When Cellar replicates the configuration to another server I get the following: 

PID = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f 
  BundleLocation = Unbound 
  deliveryMethodUrl = http://192.168.1.113:8080/mockprogramEventConsumerBinding?WSDL
  filterXml = blah 
  service.pid = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f 
  ConfigId = my.contextual.id 
  ConfigUuid = my.contextual.id|http://192.168.1.113:8080/mockprogram?WSDL

The difference is the that the factory PID is missing from the replicated configuration. Jira says this bug was fixed in 2.2.4 but looks like it appears in 2.2.4 and in 2.2.5. Is there a workaround for this? 

developmore@aol.com


Re: Cellar 2.2.5 does not replicate Managed Service Factory configurations correctly

Posted by developmore <de...@aol.com>.
Hi JB,

Thanks for the reply. That does make sense. I look forward to being able to
control the properties filtering. Any idea on when that might be released?



--
View this message in context: http://karaf.922171.n3.nabble.com/Cellar-2-2-5-does-not-replicate-Managed-Service-Factory-configurations-correctly-tp4028261p4028269.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Cellar 2.2.5 does not replicate Managed Service Factory configurations correctly

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Scott,

I voluntary reintroduce the properties filtering in Cellar 2.2.5 to 
avoid side effect. I plan to improve the properties/config support in 
Cellar 2.2.6 and 2.3.0.

IMHO, it's better to filter some properties as they are specific to a 
local node.

Regards
JB

On 03/19/2013 05:02 PM, Scott Jared wrote:
> Apologize for the double post. I believe I am posting in the right place
> now.
> I am experiencing the same issues referred to in Jira ticket KARAF-1190
> in Cellar version 2.2.5. When I create the configuration from the
> managed factory service, the original output looks like this:
>
> PID = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f
>    Factory PID = My_Config_20
>    BundleLocation =
> mvn:my.program.soap/program-soap-endpoint20events/1.2.2-SNAPSHOT
>    deliveryMethodUrl =
> http://192.168.1.113:8080/mockprogramEventConsumerBinding?WSDL
>    filterXml = blah
>    service.factoryPid = My_Config_20
>    service.pid = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f
>    ConfigId = my.contextual.id
>    ConfigUuid = my.contextual.id|http://192.168.1.113:8080/mockprogram?WSDL
>
> When Cellar replicates the configuration to another server I get the
> following:
>
> PID = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f
>    BundleLocation = Unbound
>    deliveryMethodUrl =
> http://192.168.1.113:8080/mockprogramEventConsumerBinding?WSDL
>    filterXml = blah
>    service.pid = My_Config_20.41122af6-f28c-48cc-bba9-2262fbdd033f
>    ConfigId = my.contextual.id
>    ConfigUuid = my.contextual.id|http://192.168.1.113:8080/mockprogram?WSDL
>
> The difference is the that the factory PID is missing from the
> replicated configuration. Jira says this bug was fixed in 2.2.4 but
> looks like it appears in 2.2.4 and in 2.2.5. Is there a workaround for
> this?
> developmore@aol.com

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com