Re: Why cartridge agent have httpclient and httpcore dependencies?

2014-10-18 Thread Isuru Haththotuwa
Hi Raj, If you need to exclude a particular jar when CA is built, you can use [1] to do it. See the excludes section under dependencySet. We used the same method earlier to stop bundling jars with Apache2 incompatible licenses to CA. What you can do is, add the required http* jar versions to the p

Re: Why cartridge agent have httpclient and httpcore dependencies?

2014-10-18 Thread Rajkumar Rajaratnam
Thanks Isuru and Udara. Yes we are not using these at the moment. I am planning to implement a solution to track disconnected instances (spawned but not tracked by stratos). I need to use httpclient and httpcore for accessing instance metadata service (ec2 and openstack). But I need later version

[Grouping] Branch may be Unstable

2014-10-18 Thread Isuru Haththotuwa
Hi Devs, Please note that due to considerable amount of refactoring/changes, the branch 4.0.0-grouping might be unstable at the moment. Working on testing and fixing issues found to make it stable. -- Thanks and Regards, Isuru H. +94 716 358 048* *

Re: [Discuss] Validating Life Cycle Transitions for Topology Elements

2014-10-18 Thread Isuru Haththotuwa
The initial API for validating and changing states will support the following methods: /** * Checks if the state transition is valid * * @param nextState Next state that for the topology element * @return true if transitioning for nextState from current state is valid, else

Re: Why cartridge agent have httpclient and httpcore dependencies?

2014-10-18 Thread Udara Liyanage
Hi, Currently we can remove them since CA does not do any HTTP calls. Touched, not typed. Erroneous words are a feature, not a typo.

Re: Why cartridge agent have httpclient and httpcore dependencies?

2014-10-18 Thread Isuru Haththotuwa
Hi Raj, Do we have any HTTP based communication in CA? For an example, like accessing a rest endpoint? If so these jar might be required for that. On Sat, Oct 18, 2014 at 1:40 PM, Rajkumar Rajaratnam wrote: > Hi, > > When you extract cartridge agent zip, we have these two jars in *lib*. > httpc

Re: Messaging Component Architecture

2014-10-18 Thread Imesh Gunaratne
Great work Chamila! One thing to point out: In health statistics publishing diagram, we need to mention the Instance Started Event first. On Fri, Oct 17, 2014 at 6:23 PM, Lakmal Warusawithana wrote: > Great work Chamila! > > On Fri, Oct 17, 2014 at 6:07 PM, Chamila De Alwis > wrote: > >> Hi, >>

Why cartridge agent have httpclient and httpcore dependencies?

2014-10-18 Thread Rajkumar Rajaratnam
Hi, When you extract cartridge agent zip, we have these two jars in *lib*. httpclient-4.1.1-wso2v1.jar httpcore-4.1.0-wso2v1.jar Are we using these? If so, where are these dependencies coming from? How can I change the versions? Thanks. -- Rajkumar Rajaratnam Software Engineer | WSO2, Inc. Mob

Re: [Discuss] Validating Life Cycle Transitions for Topology Elements

2014-10-18 Thread Imesh Gunaratne
On Sat, Oct 18, 2014 at 10:43 AM, Udara Liyanage wrote: > Hi Imesh, > > 'Pre Terminate" and "Ready to terminate" seems confusing for a user, isn't > it so? > > True, may be we can try to find a better term for this. I was thinking to call it "Terminating" but again it's not correct. -- Imesh G