Thanks for the input Manu!

For the time being we are going to stick with the solution that Tharik
suggested.

Thanks,
Dunith

On Mon, Aug 31, 2015 at 10:35 PM, Manuranga Perera <[email protected]> wrote:

> what we have done similar causes in ES is that,
> have dirs like :
>    carbon.super
>    manu.com
>    default
>
> everything is first looked up from tenant and then default. maybe it's
> good to implement the same behavior.
>
> sorry we have been bit busy with ES release, and couldn't help you guys as
> much as we hoped.
>
>
> On Mon, Aug 31, 2015 at 5:51 PM, Tharik Kanaka <[email protected]> wrote:
>
>> Hi Dunith,
>>
>> At the moment a directory for a new tenant domain will be created when
>> creating a Gadget. Therefor now we are copying layouts of carbon.super when
>> creating gadgets (if there are no layouts for that domain) so user can
>> continue creating a dashboard and selecting a layouts in tenant mode.
>>
>> I think ideal solution would be creating those directories and copy
>> layouts when creating a new tenant.
>>
>> Regards,
>>
>> On Mon, Aug 31, 2015 at 6:30 AM, Dunith Dhanushka <[email protected]>
>> wrote:
>>
>>> Hi Manu,
>>>
>>> When creating a dashboard while logged in as a tenant, we come across
>>> [1]. This is because there are no layout defintion files exist in the
>>> tenant's layout directory. But this works perfect for the super tenant
>>> scenario.
>>>
>>> There is a possibility to share super tenant's entire store with other
>>> tenants by setting "shareStore=true" in the designer.json. But that is not
>>> always recommended.
>>>
>>> There are few suggestions to fix this.
>>>
>>> 1. Maintain a default set of layout files and copy them into new
>>> tenant's layout directory once a tenant is created.
>>> 2. After logged into dashboard, copy default layouts into current
>>> tenant's layout directory if they do not exist.
>>> 3. Give the user an option to upload layouts files via UI.
>>>
>>> So which approach do you recommend? Please advise.
>>>
>>> [1] https://wso2.org/jira/browse/DAS-94
>>>
>>>
>>> Regards,
>>>
>>> Dunith Dhanushka,
>>> Senior Software Engineer
>>> WSO2 Inc,
>>>
>>> Mobile - +94 71 8615744
>>> Blog - dunithd.wordpress.com <http://blog.dunith.com>
>>> Twitter - @dunithd <http://twitter.com/dunithd>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>>
>> *Tharik Kanaka*
>>
>> WSO2, Inc |#20, Palm Grove, Colombo 03, Sri Lanka
>>
>> Email: [email protected] | Web: www.wso2.com
>>
>
>
>
> --
> With regards,
> *Manu*ranga Perera.
>
> phone : 071 7 70 20 50
> mail : [email protected]
>



-- 
Regards,

Dunith Dhanushka,
Senior Software Engineer
WSO2 Inc,

Mobile - +94 71 8615744
Blog - dunithd.wordpress.com <http://blog.dunith.com>
Twitter - @dunithd <http://twitter.com/dunithd>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to