The Scope Service is a part of the Veidemann harvester. Veidemann uses gRPC for communication between services. The veidemann-api repository contains protobuf definitions for all services in Veidemann.
Stubs are generated for Java and Go.
Usage from Java:
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependency>
<groupId>com.github.nlnwa</groupId>
<artifactId>veidemann-api</artifactId>
<version>Tag</version>
</dependency>
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
dependencies {
implementation 'com.github.nlnwa:veidemann-api:Tag'
}
Add repository in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"\
libraryDependencies += "com.github.nlnwa" % "veidemann-api" % "Tag"
Add repository in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
:dependencies [[com.github.nlnwa/veidemann-api "Tag"]]
To use the service from Go:
go get github.com/nlnwa/veidemann-api/go
The Scope Service implements two of Veidemann’s interfaces.