pnerg / consul-recipes   1.1.0

Apache License 2.0 GitHub

Implements the most common "recipes" on Consul such as leader election and semaphore

Scala versions: 2.13 2.12 2.11

Consul Recipes & Consul Unit Test Simulator

test codecov Maven Central javadoc

This projects hosts two libraries

  • consul-recipes Implements the most common "recipes" on Consul such as leader election and semaphore.
  • consul-sim A simple simulator (not full implementation) of some of the HTTP API's to Consul. Very useful for e.g. unit testing

As well as two test sub-projects for playing with the functionality locally.

Download

Both libraries are cross-compiled for Scala 2.11, 2.12 and 2.13.
Simply add the following dependency:

"org.dmonix" %% "consul-recipes" % [version]
"org.dmonix" %% "consul-sim" % [version] % "test"