LAS2peer-AnnotationService
This microService stores annotations for objects in an ArangoDB graph database. Key concepts used in this service are:
- Objects are items which can be annotated. Typically metadata for these items is stored somewhere else, the service stores only a reference Id.
- Annotation contain the information for annotations.
- AnnotationContext is a relation between an object and an annotation. These objects store information that relates the annotation with the object, for instance position of the annotation in the object, the time when the annotation is shown, its duration etc.
In ArangoDB Objects and Annotations are stored in collections, and AnnotationContexts are stored in edgeCollection. With this structure we have a graph where nodes are objects/annotations and edges are AnnotationContexts. The service is based on las2peer.
Table of Contents
Requirements
Build
Start
License
Requirements
- Installed Java 7 JDK
- Installed Apache Ant
- Installed ArangoDB 2.4.5
Build
First, create the Annotations Service database, refer to: Database.
Then, build Annotations Service:
ant all
Start
To start Annotations Service, use one of the available start scripts:
Windows: bin/startNetwork.bat
Unix, Mac: bin/startNetwork.sh
After successful start,Annotations Service is available under
http://localhost:8083/annotations
License
LAS2peer-annotationService is freely distributable under the MIT License.