You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2013/11/25 17:36:29 UTC

We no more need to keep service definitions in CC

All,

$Subject. SM should send the cluster created event upon a subscription and
need to do a service call to CC and pass the payload along with clusterId
and cartridge type.

-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: We no more need to keep service definitions in CC

Posted by Nirmal Fernando <ni...@gmail.com>.
Payload cannot be sent via MB. Those are not two service calls, but an
event and a service call.


On Tue, Nov 26, 2013 at 1:44 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

>
>
> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> All,
>>
>> $Subject. SM should send the cluster created event upon a subscription
>> and need to do a service call to CC and pass the payload along with
>> clusterId and cartridge type.
>>
>
> Why do we do two calls? Can't we survive with service call?
>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: We no more need to keep service definitions in CC

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> All,
>
> $Subject. SM should send the cluster created event upon a subscription and
> need to do a service call to CC and pass the payload along with clusterId
> and cartridge type.
>

Why do we do two calls? Can't we survive with service call?

>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: We no more need to keep service definitions in CC

Posted by Imesh Gunaratne <im...@apache.org>.
Great thanks!


On Thu, Nov 28, 2013 at 11:24 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Imesh,
>
> We will persist topology in registry. We do not need a service definition
> now.
>
> Regarding payload, we should think of generating it dynamically. I'm
> working on these, will update soon.
>
>
> On Thu, Nov 28, 2013 at 11:16 AM, Imesh Gunaratne <im...@apache.org>wrote:
>
>> Nirmal: Are we planning to store the payload files and service
>> definitions in SM?
>>
>> Thanks
>>
>>
>> On Tue, Nov 26, 2013 at 5:45 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:
>>
>>> Hi
>>>
>>>
>>> On Tue, Nov 26, 2013 at 1:51 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <is...@wso2.com>wrote:
>>>>
>>>>> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <
>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>
>>>>>>> Sorry, I've heard that topology should only be built at CC. Hence,
>>>>>>> CC should send those events. Still the $subject is valid though.
>>>>>>>
>>>>>>
>>>>>> I'm bit confused here. If SM do not sent "cluster created" and
>>>>>> "terminated event", what event will it send?
>>>>>>
>>>>> AFAIK how it happens currently is that SM will call registerService
>>>>> method in CC to register a subscription, and CC will send the relevant
>>>>> events. Similar procedure for unsubscribing as well.
>>>>>
>>>>
>>>> So there is no event sent from SM.
>>>>
>>>
>>> For the Topology topic, the only event publisher is CC. All the others
>>> are just subscribers.
>>>
>>>  Thanks,
>>> Reka
>>>
>>>>
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <
>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>
>>>>>>>> Same should apply to unsubscription i.e. SM should send the
>>>>>>>> corresponding event.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> As a result of this, any static payload should also be kept on SM.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> All,
>>>>>>>>>>
>>>>>>>>>> $Subject. SM should send the cluster created event upon a
>>>>>>>>>> subscription and need to do a service call to CC and pass the payload along
>>>>>>>>>> with clusterId and cartridge type.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Best Regards,
>>>>>>>>>> Nirmal
>>>>>>>>>>
>>>>>>>>>> Nirmal Fernando.
>>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>>>
>>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best Regards,
>>>>>>>>> Nirmal
>>>>>>>>>
>>>>>>>>> Nirmal Fernando.
>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>>
>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best Regards,
>>>>>>>> Nirmal
>>>>>>>>
>>>>>>>> Nirmal Fernando.
>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>
>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Nirmal Fernando.
>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> --
>>>>>> Lahiru Sandaruwan
>>>>>> Software Engineer,
>>>>>> Platform Technologies,
>>>>>> WSO2 Inc., http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>>
>>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>>> twitter: http://twitter.com/lahirus
>>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>>
>>>>> Isuru H.
>>>>> Software Engineer, WSO2 Inc.
>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Reka Thirunavukkarasu
>>> Software Engineer,
>>> WSO2, Inc.:http://wso2.com,
>>> Mobile: +94776442007
>>>
>>>
>>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>

Re: We no more need to keep service definitions in CC

Posted by Nirmal Fernando <ni...@gmail.com>.
Imesh,

We will persist topology in registry. We do not need a service definition
now.

Regarding payload, we should think of generating it dynamically. I'm
working on these, will update soon.


