Great! Thanks for moving this to the CC service! On Fri, Nov 28, 2014 at 5:39 PM, Reka Thirunavukkarasu <r...@wso2.com> wrote:
> Hi Nirmal, > > The instances of cluster has been introduced as part of the Group Scaling > in [1]. As we are still in the process of finalising the implementation > details, will update on high level implementation details as soon as it is > done.. > > [1]. [Discuss] Group Scaling & Dependent Scaling Behaviours > > Thanks, > Reka > > On Fri, Nov 28, 2014 at 5:27 PM, Nirmal Fernando <nirmal070...@gmail.com> > wrote: > >> Hi Reka, >> >> What's the meaning of the instance id here? >> >> On Fri, Nov 28, 2014 at 4:49 PM, Reka Thirunavukkarasu <r...@wso2.com> >> wrote: >> >>> Please find the API as below as it would be easy to have the >>> serviceName. So that traverse through the Topology would be easy. >>> >>> /** >>> * Update the topology with current cluster status. >>> * @param serviceName id of service which the cluster belongs to. >>> * @param clusterId id of the subjected cluster. >>> * @param instanceId id of the cluster instance. >>> * @param status total number of replicas to be set to the >>> controller. >>> */ >>> void updateClusterStatus(String serviceName, String clusterId, >>> String instanceId, ClusterStatus status); >>> >>> >>> On Fri, Nov 28, 2014 at 4:37 PM, Reka Thirunavukkarasu <r...@wso2.com> >>> wrote: >>> >>>> Hi Nirmal, >>>> >>>> The following is the API that i thought of introducing in order to >>>> update the status of the cluster in the Topology from Autoscaler. >>>> >>>> /** >>>> * Update the topology with current cluster instance status. >>>> * @param clusterId id of the subjected cluster. >>>> * @param instanceId id of the cluster instance >>>> * @param status current status of the cluster instance. >>>> */ >>>> void updateClusterStatus(String clusterId, String instanceId, >>>> ClusterStatus status); >>>> >>>> Thanks, >>>> Reka >>>> >>>> On Fri, Nov 28, 2014 at 2:10 PM, Nirmal Fernando < >>>> nirmal070...@gmail.com> wrote: >>>> >>>>> Hi Reka, >>>>> >>>>> Are you planning to introduce an API in CC to update cluster status? >>>>> Can you please share the API/s skeleton ? >>>>> >>>>> On Thu, Nov 27, 2014 at 11:15 PM, Reka Thirunavukkarasu <r...@wso2.com >>>>> > wrote: >>>>> >>>>>> Hi Imesh, >>>>>> >>>>>> This is there to update the cluster status from autoscaler to >>>>>> Topology in CC . If we are getting rid of this, then we would need to go >>>>>> for service call. We introduced this as like instance status. >>>>>> >>>>>> Thanks, >>>>>> Reka >>>>>> >>>>>> On Thu, Nov 27, 2014 at 7:09 PM, Imesh Gunaratne <im...@apache.org> >>>>>> wrote: >>>>>> >>>>>>> Hi Devs, >>>>>>> >>>>>>> Do we need the following in cloud controller? >>>>>>> >>>>>>> clusterStatusTopicReceiver = new >>>>>>> ClusterStatusTopicReceiver(); >>>>>>> Thread tClusterStatusTopicReceiver = new >>>>>>> Thread(clusterStatusTopicReceiver); >>>>>>> tClusterStatusTopicReceiver.start(); >>>>>>> >>>>>>> Thanks >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Imesh Gunaratne >>>>>>> >>>>>>> Technical Lead, WSO2 >>>>>>> Committer & PMC Member, Apache Stratos >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Reka Thirunavukkarasu >>>>>> Senior 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/ >>>>> >>>> >>>> >>>> >>>> -- >>>> Reka Thirunavukkarasu >>>> Senior Software Engineer, >>>> WSO2, Inc.:http://wso2.com, >>>> Mobile: +94776442007 >>>> >>>> >>>> >>> >>> >>> -- >>> Reka Thirunavukkarasu >>> Senior 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/ >> > > > > -- > Reka Thirunavukkarasu > Senior Software Engineer, > WSO2, Inc.:http://wso2.com, > Mobile: +94776442007 > > > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PMC Member, Apache Stratos