Skip to content

Just another Scala driver for ArangoDB. Designed to be use with Akka and graph structures

License

Notifications You must be signed in to change notification settings

jaggernoth/scarango

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just another Scala driver for ArangoDB

Build Status Maven Central

Actor based Scala driver/client for ArangoDB. This driver is based on ArangoDB REST API and spray.io.

Stability

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, Index
  • Export, replicate
  • Version, WAL, System, Tasks, Log

Usage

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

Examples

Why another driver

This client/driver concentrates on faster/easier development of

  • Akka/spray based applications
  • Graph intensive applications

Development still in progress

Architecture concepts

  • 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

Similar projects

Run/Develop driver itself

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"

Test

sbt test

License

Apache 2.0

About

Just another Scala driver for ArangoDB. Designed to be use with Akka and graph structures

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Scala 97.1%
  • Shell 2.9%