Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.52 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.52 KB

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"