Done the changes according to comments

@Kernel Team,

Can you please merge the PR
https://github.com/wso2/carbon4-kernel/pull/147

Thanks

On Tue, Feb 24, 2015 at 1:04 PM, Johann Nallathamby <[email protected]> wrote:

> Commented on the PR. Once resolved can merge PR.
>
> On Tue, Feb 24, 2015 at 12:29 PM, Chanika Geeganage <[email protected]>
> wrote:
>
>> Hi,
>>
>> The user.core depends on ndatasource.rdbms module to get a datasource for
>> realm datasource and user store datasource. Recently we had to add
>> ndatasource.core dependency to ndatasource.rdbms module in order to fix an
>> issue. Then it created a cyclic dependency with the following order.
>>
>> org.wso2.carbon.ndatasource.core --> org.wso2.carbon.core -->
>> org.wso2.carbon.registry.core --> org.wso2.carbon.user.core -->
>> org.wso2.carbon.ndatasource.rdbms --> org.wso2.carbon.ndatasource.core
>>
>> As the user.core module is in top of the dependency tree, it should not
>> be depend on a module which is in the lower level in the dependency tree.
>> Therefore I have changed the user.core module to directly get datasource
>> using tomcat.jdbc.pool.DataSource. The PR [1] has the changes done.
>>
>> @Johann Please review the PR
>>
>> [1] https://github.com/wso2/carbon4-kernel/pull/147
>>
>> --
>> Best Regards..
>>
>> Chanika Geeganage
>> Software Engineer
>> Mobile : +94773522586
>> WSO2, Inc.; http://wso2.com
>>
>>
>
>
> --
> Thanks & Regards,
>
> *Johann Dilantha Nallathamby*
> Associate Technical Lead & Product Lead of WSO2 Identity Server
> Integration Technologies Team
> WSO2, Inc.
> lean.enterprise.middleware
>
> Mobile - *+94777776950*
> Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
>



-- 
Best Regards..

Chanika Geeganage
Software Engineer
Mobile : +94773522586
WSO2, Inc.; http://wso2.com
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to