Re: [Dev] Fwd: Gsoc Project proposal 21
Hi Asantha, Following two online courses (duration : 1 and 1/2 months) at MongoDB University started yesterday. We recommend you to enroll for these courses and follow them which would help you for working on this project. M101P: MongoDB for Developers [1] M101J: MongoDB for Java Developers [2] [1] https://university.mongodb.com/courses/M101P/about [2] https://university.mongodb.com/courses/M101J/about Thanks, Tharindu Edirisinghe On Wed, Mar 16, 2016 at 7:10 AM, Tharindu Edirisinghe wrote: > Hi Asantha, > > We appreciate your quick response and sharing your WSO2 experience via the > blog. Keep on progressing on the project and if you get stuck at any point, > don't hesitate to reach us. We will share some details regarding sending > the project proposal soon. > > Thank you, > Tharindu Edirisinghe > > On Wed, Mar 16, 2016 at 2:32 AM, Asantha Thilina > wrote: > >> >> -- Forwarded message -- >> From: Asantha Thilina >> Date: Tue, Mar 15, 2016 at 1:46 PM >> Subject: Re: Gsoc Project proposal 21 >> To: Tharindu Edirisinghe >> >> >> Hi Tharindu, >> >> Thanks for the reply look forward for you feedback meanwhile i created a >> new blog and posted what i have learn so far in their [1].I will keep >> progressing through the project and update my status in blog as well as to >> you >> >> [1]. http://asanthamax.blogspot.com/ >> >> Thanks, >> Regards, >> Asantha >> >> On Mon, Mar 14, 2016 at 6:33 PM, Tharindu Edirisinghe > > wrote: >> >>> Hi Asantha, >>> >>> Great work ! We will check the source code and provide you feedback >>> soon. Regarding implementing the interface rather than extending the >>> JDBCUserStoreManager class... yes here we can and have to implement all the >>> methods from the scratch because we won't be be able to reuse any code used >>> in RDBMSs. As you progress through the project, write your experiences in a >>> blog too... >>> >>> Thanks, >>> TharinduE >>> >>> On Tue, Mar 15, 2016 at 2:48 AM, Asantha Thilina < >>> asanthathil...@gmail.com> wrote: >>> Hi Tharindu, with the help of your guidance and reference links you sent i been able to create partially completed working sample of user store for mongodb ,i created the userstore by implementing the UserStoreManager interface is it a better way to implement the user store? here i shared my work in [1].hope for your feedback to continue the user store development, Now i'm in the stage of developing the database architecture for mongodb and i will soon update all my works done so far in my blog [1] https://github.com/asanthamax/mongodbuserstore Thanks, Regards, Asantha On Sat, Mar 12, 2016 at 1:28 AM, Tharindu Edirisinghe < tharin...@wso2.com> wrote: > Hi Asantha, > > Glad to see you are progressing through the project. > > Since you are trying this in Identity Server 5.1.0, you need to update > the dependencies with correct versions as below. > > > org.wso2.carbon > org.wso2.carbon.user.core > 4.4.3 > > > org.wso2.carbon > org.wso2.carbon.user.api > 4.4.3 > > > > Also for the OSGI issue, I used the maven-scr-plugin 1.7.2 version and > could get the OSGI bundle created properly. > > org.apache.felix > maven-scr-plugin > 1.7.2 > > > I have sent a pull request [1] with these changes to your GIT repo. > > When you extend the AbstractUserStoreManager class, you must implement > the following two methods. > > > public Properties getDefaultUserStoreProperties() { > return null; > } > > public Map getProperties(Tenant tenant) throws > UserStoreException { > return null; > } > > If you have not implemented those two methods, then in the management > console UI, userstores dropdown, your userstore manager will not appear. > > You can find a working sample in [2]. However it is done for IS 5.0.0 > version, but you can modify the dependencies in POM file as above and get > it working on IS 5.1.0. > > Once you get it to working, you can refactor the code and add your own > implementation for the MongoDB userstore manager so that you won't face > any > OSGI related issues. > > [1] https://github.com/asanthamax/mongodbuserstoremanager/pull/1/files > > [2] > https://svn.wso2.org/repos/wso2/people/tharindue/customuserstore/mystore/ > > Thanks, > TharinduE > > On Sat, Mar 12, 2016 at 1:33 AM, Asantha Thilina < > asanthathil...@gmail.com> wrote: > >> Hi tharindu, >> >> currently i'm in the development stage of mongodb user store manager >> and i implemented some modules to communicate with mongodb and i shared >> what i have done so far in github[1]. can you review my code and give me >> a >> feedback whether my approach is correct o
Re: [Dev] Fwd: Gsoc Project proposal 21
Hi Asantha, We appreciate your quick response and sharing your WSO2 experience via the blog. Keep on progressing on the project and if you get stuck at any point, don't hesitate to reach us. We will share some details regarding sending the project proposal soon. Thank you, Tharindu Edirisinghe On Wed, Mar 16, 2016 at 2:32 AM, Asantha Thilina wrote: > > -- Forwarded message -- > From: Asantha Thilina > Date: Tue, Mar 15, 2016 at 1:46 PM > Subject: Re: Gsoc Project proposal 21 > To: Tharindu Edirisinghe > > > Hi Tharindu, > > Thanks for the reply look forward for you feedback meanwhile i created a > new blog and posted what i have learn so far in their [1].I will keep > progressing through the project and update my status in blog as well as to > you > > [1]. http://asanthamax.blogspot.com/ > > Thanks, > Regards, > Asantha > > On Mon, Mar 14, 2016 at 6:33 PM, Tharindu Edirisinghe > wrote: > >> Hi Asantha, >> >> Great work ! We will check the source code and provide you feedback soon. >> Regarding implementing the interface rather than extending the >> JDBCUserStoreManager class... yes here we can and have to implement all the >> methods from the scratch because we won't be be able to reuse any code used >> in RDBMSs. As you progress through the project, write your experiences in a >> blog too... >> >> Thanks, >> TharinduE >> >> On Tue, Mar 15, 2016 at 2:48 AM, Asantha Thilina < >> asanthathil...@gmail.com> wrote: >> >>> Hi Tharindu, >>> >>> with the help of your guidance and reference links you sent i been able >>> to create partially completed working sample of user store for mongodb ,i >>> created the userstore by implementing the UserStoreManager interface is it >>> a better way to implement the user store? here i shared my work in [1].hope >>> for your feedback to continue the user store development, >>> Now i'm in the stage of developing the database architecture for mongodb >>> and i will soon update all my works done so far in my blog >>> >>> [1] https://github.com/asanthamax/mongodbuserstore >>> >>> Thanks, >>> Regards, >>> Asantha >>> >>> On Sat, Mar 12, 2016 at 1:28 AM, Tharindu Edirisinghe < >>> tharin...@wso2.com> wrote: >>> Hi Asantha, Glad to see you are progressing through the project. Since you are trying this in Identity Server 5.1.0, you need to update the dependencies with correct versions as below. org.wso2.carbon org.wso2.carbon.user.core 4.4.3 org.wso2.carbon org.wso2.carbon.user.api 4.4.3 Also for the OSGI issue, I used the maven-scr-plugin 1.7.2 version and could get the OSGI bundle created properly. org.apache.felix maven-scr-plugin 1.7.2 I have sent a pull request [1] with these changes to your GIT repo. When you extend the AbstractUserStoreManager class, you must implement the following two methods. public Properties getDefaultUserStoreProperties() { return null; } public Map getProperties(Tenant tenant) throws UserStoreException { return null; } If you have not implemented those two methods, then in the management console UI, userstores dropdown, your userstore manager will not appear. You can find a working sample in [2]. However it is done for IS 5.0.0 version, but you can modify the dependencies in POM file as above and get it working on IS 5.1.0. Once you get it to working, you can refactor the code and add your own implementation for the MongoDB userstore manager so that you won't face any OSGI related issues. [1] https://github.com/asanthamax/mongodbuserstoremanager/pull/1/files [2] https://svn.wso2.org/repos/wso2/people/tharindue/customuserstore/mystore/ Thanks, TharinduE On Sat, Mar 12, 2016 at 1:33 AM, Asantha Thilina < asanthathil...@gmail.com> wrote: > Hi tharindu, > > currently i'm in the development stage of mongodb user store manager > and i implemented some modules to communicate with mongodb and i shared > what i have done so far in github[1]. can you review my code and give me a > feedback whether my approach is correct or has to be improve, I had some > questions while i developing user store,how can i make carbon core module? > and also how can i package osgi bundles inside jar folder i added > packaging as bundle in pom file but it's still not adding it to jar file > any idea or suggestion would be grateful. > > [1]. https://github.com/asanthamax/mongodbuserstoremanager > > thanks, > Best Regards, > Asantha > -- Tharindu Edirisinghe Software Engineer | WSO2 Inc Platform Security Team Blog : tharindue.blogspot.com mobile : +94 775181586 >>> >>> >> >> >> -- >> >> Tharindu Edi
[Dev] Fwd: Gsoc Project proposal 21
-- Forwarded message -- From: Asantha Thilina Date: Tue, Mar 15, 2016 at 1:46 PM Subject: Re: Gsoc Project proposal 21 To: Tharindu Edirisinghe Hi Tharindu, Thanks for the reply look forward for you feedback meanwhile i created a new blog and posted what i have learn so far in their [1].I will keep progressing through the project and update my status in blog as well as to you [1]. http://asanthamax.blogspot.com/ Thanks, Regards, Asantha On Mon, Mar 14, 2016 at 6:33 PM, Tharindu Edirisinghe wrote: > Hi Asantha, > > Great work ! We will check the source code and provide you feedback soon. > Regarding implementing the interface rather than extending the > JDBCUserStoreManager class... yes here we can and have to implement all the > methods from the scratch because we won't be be able to reuse any code used > in RDBMSs. As you progress through the project, write your experiences in a > blog too... > > Thanks, > TharinduE > > On Tue, Mar 15, 2016 at 2:48 AM, Asantha Thilina > wrote: > >> Hi Tharindu, >> >> with the help of your guidance and reference links you sent i been able >> to create partially completed working sample of user store for mongodb ,i >> created the userstore by implementing the UserStoreManager interface is it >> a better way to implement the user store? here i shared my work in [1].hope >> for your feedback to continue the user store development, >> Now i'm in the stage of developing the database architecture for mongodb >> and i will soon update all my works done so far in my blog >> >> [1] https://github.com/asanthamax/mongodbuserstore >> >> Thanks, >> Regards, >> Asantha >> >> On Sat, Mar 12, 2016 at 1:28 AM, Tharindu Edirisinghe > > wrote: >> >>> Hi Asantha, >>> >>> Glad to see you are progressing through the project. >>> >>> Since you are trying this in Identity Server 5.1.0, you need to update >>> the dependencies with correct versions as below. >>> >>> >>> org.wso2.carbon >>> org.wso2.carbon.user.core >>> 4.4.3 >>> >>> >>> org.wso2.carbon >>> org.wso2.carbon.user.api >>> 4.4.3 >>> >>> >>> >>> Also for the OSGI issue, I used the maven-scr-plugin 1.7.2 version and >>> could get the OSGI bundle created properly. >>> >>> org.apache.felix >>> maven-scr-plugin >>> 1.7.2 >>> >>> >>> I have sent a pull request [1] with these changes to your GIT repo. >>> >>> When you extend the AbstractUserStoreManager class, you must implement >>> the following two methods. >>> >>> >>> public Properties getDefaultUserStoreProperties() { >>> return null; >>> } >>> >>> public Map getProperties(Tenant tenant) throws >>> UserStoreException { >>> return null; >>> } >>> >>> If you have not implemented those two methods, then in the management >>> console UI, userstores dropdown, your userstore manager will not appear. >>> >>> You can find a working sample in [2]. However it is done for IS 5.0.0 >>> version, but you can modify the dependencies in POM file as above and get >>> it working on IS 5.1.0. >>> >>> Once you get it to working, you can refactor the code and add your own >>> implementation for the MongoDB userstore manager so that you won't face any >>> OSGI related issues. >>> >>> [1] https://github.com/asanthamax/mongodbuserstoremanager/pull/1/files >>> >>> [2] >>> https://svn.wso2.org/repos/wso2/people/tharindue/customuserstore/mystore/ >>> >>> Thanks, >>> TharinduE >>> >>> On Sat, Mar 12, 2016 at 1:33 AM, Asantha Thilina < >>> asanthathil...@gmail.com> wrote: >>> Hi tharindu, currently i'm in the development stage of mongodb user store manager and i implemented some modules to communicate with mongodb and i shared what i have done so far in github[1]. can you review my code and give me a feedback whether my approach is correct or has to be improve, I had some questions while i developing user store,how can i make carbon core module? and also how can i package osgi bundles inside jar folder i added packaging as bundle in pom file but it's still not adding it to jar file any idea or suggestion would be grateful. [1]. https://github.com/asanthamax/mongodbuserstoremanager thanks, Best Regards, Asantha >>> >>> >>> >>> -- >>> >>> Tharindu Edirisinghe >>> Software Engineer | WSO2 Inc >>> Platform Security Team >>> Blog : tharindue.blogspot.com >>> mobile : +94 775181586 >>> >> >> > > > -- > > Tharindu Edirisinghe > Software Engineer | WSO2 Inc > Platform Security Team > Blog : tharindue.blogspot.com > mobile : +94 775181586 > ___ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev