buliq / nomad-api

Hashicorp's nomad

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nomad-api Build Status

Java client for Nomad's HTTP API (https://www.nomadproject.io)

How to use

import io.github.zanella.nomad.NomadClient;

final NomadClient nomadClient = new NomadClient("localhost");

nomadClient.v1.<api>.<endpoint>

How to add nomad-api into your project

Gradle

compile "io.github.zanella.nomad:nomad-api:0.9"

Maven

<dependency>
  <groupId>io.github.zanella.nomad</groupId>
  <artifactId>nomad-api</artifactId>
  <version>0.9</version>
</dependency>

How to build from sources

  • Checkout the sources
  • mvn package

ToDo

  • implement JobSpec
  • Blocking Queries

About

Hashicorp's nomad


Languages

Language:Java 100.0%