Actor based Scala driver/client for ArangoDB. This driver is based on ArangoDB REST API and spray.io.
This is early version. Functionality:
- Database: Create, List, Remove,
by user, with user data - Collection: Create,
List, Read (status, type,properties,count,statistics), Remove,(un)laod,truncate,rotate,rename - Document: Create, List, Read,
Update, Remove,Test Query, Cursor, Explain- ~~Graph, edge, edges~~~
Batch, IndexExport, replicate- Version,
WAL, System, Tasks, Log
You may need to add the Sonatype nexus to your resolvers:
resolvers += "Sonatype OOS" at "https://oss.sonatype.org/content/repositories/releases"
sbt:
libraryDependencies += "com.auginte" % "scarango_2.11" % "0.2.4"
Maven:
<dependency>
<groupId>com.auginte</groupId>
<artifactId>scarango_2.11</artifactId>
<version>0.2.4</version>
</dependency>
or other
- Clone Example project
- See integration tests
This client/driver concentrates on faster/easier development of
- Akka/spray based applications
- Graph intensive applications
Development still in progress
- Interacting with ArangoDB via Scarango Actor (reuse open HTTP connection)
- All operations/actor messages grouped into requests, response and error packages
- Use strong types for names of Databases and Collections, so currently used names be given implicitly
Assuming, that ArangoDb is installed on http://127.0.0.1:8529 and disable-authentication=false
Run once:
sbt run
During development
sbt "~re-start"
sbt test