https://github.com/lab5e/java-sample
Sample java API client. This sample retrieves a list of the collections in Span
https://github.com/lab5e/java-sample
iot java lang-java sample span
Last synced: 9 days ago
JSON representation
Sample java API client. This sample retrieves a list of the collections in Span
- Host: GitHub
- URL: https://github.com/lab5e/java-sample
- Owner: lab5e
- License: apache-2.0
- Created: 2023-12-24T12:55:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-11T08:37:25.000Z (over 2 years ago)
- Last Synced: 2025-02-28T22:38:59.315Z (over 1 year ago)
- Topics: iot, java, lang-java, sample, span
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Java example
This samples shows how to retrieve a list of collections. The source is generated on the fly with the [openapi-generator-maven-plugin](https://mvnrepository.com/artifact/org.openapitools/openapi-generator-maven-plugin)
available from Maven Central.
Build with
```shell
mvn install
```
Create a new API token in the [Span dashboard](https://span.lab5e.com/) and run
the sample with
```shell
java -jar target/target/collection-sample-1.0.0.jar [API token]
```