On Thu, Nov 28, 2013 at 11:16 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Nirmal: Are we planning to store the payload files and service definitions
> in SM?
>
> Thanks
>
>
> On Tue, Nov 26, 2013 at 5:45 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:
>
>> Hi
>>
>>
>> On Tue, Nov 26, 2013 at 1:51 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <is...@wso2.com>wrote:
>>>
>>>> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> Sorry, I've heard that topology should only be built at CC. Hence, CC
>>>>>> should send those events. Still the $subject is valid though.
>>>>>>
>>>>>
>>>>> I'm bit confused here. If SM do not sent "cluster created" and
>>>>> "terminated event", what event will it send?
>>>>>
>>>> AFAIK how it happens currently is that SM will call registerService
>>>> method in CC to register a subscription, and CC will send the relevant
>>>> events. Similar procedure for unsubscribing as well.
>>>>
>>>
>>> So there is no event sent from SM.
>>>
>>
>> For the Topology topic, the only event publisher is CC. All the others
>> are just subscribers.
>>
>>  Thanks,
>> Reka
>>
>>>
>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <
>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>
>>>>>>> Same should apply to unsubscription i.e. SM should send the
>>>>>>> corresponding event.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>
>>>>>>>> As a result of this, any static payload should also be kept on SM.
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> All,
>>>>>>>>>
>>>>>>>>> $Subject. SM should send the cluster created event upon a
>>>>>>>>> subscription and need to do a service call to CC and pass the payload along
>>>>>>>>> with clusterId and cartridge type.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best Regards,
>>>>>>>>> Nirmal
>>>>>>>>>
>>>>>>>>> Nirmal Fernando.
>>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>>
>>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best Regards,
>>>>>>>> Nirmal
>>>>>>>>
>>>>>>>> Nirmal Fernando.
>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>
>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Nirmal Fernando.
>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Software Engineer,
>>>>> Platform Technologies,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>>> blog: http://lahiruwrites.blogspot.com/
>>>>> twitter: http://twitter.com/lahirus
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> Software Engineer, WSO2 Inc.
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: We no more need to keep service definitions in CC

Posted by Imesh Gunaratne <im...@apache.org>.
Nirmal: Are we planning to store the payload files and service definitions
in SM?

Thanks


On Tue, Nov 26, 2013 at 5:45 PM, Reka Thirunavukkarasu <re...@wso2.com>wrote:

> Hi
>
>
> On Tue, Nov 26, 2013 at 1:51 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>>
>>
>>
>> On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <is...@wso2.com>wrote:
>>
>>> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> Sorry, I've heard that topology should only be built at CC. Hence, CC
>>>>> should send those events. Still the $subject is valid though.
>>>>>
>>>>
>>>> I'm bit confused here. If SM do not sent "cluster created" and
>>>> "terminated event", what event will it send?
>>>>
>>> AFAIK how it happens currently is that SM will call registerService
>>> method in CC to register a subscription, and CC will send the relevant
>>> events. Similar procedure for unsubscribing as well.
>>>
>>
>> So there is no event sent from SM.
>>
>
> For the Topology topic, the only event publisher is CC. All the others are
> just subscribers.
>
> Thanks,
> Reka
>
>>
>>>>
>>>>>
>>>>>
>>>>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> Same should apply to unsubscription i.e. SM should send the
>>>>>> corresponding event.
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>
>>>>>>> As a result of this, any static payload should also be kept on SM.
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>
>>>>>>>> All,
>>>>>>>>
>>>>>>>> $Subject. SM should send the cluster created event upon a
>>>>>>>> subscription and need to do a service call to CC and pass the payload along
>>>>>>>> with clusterId and cartridge type.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best Regards,
>>>>>>>> Nirmal
>>>>>>>>
>>>>>>>> Nirmal Fernando.
>>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>>
>>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Nirmal Fernando.
>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Software Engineer,
>>>> Platform Technologies,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>>> blog: http://lahiruwrites.blogspot.com/
>>>> twitter: http://twitter.com/lahirus
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> Software Engineer, WSO2 Inc.
>>> +94 716 358 048* <http://wso2.com/>*
>>>
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Reka Thirunavukkarasu
> Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>

Re: We no more need to keep service definitions in CC

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi


On Tue, Nov 26, 2013 at 1:51 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

>
>
>
> On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <is...@wso2.com>wrote:
>
>> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Sorry, I've heard that topology should only be built at CC. Hence, CC
>>>> should send those events. Still the $subject is valid though.
>>>>
>>>
>>> I'm bit confused here. If SM do not sent "cluster created" and
>>> "terminated event", what event will it send?
>>>
>> AFAIK how it happens currently is that SM will call registerService
>> method in CC to register a subscription, and CC will send the relevant
>> events. Similar procedure for unsubscribing as well.
>>
>
> So there is no event sent from SM.
>

