Skip to content

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

License

Notifications You must be signed in to change notification settings

pnerg/consul-recipes

Repository files navigation

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"

About

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

Topics

Resources

License

Stars

Watchers

Forks

Languages