Please read about Tango REST API in the Tango documentation: link
This repository provides Java reference implementation which can be used for server/client development using Java:
This is NOT A SERVER! Known server implementations are listed in tango-rest-api repository.
- Add GitHub Maven packages repo to pom.xml/settings.xml
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>github-hzg</id>
<url>https://maven.pkg.github.com/hzg-wpi/*</url>
</repository>
</repositories>
- Add corresponding server to settings.xml
<server>
<id>github-hzg</id>
<username>GITHUB_USER</username>
<password>GITHUB_TOKEN</password>
</server>
- Add corresponding dependency to your pom.xml e.g. server:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.hereon.tango</groupId>
<artifactId>rest-api-bom</artifactId>
<version>2.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
See GitHub docs: here