Skip navigation links
A B C E F G H I L M N P R S T U 

A

asMap(jsonObject) - Static method in class au.com.dius.pact.core.pactbroker.HalClient
 
asMap(jsonObject) - Method in class au.com.dius.pact.core.pactbroker.HalClient.Companion
 
au.com.dius.pact.core.pactbroker - package au.com.dius.pact.core.pactbroker
 
au.com.dius.pact.core.pactbroker.util - package au.com.dius.pact.core.pactbroker.util
 

B

buildPayload(result, version, buildUrl) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
buildUrl(baseUrl, url, encodePath) - Method in class au.com.dius.pact.core.pactbroker.util.HttpClientUtils
Constructs a URI from a base URL plus a URL path
buildUrl(baseUrl, url) - Method in class au.com.dius.pact.core.pactbroker.util.HttpClientUtils
Constructs a URI from a base URL plus a URL path

C

Companion - Static variable in class au.com.dius.pact.core.pactbroker.HalClient
 
Companion - Static variable in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
Companion - Static variable in class au.com.dius.pact.core.pactbroker.TestResult
 
component1() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
component1() - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
component1() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
component2() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
component2() - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
component2() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
component3() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
component4() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
component5() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
copy(name, source, pactBrokerUrl, pactFileAuthentication, tag) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
copy(pactFile, links) - Method in class au.com.dius.pact.core.pactbroker.PactResponse
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
copy(results, description) - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 

E

equals(p) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
equals(p) - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
equals(p) - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 

F

Failed(results, description) - Constructor for class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
Failed() - Constructor for class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
fetch(path) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Fetches the HAL document from the provided path
fetch(path, encodePath) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Fetches the HAL document from the provided path
fetch(path, encodePath) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Fetches the HAL document from the provided path
fetch(path) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Fetches the HAL document from the provided path
fetchConsumers(provider) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Fetches all consumers for the given provider
fetchConsumersWithTag(provider, tag) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Fetches all consumers for the given provider and tag
fetchLatestConsumersWithNoTag(provider) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Fetches the consumers of the provider that have no associated tag
fetchPact(url) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
forAll(linkName, closure) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Calls the closure with a Map of attributes for all links associated with the link name
forAll(linkName, closure) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Calls the closure with a Map of attributes for all links associated with the link name
fromBoolean(result) - Method in class au.com.dius.pact.core.pactbroker.TestResult.Companion
 
fromJson(jsonValue) - Method in class au.com.dius.pact.core.pactbroker.HalClient.Companion
 
fromJson(jsonValue) - Static method in class au.com.dius.pact.core.pactbroker.HalClient
 

G

getBaseUrl() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
getDefaultHeaders() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
getDescription() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
getHttpClient() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
getLastUrl() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
getLinks() - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
getMessage() - Method in exception au.com.dius.pact.core.pactbroker.InvalidHalResponse
 
getMessage() - Method in exception au.com.dius.pact.core.pactbroker.InvalidNavigationRequest
 
getMessage() - Method in exception au.com.dius.pact.core.pactbroker.NotFoundHalResponse
 
getMessage() - Method in exception au.com.dius.pact.core.pactbroker.RequestFailedException
 
getName() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
getOptions() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
getOptions() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
getPactBrokerUrl() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
getPactBrokerUrl() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
getPactFile() - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
getPactFileAuthentication() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
getPathInfo() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
getResults() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
getSource() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
getTag() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
getURL_REGEX() - Method in class au.com.dius.pact.core.pactbroker.util.HttpClientUtils
 
getURL_TEMPLATE_REGEX() - Method in class au.com.dius.pact.core.pactbroker.HalClient.Companion
 
getUrlForProvider(providerName, tag) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 

H

HalClient - Class in au.com.dius.pact.core.pactbroker
HAL client for navigating the HAL links
HalClient(baseUrl, options) - Constructor for class au.com.dius.pact.core.pactbroker.HalClient
HAL client for navigating the HAL links
HalClient(baseUrl) - Constructor for class au.com.dius.pact.core.pactbroker.HalClient
HAL client for navigating the HAL links
HalClient.Companion - Class in au.com.dius.pact.core.pactbroker
 
handleFailure(resp, body, closure) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
hashCode() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
hashCode() - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
hashCode() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
HttpClientUtils - Class in au.com.dius.pact.core.pactbroker.util
 

I

IHalClient - Interface in au.com.dius.pact.core.pactbroker
Interface to a HAL Client
initialiseRequest(method) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
initPathInfo() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
INSTANCE - Static variable in class au.com.dius.pact.core.pactbroker.TestResult.Ok
 
INSTANCE - Static variable in class au.com.dius.pact.core.pactbroker.util.HttpClientUtils
 
InvalidHalResponse - Exception in au.com.dius.pact.core.pactbroker
This exception is thrown when we don't receive a HAL response from the broker
InvalidHalResponse(message) - Constructor for exception au.com.dius.pact.core.pactbroker.InvalidHalResponse
This exception is thrown when we don't receive a HAL response from the broker
InvalidNavigationRequest - Exception in au.com.dius.pact.core.pactbroker
This exception is raised when an invalid navigation is attempted
InvalidNavigationRequest(message) - Constructor for exception au.com.dius.pact.core.pactbroker.InvalidNavigationRequest
This exception is raised when an invalid navigation is attempted
isJsonResponse(contentType) - Method in class au.com.dius.pact.core.pactbroker.util.HttpClientUtils
 

L

LATEST_PROVIDER_PACTS - Static variable in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
LATEST_PROVIDER_PACTS_WITH_NO_TAG - Static variable in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
LATEST_PROVIDER_PACTS_WITH_TAG - Static variable in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
LINKS - Static variable in class au.com.dius.pact.core.pactbroker.HalClient
 
linkUrl(name) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Returns the HREF of the named link from the current HAL document
linkUrl(name) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Returns the HREF of the named link from the current HAL document

M

merge(result) - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
merge(result) - Method in class au.com.dius.pact.core.pactbroker.TestResult
 
merge(result) - Method in class au.com.dius.pact.core.pactbroker.TestResult.Ok
 

N

navigate(options, link) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Navigates the URL associated with the given link using the current HAL document
navigate(link) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Navigates the URL associated with the given link using the current HAL document
navigate(options, link) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Navigates the URL associated with the given link using the current HAL document
navigate(link) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Navigates the URL associated with the given link using the current HAL document
newHalClient() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
NotFoundHalResponse - Exception in au.com.dius.pact.core.pactbroker
Exception is thrown when we get a 404 response after navigating HAL links
NotFoundHalResponse(message) - Constructor for exception au.com.dius.pact.core.pactbroker.NotFoundHalResponse
Exception is thrown when we get a 404 response after navigating HAL links
NotFoundHalResponse() - Constructor for exception au.com.dius.pact.core.pactbroker.NotFoundHalResponse
Exception is thrown when we get a 404 response after navigating HAL links

P

PactBrokerClient - Class in au.com.dius.pact.core.pactbroker
Client for the pact broker service
PactBrokerClient(pactBrokerUrl, options) - Constructor for class au.com.dius.pact.core.pactbroker.PactBrokerClient
Client for the pact broker service
PactBrokerClient(pactBrokerUrl) - Constructor for class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
PactBrokerClient.Companion - Class in au.com.dius.pact.core.pactbroker
 
PactBrokerConsumer - Class in au.com.dius.pact.core.pactbroker
 
PactBrokerConsumer(name, source, pactBrokerUrl, pactFileAuthentication, tag) - Constructor for class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
PactBrokerConsumer(name, source, pactBrokerUrl, pactFileAuthentication) - Constructor for class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
PactBrokerConsumer(name, source, pactBrokerUrl) - Constructor for class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
PactResponse - Class in au.com.dius.pact.core.pactbroker
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
PactResponse(pactFile, links) - Constructor for class au.com.dius.pact.core.pactbroker.PactResponse
Wraps the response for a Pact from the broker with the link data associated with the Pact document.
PACTS - Static variable in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
parseLinkUrl(href, options) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
postJson(url, body) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Upload the JSON document to the provided URL, using a POST request
postJson(url, body, handler) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Upload the JSON document to the provided URL, using a POST request
postJson(url, body) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Upload the JSON document to the provided URL, using a POST request
postJson(url, body, handler) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Upload the JSON document to the provided URL, using a POST request
publishVerificationResults(docAttributes, result, version, buildUrl) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Publishes the result to the "pb:publish-verification-results" link in the document attributes.
publishVerificationResults(docAttributes, result, version) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Publishes the result to the "pb:publish-verification-results" link in the document attributes.

R

RequestFailedException - Exception in au.com.dius.pact.core.pactbroker
General request failed exception
RequestFailedException(message) - Constructor for exception au.com.dius.pact.core.pactbroker.RequestFailedException
General request failed exception
ROOT - Static variable in class au.com.dius.pact.core.pactbroker.HalClient
 

S

setDefaultHeaders(p) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
setHttpClient(p) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
setLastUrl(p) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
setOptions(p) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
setPathInfo(p) - Method in class au.com.dius.pact.core.pactbroker.HalClient
 
setResults(p) - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
setupHttpClient() - Method in class au.com.dius.pact.core.pactbroker.HalClient
 

T

TestResult - Class in au.com.dius.pact.core.pactbroker
 
TestResult.Companion - Class in au.com.dius.pact.core.pactbroker
 
TestResult.Failed - Class in au.com.dius.pact.core.pactbroker
 
TestResult.Ok - Class in au.com.dius.pact.core.pactbroker
 
toBoolean() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 
toBoolean() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Ok
 
toBoolean() - Method in class au.com.dius.pact.core.pactbroker.TestResult
 
toString() - Method in class au.com.dius.pact.core.pactbroker.PactBrokerConsumer
 
toString() - Method in class au.com.dius.pact.core.pactbroker.PactResponse
 
toString() - Method in class au.com.dius.pact.core.pactbroker.TestResult.Failed
 

U

uploadJson(path, bodyJson) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Upload the JSON document to the provided path, using a PUT request
uploadJson(path, bodyJson, closure) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Upload the JSON document to the provided path, using a PUT request
uploadJson(path, bodyJson, closure, encodePath) - Method in class au.com.dius.pact.core.pactbroker.HalClient
Upload the JSON document to the provided path, using a PUT request
uploadJson(path, bodyJson) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Upload the JSON document to the provided path, using a PUT request
uploadJson(path, bodyJson, closure) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Upload the JSON document to the provided path, using a PUT request
uploadJson(path, bodyJson, closure, encodePath) - Method in interface au.com.dius.pact.core.pactbroker.IHalClient
Upload the JSON document to the provided path, using a PUT request
uploadPactFile(pactFile, unescapedVersion, tags) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Uploads the given pact file to the broker, and optionally applies any tags
uploadPactFile(pactFile, unescapedVersion) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient
Uploads the given pact file to the broker, and optionally applies any tags
uploadTags(halClient, consumerName, version, tags) - Method in class au.com.dius.pact.core.pactbroker.PactBrokerClient.Companion
 
UTF8 - Static variable in class au.com.dius.pact.core.pactbroker.PactBrokerClient
 
A B C E F G H I L M N P R S T U 
Skip navigation links