[Stratos-dev] Stratos XML files parsed many times in different components
Afkham Azeez
azeez at wso2.com
Sun Nov 27 23:36:32 EST 2011
Shariq,
What are you working on these days? Can you get this done?
On Mon, Nov 28, 2011 at 7:24 AM, Samisa Abeysinghe <samisa at wso2.com> wrote:
> Creating a Jira is not useful unless some folks own this and fix this.
>
> Who fixed this so far, who is and who will?
>
>
> On Sun, Nov 27, 2011 at 9:48 PM, Sanjeewa Malalgoda <sanjeewa at wso2.com>wrote:
>
>> +1 for doing that.i will make those changes. Created jira to track issue.
>> https://wso2.org/jira/browse/STRATOS-1946
>>
>> Thanks.
>>
>>
>> On Sun, Nov 27, 2011 at 9:22 PM, Dimuthu Leelarathne <dimuthul at wso2.com>wrote:
>>
>>>
>>>
>>> On Sun, Nov 27, 2011 at 8:50 PM, Afkham Azeez <azeez at wso2.com> wrote:
>>>
>>>> While doing a code review, I found that people are using wrong XML
>>>> files like throttling-agent.xml file to get Stratos service lists &
>>>> information, and are parsing this file over and over again!
>>>>
>>>> We use information from carbon.xml file in different places. We use the
>>>> ServerConfiguration OSGi service which has the object model corresponding
>>>> to the carbon.xml file. All Stratos components should have something
>>>> similar. There should be a shared StratosConfiguration OSGi service.
>>>>
>>>> All components authors who have incorrectly parsed these XML files
>>>> again and again should fix their code to do this.
>>>>
>>>>
>>> +1. We have one place to do this.
>>> org.wso2.carbon.stratos.common.util.CommonUtil.loadStratosConfiguration().
>>> And we need to fix that method to load it once.
>>>
>>> thanks,
>>> dimuthu
>>>
>>>
>>>
>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>**
>>>> email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919
>>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>>> *
>>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>>> *
>>>> *
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>> _______________________________________________
>>>> Stratos-dev mailing list
>>>> Stratos-dev at wso2.org
>>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Dimuthu Leelarathne
>>> Technical Lead and Product Manager, WSO2 Stratos
>>>
>>> WSO2, Inc. (http://wso2.com)
>>> email: dimuthul at wso2.com
>>>
>>>
>>> Lean . Enterprise . Middleware
>>>
>>>
>>> _______________________________________________
>>> Stratos-dev mailing list
>>> Stratos-dev at wso2.org
>>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>>
>>>
>>
>>
>> --
>> *Sanjeewa Malalgoda*
>> Software Engineer
>> **
>> *WSO2, Inc.*
>> lean.enterprise.middleware.
>>
>> mobile : +94 713068779
>> web: http://wso2.com
>> <http://sanjeewamalalgoda.blogspot.com/>blog
>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>
>> [image:
>> http://wso2.com/wp-content/themes/wso2ng-v2/images/logos/stratos_logo_h42.gif]
>>
>>
>> _______________________________________________
>> Stratos-dev mailing list
>> Stratos-dev at wso2.org
>> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>>
>> Thanks,
> Samisa...
>
> Samisa Abeysinghe
> VP Engineering
> WSO2 Inc.
> http://wso2.com
> http://wso2.org
>
>
>
> _______________________________________________
> Stratos-dev mailing list
> Stratos-dev at wso2.org
> https://wso2.org/cgi-bin/mailman/listinfo/stratos-dev
>
>
--
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **azeez at wso2.com* <azeez at wso2.com>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://wso2.org/pipermail/stratos-dev/attachments/20111128/16676dd0/attachment-0001.html>
More information about the Stratos-dev
mailing list