The pact server is a stand-alone interactions recorder and verifier.
The server implements a JSON REST Admin API with the following endpoints.
/ -> For diagnostics, currently returns a list of ports of the running mock servers.
/create -> For initialising a test server and submitting the JSON interactions. It returns a port
/complete -> For finalising and verifying the interactions with the server. It writes the `JSON` pact file to disk.
For running the server:
$ docker run -d -p 8080:8080 -p 20000-20010:20000-20010 uglyog/pact-jvm-server
This will run the main server on port 8080, and each created mock server on ports 20000-20010.
For more information: https://github.com/DiUS/pact-jvm/tree/master/pact-jvm-server
Content type
Image
Digest
sha256:c9e3a70b5…
Size
310.9 MB
Last updated
over 10 years ago
docker pull uglyog/pact-jvm-server