Yes , +1 to clear and make it proper way.

My concern, if there is a XSD and using some Jaxb generated objects to read
and validate config, then it is very easy to find and change the code when
we change config file every time because jaxb gives compilation error when
validation is failed after we change xml file in wrong way. But now , if we
change property or remove, we have to find each and every place in java and
jaggery level manually to change it.

WDYT ?


*Harsha Thirimanna*
Senior Software Engineer; WSO2, Inc.; http://wso2.com
* <http://www.apache.org/>*
* email: **[email protected]* <[email protected]>* cell: +94 71 5186770*
* twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
*harshathirimann linked-in: **http:
<http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
<http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*

 *Lean . Enterprise . Middleware*



On Mon, Dec 16, 2013 at 9:53 PM, Janaka Ranabahu <[email protected]> wrote:

> Hi Harsha,
>
> I would not like to take this as an immediate action item that we must do.
> IMO, we should give more priority to cleaning up the Appfactory.xml and
> making it simpler and cleaner as possible. That is when we can focus on the
> XSD to validate the config.
>
> WDYT?
>
> Thanks,
> Janaka
>
>
> On Mon, Dec 16, 2013 at 7:30 AM, Harsha Thirimanna <[email protected]>wrote:
>
>> Hi Eranda,
>>
>> We were rapidly changing with this config things. So we didn't care about
>> that previously. But now it is stable and should be validate using XSD with
>> jaxb.
>>
>> Thanks
>> On Dec 16, 2013 12:24 AM, "Eranda Sooriyabandara" <[email protected]>
>> wrote:
>>
>>> How are you validating the app-factory configuration now? What is the
>>> end result of misconfiguration?
>>>
>>> thanks
>>> Eranda
>>>
>>>
>>> On Fri, Dec 6, 2013 at 8:40 AM, Harsha Thirimanna <[email protected]>wrote:
>>>
>>>> ---------- Forwarded message ----------
>>>> From: "Harsha Thirimanna" <[email protected]>
>>>> Date: Dec 6, 2013 12:23 AM
>>>> Subject: Fwd: [AppFactory] We should have a XSD to the appfactory
>>>> configuration file.
>>>> To: "Dimuthu Leelarathne" <[email protected]>, "Janaka Ranabahu" <
>>>> [email protected]>, "Ramith Jayasinghe" <[email protected]>, "Ajanthan
>>>> Balachandran" <[email protected]>, "Ranga Siriwardena" <[email protected]>,
>>>> "Danushka Fernando" <[email protected]>
>>>> Cc:
>>>>
>>>>
>>>>
>>>> *Harsha Thirimanna*
>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>>> * <http://www.apache.org/>*
>>>> * email: **[email protected]* <[email protected]>* cell: +94 71 5186770*
>>>> * twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
>>>> *harshathirimann linked-in: **http:
>>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>>>>
>>>>  *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>>
>>>> ---------- Forwarded message ----------
>>>> From: Harsha Thirimanna <[email protected]>
>>>> Date: Thu, Dec 5, 2013 at 11:12 PM
>>>> Subject: [AppFactory] We should have a XSD to the appfactory
>>>> configuration file.
>>>> To: strategy-group <[email protected]>
>>>>
>>>>
>>>>
>>>> $subject.
>>>>
>>>> WDYT ?
>>>>
>>>> *Harsha Thirimanna*
>>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com
>>>> * <http://www.apache.org/>*
>>>> * email: **[email protected]* <[email protected]>* cell: +94 71 5186770*
>>>> * twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>*
>>>> *harshathirimann linked-in: **http:
>>>> <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122
>>>> <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>*
>>>>
>>>>  *Lean . Enterprise . Middleware*
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> [email protected]
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>> *Eranda Sooriyabandara*Senior Software Engineer;
>>> Integration Technologies Team;
>>> WSO2 Inc.; http://wso2.com
>>> Lean . Enterprise . Middleware
>>>
>>> E-mail: eranda AT wso2.com
>>> Mobile: +94 716 472 816
>>> Linked-In: http://www.linkedin.com/in/erandasooriyabandara
>>> Blog: http://emsooriyabandara.blogspot.com/
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Architecture mailing list
>>> [email protected]
>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>
>>>
>> _______________________________________________
>> Architecture mailing list
>> [email protected]
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Janaka Ranabahu*
> Senior Software Engineer; WSO2 Inc.; http://wso2.com
>
>
> * E-mail: [email protected] <http://wso2.com>**M: **+94 718370861
> <%2B94%20718370861>*
>
>
> Lean . Enterprise . Middleware
>
>
> _______________________________________________
> Architecture mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to