consul-sim


License

License

GroupId

GroupId

org.dmonix
ArtifactId

ArtifactId

consul-sim_2.13
Last Version

Last Version

1.1.0
Release Date

Release Date

Type

Type

jar
Description

Description

consul-sim
consul-sim
Project URL

Project URL

https://github.com/pnerg/consul-recipes
Project Organization

Project Organization

org.dmonix
Source Code Management

Source Code Management

https://github.com/pnerg/consul-recipes

Download consul-sim_2.13

How to add to project

<!-- https://jarcasting.com/artifacts/org.dmonix/consul-sim_2.13/ -->
<dependency>
    <groupId>org.dmonix</groupId>
    <artifactId>consul-sim_2.13</artifactId>
    <version>1.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.dmonix/consul-sim_2.13/
implementation 'org.dmonix:consul-sim_2.13:1.1.0'
// https://jarcasting.com/artifacts/org.dmonix/consul-sim_2.13/
implementation ("org.dmonix:consul-sim_2.13:1.1.0")
'org.dmonix:consul-sim_2.13:jar:1.1.0'
<dependency org="org.dmonix" name="consul-sim_2.13" rev="1.1.0">
  <artifact name="consul-sim_2.13" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.dmonix', module='consul-sim_2.13', version='1.1.0')
)
libraryDependencies += "org.dmonix" % "consul-sim_2.13" % "1.1.0"
[org.dmonix/consul-sim_2.13 "1.1.0"]

Dependencies

compile (7)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.13.4
org.dmonix : consul-common_2.13 jar 1.1.0
io.spray : spray-json_2.13 jar 1.3.6
org.slf4j : slf4j-api jar 1.7.30
com.typesafe.akka : akka-http_2.13 jar 10.1.13
com.typesafe.akka : akka-actor_2.13 jar 2.5.32
com.typesafe.akka : akka-stream_2.13 jar 2.5.32

test (7)

Group / Artifact Type Version
org.specs2 : specs2-core_2.13 jar 4.10.5
org.specs2 : specs2-mock_2.13 jar 4.10.5
org.specs2 : specs2-junit_2.13 jar 4.10.5
org.specs2 : specs2-matcher-extra_2.13 jar 4.10.5
ch.qos.logback : logback-classic jar 1.2.3
com.typesafe.akka : akka-stream-testkit_2.13 jar 2.5.32
com.typesafe.akka : akka-http-testkit_2.13 jar 10.1.13

Project Modules

There are no modules declared in this project.

Consul Recipes & Consul Unit Test Simulator

test codecov

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"

Versions

Version
1.1.0
1.0.0