Hi Chamila, For the time being you can get the tenant details by calling Stratos REST API (admin/tenant/list). Later those you will be added to metadata service.
How this scenario is handled by existing Java agent? On Wed, Sep 24, 2014 at 4:30 PM, Chamila De Alwis <[email protected]> wrote: > Hi, > > AFAIK CompleteTenantEvent is published with a small interval in between > with the tenant details. From the spawned cartridge's point, is it possible > to receive a tenant event depending on the tenant details, before a > CompleteTenantEvent? > > What my concern here is that, if cartridge agent should keep aside > processing of an event received before the tenant list is populated, until > the CompleteTenantEvent is received. > > Please note that, this dependency on the CompleteTenantEvent (and the > CompleteTopologyEvent) is until the metadata service starts providing > endpoints to directly query tenant and topology information. > > Regards, > Chamila de Alwis > Software Engineer | WSO2 | +94772207163 > Blog: code.chamiladealwis.com > > > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897
