Starting with the APOC-bundle to guide the transition and provide both a starting and reference point sounds really good to me.
I'd be willing to get started with a nice pax-constructed project in labs, while you lounge away in Iceland. I'll try to time the biggest changes for when you're the least capable of paying attention ;) . How do I sign up? Sent from my iPhone On Jul 7, 2009, at 8:22 AM, Peter Neubauer <neubauer.pe...@gmail.com> wrote: > Hi Andreas, > thanks for your feedback! > > IMHO the OSGi-friendliness-projects should occur in two steps: > > 1. Make all jars OSGi - lib - friendly > - see over the Manifest.mf for all components and check that we have > all required OSGi Attributes in there > - make sure there are no namespace clashes between Neo4j components, > refactor where that occurs. > > 2. Provide a component that wraps and exposes the Neo4j APOC > (http://wiki.neo4j.org/content/Getting_Started_With_Apoc) components > services and public APIs in an OSGi bundle > - introduce a new component, Neo4j-APOC-bundle > - write an Actviator that instantiates and registers the main APOC > services like EmbeddedNeo, IndexServices etc etc > - provide ConfigAdmin integration for setting parameters, storage dirs > etc etc and document it. > - move the project out the the other components > > > So, I think first, we should start a new laboratory component and get > PaxExam up and running, pulling in more and more Neo4j bundles and > fixing the problems as we go in the other components. > > Regarding APOC, it is a collection of useful Neo4j default components, > and IMHO that is a good scope to start from. If people want to fine > tune this and e.g. just expose EmbeddedNeo but not the Shell service, > then we either might provide more bundles, more configuration at > startup or they can look at the APOC bundle code and roll their own > activators. WDYT? > > > You are very welcome to start the process by submitting issues in > TRAC, but as I said, I will be away for 2 weeks from Thursday, so I > can chip in first afterward. > > WDYT? > > /peter > > GTalk: neubauer.peter > Skype peter.neubauer > Phone +46 704 106975 > LinkedIn http://www.linkedin.com/in/neubauer > Twitter http://twitter.com/peterneubauer > > http://www.neo4j.org - New Energy for Data - The Graph Database. > http://www.ops4j.org - New Energy for OSS Communities - Open > Participation Software. > http://www.oredev.org - Where Good Geeks Grok. > > > > On Tue, Jul 7, 2009 at 2:03 PM, Andreas > Kollegger<akolleg...@tembopublic.org> wrote: >> Hi Peter, >> >> Submitting patches would be a simple way to start, for now. I'll just >> use my own local snapshots of trunk until they get folded in. I'll >> use >> the keyword "osgi" on the trac tickets. For pax-exam tests, would you >> prefer a separate directory, like src/exam/java or a naming >> convention >> to distinguish integration tests from unit tests? >> >> -Andreas >> >> On Jul 7, 2009, at 1:54 AM, Peter Neubauer wrote: >> >>> Hi Andreas, >>> I have had that on my todo-list for quite a while but not really >>> started that effort. It seems the time may be right to finally start >>> on OSGi-fying all jars. So, if you have patches or failing test >>> cases, >>> please send them to me and I will start a laboratory project to test >>> OSGi things with the awesome OPS4J Pax Exam. >>> >>> Otherwise, if you sign a CLA with Neo4j, you can start yourself - I >>> will be on holiday the next 2 weeks and not be able to do much from >>> the warm springs of Iceland :) >>> >>> /peter >>> >>> GTalk: neubauer.peter >>> Skype peter.neubauer >>> Phone +46 704 106975 >>> LinkedIn http://www.linkedin.com/in/neubauer >>> Twitter http://twitter.com/peterneubauer >>> >>> http://www.neo4j.org - New Energy for Data - The Graph Database. >>> http://www.ops4j.org - New Energy for OSS Communities - Open >>> Participation Software. >>> http://www.oredev.org - Where Good Geeks Grok. >>> >>> >>> >>> On Tue, Jul 7, 2009 at 5:12 AM, Andreas >>> Kollegger<akolleg...@tembopublic.org> wrote: >>>> Hi, >>>> >>>> I'm attempting to use Neo4j in an OSGi environment. I have been >>>> able >>>> to port the IMDB example to run under Apache Felix, and using the >>>> fun >>>> Apache Sling framework instead of Spring for the web ui. For the >>>> most >>>> part, I've had success simply wrapping the available maven >>>> artifacts >>>> and exposing the services in separate bundles. Some things have >>>> required less-than-best-practices to solve, though, like >>>> compensating >>>> for neo-component-commons and neo-utils both exporting the >>>> org.neo4j.util package. >>>> >>>> I've noticed some discussion about Neo4j with OSGi, and there looks >>>> to >>>> be a smattering of OSGi-ness in the code. Is there an ongoing >>>> effort >>>> to make all the jars OSGi-friendly? I'd be happy to submit >>>> patches to >>>> contribute towards that effort. >>>> >>>> -Andreas >>>> >>>> _______________________________________________ >>>> Neo mailing list >>>> User@lists.neo4j.org >>>> https://lists.neo4j.org/mailman/listinfo/user >>>> >>> _______________________________________________ >>> Neo mailing list >>> User@lists.neo4j.org >>> https://lists.neo4j.org/mailman/listinfo/user >> >> _______________________________________________ >> Neo mailing list >> User@lists.neo4j.org >> https://lists.neo4j.org/mailman/listinfo/user >> > _______________________________________________ > Neo mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user