Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxdemarzi/neo_travis
Example Neo4j Extension Testing using Travis-CI
https://github.com/maxdemarzi/neo_travis
graph-database graph-databases graphs neo4j travis travis-ci
Last synced: 24 days ago
JSON representation
Example Neo4j Extension Testing using Travis-CI
- Host: GitHub
- URL: https://github.com/maxdemarzi/neo_travis
- Owner: maxdemarzi
- License: mit
- Created: 2015-07-05T04:28:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-25T15:23:34.000Z (over 8 years ago)
- Last Synced: 2024-12-10T00:48:00.889Z (about 1 month ago)
- Topics: graph-database, graph-databases, graphs, neo4j, travis, travis-ci
- Language: Java
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# neo_travis
Example Neo4j Extension Testing using Travis-CI- [![Build Status](https://secure.travis-ci.org/maxdemarzi/neo_travis.png?branch=master)](http://travis-ci.org/maxdemarzi/neo_travis)
- [![Coverage Status](https://coveralls.io/repos/maxdemarzi/neo_travis/badge.svg?branch=master&service=github)](https://coveralls.io/github/maxdemarzi/neo_travis?branch=master)# Instructions
1. Build it:
mvn clean package
2. Copy target/travis-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. Create some test data:
CREATE (user1:User {user_id:'u1', name:'Max'})
CREATE (friend1:User {user_id:'f1', name:'Michael'})
CREATE (friend2:User {user_id:'f2', name:'Peter'})
CREATE (friend3:User {user_id:'f3', name:'David'})
CREATE (user1)-[:FRIENDS]->(friend1)
CREATE (user1)-[:FRIENDS]->(friend2)
CREATE (user1)-[:FRIENDS]->(friend3)
6. Try it:
:GET /v1/service/friends/u17. Test it.