On Wed, Apr 3, 2013 at 12:50 PM, Kishanthan Thangarajah <[email protected]
> wrote:

> Hi Nuwan,
>
>
> On Tue, Apr 2, 2013 at 9:10 PM, Nuwan Dias <[email protected]> wrote:
>
>> Hi,
>>
>> In any multi-tenanted carbon server, the tenant specific deployment
>> directory structure (Ex: repository/tenants/1/axis2services) is always
>> created when the tenant tries to deploy an artifact for the first time.
>>
>
> They get created on first access to the tenant (mgt-console login, request
> to some artifact, etc). This is where the axisConfiguration for that tenant
> gets created and during that time only, those dir-structure gets created.
>
>
>> Is there any possibility of having an extension hook for the deployment
>> directory structure creation so that it could be used to deploy custom
>> artifacts under a chosen directory structure?
>>
>> My use case is that I need to deploy a custom set of sequences under each
>> tenant's synapse-configs/default/sequences directory.
>>
>
> Is the requirement is to deploy those sequences into relevant tenants
> repo, when the tenant being loaded for the first time?
>
Yes.


> What I mean is, before any request is received by the tenant, you want to
> have those artifacts deployed there?
>
No, it is sufficient to have these artifacts created when the tenant
receives its first request. What I am looking for is a method to deploy a
set of custom sequences per-tenant. If you look at the
synapse-configs/default/sequences directory of the tenant, you will see
that a fault.xml and main.xml files are created. I want to add a few more
sequences and override the default fault.xml

>
> Thanks,
> Kishanthan
>
>>
>> Thanks,
>> NuwanD.
>>
>> --
>> Nuwan Dias
>>
>> Software Engineer - WSO2, Inc. http://wso2.com
>> email : [email protected]
>> Phone : +94 777 775 729
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Kishanthan Thangarajah*
> Software Engineer,
> Development Technologies Team,
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - +94773426635
> Blog - *http://kishanthan.wordpress.com*
> Twitter - *http://twitter.com/kishanthan*
>



-- 
Nuwan Dias

Software Engineer - WSO2, Inc. http://wso2.com
email : [email protected]
Phone : +94 777 775 729
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to