You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Gayan Gunarathne <ga...@wso2.com> on 2015/07/23 12:33:14 UTC

ClusterStatusClusterCreatedEvent usage

Hi All,

Are we using the "ClusterStatusClusterCreatedEvent"?

As per the code base, we are not sending that event anymore[1].But we have
listeners for this.

[1]
https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/publisher/ClusterStatusEventPublisher.java#L52

Thanks,
Gayan
-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gayang@wso2.com  | mobile : +94 766819985

Re: ClusterStatusClusterCreatedEvent usage

Posted by Gayan Gunarathne <ga...@wso2.com>.
Added the JIRA[1] to track this. If you found any other unused events that
we can remove from the current code base, please add to this JIRA.

[1] https://issues.apache.org/jira/browse/STRATOS-1478

Thanks,
Gayan

On Fri, Jul 24, 2015 at 11:24 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi Gayan,
>
> +1 there are some more events that are not used. Please remove them too.
>



-- 

Gayan Gunarathne
Technical Lead, WSO2 Inc. (http://wso2.com)
Committer & PMC Member, Apache Stratos
email : gayang@wso2.com  | mobile : +94 766819985

Re: ClusterStatusClusterCreatedEvent usage

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Gayan,

+1 there are some more events that are not used. Please remove them too.

Re: ClusterStatusClusterCreatedEvent usage

Posted by Imesh Gunaratne <im...@apache.org>.
Shall we create a JIRA to track this? May be this fix can be included in
4.1.1.

Thanks

On Thu, Jul 23, 2015 at 5:52 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> There are some other unused events listed below that we may have to
> cleanup as well.
>
> TenantSubscribedEventListener
> TenantUnSubscribedEventListener
>
>
> Also following Application topic events are not registered in event
> processor chain;
>
> GroupMaintenanceModeEvent
> GroupReadyToShutdownEvent
>
>
>
>
> On Thu, Jul 23, 2015 at 5:44 PM, Reka Thirunavukkarasu <re...@wso2.com>
> wrote:
>
>> +1 to remove this event. This is not used anymore..
>>
>> Thanks,
>> Reka
>>
>> On Thu, Jul 23, 2015 at 4:03 PM, Gayan Gunarathne <ga...@wso2.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> Are we using the "ClusterStatusClusterCreatedEvent"?
>>>
>>> As per the code base, we are not sending that event anymore[1].But we
>>> have listeners for this.
>>>
>>> [1]
>>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/publisher/ClusterStatusEventPublisher.java#L52
>>>
>>> Thanks,
>>> Gayan
>>> --
>>>
>>> Gayan Gunarathne
>>> Technical Lead, WSO2 Inc. (http://wso2.com)
>>> Committer & PMC Member, Apache Stratos
>>> email : gayang@wso2.com  | mobile : +94 766819985
>>>
>>>
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Akila Ravihansa Perera
> WSO2 Inc.;  http://wso2.com/
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: ClusterStatusClusterCreatedEvent usage

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
There are some other unused events listed below that we may have to cleanup
as well.

TenantSubscribedEventListener
TenantUnSubscribedEventListener


Also following Application topic events are not registered in event
processor chain;

GroupMaintenanceModeEvent
GroupReadyToShutdownEvent




On Thu, Jul 23, 2015 at 5:44 PM, Reka Thirunavukkarasu <re...@wso2.com>
wrote:

> +1 to remove this event. This is not used anymore..
>
> Thanks,
> Reka
>
> On Thu, Jul 23, 2015 at 4:03 PM, Gayan Gunarathne <ga...@wso2.com> wrote:
>
>> Hi All,
>>
>> Are we using the "ClusterStatusClusterCreatedEvent"?
>>
>> As per the code base, we are not sending that event anymore[1].But we
>> have listeners for this.
>>
>> [1]
>> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/publisher/ClusterStatusEventPublisher.java#L52
>>
>> Thanks,
>> Gayan
>> --
>>
>> Gayan Gunarathne
>> Technical Lead, WSO2 Inc. (http://wso2.com)
>> Committer & PMC Member, Apache Stratos
>> email : gayang@wso2.com  | mobile : +94 766819985
>>
>>
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Akila Ravihansa Perera
WSO2 Inc.;  http://wso2.com/

Blog: http://ravihansa3000.blogspot.com

Re: ClusterStatusClusterCreatedEvent usage

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
+1 to remove this event. This is not used anymore..

Thanks,
Reka

On Thu, Jul 23, 2015 at 4:03 PM, Gayan Gunarathne <ga...@wso2.com> wrote:

> Hi All,
>
> Are we using the "ClusterStatusClusterCreatedEvent"?
>
> As per the code base, we are not sending that event anymore[1].But we have
> listeners for this.
>
> [1]
> https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/publisher/ClusterStatusEventPublisher.java#L52
>
> Thanks,
> Gayan
> --
>
> Gayan Gunarathne
> Technical Lead, WSO2 Inc. (http://wso2.com)
> Committer & PMC Member, Apache Stratos
> email : gayang@wso2.com  | mobile : +94 766819985
>
>
>



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