pact-jvm-provider_2.10.
Pact provider ============= sub project of https://github.com/DiUS/pact-jvm The pact provider is responsible for verifying that an API provider adheres to a number of pacts authored by its clients This library provides the basic tools required to automate the process, and should be usable on its....
Here is the list of declaration for pact-jvm-provider_2.10. If you use Maven you can use the following code to add the dependency for this POM file.
<dependency> <groupId>au.com.dius</groupId> <artifactId>pact-jvm-provider_2.10</artifactId> <version>2.0.4</version> </dependency>
If you think this Maven repository POM file listing for pact-jvm-provider_2.10 is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
Name:Apache 2
URL: http://www.apache.org/licenses/LICENSE-2.0.txt.
The pact-jvm-provider_2.10-2.0.4 has 13 dependencies.The most popular ones are listed in the following table along with their categories and number of artifacts depending on them.
Category | Artifact | Depended By Count |
---|---|---|
Log | slf4j-api 1.7.5 The slf4j API | 610 |
Asynchronous | unfiltered-netty-server_2.10 0.7.1 Netty server embedding module | 44 |
Testing Mock | mockito-all 1.9.5 Mock objects library for java | 1072 |
JUnit | junit 4.11 JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java. | 2031 |
Scala | scala-library 2.10.4 Standard library for the Scala Programming Language | 1091 |
File | commons-io 2.4 The Commons IO library contains utility classes, stream implementations, file filters, file comparators, endian transformation classes, and much more. | 852 |
Here is the content of the POM file.
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>au.com.dius</groupId> <artifactId>pact-jvm-provider_2.10</artifactId> <version>2.0.4</version> <name>pact-jvm-provider_2.10</name> <description>Pact provider ============= sub project of https://github.com/DiUS/pact-jvm The pact provider is responsible for verifying that an API provider adheres to a number of pacts authored by its clients This library provides the basic tools required to automate the process, and should be usable on its own in many instances. Framework and build tool specific bindings will be provided in separate libraries that build on top of this core functionality. ### Running Pacts Main takes 2 arguments: The first is the root folder of your pact files (all .json files in root and subfolders are assumed to be pacts) The second is the location of your pact config json file. ### Pact config The pact config is a simple mapping of provider names to endpoint url's paths will be appended to endpoint url's when interactions are attempted for an example see: https://github.com/DiUS/pact-jvm/blob/master/pact-jvm-provider/src/test/resources/pact-config.json ### Provider State Before each interaction is executed, the provider under test will have the opportunity to enter a state. Generally the state maps to a set of fixture data for mocking out services that the provider is a consumer of (they will have their own pacts) The pact framework will instruct the test server to enter that state by sending: POST "${config.stateChangeUrl.url}/setup" { "state" : "${interaction.stateName}" } </description> <url>https://github.com/DiUS/pact-jvm</url> <licenses> <license> <name>Apache 2</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <scm> <connection>https://github.com/DiUS/pact-jvm.git</connection> <url>https://github.com/DiUS/pact-jvm</url> </scm> <dependencies> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_2.10</artifactId> <version>2.2.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>com.typesafe.scala-logging</groupId> <artifactId>scala-logging-slf4j_2.10</artifactId> <version>2.1.2</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.json4s</groupId> <artifactId>json4s-native_2.10</artifactId> <version>3.2.10</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.5</version> <scope>compile</scope> </dependency> <dependency> <groupId>net.databinder.dispatch</groupId> <artifactId>dispatch-core_2.10</artifactId> <version>0.11.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>net.databinder</groupId> <artifactId>unfiltered-netty-server_2.10</artifactId> <version>0.7.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-all</artifactId> <version>1.9.5</version> <scope>test</scope> </dependency> <dependency> <groupId>org.json4s</groupId> <artifactId>json4s-jackson_2.10</artifactId> <version>3.2.10</version> <scope>compile</scope> </dependency> <dependency> <groupId>au.com.dius</groupId> <artifactId>pact-jvm-model_2.10</artifactId> <version>2.0.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.11</version> <scope>test</scope> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>2.10.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.specs2</groupId> <artifactId>specs2_2.10</artifactId> <version>2.3.13</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> <scope>compile</scope> </dependency> </dependencies> </project>