For the Topology topic, the only event publisher is CC. All the others are
just subscribers.

Thanks,
Reka

>
>>>
>>>>
>>>>
>>>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> Same should apply to unsubscription i.e. SM should send the
>>>>> corresponding event.
>>>>>
>>>>>
>>>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> As a result of this, any static payload should also be kept on SM.
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>
>>>>>>> All,
>>>>>>>
>>>>>>> $Subject. SM should send the cluster created event upon a
>>>>>>> subscription and need to do a service call to CC and pass the payload along
>>>>>>> with clusterId and cartridge type.
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Nirmal Fernando.
>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> Software Engineer, WSO2 Inc.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Reka Thirunavukkarasu
Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: We no more need to keep service definitions in CC

Posted by Isuru Haththotuwa <is...@wso2.com>.
On Tue, Nov 26, 2013 at 2:21 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

>
>
>
> On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <is...@wso2.com>wrote:
>
>> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>>
>>>
>>>
>>>
>>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Sorry, I've heard that topology should only be built at CC. Hence, CC
>>>> should send those events. Still the $subject is valid though.
>>>>
>>>
>>> I'm bit confused here. If SM do not sent "cluster created" and
>>> "terminated event", what event will it send?
>>>
>> AFAIK how it happens currently is that SM will call registerService
>> method in CC to register a subscription, and CC will send the relevant
>> events. Similar procedure for unsubscribing as well.
>>
>
> So there is no event sent from SM.
>
The deployment synchronization event is sent from SM. For the moment that
is the only event that is sent by SM AFAIK.

>
>>>
>>>>
>>>>
>>>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> Same should apply to unsubscription i.e. SM should send the
>>>>> corresponding event.
>>>>>
>>>>>
>>>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> As a result of this, any static payload should also be kept on SM.
>>>>>>
>>>>>>
>>>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>
>>>>>>> All,
>>>>>>>
>>>>>>> $Subject. SM should send the cluster created event upon a
>>>>>>> subscription and need to do a service call to CC and pass the payload along
>>>>>>> with clusterId and cartridge type.
>>>>>>>
>>>>>>> --
>>>>>>> Best Regards,
>>>>>>> Nirmal
>>>>>>>
>>>>>>> Nirmal Fernando.
>>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>>
>>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Platform Technologies,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: lahirus@wso2.com cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> Software Engineer, WSO2 Inc.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Thanks and Regards,

Isuru H.
Software Engineer, WSO2 Inc.
+94 716 358 048* <http://wso2.com/>*

Re: We no more need to keep service definitions in CC

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <is...@wso2.com> wrote:

> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>>
>>
>>
>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>>
>>> Sorry, I've heard that topology should only be built at CC. Hence, CC
>>> should send those events. Still the $subject is valid though.
>>>
>>
>> I'm bit confused here. If SM do not sent "cluster created" and
>> "terminated event", what event will it send?
>>
> AFAIK how it happens currently is that SM will call registerService method
> in CC to register a subscription, and CC will send the relevant events.
> Similar procedure for unsubscribing as well.
>

So there is no event sent from SM.

>
>>
>>>
>>>
>>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Same should apply to unsubscription i.e. SM should send the
>>>> corresponding event.
>>>>
>>>>
>>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> As a result of this, any static payload should also be kept on SM.
>>>>>
>>>>>
>>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> All,
>>>>>>
>>>>>> $Subject. SM should send the cluster created event upon a
>>>>>> subscription and need to do a service call to CC and pass the payload along
>>>>>> with clusterId and cartridge type.
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Software Engineer,
>> Platform Technologies,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> email: lahirus@wso2.com cell: (+94) 773 325 954
>> blog: http://lahiruwrites.blogspot.com/
>> twitter: http://twitter.com/lahirus
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> Thanks and Regards,
>
> Isuru H.
> Software Engineer, WSO2 Inc.
> +94 716 358 048* <http://wso2.com/>*
>
>
>


-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: We no more need to keep service definitions in CC

Posted by Isuru Haththotuwa <is...@wso2.com>.
On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

>
>
>
> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Sorry, I've heard that topology should only be built at CC. Hence, CC
>> should send those events. Still the $subject is valid though.
>>
>
> I'm bit confused here. If SM do not sent "cluster created" and "terminated
> event", what event will it send?
>
AFAIK how it happens currently is that SM will call registerService method
in CC to register a subscription, and CC will send the relevant events.
Similar procedure for unsubscribing as well.

>
>
>>
>>
>> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>>
>>> Same should apply to unsubscription i.e. SM should send the
>>> corresponding event.
>>>
>>>
>>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <
>>> nirmal070125@gmail.com> wrote:
>>>
>>>> As a result of this, any static payload should also be kept on SM.
>>>>
>>>>
>>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> All,
>>>>>
>>>>> $Subject. SM should send the cluster created event upon a subscription
>>>>> and need to do a service call to CC and pass the payload along with
>>>>> clusterId and cartridge type.
>>>>>
>>>>> --
>>>>> Best Regards,
>>>>> Nirmal
>>>>>
>>>>> Nirmal Fernando.
>>>>> PPMC Member & Committer of Apache Stratos,
>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>
>>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Software Engineer,
> Platform Technologies,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> email: lahirus@wso2.com cell: (+94) 773 325 954
> blog: http://lahiruwrites.blogspot.com/
> twitter: http://twitter.com/lahirus
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
Thanks and Regards,

Isuru H.
Software Engineer, WSO2 Inc.
+94 716 358 048* <http://wso2.com/>*

Re: We no more need to keep service definitions in CC

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Sorry, I've heard that topology should only be built at CC. Hence, CC
> should send those events. Still the $subject is valid though.
>

I'm bit confused here. If SM do not sent "cluster created" and "terminated
event", what event will it send?


>
>
> On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> Same should apply to unsubscription i.e. SM should send the corresponding
>> event.
>>
>>
>> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <nirmal070125@gmail.com
>> > wrote:
>>
>>> As a result of this, any static payload should also be kept on SM.
>>>
>>>
>>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <
>>> nirmal070125@gmail.com> wrote:
>>>
>>>> All,
>>>>
>>>> $Subject. SM should send the cluster created event upon a subscription
>>>> and need to do a service call to CC and pass the payload along with
>>>> clusterId and cartridge type.
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>> Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com cell: (+94) 773 325 954
blog: http://lahiruwrites.blogspot.com/
twitter: http://twitter.com/lahirus
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: We no more need to keep service definitions in CC

Posted by Nirmal Fernando <ni...@gmail.com>.
Sorry, I've heard that topology should only be built at CC. Hence, CC
should send those events. Still the $subject is valid though.


On Tue, Nov 26, 2013 at 1:24 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Same should apply to unsubscription i.e. SM should send the corresponding
> event.
>
>
> On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> As a result of this, any static payload should also be kept on SM.
>>
>>
>> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <nirmal070125@gmail.com
>> > wrote:
>>
>>> All,
>>>
>>> $Subject. SM should send the cluster created event upon a subscription
>>> and need to do a service call to CC and pass the payload along with
>>> clusterId and cartridge type.
>>>
>>> --
>>> Best Regards,
>>> Nirmal
>>>
>>> Nirmal Fernando.
>>> PPMC Member & Committer of Apache Stratos,
>>> Senior Software Engineer, WSO2 Inc.
>>>
>>> Blog: http://nirmalfdo.blogspot.com/
>>>
>>
>>
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: We no more need to keep service definitions in CC

Posted by Nirmal Fernando <ni...@gmail.com>.
Same should apply to unsubscription i.e. SM should send the corresponding
event.


On Mon, Nov 25, 2013 at 10:33 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> As a result of this, any static payload should also be kept on SM.
>
>
> On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <ni...@gmail.com>wrote:
>
>> All,
>>
>> $Subject. SM should send the cluster created event upon a subscription
>> and need to do a service call to CC and pass the payload along with
>> clusterId and cartridge type.
>>
>> --
>> Best Regards,
>> Nirmal
>>
>> Nirmal Fernando.
>> PPMC Member & Committer of Apache Stratos,
>> Senior Software Engineer, WSO2 Inc.
>>
>> Blog: http://nirmalfdo.blogspot.com/
>>
>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Re: We no more need to keep service definitions in CC

Posted by Nirmal Fernando <ni...@gmail.com>.
As a result of this, any static payload should also be kept on SM.


On Mon, Nov 25, 2013 at 10:06 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> All,
>
> $Subject. SM should send the cluster created event upon a subscription and
> need to do a service call to CC and pass the payload along with clusterId
> and cartridge type.
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
> Blog: http://nirmalfdo.blogspot.com/
>



-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/