Hi Imesh, Thanks for pointing this out. I made the change as follows.
"*The Cartridge Agent publishes several events to the message broker after it starts, two key events being the InstanceStartedEvent and the InstanceActivatedEvent. The InstanceStartedEvent is published after the Topology is confirmed as consistent. The InstanceActivatedEvent is published after the InstanceStartedEvent, but this can happen in two code paths. If there is no repository based artifact management to be done, the InstanceActivatedEvent will be published immediately by the CartridgeAgent. If the Cartridge Agent has to wait for the ArtifactUpdatedEvent to start managing the artifacts related to a repository, the InstanceActivatedEvent will be published after the artifacts are synchronized to the instance. These events are published from the Cartridge Agent to the `/instance/status` topic in the message broker. In both cases the health statistics publishing job starts after the InstanceActivatedEvent is published.*" Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Sat, Oct 18, 2014 at 2:59 PM, Imesh Gunaratne <im...@apache.org> wrote: > 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 <lak...@wso2.com> > wrote: > >> Great work Chamila! >> >> On Fri, Oct 17, 2014 at 6:07 PM, Chamila De Alwis <chami...@wso2.com> >> wrote: >> >>> Hi, >>> >>> I wrote a blog post[1] on the Thrift communication in Stratos, based on >>> the stuff I've read and come across in the code. Please let me know if >>> there are any corrections to be made. >>> >>> [1] - >>> http://code.chamiladealwis.com/blog/2014/10/10/thrift-communication-in-apache-stratos/ >>> >>> >>> Regards, >>> Chamila de Alwis >>> Software Engineer | WSO2 | +94772207163 >>> Blog: code.chamiladealwis.com >>> >>> >>> >>> On Sun, Sep 28, 2014 at 6:41 PM, Chamila De Alwis <chami...@wso2.com> >>> wrote: >>> >>>> Hi Dinesh, >>>> >>>> Thanks for the resource. I was reading through it yesterday and help me >>>> quite a lot to understand the current log publishing design. >>>> >>>> >>>> Regards, >>>> Chamila de Alwis >>>> Software Engineer | WSO2 | +94772207163 >>>> Blog: code.chamiladealwis.com >>>> >>>> >>>> >>>> On Sun, Sep 28, 2014 at 7:36 AM, Dinesh Bandara <dine...@wso2.com> >>>> wrote: >>>> >>>>> This [1] might be helpful which explains the Data Bridge Thrift Agent >>>>> component architecture >>>>> >>>>> [1] >>>>> http://wso2.com/library/articles/2012/07/creating-custom-agents-publish-events-bamcep/ >>>>> >>>>> On Sat, Sep 27, 2014 at 3:04 PM, Chamila De Alwis <chami...@wso2.com> >>>>> wrote: >>>>> >>>>>> >>>>>> On Sat, Sep 27, 2014 at 8:58 AM, Manula Chathurika Thantriwatte < >>>>>> manu...@wso2.com> wrote: >>>>>> >>>>>>> +1 for have such document in wiki. >>>>>> >>>>>> >>>>>> I also think there should be a page on streaming data over thrift >>>>>> using the DataBridge. The basic usage is hard to be deduced from the code >>>>>> alone. There is a page on Pub/Sub communication, so this will be a >>>>>> completing step. >>>>>> >>>>>> >>>>>> Regards, >>>>>> Chamila de Alwis >>>>>> Software Engineer | WSO2 | +94772207163 >>>>>> Blog: code.chamiladealwis.com >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Dinesh Bandara* >>>>> Software Engineer >>>>> WSO2 Inc.; http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>>> >>>> >>> >> >> >> -- >> Lakmal Warusawithana >> Vice President, Apache Stratos >> Director - Cloud Architecture; WSO2 Inc. >> Mobile : +94714289692 >> Blog : http://lakmalsview.blogspot.com/ >> >> > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos >