public PactBroker
Used to point PactRunner to source of pacts for contract tests Default values can be set by setting the `pactbroker.*` system properties
| Modifier and Type | Method and Description |
|---|---|
PactBrokerAuth |
authentication()
Authentication to use with the pact broker, by default no authentication is used
|
boolean |
failIfNoPactsFound()
If the test should fail if no pacts are found for the provider, default is true
|
java.lang.String |
host() |
java.lang.String |
port() |
java.lang.String |
protocol()
HTTP protocol, defaults to http
|
java.lang.String[] |
tags()
Tags to use to fetch pacts for, defaults to `latest` If you set the tags through the `pactbroker.tag` system property, separate the tags by commas
|
java.lang.String host()
java.lang.String port()
java.lang.String protocol()
HTTP protocol, defaults to http
java.lang.String[] tags()
Tags to use to fetch pacts for, defaults to `latest` If you set the tags through the `pactbroker.tag` system property, separate the tags by commas
boolean failIfNoPactsFound()
If the test should fail if no pacts are found for the provider, default is true
PactBrokerAuth authentication()
Authentication to use with the pact broker, by default no authentication is used