1. If these are runtime data don't store in registry. Registry is only for
metadata not runtime data.
2. AFAIU this urls are strickly mapped to the application which is inside a
tenant. So data are tenant related. Correct me if I am wrong.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729

On Wed, Oct 15, 2014 at 3:36 PM, Roshan Deniyage <[email protected]> wrote:

> Hi Danushka,
>    The use case is that, we use a event listener to get newly spawned
> catridges's information (public IP, dns etc) and keep the data inside the
> app-factory side. These are runtime data and time to time get updated.
> There is no tenant related info in these data.
> When user, request for the url of his application, that is generated using
> those above data and his other meta data. Presently, I keep the cartridge
> information in memory which is not reliable, So, we need to persist these
> data in carbon registry or in app-factory DB.
> If carbon registry have no sharing mechanism, we have to use the db I
> guess.
>
>
> Thanks,
> Roshan Deniyage
> Associate Technical Lead
> WSO2, Inc: http://wso2.com
>
> Mobile    :  +94 777636406
> Twitter    :  *https://twitter.com/roshku <https://twitter.com/roshku>*
> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>
>
> On Wed, Oct 15, 2014 at 3:24 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi Roshan
>> Can you explain your use case. AFAIK this is not facilitated in carbon.
>> Tenants are totally isolated and they cannot access each other's tenant. By
>> going through the problem you are trying to solve we may be able to find a
>> solution.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>> On Wed, Oct 15, 2014 at 2:25 PM, Roshan Deniyage <[email protected]>
>> wrote:
>>
>>> Hi Devs,
>>>    Can anyone provide me a sample code to write to carbon registry
>>> component which can be shared by all tenants. (may be super tenant's user
>>> registry).
>>> I need to write data to shared location which can be read by all the
>>> tenants.
>>>
>>>
>>> Thanks,
>>> Roshan
>>> ​​
>>> Deniyage
>>> ​
>>> WSO2, Inc: http://wso2.com
>>>
>>> Mobile    :  +94 777636406
>>> Twitter    :  *https://twitter.com/roshku <https://twitter.com/roshku>*
>>> LinkedIn :  https://www.linkedin.com/in/roshandeniyage
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to