This is the old way of doing 
it: 
https://github.com/dmontag/neo4j-unmanaged-extension-template/blob/master/src/test/java/org/neo4j/example/unmanagedextension/MyServiceFunctionalTest.java#L37

On Wednesday, November 4, 2015 at 12:48:22 PM UTC-6, Martin Junghanns wrote:
>
> Hi, 
> I am working on a Neo4jInput-/OutputFormat for Apache Flink [1]. The input 
> format uses the
> REST API to stream cypher query results into Flink tuples. At the moment I 
> am testing against a
> running Neo4j instance, which I now want to replace with decent unit 
> testing. I played around with
> neo4j-harness as documented [2]. 
> The problem is, that as soon as I get Flink and neo4j-harness into the 
> same maven project, the 
> dependencies conflict. I tried to figure out what causes the problems 
> using maven exclude mechanism.
> There were different versions for jersey and Scala (neo4j uses more recent 
> versions). Of course I
> cannot exclude dependencies from flink as I want to contribute the Format 
> to Flink eventually.
>
> Is there maybe another, more slim way to test Neo4j with REST? I just need 
> to send Cypher queries,
> nothing fancy.
>
> Thanks in advance!
>
> Best,
> Martin
>
> [1] https://github.com/s1ck/flink-neo4j
> [2] http://neo4j.com/docs/stable/server-unmanaged-extensions-testing.html
>
> Neo4j 2.3.0
> Flink 0.10-SNAPSHOT
>

-- 
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.

Reply via email to