What I meant was, in the <Include> we also specify the tenants to be
excluded from eager loading. So, <Include> element might not make sense.
Anyway, I'm okay if you think that <Include> is more suitable for the
config element.

Thanks!

On Wed, Dec 17, 2014 at 6:08 PM, Afkham Azeez <[email protected]> wrote:
>
> Tenants is already implied.
>
> On Wed, Dec 17, 2014 at 6:02 PM, Isuru Perera <[email protected]> wrote:
>>
>> With the new change, does it make sense to use "<Include>" as the element
>> name? I think it should be "Tenants" "TenantDomains".
>>
>> On Tue, Dec 16, 2014 at 1:01 PM, Afkham Azeez <[email protected]> wrote:
>>
>>> Modified config to use LDAP filter syntax
>>>
>>> <Tenant>
>>>         <LoadingPolicy>
>>>             <LazyLoading>
>>>                 <!-- Tenant idle time in minutes -->
>>>                 <IdleTime>30</IdleTime>
>>>             </LazyLoading>
>>>             <EagerLoading>
>>>                 <Include>*,!foo.com,!bar.com</Include>
>>>             </EagerLoading>
>>>         </LoadingPolicy>
>>>     </Tenant>
>>>
>>> On Tue, Dec 16, 2014 at 12:27 PM, Afkham Azeez <[email protected]> wrote:
>>>>
>>>>     <!--
>>>>      Configuration related to multitenancy
>>>>     -->
>>>>     <Tenant>
>>>>         <LoadingPolicy>
>>>>             <LazyLoading>
>>>>                 <!-- Tenant idle time in minutes -->
>>>>                 <IdleTime>30</IdleTime>
>>>>             </LazyLoading>
>>>>             <EagerLoading>
>>>>                 <Includes>
>>>>                     <Include>*</Include>
>>>>                 </Includes>
>>>>                 <Excludes>
>>>>                     <Exclude>wso2.com</Exclude>
>>>>                     <Exclude>ibm.com</Exclude>
>>>>                 </Excludes>
>>>>             </EagerLoading>
>>>>         </LoadingPolicy>
>>>>     </Tenant>
>>>>
>>>>
>>>> --
>>>> *Afkham Azeez*
>>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>>> Member; Apache Software Foundation; http://www.apache.org/
>>>> * <http://www.apache.org/>*
>>>> *email: **[email protected]* <[email protected]>
>>>> * cell: +94 77 3320919 <%2B94%2077%203320919>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
>>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>>
>>>> *Lean . Enterprise . Middleware*
>>>>
>>>
>>>
>>> --
>>> *Afkham Azeez*
>>> Director of Architecture; WSO2, Inc.; http://wso2.com
>>> Member; Apache Software Foundation; http://www.apache.org/
>>> * <http://www.apache.org/>*
>>> *email: **[email protected]* <[email protected]>
>>> * cell: +94 77 3320919 <%2B94%2077%203320919>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
>>> <http://lk.linkedin.com/in/afkhamazeez>*
>>>
>>> *Lean . Enterprise . Middleware*
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> --
>> Isuru Perera
>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>> Lean . Enterprise . Middleware
>>
>> about.me/chrishantha
>>
>
>
> --
> *Afkham Azeez*
> Director of Architecture; WSO2, Inc.; http://wso2.com
> Member; Apache Software Foundation; http://www.apache.org/
> * <http://www.apache.org/>*
> *email: **[email protected]* <[email protected]>
> * cell: +94 77 3320919 <%2B94%2077%203320919>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
> <http://lk.linkedin.com/in/afkhamazeez>*
>
> *Lean . Enterprise . Middleware*
>


-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to