Download JAR files tagged by pacts with all dependencies
pact-stubs from group de.eosts (version 3.0.1)
Generate Stubs from Pacts for WireMock and Messaging
Artifact pact-stubs
Group de.eosts
Version 3.0.1
Last update 06. November 2023
Organization not specified
URL https://github.com/EOS-TS/pact-stubs
License The Apache License, Version 2.0
Dependencies amount 3
Dependencies wiremock-jre8, provider, model,
There are maybe transitive dependencies!
Group de.eosts
Version 3.0.1
Last update 06. November 2023
Organization not specified
URL https://github.com/EOS-TS/pact-stubs
License The Apache License, Version 2.0
Dependencies amount 3
Dependencies wiremock-jre8, provider, model,
There are maybe transitive dependencies!
pact-publish from group au.com.dius.pact (version 4.2.0-beta.0)
# Pact Publish
Module for generating and publishing pacts to the pact broker
0 downloads
Artifact pact-publish
Group au.com.dius.pact
Version 4.2.0-beta.0
Last update 18. October 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group au.com.dius.pact
Version 4.2.0-beta.0
Last update 18. October 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
pact-publish from group au.com.dius (version 4.0.10)
# Pact Publish
Module for generating and publishing pacts to the pact broker
0 downloads
Artifact pact-publish
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 0
Dependencies No dependencies
There are maybe transitive dependencies!
pact-jvm-model from group au.com.dius (version 3.6.15)
Pact model
==========
The model project is responsible for providing:
* a model to represent pacts
* serialization and deserialization
* comparison between two parts of the pact model
* conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires
You should never need to include this project directly
5 downloads
Artifact pact-jvm-model
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 15
Dependencies kotlin-stdlib-jre8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, json, netty-handler, httpclient, java-semver, http-builder, aws-java-sdk-s3, gson, commons-collections4, generex, guava,
There are maybe transitive dependencies!
Group au.com.dius
Version 3.6.15
Last update 29. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 15
Dependencies kotlin-stdlib-jre8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, json, netty-handler, httpclient, java-semver, http-builder, aws-java-sdk-s3, gson, commons-collections4, generex, guava,
There are maybe transitive dependencies!
pact-jvm-core-model from group au.com.dius (version 4.0.10)
Pact model
==========
The model project is responsible for providing:
* a model to represent pacts
* serialization and deserialization
* comparison between two parts of the pact model
* conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires
You should never need to include this project directly
0 downloads
Artifact pact-jvm-core-model
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 8
Dependencies java-semver, commons-collections4, generex, mail, kotlin-reflect, pact-jvm-core-support, pact-jvm-core-pact-broker, gson,
There are maybe transitive dependencies!
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 8
Dependencies java-semver, commons-collections4, generex, mail, kotlin-reflect, pact-jvm-core-support, pact-jvm-core-pact-broker, gson,
There are maybe transitive dependencies!
pact-jvm-model_2.10 from group au.com.dius (version 2.4.15)
Pact model
==========
The model project is responsible for providing:
* a model to represent pacts
* serialization and deserialization
* comparison between two parts of the pact model
* conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires
You should never need to include this project directly
0 downloads
Artifact pact-jvm-model_2.10
Group au.com.dius
Version 2.4.15
Last update 23. August 2016
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 11
Dependencies slf4j-api, scala-library, scala-compiler, json, groovy-all, unfiltered-netty-server_2.10, dispatch-core_2.10, httpclient, pact-jvm-logging_2.10, java-semver, http-builder,
There are maybe transitive dependencies!
Group au.com.dius
Version 2.4.15
Last update 23. August 2016
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 11
Dependencies slf4j-api, scala-library, scala-compiler, json, groovy-all, unfiltered-netty-server_2.10, dispatch-core_2.10, httpclient, pact-jvm-logging_2.10, java-semver, http-builder,
There are maybe transitive dependencies!
pact-jvm-model_2.11 from group au.com.dius (version 3.3.0-beta.0)
Pact model
==========
The model project is responsible for providing:
* a model to represent pacts
* serialization and deserialization
* comparison between two parts of the pact model
* conversion between the pact model and whatever third party libraries used by the pact-consumer and pact-provider requires
You should never need to include this project directly
0 downloads
Artifact pact-jvm-model_2.11
Group au.com.dius
Version 3.3.0-beta.0
Last update 31. July 2016
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 11
Dependencies unfiltered-netty-server_2.11, scala-logging_2.11, httpclient, json, scala-compiler, groovy-all, http-builder, dispatch-core_2.11, java-semver, slf4j-api, scala-library,
There are maybe transitive dependencies!
Group au.com.dius
Version 3.3.0-beta.0
Last update 31. July 2016
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 11
Dependencies unfiltered-netty-server_2.11, scala-logging_2.11, httpclient, json, scala-compiler, groovy-all, http-builder, dispatch-core_2.11, java-semver, slf4j-api, scala-library,
There are maybe transitive dependencies!
pact-jvm-provider-sbt_2.10 from group au.com.dius (version 2.0.2)
Pact sbt plugin
===============
The sbt plugin adds an sbt task for running all provider pacts against a running server.
To use the pact sbt plugin, add the following to your project/plugins.sbt
addSbtPlugin("com.dius" %% "pact-jvm-provider-sbt" % "2.0.2")
and the following to your build.sbt
PactJvmPlugin.pactSettings
The new task added is verifyPacts
Two new keys are added to configure this task:
pactConfig is the location of your pact-config json file (defaults to "pact-config.json" in the classpath root)
pactRoot is the root folder of your pact json files (defaults to "pacts"), all .json files in root and sub folders will be executed
Group: au.com.dius Artifact: pact-jvm-provider-sbt_2.10
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-provider-sbt_2.10
Group au.com.dius
Version 2.0.2
Last update 07. August 2014
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 9
Dependencies scala-logging-slf4j_2.10, sbt, json4s-native_2.10, slf4j-api, dispatch-core_2.10, unfiltered-netty-server_2.10, json4s-jackson_2.10, pact-jvm-provider_2.10, scala-library,
There are maybe transitive dependencies!
Group au.com.dius
Version 2.0.2
Last update 07. August 2014
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 9
Dependencies scala-logging-slf4j_2.10, sbt, json4s-native_2.10, slf4j-api, dispatch-core_2.10, unfiltered-netty-server_2.10, json4s-jackson_2.10, pact-jvm-provider_2.10, scala-library,
There are maybe transitive dependencies!
pact-jvm-consumer-specs2_2.12 from group au.com.dius (version 4.0.10)
pact-jvm-consumer-specs2
========================
## Specs2 Bindings for the pact-jvm library
## Dependency
In the root folder of your project in build.sbt add the line:
```scala
libraryDependencies += "au.com.dius" %% "pact-jvm-consumer-specs2" % "3.2.11"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius:pact-jvm-consumer-specs2_2.11:3.2.11"
}
```
__*Note:*__ `PactSpec` requires spec2 3.x. Also, for spray users there's an incompatibility between specs2 v3.x and spray.
Follow these instructions to resolve that problem: https://groups.google.com/forum/#!msg/spray-user/2T6SBp4OJeI/AJlnJuAKPRsJ
## Usage
To author a test, mix `PactSpec` into your spec
First we define a service client called `ConsumerService`. In our example this is a simple wrapper for `dispatch`, an HTTP client. The source code can be found in the test folder alongside the `ExamplePactSpec`.
Here is a simple example:
```
import au.com.dius.pact.consumer.PactSpec
class ExamplePactSpec extends Specification with PactSpec {
val consumer = "My Consumer"
val provider = "My Provider"
override def is = uponReceiving("a request for foo")
.matching(path = "/foo")
.willRespondWith(body = "{}")
.withConsumerTest { providerConfig =>
Await.result(ConsumerService(providerConfig.url).simpleGet("/foo"), Duration(1000, MILLISECONDS)) must beEqualTo(200, Some("{}"))
}
}
```
This spec will be run along with the rest of your specs2 unit tests and will output your pact json to
```
/target/pacts/<Consumer>_<Provider>.json
```
# Forcing pact files to be overwritten (3.6.5+)
By default, when the pact file is written, it will be merged with any existing pact file. To force the file to be
overwritten, set the Java system property `pact.writer.overwrite` to `true`.
Group: au.com.dius Artifact: pact-jvm-consumer-specs2_2.12
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-consumer-specs2_2.12
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies pact-jvm-consumer, json, specs2-core_2.12, async-http-client, scala-java8-compat_2.12,
There are maybe transitive dependencies!
Group au.com.dius
Version 4.0.10
Last update 18. April 2020
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 5
Dependencies pact-jvm-consumer, json, specs2-core_2.12, async-http-client, scala-java8-compat_2.12,
There are maybe transitive dependencies!
pact-jvm-consumer-specs2_2.11 from group au.com.dius (version 3.5.24)
pact-jvm-consumer-specs2
========================
## Specs2 Bindings for the pact-jvm library
## Dependency
In the root folder of your project in build.sbt add the line:
```scala
libraryDependencies += "au.com.dius" %% "pact-jvm-consumer-specs2" % "3.2.11"
```
or if you are using Gradle:
```groovy
dependencies {
testCompile "au.com.dius:pact-jvm-consumer-specs2_2.11:3.2.11"
}
```
__*Note:*__ `PactSpec` requires spec2 3.x. Also, for spray users there's an incompatibility between specs2 v3.x and spray.
Follow these instructions to resolve that problem: https://groups.google.com/forum/#!msg/spray-user/2T6SBp4OJeI/AJlnJuAKPRsJ
## Usage
To author a test, mix `PactSpec` into your spec
First we define a service client called `ConsumerService`. In our example this is a simple wrapper for `dispatch`, an HTTP client. The source code can be found in the test folder alongside the `ExamplePactSpec`.
Here is a simple example:
```
import au.com.dius.pact.consumer.PactSpec
class ExamplePactSpec extends Specification with PactSpec {
val consumer = "My Consumer"
val provider = "My Provider"
override def is = uponReceiving("a request for foo")
.matching(path = "/foo")
.willRespondWith(body = "{}")
.withConsumerTest { providerConfig =>
Await.result(ConsumerService(providerConfig.url).simpleGet("/foo"), Duration(1000, MILLISECONDS)) must beEqualTo(200, Some("{}"))
}
}
```
This spec will be run along with the rest of your specs2 unit tests and will output your pact json to
```
/target/pacts/<Consumer>_<Provider>.json
```
Group: au.com.dius Artifact: pact-jvm-consumer-specs2_2.11
Show all versions Show documentation Show source
Show all versions Show documentation Show source
0 downloads
Artifact pact-jvm-consumer-specs2_2.11
Group au.com.dius
Version 3.5.24
Last update 04. November 2018
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 10
Dependencies kotlin-stdlib-jdk8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-logging_2.11, pact-jvm-consumer_2.11, specs2-core_2.11, async-http-client,
There are maybe transitive dependencies!
Group au.com.dius
Version 3.5.24
Last update 04. November 2018
Organization not specified
URL https://github.com/DiUS/pact-jvm
License Apache 2
Dependencies amount 10
Dependencies kotlin-stdlib-jdk8, kotlin-reflect, slf4j-api, groovy-all, kotlin-logging, scala-library, scala-logging_2.11, pact-jvm-consumer_2.11, specs2-core_2.11, async-http-client,
There are maybe transitive dependencies!
Page 1 from 3 (items total 55)