Hi Peter, This may be a silly question to you, but I am newbie and I was wondering how do I test the test plug-in? From my understanding, I compile it as a jar, put it in the plugin folder of neo4J and it should work. But how do I call it from localhost to actually test it and see that it returns the right thing?
Best, Lidia D. On Thursday, August 29, 2013 8:31:38 AM UTC-4, Peter Neubauer wrote: > > Amit, > just try the example plugins. You basically return Nodes, relationships or > Collections thereof, the rest is infered by the Neo4j Server framework. > What are you trying to return? > > You don't need to implement/subclass Nodes.java or Relationship.java/ > > /peter > > G: neubauer.peter > S: peter.neubauer > P: +46 704 106975 > L: http://www.linkedin.com/in/neubauer > T: @peterneubauer > > Kids in Malmö this summer? - http://www.kidscraft.se > Neo4j questions? Use GraphGist. - http:// > <http://stackoverflow.com/search?q=neo4j>gist.neo4j.org > > > On Thu, Aug 29, 2013 at 2:22 PM, Amit Aggarwal <[email protected] > <javascript:>> wrote: > >> Hmm .. >> And what about interfaces ... which class implement Node , Relationship >> interfaces ? >> >> >> On Thursday, 29 August 2013 17:35:39 UTC+5:30, Michael Hunger wrote: >> >>> Amit, >>> >>> what do you want to solve with the plugin? >>> >>> There is a nice example: http://docs.neo4j.org/chunked/stable/server- >>> plugins.html >>> >>> PluginTarget is the endpoint it gets added to. E.g. >>> /node/id/* for @PluginTarget( Node.class ) >>> /db/data/* for target @PluginTarget( GraphDatabaseService.class ) >>> >>> just use GraphDatabaseService which you get injected to access nodes and >>> relationships. >>> >>> >>> Am 29.08.2013 um 13:06 schrieb Amit Aggarwal <[email protected]>: >>> >>> Hello All, >>> >>> I am developing server plugin (Neo4j 2.0). >>> >>> I have three questions >>> ques 1 -> What is the purpose of @PluginTarget ?? I read documentation >>> but didn't able to understand >>> ques 2 -> I browsed java APIs , I found All Node, relationShip are >>> interfaces then how can i use it >>> ques 3- > Which classes are implementing these interfaces ? Or what is >>> the magic ? >>> >>> >>> Thanks >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Neo4j" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Neo4j" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
