synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hiranya Jayathilaka <hiranya...@gmail.com>
Subject Re: File Hierarchy Based Configuration Builder for Synapse
Date Wed, 15 Jul 2009 06:43:26 GMT
Hi Folks,

I just committed my workings to the trunk. Now when you pass a path to an
existing *directory* as the synapse XML path, the new configuration builder
will spring into action. This is the directory structure accepted by the new
configuration builder.

CONF_ROOT
        |-- endpoints
        |-- events
        |-- local-entries
        |-- proxy-services
        |-- registry.xml
        |-- sequences
        `-- tasks

I believe the directory and file names in the above diagram explain what
needs to be done. You can place zero or more XML files baring Synapse
configuration definitions in the directories mentioned above. Each file
should define exactly one item and no more. That is each proxy service
definition should have its own file and it's the same for other artifacts.
Registry definition will go in the registry.xml file.

Thanks,
Hiranya


On Tue, Jul 14, 2009 at 4:36 PM, Ruwan Linton <ruwan.linton@gmail.com>wrote:

> We were actually having this idea of separating the configuration into
> configuration bits and provided that this is optional I would like to get
> this in to the synapse.
>
> Here is my +1.
>
> Thanks,
> Ruwan
>
>
> On Tue, Jul 14, 2009 at 9:51 AM, Hiranya Jayathilaka <hiranya911@gmail.com
> > wrote:
>
>> Hi Folks,
>>
>> I have been working on a new configuration builder for Synapse. This new
>> configuration builder reads the Synapse configuration from a hierarchy of
>> XML files instead of loading everything from a single flat file. It enables
>> the user to easily manage large Synapse configurations by breaking it down
>> to a number of smaller files.
>>
>> The new functionality is completely optional and the only way to trigger
>> the new configuration builder is to specify a path to an existing directory
>> instead of the path to the synapse.xml file at startup. The old
>> configuration model hasn't changed a bit and therefore all the samples etc
>> are not effected by the change.
>>
>> If the community has no objection towards getting this new configuration
>> builder (and the associated serializer) in I'd be happy to contribute. WDYT?
>>
>> Thanks,
>> Hiranya
>>
>> --
>> Hiranya Jayathilaka
>> Software Engineer;
>> WSO2 Inc.;  http://wso2.org
>> E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
>> Blog: http://techfeast-hiranya.blogspot.com
>>
>
>
>
> --
> Ruwan Linton
> Technical Lead & Product Manager; WSO2 ESB; http://wso2.org/esb
> WSO2 Inc.; http://wso2.org
> email: ruwan@wso2.com; cell: +94 77 341 3097
> blog: http://ruwansblog.blogspot.com
>



-- 
Hiranya Jayathilaka
Software Engineer;
WSO2 Inc.;  http://wso2.org
E-mail: hiranya@wso2.com;  Mobile: +94 77 633 3491
Blog: http://techfeast-hiranya.blogspot.com

Mime
View raw message