[prev in list] [next in list] [prev in thread] [next in thread] 

List:       esb-java-dev
Subject:    Re: [Dev] Using getConfigSystemRegistry() to get Tenant Registry in an Admin Service
From:       Senaka Fernando <senaka () wso2 ! com>
Date:       2012-06-29 19:41:40
Message-ID: CAPniqXLcKNnD-X9snXAuVEjNsEFXHCXzVKLe3rwiftu781=9Pg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi Tharindu,

I tried to locate where in AbstractAdmin that you find getTenantRegistry,
but unfortunately searching inside commit e-mails didn't provide any help.
Can you send a pointer to the commits that introduced this and the commits
that got rid of it? Also, the method what Azeez mentioned is what has been
there for a long time, and I don't recall we trying to add something else
to do the same thing.

Thanks,
Senaka.

On Thu, Jun 28, 2012 at 10:28 PM, Afkham Azeez <azeez@wso2.com> wrote:

> :D it is the tenant's system registry.
>
>
> On Thu, Jun 28, 2012 at 9:18 PM, Tharindu Mathew <tharindu@wso2.com>wrote:
>
>> OK, is it the system user's tenant registry?
>>
>>
>> On Thu, Jun 28, 2012 at 9:06 PM, Afkham Azeez <azeez@wso2.com> wrote:
>>
>>> The model in the admin services that extend AbstractAdmin is, whatever
>>> you retrieve is relative to the logged in tenant. So,
>>> getConfigSystemRegistry, if called while a tenant is logged in, will return
>>> that tenant's registry, and if it is ST, it will be the ST's registry.
>>>
>>> On Thu, Jun 28, 2012 at 8:48 PM, Tharindu Mathew <tharindu@wso2.com>wrote:
>>>
>>>> Hi,
>>>>
>>>> If I'm not mistaken the getTenantRegistry method has been replaced with
>>>> above. The naming doesn't sound right and your not sure whether this gives
>>>> the ST registry or the tenant registry.
>>>>
>>>> Shall we rename this?
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Tharindu
>>>>
>>>> blog: http://mackiemathew.com/
>>>>  M: +94777759908
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>**
>>> email: **azeez@wso2.com* <azeez@wso2.com>* cell: +94 77 3320919
>>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>>> *
>>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>>> *
>>> *
>>> *Lean . Enterprise . Middleware*
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Tharindu
>>
>> blog: http://mackiemathew.com/
>> M: +94777759908
>>
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>**
> email: **azeez@wso2.com* <azeez@wso2.com>* cell: +94 77 3320919
> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
> *
> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
> *
> *
> *Lean . Enterprise . Middleware*
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Senaka Fernando*
Member - Integration Technologies Management Committee;
Technical Lead; WSO2 Inc.; http://wso2.com*
Member; Apache Software Foundation; http://apache.org

E-mail: senaka AT wso2.com
**P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818
Linked-In: http://linkedin.com/in/senakafernando

*Lean . Enterprise . Middleware

