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 <[email protected]> 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 <[email protected]>wrote: > >> Hi >> >> >> On Tue, Nov 26, 2013 at 1:51 AM, Lahiru Sandaruwan <[email protected]>wrote: >> >>> >>> >>> >>> On Tue, Nov 26, 2013 at 2:19 PM, Isuru Haththotuwa <[email protected]>wrote: >>> >>>> On Tue, Nov 26, 2013 at 2:16 PM, Lahiru Sandaruwan <[email protected]>wrote: >>>> >>>>> >>>>> >>>>> >>>>> On Tue, Nov 26, 2013 at 1:46 PM, Nirmal Fernando < >>>>> [email protected]> 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 < >>>>>> [email protected]> 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 < >>>>>>> [email protected]> 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 < >>>>>>>> [email protected]> 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: [email protected] 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: [email protected] 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/
