stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Akila Ravihansa Perera <raviha...@wso2.com>
Subject Re: Accessing Tenant information in Cartridge Agent
Date Mon, 22 Sep 2014 09:58:18 GMT
Hi Chamila,

Complete events are meant to be used in a recovery or initialization
process. It should build up the information model using the
CompleteTopologyEvent or CompleteTenantEvent and then only listen to
individual events. Best approach would be to blockingly wait until
CompleteTopologyEvent and CompleteTenantEvent are received.

Thanks.

On Mon, Sep 22, 2014 at 2:52 PM, Chamila De Alwis <chamilad@wso2.com> wrote:
> CompleteTenantEvent has the list of tenants, however is the order in which
> the events are fired reliable? As I understand from the code, a
> CompleteTenantEvent is scheduled to fire with a delay, when any one of the
> other tenant events could be received before a CompleteTenantEvent.
>
>
> Regards,
> Chamila de Alwis
> Software Engineer | WSO2 | +94772207163
> Blog: code.chamiladealwis.com
>
>
>
> On Mon, Sep 22, 2014 at 7:31 AM, Udara Liyanage <udara@wso2.com> wrote:
>>
>>
>> Hi Chamila,
>>
>> Metadata service not yet provide tenant information, it provides
>> properties of a cluster if an application.
>>
>>
>> Touched, not typed. Erroneous words are a feature, not a typo.
>
>



-- 
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

Mime
View raw message