[Attachment #5 (text/html)]

Hi Tharindu,<div><br></div><div>I tried to locate where in AbstractAdmin that you \
find getTenantRegistry, but unfortunately searching inside commit e-mails didn&#39;t \
provide any help. Can you send a pointer to the commits that introduced this and the \
commits that got rid of it? Also, the method what Azeez mentioned is what has been \
there for a long time, and I don&#39;t recall we trying to add something else to do \
the same thing.</div>

<div><br></div><div>Thanks,<br>Senaka.<br><br><div class="gmail_quote">On Thu, Jun \
28, 2012 at 10:28 PM, Afkham Azeez <span dir="ltr">&lt;<a \
href="mailto:azeez@wso2.com" target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">:D it is the tenant&#39;s system registry.<div \
class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Thu, Jun 28, 2012 \
at 9:18 PM, Tharindu Mathew <span dir="ltr">&lt;<a href="mailto:tharindu@wso2.com" \
target="_blank">tharindu@wso2.com</a>&gt;</span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">OK, is it the system user&#39;s tenant \
registry?<div><div><br><br><div class="gmail_quote">On Thu, Jun 28, 2012 at 9:06 PM, \
Afkham Azeez <span dir="ltr">&lt;<a href="mailto:azeez@wso2.com" \
target="_blank">azeez@wso2.com</a>&gt;</span> wrote:<br>





<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">The model in the admin services that extend AbstractAdmin is, \
whatever you retrieve is relative to the logged in tenant. So, \
getConfigSystemRegistry, if called while a tenant is logged in, will return that \
tenant&#39;s registry, and if it is ST, it will be the ST&#39;s registry.<br>







<br><div class="gmail_quote"><div><div>On Thu, Jun 28, 2012 at 8:48 PM, Tharindu \
Mathew <span dir="ltr">&lt;<a href="mailto:tharindu@wso2.com" \
target="_blank">tharindu@wso2.com</a>&gt;</span> wrote:<br></div></div>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div>

Hi,<div><br></div><div>If I&#39;m not mistaken the getTenantRegistry method has been \
replaced with above. The naming doesn&#39;t sound right and your not sure whether \
this gives the ST registry or the tenant registry.</div>









<div><br></div><div>Shall we rename this?<span><font color="#888888"><br \
clear="all"><div><br></div>-- \
<br>Regards,<br><br>Tharindu<br><div><br></div><div>blog: <a \
href="http://mackiemathew.com/" target="_blank">http://mackiemathew.com/</a></div>







<div>

M: <a href="tel:%2B94777759908" value="+94777759908" \
target="_blank">+94777759908</a></div><br> </font></span></div>
<br></div></div>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org" target="_blank">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
<br></blockquote></div><span><font color="#888888"><br><br \
clear="all"><div><br></div>-- <br><b>Afkham Azeez</b><br><font face="verdana, \
sans-serif"><span style="font-size:x-small"><span \
style="font-family:arial;font-size:small"><font face="verdana, sans-serif"><span \
style="font-size:x-small">Director of Architecture</span></font>; <span \
style="font-size:x-small">WSO2, Inc.; </span><a href="http://wso2.com/" \
target="_blank"><span \
style="font-size:x-small">http://wso2.com</span></a></span></span></font><span \
style="font-size:x-small"><br>







<span style="font-size:small"><span style="font-size:x-small">Member; Apache Software \
Foundation; </span><span style="font-size:x-small"><a href="http://www.apache.org/" \
target="_blank">http://www.apache.org/</a></span></span><br>







</span><div><i><span style="font-size:x-small"><a href="http://www.apache.org/" \
target="_blank"></a></span></i><i><span style="font-size:x-small"><br>email: \
</span></i><a href="mailto:azeez@wso2.com" target="_blank"><i><span \
style="font-size:x-small">azeez@wso2.com</span></i></a><i><span \
style="font-size:x-small"> cell: <a href="tel:%2B94%2077%203320919" \
value="+94773320919" target="_blank">+94 77 3320919</a><br>







blog: </span></i><a href="http://blog.afkham.org" target="_blank"><i><span \
style="font-size:x-small">http://blog.afkham.org</span></i></a><i><span \
style="font-size:x-small"><br>twitter: </span></i><a \
href="http://twitter.com/afkham_azeez" target="_blank"><i><span \
style="font-size:x-small">http://twitter.com/afkham_azeez</span></i></a><i><span \
style="font-size:x-small"><br>







linked-in: </span></i><i><span style="font-size:x-small"><a \
href="http://lk.linkedin.com/in/afkhamazeez" \
target="_blank">http://lk.linkedin.com/in/afkhamazeez</a></span></i><br><div></div><div><i><br></i></div><div><i><span \
style="font-style:normal"><span style="font-size:x-small">Lean . Enterprise . \
Middleware</span></span></i></div>







</div><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- \
<br>Regards,<br><br>Tharindu<br><div><br></div><div>blog: <a \
href="http://mackiemathew.com/" \
target="_blank">http://mackiemathew.com/</a></div><div>M: <a \
href="tel:%2B94777759908" value="+94777759908" target="_blank">+94777759908</a></div>





<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><b>Afkham \
Azeez</b><br><font face="verdana, sans-serif"><span style="font-size:x-small"><span \
style="font-family:arial;font-size:small"><font face="verdana, sans-serif"><span \
style="font-size:x-small">Director of Architecture</span></font>; <span \
style="font-size:x-small">WSO2, Inc.; </span><a href="http://wso2.com/" \
target="_blank"><span \
style="font-size:x-small">http://wso2.com</span></a></span></span></font><span \
style="font-size:x-small"><br>



<span style="font-size:small"><span style="font-size:x-small">Member; Apache Software \
Foundation; </span><span style="font-size:x-small"><a href="http://www.apache.org/" \
target="_blank">http://www.apache.org/</a></span></span><br>



</span><div><i><span style="font-size:x-small"><a href="http://www.apache.org/" \
target="_blank"></a></span></i><i><span style="font-size:x-small"><br>email: \
</span></i><a href="mailto:azeez@wso2.com" target="_blank"><i><span \
style="font-size:x-small">azeez@wso2.com</span></i></a><i><span \
style="font-size:x-small"> cell: <a href="tel:%2B94%2077%203320919" \
value="+94773320919" target="_blank">+94 77 3320919</a><br>



blog: </span></i><a href="http://blog.afkham.org" target="_blank"><i><span \
style="font-size:x-small">http://blog.afkham.org</span></i></a><i><span \
style="font-size:x-small"><br>twitter: </span></i><a \
href="http://twitter.com/afkham_azeez" target="_blank"><i><span \
style="font-size:x-small">http://twitter.com/afkham_azeez</span></i></a><i><span \
style="font-size:x-small"><br>



linked-in: </span></i><i><span style="font-size:x-small"><a \
href="http://lk.linkedin.com/in/afkhamazeez" \
target="_blank">http://lk.linkedin.com/in/afkhamazeez</a></span></i><br><div></div><div><i><br></i></div><div><i><span \
style="font-style:normal"><span style="font-size:x-small">Lean . Enterprise . \
Middleware</span></span></i></div>



</div><br>
</div></div><br>_______________________________________________<br>
Dev mailing list<br>
<a href="mailto:Dev@wso2.org">Dev@wso2.org</a><br>
<a href="http://wso2.org/cgi-bin/mailman/listinfo/dev" \
target="_blank">http://wso2.org/cgi-bin/mailman/listinfo/dev</a><br> \
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><font \
style="font-family:garamond,serif;color:rgb(0,0,0)" size="2"><b>Senaka \
Fernando</b></font><br style="font-family:garamond,serif;color:rgb(102,102,102)">

<span style="font-family:garamond,serif;color:rgb(51,51,51)"><font size="1">Member - \
Integration Technologies Management Committee; <br></font></span><span \
style="font-family:garamond,serif;color:rgb(51,51,51)"><font size="1">Technical Lead; \
</font></span><span style="font-family:garamond,serif;color:rgb(51,51,51)"><font \
size="1">WSO2 Inc.; <a href="http://wso2.com" \
target="_blank">http://wso2.com</a></font></span><i \
style="font-family:garamond,serif;color:rgb(51,51,51)"><font size="1"><br>

Member; Apache Software Foundation; <a href="http://apache.org" \
target="_blank">http://apache.org</a><br><br>E-mail: senaka AT <a \
href="http://wso2.com" target="_blank">wso2.com</a><br></font></i><i \
style="font-family:garamond,serif;color:rgb(51,51,51)"><font size="1">P: +1 408 754 \
7388; ext: 51736</font></i>; <i \
style="font-family:garamond,serif;color:rgb(51,51,51)"><font size="1">M: +94 77 322 \
1818<br>

Linked-In: <a href="http://linkedin.com/in/senakafernando" \
target="_blank">http://linkedin.com/in/senakafernando</a><br><br></font></i><span \
style="font-family:garamond,serif;color:rgb(51,51,51)"><font size="1">Lean . \
Enterprise . Middleware</font></span><br>

<br>
</div>



_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic