The ReactiveDriver
class takes a Neo4j Driver and enhances it with reactive (or incremental) change notifications by applying the Decorator pattern.
The EmbeddedTestkitDriver
class starts an embedded Neo4j instance and provides the Driver interface to access its data. This greatly simplifies testing Neo4j-based applications. The driver can use two kinds of GraphDatabase
instances:
-
ImpermanentGraphDatabase
(default) -
EmbeddedGraphDatabase
(if the client specifies thestoreDir
parameter)
To install to your local Maven repository, issue the following command:
./gradlew publishT
This will invoke the publishToMavenLocal
goal.
To use this from a Gradle project, add the following dependency:
compile group: 'neo4j-drivers', name: '...', version: '0.0.3-SNAPSHOT'
Use the following command:
./gradlew upload
Copy the files from the repository to wherever you'd like to deploy your artifacts.
The neo4j-embedded-testkit-driver
project is available under the GPLv3 license. The neo4j-reactive-driver
and the neo4j-driver-util
projects are available under the Eclipse Public License v1.0.