Skip to content

Example Traversal API finding the first shortest path to a node with a specific label

License

Notifications You must be signed in to change notification settings

maxdemarzi/neo_path_to_label

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neo_path_to_label

Example Traversal API finding the first shortest path to a node with a specific label

Instructions

  1. Build it:

     mvn clean package
    
  2. Copy target/path_to_label-1.0.jar to the plugins/ directory of your Neo4j server.

  3. Configure Neo4j by adding a line to conf/neo4j-server.properties:

     org.neo4j.server.thirdparty_jaxrs_classes=com.maxdemarzi=/v1
    
  4. Start Neo4j server.

  5. Check that it is installed correctly over HTTP:

     :GET /v1/service/helloworld
    
  6. Try the extension:

     :GET /v1/service/path_to/{Label}/from/{node_id}"
     :GET /v1/service/path_to/{Label}/from/{node_id}?direction=incoming"
     :GET /v1/service/path_to/{Label}/from/{node_id}?direction=outgoing"
     :GET /v1/service/path_to/{Label}/from/{node_id}?depth=5"
     :GET /v1/service/path_to/{Label}/from/{node_id}?direction=outgoing&depth=5"
    

About

Example Traversal API finding the first shortest path to a node with a specific label

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages