This project showcases minimal code for accessing a remote tinkerpop cluster from karaf.
- build this sample
mvn clean install
- download tinkerpop's gremlin-server and start it
~ $ cd tmp/apache-tinkerpop-gremlin-server-3.2.4/ ~/tmp/apache-tinkerpop-gremlin-server-3.2.4 $ bin/gremlin-server.sh
- start karaf-4.1.3
bin/karaf
- add the tinkerpop karaf features repository
feature:repo-add mvn:org.cheepee.tinkerpop.osgi/tinkerpop-features/LATEST/xml/features
- add the tinkerpop or janusgraph features
feature:install janusgraph-service-sample tinkerpop-karaf-commands
or alternatively
```
feature:install tinkerpop-service-sample tinkerpop-karaf-commands
```
-
use the supplied commands to look and manipulate the graph
add-vertex label1 add-vertex label2 add-edge -p edgeProperty=myproperty edgeLabel 0 1 list-vertices list-edges drop-vertex 0 drop-vertex 1