Hi,

While working on this, I found there are almost duplicate lines of code in
following classes.

*TopicHealthChecker.java*
./org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/subscriber/TopicHealthChecker.java
./org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/subscriber/TopicHealthChecker.java

*TopologySubscriber.java*
./org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/subscriber/TopologySubscriber.java
./org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/subscriber/TopologySubscriber.java

*TopologyListener.java*
./org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/subscriber/TopologyListener.java
./org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/subscriber/TopologyListener.java

Following also has some common code.

*TopologySyncher.java*
./org.apache.stratos.lb.endpoint/src/main/java/org/apache/stratos/lb/endpoint/builder/TopologySyncher.java
./org.apache.stratos.adc.topology.mgt/src/main/java/org/apache/stratos/adc/topology/mgt/builder/TopologySyncher.java

As I said, we need to get these common code to a single component.

I need to think carefully, review existing components and design the
components properly.

I'm just holding off this work for few days as we are preparing for a
release and I don't want to bring any considerable code changes.

I will start working on this as soon as we could do a proper Apache Stratos
(incubating) release first. This means that the first release will support
only WSO2 Message Broker as it was designed originally.

Thank you.

Best Regards,




On Thu, Aug 22, 2013 at 9:50 AM, Isuru Perera <[email protected]> wrote:

> On Thu, Aug 22, 2013 at 9:11 AM, Lakmal Warusawithana <[email protected]>wrote:
>
>> Make sure, you don't push these changes, until you are confident that
>> this not break any other flow. I would like to have feature freeze, since
>> we plan to do a release next week.
>>
> Yes. I will be pushing only after testing.
>
> Thanks!
>
>> sent from phone
>> On Aug 21, 2013 11:45 PM, "Isuru Perera" <[email protected]> wrote:
>>
>>> Hi all,
>>>
>>> Just a heads up!
>>>
>>> I will be doing some changes to Topology sync logic.
>>>
>>> Related JIRAs
>>> https://issues.apache.org/jira/browse/STRATOS-48
>>> https://issues.apache.org/jira/browse/STRATOS-52
>>>
>>> Objectives:
>>>
>>>    1. Common Message Broker configuration in all Stratos Products
>>>    (Cloud Controller, Stratos Controller and ELB)
>>>    2. Support for other message brokers. Planning to test with Apache
>>>    ActiveMQ and WSO2 Message Broker first.
>>>
>>>
>>> I will let you all know more details later.
>>>
>>> Thanks!
>>>
>>> --
>>> Isuru Perera
>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>> Lean . Enterprise . Middleware
>>>
>>> about.me/chrishantha
>>>
>>
>
>
> --
> Isuru Perera
> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
> Lean . Enterprise . Middleware
>
> about.me/chrishantha
>



-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Reply via email to