On Tue, Apr 16, 2013 at 5:02 PM, Vijayaratha Vijayasingam
<[email protected]>wrote:

> I thought that is the filesystem for Supertenant (ie: repository/
> resources/synapse-config )?
>
>
> On 16 April 2013 16:44, Amila Maha Arachchi <[email protected]> wrote:
>
>> Hi Sanjeewa,
>>
>> We follow somewhat similar approach when copying the Stratos theme to all
>> tenants at the time of tenant creation. In that case we keep the styles
>> related file in file system's repository/resources/allthemes folder and
>> copy to tenants' registry.
>>
>> May be you too can follow similar approach. I mean keep them in a place
>> such as repository/resources/synapse-config and copy from there. Or is it
>> feasible to keep them in ST's spaces as suggested by Ratha?
>>
> If we stored them in super tenant space and super tenant admin changed it,
then after that changed configuration will shared across all tenants. So i
think we should store it in  repository/resources/synapse-config. Then each
tenant(include super tenant) get same set of files(unchanged default
configs) and they can change it later if need. We will go ahead with this
model.

Thanks.
Sanjeewa.

>
>> Regards,
>> AmilaM.
>>
>>
>> On Tue, Apr 16, 2013 at 4:24 PM, Sanjeewa Malalgoda <[email protected]>wrote:
>>
>>> HI,
>>> Let say we need to have set of synapse configuration files common to all
>>> tenants(like main, fault sequences). When new tenant created/loaded those
>>> files should copy to tenants synapse space(by using configuration context
>>> observer). I wanted to know where should we stored these common configs. I
>>> can see 2 options.
>>> 01. Store config files inside
>>> distribution(repository/resources/synapse-config) and add to tenant space
>>> 02. Add those configuration to default synapse configuration get
>>> sequence/ endpoint by name.
>>>
>>> AFAIK 1st option is good for our use case. WDYT?
>>>
>>> Thanks.
>>> --
>>> *Sanjeewa Malalgoda*
>>> WSO2 Inc.
>>> Mobile : +14084122175 | +94713068779
>>>
>>>  <http://sanjeewamalalgoda.blogspot.com/>blog
>>> :http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Amila Maharachchi*
>> Technical Lead
>> Member, Management Committee - Cloud & Platform TG
>> WSO2, Inc.; http://wso2.com
>>
>> Blog: http://maharachchi.blogspot.com
>> Mobile: +94719371446
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>


-- 
*Sanjeewa Malalgoda*
WSO2 Inc.
Mobile : +14084122175 | +94713068779

 <http://sanjeewamalalgoda.blogspot.com/>blog
:http://sanjeewamalalgoda.blogspot.com/<http://sanjeewamalalgoda.blogspot.com/>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to