Hi Florent, Thanks for the reply. You said that we have to translate chemistry instructions into lenya repository compliant instructions. What I understood is we have to give a client API with apache chemestry as well as a CMIS server implementation which is the client API communicating. Inside that server implementation we are going to call lenya repository. Is that he thing you mentioned ?
I am referring to this kind of CMIS server implementation. http://chemistry.apache.org/java/how-to/how-to-create-server.html Regards Lasitha Chamara On Tue, Apr 30, 2013 at 3:33 PM, Florent André <flor...@apache.org> wrote: > hi, > > > On 04/30/2013 10:51 AM, Lsitha Chamara wrote: > >> Hi, >> >> Can we connect to the lenya repository using apache chemestry workbench ? >> > > This is the glue you have to develop in order to get chemistry > instructions translated into lenya repository compliant instructions. > > > If we run Lenya using built in jetty server what is the location it >> creates the lenya repository ? >> >> > by default the repository for each publication is here : > lenya/lenya/pubs/$PUBLICATION_**NAME/content/ > > (with embedded jetty you may remove the first "lenya" folder) > > You can define another location for each publication by modifying the file > : $MYPUB_HOME/config/**publication.xml > with > <content-dir src="/home/john/src/lenya/**data/content"/> > > change src for any folder you want. > > PS : > some documentation about the repository : http://lenya.apache.org/** > docu20/reference/repository.**html<http://lenya.apache.org/docu20/reference/repository.html>and > the access control : > http://lenya.apache.org/**docu20/reference/ac-**restricted.html<http://lenya.apache.org/docu20/reference/ac-restricted.html> > > If you don't have already read this, http://lenya.apache.org/** > docu20/tutorials/**newPublication14.html<http://lenya.apache.org/docu20/tutorials/newPublication14.html> > > ++ > > Thanks >> Lasitha Chamara >> >> >> On Tue, Apr 30, 2013 at 12:34 PM, Lsitha Chamara >> <lchamara.s...@gmail.com >> <mailto:lchamara.slit@gmail.**com<lchamara.s...@gmail.com>>> >> wrote: >> >> Hi Florent, >> >> Thanks for the information. I will go through this. If there any >> concerns I will send you. >> >> Regards >> Lasitha Chamara >> >> >> >> On Tue, Apr 30, 2013 at 4:20 AM, Florent André <flor...@apache.org >> <mailto:flor...@apache.org>> wrote: >> >> Hi Lsitha, >> >> Sorry for late reply, was out of internet. >> >> == About atom module >> >> You can find it here : >> http://svn.apache.org/repos/__**asf/lenya/contributions/2_0_X/** >> __modules/atom/<http://svn.apache.org/repos/__asf/lenya/contributions/2_0_X/__modules/atom/> >> >> <http://svn.apache.org/repos/**asf/lenya/contributions/2_0_X/** >> modules/atom/<http://svn.apache.org/repos/asf/lenya/contributions/2_0_X/modules/atom/> >> > >> >> Add it into you build is about referencing this module in your >> local.build.property, or add this module into an already >> configured module folder. >> >> == About Chemistry >> >> Chemistry provide an CMIS implementation pluggable to any >> repository. >> Chemistry provide the CMIS stuff, the developer have to >> implement the glue between Chemistry classes and "in house" >> repository. >> >> == About repository >> >> Main classes and api about repository are here : >> http://svn.apache.org/repos/__**asf/lenya/branches/BRANCH_2_1_** >> __X/src/java/org/apache/lenya/**__cms/repository/<http://svn.apache.org/repos/__asf/lenya/branches/BRANCH_2_1___X/src/java/org/apache/lenya/__cms/repository/> >> >> <http://svn.apache.org/repos/**asf/lenya/branches/BRANCH_2_1_** >> X/src/java/org/apache/lenya/**cms/repository/<http://svn.apache.org/repos/asf/lenya/branches/BRANCH_2_1_X/src/java/org/apache/lenya/cms/repository/> >> > >> >> As you can see the api for the repository is not pretty well >> define and need rework. >> >> == How to proceed >> >> I think that a good plan, and an easy way to start, will be to >> first create the "glue" beetween chemistry and existing >> repository. >> Even if the actual one have no clear interface, it's work and >> this development will give you good ideas on limits and good >> points of this implementation. >> >> In a second step, you can then start designing a new repository >> api and implementation that can be plug behind chemistry. >> >> == About Spring >> >> From my point of view, Spring technologies is between IOC >> actually provided by avalon/excalibur [1] actually used in Lenya >> and OSGI technologies that are recent, powerfull and in the >> target for the future of Lenya. >> >> Still for me, I find Spring big, really verbose and no so >> maintainable (I don't have big spring experience though). >> >> Apart from that, Lenya already have an authentication / >> authorization mechanism that is pretty simple and configurable >> via the user interface or files. >> In order to have a good integration of the CMIS with Lenya I >> think we have to rely on that. >> >> Regards. >> >> >> [1] they are retired projects, but still core of the cocoon >> version used by Lenya : >> >> http://avalon.apache.org/__**closed.html<http://avalon.apache.org/__closed.html> >> >> >> <http://avalon.apache.org/**closed.html<http://avalon.apache.org/closed.html> >> > >> http://excalibur.apache.org/ >> >> >> >> >> On 04/28/2013 06:53 AM, Lsitha Chamara wrote: >> >> Hi Florent, >> >> What I understood is what I have to do is define generic api >> which can >> be used by multiple module to access Lenya repository by >> using apache >> chemistry. I thought of implementing this using spring >> restful services >> (Spring controllers) so that repository handling operations >> will be >> centralized. Ans as for the authentication mechanism I >> though of using a >> URL based authentication mechanism (Define a dispatcher >> servlet and a >> fliter for authenticate users to perform the repository >> operations ) .I >> went through spring security framework and they have done it. >> >> It would be nice if you can comment your idea on this. >> >> Thanks >> Lasitha Chamara >> >> >> >> On Sat, Apr 27, 2013 at 5:43 AM, Lsitha Chamara >> <lchamara.s...@gmail.com >> <mailto:lchamara.slit@gmail.**com<lchamara.s...@gmail.com> >> > >> <mailto:lchamara.slit@gmail.__**com >> >> <mailto:lchamara.slit@gmail.**com <lchamara.s...@gmail.com>>>> >> wrote: >> >> Hi Florent, >> >> Because of my hospitalization I could not go in deep in >> Lenya code >> base. Could you please help me to get an idea about how >> to set up >> atom module ? A document would be nice to get an idea >> about >> repository apis and the steps of installing a module. >> It would be helpful for me to create a god proposal. >> Since I am free >> for next week with my academic stuff (lectures and >> Tutes) i can >> fully concentrate on this. >> >> I have gone through Apache chemistry and I thought of >> connecting to >> the Lenya CMIS using chemistry and run some sample >> queries against >> it. Still I am strucggiling to find the chemistry repo >> Url. >> >> Your help on this is highly appreciated. >> >> >> On Fri, Apr 26, 2013 at 8:29 AM, Lsitha Chamara >> <lchamara.s...@gmail.com >> <mailto:lchamara.slit@gmail.**com <lchamara.s...@gmail.com>> >> <mailto:lchamara.slit@gmail.__**com >> >> <mailto:lchamara.slit@gmail.**com <lchamara.s...@gmail.com>>>> >> wrote: >> >> Hi Florent, >> >> I went trough Apache chemistry and could >> successfully setup >> OPenCmis and connect to the inmemory content >> repository. And >> play with the API functionalists provided by apache >> chemistry. >> Also worked with the workbench provided by Apache >> Chemistry. >> >> Regarding the apache lenya I could successfully >> setup Cocoon and >> lenya, finally create the lenya instance up. I am >> using this >> version. >> >> >> http://svn.apache.org/repos/__**asf/lenya/tags/RELEASE_2_0_4<http://svn.apache.org/repos/__asf/lenya/tags/RELEASE_2_0_4> >> >> >> <http://svn.apache.org/repos/**asf/lenya/tags/RELEASE_2_0_4<http://svn.apache.org/repos/asf/lenya/tags/RELEASE_2_0_4> >> > >> >> Initially I though of going trough the atom module >> and i >> couldn't found it in this revision. Is this a >> plugin to the >> lenya that we need to explicitly install ? >> >> >> Does apache lenya already has a content repository >> which >> supports CMIS standards ? >> >> Regards >> Lasitha Chamara >> >> >> On Wed, Apr 24, 2013 at 1:41 PM, Florent André >> <flor...@apache.org <mailto:flor...@apache.org> >> <mailto:flor...@apache.org <mailto:flor...@apache.org>>> >> wrote: >> >> Hi, >> >> What do you mean by "entry point" exactly ? ;) >> >> I think that maven migration is out of the >> scope of the >> Gsoc2013 as you may have enough work with the >> repository api >> definition and CMIS implementation. >> >> I think it's better for you to start from the >> "ant version", >> maven conversion of your code couldn't be that >> hard. >> >> I will try to finish the maven migration before >> the summer, >> but really not sure to achieve this goal in the >> timeline... >> So, to be clear, don't think about this >> migration for now, >> it's on my side, stay focused on the CMIS and >> repository >> definition ! :) >> >> Have you already writing down your proposal ? >> >> What about your Lenya discovery ? >> Have you begin to have look at Apache Chemistry ? >> >> Hope you are fine, >> Regards. >> >> >> >> >> >> On 04/24/2013 09:50 AM, Lsitha Chamara wrote: >> >> hi Florent, >> >> So you are suggesting me to take the maven >> migration as >> an entry point >> or make as GSOC 2013 project ? Sorry..I did >> not get you >> actually. >> >> Regards >> Lasitha >> >> >> On Tue, Apr 23, 2013 at 7:24 PM, Florent >> André >> <flor...@apache.org >> <mailto:flor...@apache.org> <mailto:flor...@apache.org >> <mailto:flor...@apache.org>> >> <mailto:flor...@apache.org >> <mailto:flor...@apache.org> <mailto:flor...@apache.org >> <mailto:flor...@apache.org>>>> >> >> wrote: >> >> Hi Lsitha ! >> >> Sorry for missing your mail... >> Read it, says "will answer better and >> later", and >> then many things >> appends... >> >> Hope you are going much better now, >> and that your >> problem don't have >> much consequences. >> >> Just as an update, the ASF was accepted >> as >> organisation for Gsoc, >> and ask for acknowledge to be a mentor >> for the >> Lenya project (no >> blocker here). >> As you may notice, student application >> is now open. >> >> About the maven task, I may be too >> much to add this >> to the GSOC 2013 >> idea, but be a must have to had this >> as an entry point. >> >> Have to check when the GSOC start and >> find time to >> sort this maven >> things out before. Of course, if you >> are ready to >> give an hand on >> it, you are welcome ! :) >> >> Will be more responsive now on your >> following mails >> ! :) >> Hope you going well, >> Cheers. >> >> ++ >> >> >> On 04/10/2013 06:18 AM, Lsitha Chamara >> wrote: >> >> hi Florent, >> >> I was hospitalized within last two >> weeks. And >> now fully >> recovered. I am >> sorry for not to responding to >> your mails. I >> will work on this. >> And let >> you know if I am having issues. >> And thank you >> very much for the >> support. >> >> So are we going to implement this >> migration to >> maven task as for the >> GSOC 2013 ? Or to we are going to >> do this as a >> entry point for >> the code >> base.? >> >> >> >> On Fri, Apr 5, 2013 at 7:39 PM, >> florent andré >> <florent.andre-dev@4sengines._** >> _____com >> >> <mailto:florent.andre-dev@ >> >> <mailto:florent.andre-dev@>__4**s__engines.com<http://4s__engines.com> >> <http://4sengines.com> >> >> <mailto:florent.andre-dev@__4s**engines.com<http://4sengines.com> >> >> <mailto:florent.andre-dev@**4sengines.com<florent.andre-...@4sengines.com> >> >>> >> <mailto:florent.andre-dev@ >> <mailto:florent.andre-dev@> >> <mailto:florent.andre-dev@ >> >> <mailto:florent.andre-dev@>>__**4__s__engines.com<http://4__s__engines.com> >> <http://4s__engines.com> >> <http://4sengines.com> >> >> >> >> <mailto:florent.andre-dev@ >> >> <mailto:florent.andre-dev@>__4**s__engines.com<http://4s__engines.com> >> <http://4sengines.com> >> >> <mailto:florent.andre-dev@__4s**engines.com<http://4sengines.com> >> >> <mailto:florent.andre-dev@**4sengines.com<florent.andre-...@4sengines.com>>>>>> >> wrote: >> >> Hi Lsitha ! >> >> Just to inform you that the >> Apache >> Software foundation has >> apply to >> GSOC. As apache is in for >> years there is >> no reasons that >> this will >> not be the case this year. >> >> Also, just as a note, you can >> find here >> some works I have >> done for >> moving Lenya to the maven >> build system. >> This is not >> completely done >> for now, but I would like to >> achieve it >> before the beginning of >> summer. You can find some >> code here : >> https://github.com/florent-___** >> _____andre/lenya/tree/maven-__**______migration<https://github.com/florent-________andre/lenya/tree/maven-________migration> >> <https://github.com/florent-__** >> ____andre/lenya/tree/maven-___**___migration<https://github.com/florent-______andre/lenya/tree/maven-______migration> >> > >> >> >> <https://github.com/florent-__** >> ____andre/lenya/tree/maven-___**___migration<https://github.com/florent-______andre/lenya/tree/maven-______migration> >> <https://github.com/florent-__**__andre/lenya/tree/maven-____ >> **migration<https://github.com/florent-____andre/lenya/tree/maven-____migration> >> >> >> >> >> >> <https://github.com/florent-__** >> ____andre/lenya/tree/maven-___**___migration<https://github.com/florent-______andre/lenya/tree/maven-______migration> >> <https://github.com/florent-__**__andre/lenya/tree/maven-____ >> **migration<https://github.com/florent-____andre/lenya/tree/maven-____migration> >> > >> >> <https://github.com/florent-__**__andre/lenya/tree/maven-____ >> **migration<https://github.com/florent-____andre/lenya/tree/maven-____migration> >> <https://github.com/florent-__**andre/lenya/tree/maven-__** >> migration<https://github.com/florent-__andre/lenya/tree/maven-__migration> >> >>> >> >> >> >> >> >> <https://github.com/florent-__** >> ____andre/lenya/tree/maven-___**___migration<https://github.com/florent-______andre/lenya/tree/maven-______migration> >> <https://github.com/florent-__**__andre/lenya/tree/maven-____ >> **migration<https://github.com/florent-____andre/lenya/tree/maven-____migration> >> > >> >> <https://github.com/florent-__**__andre/lenya/tree/maven-____ >> **migration<https://github.com/florent-____andre/lenya/tree/maven-____migration> >> <https://github.com/florent-__**andre/lenya/tree/maven-__** >> migration<https://github.com/florent-__andre/lenya/tree/maven-__migration> >> >> >> >> >> <https://github.com/florent-__**__andre/lenya/tree/maven-____ >> **migration<https://github.com/florent-____andre/lenya/tree/maven-____migration> >> <https://github.com/florent-__**andre/lenya/tree/maven-__** >> migration<https://github.com/florent-__andre/lenya/tree/maven-__migration> >> > >> >> <https://github.com/florent-__**andre/lenya/tree/maven-__** >> migration<https://github.com/florent-__andre/lenya/tree/maven-__migration> >> <https://github.com/florent-**andre/lenya/tree/maven-** >> migration <https://github.com/florent-andre/lenya/tree/maven-migration> >> >>>> >> >> Don't hesitate to ask any >> questions you >> have to me or >> directly on >> the mailing list. >> >> Have a good day. >> ++ >> >> >> >> >> >> >> >> >>