High Performance Neo4j Sample Service
-
Build it:
mvn clean package
-
Copy target/archetype_extension-1.0-SNAPSHOT.jar to the plugins/ directory of your Neo4j server.
-
Download external dependencies to the plugins/ directory of your Neo4j server:
curl -O http://central.maven.org/maven2/commons-validator/commons-validator/1.4.0/commons-validator-1.4.0.jar curl -O http://central.maven.org/maven2/com/google/guava/guava/18.0/guava-18.0.jar
-
Configure Neo4j by adding a line to conf/neo4j-server.properties:
org.neo4j.server.thirdparty_jaxrs_classes=pe.archety=/v1
-
Start Neo4j server.
-
Check that it is installed correctly over HTTP:
:GET /ext/v1/helloworld
-
Warm up the database (optional):
:GET /ext/v1/warmup