navigation

Overview

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.

Usage

Stubs are generated for Java and Go.

Java

Usage from Java:

  1. Add repository to pom.xml
<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>
  1. Add the dependency
<dependency>
    <groupId>com.github.nlnwa</groupId>
    <artifactId>veidemann-api</artifactId>
    <version>Tag</version>
</dependency>
  1. Add repository in your root build.gradle at the end of repositories:
allprojects {
  repositories {
    ...
    maven { url 'https://jitpack.io' }
  }
}
  1. Add the dependency
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"\
  1. Add the dependency
libraryDependencies += "com.github.nlnwa" % "veidemann-api" % "Tag"

Add repository in your project.clj at the end of repositories:

:repositories [["jitpack" "https://jitpack.io"]]
  1. Add the dependency
:dependencies [[com.github.nlnwa/veidemann-api "Tag"]]

Go

To use the service from Go:

go get github.com/nlnwa/veidemann-api/go

Services

The Scope Service implements two of Veidemann’s interfaces.