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

A

action() - Method in interface au.com.dius.pact.provider.junit.State
Whether to run the method before (SETUP) or after (TEARDOWN) the interaction
ACTION - Static variable in class au.com.dius.pact.provider.ProviderClient
 
addResultCallback(callback) - Method in interface au.com.dius.pact.provider.junit.target.Target
Add a callback to receive the test interaction result
allInteractionsVerified(pact, results) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
AnsiConsoleReporter - Class in au.com.dius.pact.provider.reporters
Pact verifier reporter that displays the results of the verification to the console using ASCII escapes
AnsiConsoleReporter(displayFullDiff, ext) - Constructor for class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
Pact verifier reporter that displays the results of the verification to the console using ASCII escapes
AnsiConsoleReporter() - Constructor for class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
Pact verifier reporter that displays the results of the verification to the console using ASCII escapes
au.com.dius.pact.provider - package au.com.dius.pact.provider
 
au.com.dius.pact.provider.junit - package au.com.dius.pact.provider.junit
 
au.com.dius.pact.provider.junit.loader - package au.com.dius.pact.provider.junit.loader
 
au.com.dius.pact.provider.junit.target - package au.com.dius.pact.provider.junit.target
 
au.com.dius.pact.provider.reporters - package au.com.dius.pact.provider.reporters
 
authentication() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
Authentication to use with the pact broker, by default no authentication is used

B

bodyComparisonFailed(comparison) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
bodyComparisonFailed(comparison) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
bodyComparisonOk() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
bodyComparisonOk() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 

C

calculateInteractionHash(interaction) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
calculatePactHash(pact) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
clearTestResult(pact) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
clearTestResult(pact) - Method in interface au.com.dius.pact.provider.TestResultAccumulator
 
Companion - Static variable in class au.com.dius.pact.provider.ConsumerInfo
 
Companion - Static variable in class au.com.dius.pact.provider.ProviderClient
 
Companion - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
Companion - Static variable in class au.com.dius.pact.provider.ResponseComparison
 
compareBody(mismatches) - Method in class au.com.dius.pact.provider.ResponseComparison
 
compareHeaders(mismatches) - Method in class au.com.dius.pact.provider.ResponseComparison
 
compareMessage(message, actual, metadata) - Method in class au.com.dius.pact.provider.ResponseComparison.Companion
 
compareMessage(message, actual) - Method in class au.com.dius.pact.provider.ResponseComparison.Companion
 
compareMessage(message, actual, metadata) - Static method in class au.com.dius.pact.provider.ResponseComparison
 
compareMessage(message, actual) - Static method in class au.com.dius.pact.provider.ResponseComparison
 
compareResponse(response, actualResponse, actualStatus, actualHeaders, actualBody) - Method in class au.com.dius.pact.provider.ResponseComparison.Companion
 
compareResponse(response, actualResponse, actualStatus, actualHeaders, actualBody) - Static method in class au.com.dius.pact.provider.ResponseComparison
 
compareStatus(mismatches) - Method in class au.com.dius.pact.provider.ResponseComparison
 
component1() - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
component1() - Method in class au.com.dius.pact.provider.StateChangeResult
 
component2() - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
component2() - Method in class au.com.dius.pact.provider.StateChangeResult
 
configurationBuilder - Variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
Consumer - Interface in au.com.dius.pact.provider.junit
Used to pass consumer name to Pact runner
ConsumerInfo - Class in au.com.dius.pact.provider
 
ConsumerInfo(name, stateChange, stateChangeUsesBody, packagesToScan, verificationType, pactSource, pactFileAuthentication) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo(name, stateChange, stateChangeUsesBody, packagesToScan, verificationType, pactSource) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo(name, stateChange, stateChangeUsesBody, packagesToScan, verificationType) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo(name, stateChange, stateChangeUsesBody, packagesToScan) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo(name, stateChange, stateChangeUsesBody) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo(name, stateChange) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo(name) - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo() - Constructor for class au.com.dius.pact.provider.ConsumerInfo
 
ConsumerInfo.Companion - Class in au.com.dius.pact.provider
 
consumers() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
Consumers to fetch pacts for, defaults to all consumers If you set the consumers through the `pactbroker.consumers` system property, separate the consumers by commas
CONTENT_TYPE - Static variable in class au.com.dius.pact.provider.ProviderClient
 
copy(messageData, metadata) - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
copy(stateChangeResult, message) - Method in class au.com.dius.pact.provider.StateChangeResult
 

D

DefaultStateChange - Class in au.com.dius.pact.provider
Class containing all the state change logic
DefaultTestResultAccumulator - Class in au.com.dius.pact.provider
 
DefaultVerificationReporter - Class in au.com.dius.pact.provider
 
displayBodyResult(failures, comparison, comparisonDescription, interactionId) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
displayFailures(failures) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Displays all the failures from the verification run
displayFailures(failures) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Displays all the failures from the verification run
displayFailures(failures) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
displayFailures(failures) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
displayHeadersResult(failures, expected, comparison, comparisonDescription, interactionId) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
displayStatusResult(failures, status, comparison, comparisonDescription, interactionId) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 

E

equals(other) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
equals(p) - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
equals(p) - Method in class au.com.dius.pact.provider.StateChangeResult
 
errorHasNoAnnotatedMethodsFoundForInteraction(interaction) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
errorHasNoAnnotatedMethodsFoundForInteraction(interaction) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
exceptionMessage(err, prefixLength) - Static method in class au.com.dius.pact.provider.junit.JUnitProviderTestSupport
 
executeRequest(httpclient, method) - Method in class au.com.dius.pact.provider.ProviderClient
 
executeRequestFilter(method) - Method in class au.com.dius.pact.provider.ProviderClient
 
executeStateChange(verifier, provider, consumer, interaction, interactionMessage, failures, providerClient) - Method in class au.com.dius.pact.provider.DefaultStateChange
 
executeStateChange(verifier, provider, consumer, interaction, interactionMessage, failures, providerClient) - Method in interface au.com.dius.pact.provider.StateChange
 
executeStateChangeTeardown(verifier, interaction, provider, consumer, providerClient) - Method in class au.com.dius.pact.provider.DefaultStateChange
 
executeStateChangeTeardown(verifier, interaction, provider, consumer, providerClient) - Method in interface au.com.dius.pact.provider.StateChange
 

F

failIfNoPactsFound() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
If the test should fail if no pacts are found for the provider, default is true
filterPactsByAnnotations(pacts, testClass) - Method in class au.com.dius.pact.provider.junit.JUnitProviderTestSupport
 
finaliseReport() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
finaliseReport() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
finaliseReports() - Method in interface au.com.dius.pact.provider.IProviderVerifier
Finalise all the reports after verification is complete
finaliseReports() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Finalise all the reports after verification is complete
from(consumer) - Method in class au.com.dius.pact.provider.ConsumerInfo.Companion
 
from(consumer) - Static method in class au.com.dius.pact.provider.ConsumerInfo
 

G

generateErrorStringFromMismatches(mismatches) - Static method in class au.com.dius.pact.provider.junit.JUnitProviderTestSupport
 
generatesAMessageWhich() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
generatesAMessageWhich() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
getActual() - Method in class au.com.dius.pact.provider.ResponseComparison
 
getActualBody() - Method in class au.com.dius.pact.provider.ResponseComparison
 
getActualHeaders() - Method in class au.com.dius.pact.provider.ResponseComparison
 
getActualStatus() - Method in class au.com.dius.pact.provider.ResponseComparison
 
getCause() - Method in exception au.com.dius.pact.provider.PactVerifierException
 
getCheckBuildSpecificTask() - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to determine if something is a build specific task
getCheckBuildSpecificTask() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to determine if something is a build specific task
getConfigurationBuilder() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
getCreateClient() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getExecuteBuildSpecificTask() - Method in interface au.com.dius.pact.provider.IProviderVerifier
Consumer SAM to execute the build specific task
getExecuteBuildSpecificTask() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Consumer SAM to execute the build specific task
getExpected() - Method in class au.com.dius.pact.provider.ResponseComparison
 
getExt() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
The extension for the reporter
getExt() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
The extension for the reporter
getHost() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getHttpClient() - Method in class au.com.dius.pact.provider.ProviderClient
 
getInsecure() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getMessage() - Method in exception au.com.dius.pact.provider.PactVerifierException
 
getMessage() - Method in class au.com.dius.pact.provider.StateChangeResult
 
getMessageData() - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
getMetadata() - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
getName() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getName() - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
getName() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getPackagesToScan() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getPackagesToScan() - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
getPackagesToScan() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getPactFile() - Method in class au.com.dius.pact.provider.ConsumerInfo
Deprecated. 
getPactFileAuthentication() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getPactLoadFailureMessage() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
getPactSource() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getPactSource() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
getPactSource() - Method in class au.com.dius.pact.provider.junit.loader.PactFolderLoader
 
getPactSource() - Method in interface au.com.dius.pact.provider.junit.loader.PactLoader
Returns the source object that the pacts where loaded from
getPactSource() - Method in class au.com.dius.pact.provider.junit.loader.PactUrlLoader
 
getPath() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getPort() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getProjectClasspath() - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to return the project classpath to use for looking up methods
getProjectClasspath() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to return the project classpath to use for looking up methods
getProjectGetProperty() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
getProjectHasProperty() - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to determine is the project has a particular property
getProjectHasProperty() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to determine is the project has a particular property
getProtocol() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getProvider() - Method in class au.com.dius.pact.provider.ProviderClient
 
getProviderMethodInstance() - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to return the instance for the provider method to invoke
getProviderMethodInstance() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to return the instance for the provider method to invoke
getProviderVersion(projectVersion) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
getProviderVersion() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
getReporters() - Method in interface au.com.dius.pact.provider.IProviderVerifier
List of the all reporters to report the results of the verification to
getReporters() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
List of the all reporters to report the results of the verification to
getRequestFilter() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getStateChange() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getStateChange() - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
getStateChangeHandler() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
getStateChangeRequestFilter() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getStateChangeResult() - Method in class au.com.dius.pact.provider.StateChangeResult
 
getStateChangeTeardown() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getStateChangeUrl() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getStateChangeUrl() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getStateChangeUsesBody() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getStateChangeUsesBody() - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
getStateChangeUsesBody() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getTrustStore() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getTrustStorePassword() - Method in interface au.com.dius.pact.provider.IProviderInfo
 
getVerificationReporter() - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
getVerificationReporter() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
getVerificationType() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
getVerificationType() - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
getVerificationType() - Method in interface au.com.dius.pact.provider.IProviderInfo
 

H

handleResponse(httpResponse) - Method in class au.com.dius.pact.provider.ProviderClient
 
hashCode() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
hashCode() - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
hashCode() - Method in class au.com.dius.pact.provider.StateChangeResult
 
headerComparisonFailed(key, value, comparison) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
headerComparisonFailed(key, value, comparison) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
headerComparisonOk(key, value) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
headerComparisonOk(key, value) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
host() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
 
HttpClientFactory - Class in au.com.dius.pact.provider
HTTP Client Factory
HttpClientFactory() - Constructor for class au.com.dius.pact.provider.HttpClientFactory
HTTP Client Factory

I

IConsumerInfo - Interface in au.com.dius.pact.provider
 
IHttpClientFactory - Interface in au.com.dius.pact.provider
 
includesHeaders() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
includesHeaders() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
includesMetadata() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
includesMetadata() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
initialise(provider) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
initialise(provider) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
INSTANCE - Static variable in class au.com.dius.pact.provider.DefaultStateChange
Class containing all the state change logic
INSTANCE - Static variable in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
INSTANCE - Static variable in class au.com.dius.pact.provider.DefaultVerificationReporter
 
INSTANCE - Static variable in class au.com.dius.pact.provider.junit.JUnitProviderTestSupport
 
INSTANCE - Static variable in class au.com.dius.pact.provider.ProviderUtils
Common provider utils
interactionDescription(interaction) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
interactionDescription(interaction) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
invokeProviderMethod(m, instance) - Method in class au.com.dius.pact.provider.ProviderVerifierBase.Companion
 
IProviderInfo - Interface in au.com.dius.pact.provider
 
IProviderVerifier - Interface in au.com.dius.pact.provider
Interface to the provider verifier
isFailIfNoPactsFound() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
isS3Url(pactFile) - Method in class au.com.dius.pact.provider.ProviderUtils
 

J

JUnitProviderTestSupport - Class in au.com.dius.pact.provider.junit
 

L

load() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
load(providerName) - Method in class au.com.dius.pact.provider.junit.loader.PactFolderLoader
 
load() - Method in interface au.com.dius.pact.provider.junit.loader.PactLoader
Load pacts from appropriate source
load() - Method in class au.com.dius.pact.provider.junit.loader.PactUrlLoader
 
loadPactFiles(provider, pactFileDir, stateChange, stateChangeUsesBody, verificationType, packagesToScan, pactFileAuthentication) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
loadPactFiles(provider, pactFileDir, stateChange, stateChangeUsesBody, verificationType, packagesToScan) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
loadPactFiles(provider, pactFileDir, stateChange, stateChangeUsesBody, verificationType) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
loadPactFiles(provider, pactFileDir, stateChange, stateChangeUsesBody) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
loadPactFiles(provider, pactFileDir, stateChange) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
loadPactFiles(provider, pactFileDir) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
lookupProviderVersion() - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 

M

makeRequest(request) - Method in class au.com.dius.pact.provider.ProviderClient
 
makeStateChangeRequest(stateChangeUrl, state, postStateInBody, isSetup, stateChangeTeardown) - Method in class au.com.dius.pact.provider.ProviderClient
 
MessageAndMetadata - Class in au.com.dius.pact.provider
 
MessageAndMetadata(messageData, metadata) - Constructor for class au.com.dius.pact.provider.MessageAndMetadata
 
metadataComparisonFailed(key, value, comparison) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
metadataComparisonFailed(key, value, comparison) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
metadataComparisonOk() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
metadataComparisonOk(key, value) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
metadataComparisonOk() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
metadataComparisonOk(key, value) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
MissingStateChangeMethod - Exception in au.com.dius.pact.provider.junit
 
MissingStateChangeMethod() - Constructor for exception au.com.dius.pact.provider.junit.MissingStateChangeMethod
 
MissingStateChangeMethod() - Constructor for exception au.com.dius.pact.provider.junit.MissingStateChangeMethod
 
MissingStateChangeMethod() - Constructor for exception au.com.dius.pact.provider.junit.MissingStateChangeMethod
 
MissingStateChangeMethod() - Constructor for exception au.com.dius.pact.provider.junit.MissingStateChangeMethod
 
MissingStateChangeMethod() - Constructor for exception au.com.dius.pact.provider.junit.MissingStateChangeMethod
 

N

newClient(provider) - Method in class au.com.dius.pact.provider.HttpClientFactory
 
newClient(provider) - Method in interface au.com.dius.pact.provider.IHttpClientFactory
 
newRequest(request) - Method in class au.com.dius.pact.provider.ProviderClient
 
NoPactsFoundException - Exception in au.com.dius.pact.provider.junit.loader
 
NoPactsFoundException() - Constructor for exception au.com.dius.pact.provider.junit.loader.NoPactsFoundException
 
NoPactsFoundException() - Constructor for exception au.com.dius.pact.provider.junit.loader.NoPactsFoundException
 
NoPactsFoundException() - Constructor for exception au.com.dius.pact.provider.junit.loader.NoPactsFoundException
 
NoPactsFoundException() - Constructor for exception au.com.dius.pact.provider.junit.loader.NoPactsFoundException
 

P

packagesToScan(providerInfo, consumer) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
PACT_FILTER_CONSUMERS - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_FILTER_DESCRIPTION - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_FILTER_PROVIDERSTATE - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_PROVIDER_VERSION - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_PROVIDER_VERSION_TRIM_SNAPSHOT - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_SHOW_FULLDIFF - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_SHOW_STACKTRACE - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PACT_VERIFIER_PUBLISH_RESULTS - Static variable in class au.com.dius.pact.provider.ProviderVerifierBase
 
PactBroker - Interface in au.com.dius.pact.provider.junit.loader
Used to point Pact runner to source of pacts for contract tests Default values can be set by setting the `pactbroker.*` system properties
PactBrokerAuth - Interface in au.com.dius.pact.provider.junit.loader
Defines the authentication scheme to use with the pact broker
PactBrokerLoader - Class in au.com.dius.pact.provider.junit.loader
Out-of-the-box implementation of PactLoader that downloads pacts from Pact broker
PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
PactBrokerLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
pactFileExists(pactFile) - Method in class au.com.dius.pact.provider.ProviderUtils
 
PactFilter - Interface in au.com.dius.pact.provider.junit.loader
Annotation to filter pacts by provider state. Supports regular expressions.
PactFolder - Interface in au.com.dius.pact.provider.junit.loader
Used to point Pact runner to source of pacts for contract tests
PactFolderLoader<I extends Interaction> - Class in au.com.dius.pact.provider.junit.loader
Out-of-the-box implementation of interface PactLoader that loads pacts from either a subfolder of project resource folder or a directory
PactFolderLoader(path) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
Out-of-the-box implementation of interface PactLoader that loads pacts from either a subfolder of project resource folder or a directory
PactFolderLoader(path) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
 
PactFolderLoader(path) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
Deprecated. 
PactFolderLoader(pactFolder) - Constructor for class au.com.dius.pact.provider.junit.loader.PactFolderLoader
 
PactLoader - Interface in au.com.dius.pact.provider.junit.loader
Encapsulate logic for loading pacts
pactLoadFailureForConsumer(consumer, message) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
pactLoadFailureForConsumer(consumer, message) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
PactSource - Interface in au.com.dius.pact.provider.junit.loader
Point out which PactLoader use for pact loading
PactUrl - Interface in au.com.dius.pact.provider.junit.loader
Used to point Pact runner to source of pacts for contract tests
PactUrlLoader - Class in au.com.dius.pact.provider.junit.loader
Implementation of PactLoader that downloads pacts from given urls
PactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactUrlLoader
 
PactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.PactUrlLoader
 
PactVerification - Enum in au.com.dius.pact.provider
 
PactVerification() - Constructor for enum au.com.dius.pact.provider.PactVerification
 
PactVerifierException - Exception in au.com.dius.pact.provider
Exception indicating failure to setup pact verification
PactVerifierException(message, cause) - Constructor for exception au.com.dius.pact.provider.PactVerifierException
Exception indicating failure to setup pact verification
PactVerifierException() - Constructor for exception au.com.dius.pact.provider.PactVerifierException
Exception indicating failure to setup pact verification
PactVerifyProvider - Interface in au.com.dius.pact.provider
Annotation to mark a test method for provider verification
password() - Method in interface au.com.dius.pact.provider.junit.loader.PactBrokerAuth
Password to use for authentication
port() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
 
prepareRequest(request) - Method in class au.com.dius.pact.provider.ProviderClient
 
protocol() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
HTTP protocol, defaults to http
Provider - Interface in au.com.dius.pact.provider.junit
Used to pass provider name to Pact runner
ProviderClient - Class in au.com.dius.pact.provider
Client HTTP utility for providers
ProviderClient(provider, httpClientFactory) - Constructor for class au.com.dius.pact.provider.ProviderClient
Client HTTP utility for providers
ProviderClient.Companion - Class in au.com.dius.pact.provider
 
ProviderUtils - Class in au.com.dius.pact.provider
Common provider utils
ProviderVerifierBase - Class in au.com.dius.pact.provider
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath, reporters, providerMethodInstance, providerVersion) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath, reporters, providerMethodInstance) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath, reporters) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask, projectClasspath) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask, executeBuildSpecificTask) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage, checkBuildSpecificTask) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase(pactLoadFailureMessage) - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase() - Constructor for class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the providers against the defined consumers in the context of a build plugin
ProviderVerifierBase.Companion - Class in au.com.dius.pact.provider
 
ProviderVerifierKt - Class in au.com.dius.pact.provider
 
publishingResultsDisabled() - Method in class au.com.dius.pact.provider.DefaultVerificationReporter
This must return true unless the pact.verifier.publishResults property has the value of "true"
publishingResultsDisabled() - Method in interface au.com.dius.pact.provider.IProviderVerifier
If publishing of verification results has been disabled
publishingResultsDisabled() - Method in class au.com.dius.pact.provider.ProviderVerifierBase
This will return true unless the pact.verifier.publishResults property has the value of "true"
publishingResultsDisabled() - Method in interface au.com.dius.pact.provider.VerificationReporter
This must return true unless the pact.verifier.publishResults property has the value of "true"

R

reportDir() - Method in interface au.com.dius.pact.provider.junit.VerificationReports
Directory where reports should be written
reportInteractionDescription(interaction) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Display info about the interaction about to be verified
reportInteractionDescription(interaction) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Display info about the interaction about to be verified
reportResults(pact, result, version, client) - Method in class au.com.dius.pact.provider.DefaultVerificationReporter
 
reportResults(pact, result, version, client) - Method in class au.com.dius.pact.provider.DefaultVerificationReporter
 
reportResults(pact, result, version, client) - Method in interface au.com.dius.pact.provider.VerificationReporter
Deprecated. 
reportResults(pact, result, version, client) - Method in interface au.com.dius.pact.provider.VerificationReporter
 
reportStateForInteraction(state, provider, consumer, isSetup) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Reports the state of the interaction to all the registered reporters
reportVerificationForConsumer(consumer, provider) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
reportVerificationForConsumer(consumer, provider) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
reportVerificationResults(pact, result, version, client) - Static method in class au.com.dius.pact.provider.ProviderVerifierKt
Deprecated. 
reportVerificationResults(pact, result, version) - Static method in class au.com.dius.pact.provider.ProviderVerifierKt
Deprecated. 
REQUEST - Static variable in class au.com.dius.pact.provider.ProviderClient
 
requestFailed(provider, interaction, interactionMessage, e, printStackTrace) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
requestFailed(provider, interaction, interactionMessage, e, printStackTrace) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
ResponseComparison - Class in au.com.dius.pact.provider
Utility class to compare responses
ResponseComparison(expected, actual, actualStatus, actualHeaders, actualBody) - Constructor for class au.com.dius.pact.provider.ResponseComparison
Utility class to compare responses
ResponseComparison.Companion - Class in au.com.dius.pact.provider
 
returnsAResponseWhich() - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
returnsAResponseWhich() - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 

S

scheme() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
HTTP scheme, defaults to HTTP
scheme() - Method in interface au.com.dius.pact.provider.junit.loader.PactBrokerAuth
Authentication scheme to use. The default is basic.
setCheckBuildSpecificTask(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to determine if something is a build specific task
setCheckBuildSpecificTask(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to determine if something is a build specific task
setConfigurationBuilder(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
setCreateClient(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setExecuteBuildSpecificTask(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Consumer SAM to execute the build specific task
setExecuteBuildSpecificTask(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Consumer SAM to execute the build specific task
setFailIfNoPactsFound() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
setHost(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setInsecure(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setName(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setName(p) - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
setName(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setPackagesToScan(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setPackagesToScan(p) - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
setPackagesToScan(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setPactFile(file) - Method in class au.com.dius.pact.provider.ConsumerInfo
Deprecated. 
setPactFileAuthentication(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setPactLoadFailureMessage(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
setPactSource(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setPath(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setPort(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setProjectClasspath(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to return the project classpath to use for looking up methods
setProjectClasspath(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to return the project classpath to use for looking up methods
setProjectGetProperty(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
setProjectHasProperty(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to determine is the project has a particular property
setProjectHasProperty(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to determine is the project has a particular property
setProtocol(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setProviderMethodInstance(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Callback to return the instance for the provider method to invoke
setProviderMethodInstance(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Callback to return the instance for the provider method to invoke
setProviderVersion(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
setReportDir(reportDir) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
setReportDir(reportDir) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
setReporters(p) - Method in interface au.com.dius.pact.provider.IProviderVerifier
List of the all reporters to report the results of the verification to
setReporters(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
List of the all reporters to report the results of the verification to
setReportFile(reportFile) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
setReportFile(reportFile) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
setStateChange(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setStateChange(p) - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
setStateChangeHandler(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
setStateChangeUrl(value) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setStateChangeUsesBody(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setStateChangeUsesBody(p) - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
setTrustStore(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setTrustStorePassword(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
setupBody(request, method) - Method in class au.com.dius.pact.provider.ProviderClient
 
setupHeaders(request, method) - Method in class au.com.dius.pact.provider.ProviderClient
 
setValueResolver() - Method in class au.com.dius.pact.provider.junit.loader.PactBrokerLoader
 
setValueResolver() - Method in interface au.com.dius.pact.provider.junit.loader.PactLoader
Sets the value resolver to use to resolve property expressions. By default a system property resolver will be used.
setVerificationReporter(p) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
setVerificationReporter(p) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
setVerificationType(p) - Method in class au.com.dius.pact.provider.ConsumerInfo
 
setVerificationType(p) - Method in interface au.com.dius.pact.provider.IConsumerInfo
 
setVerificationType(p) - Method in interface au.com.dius.pact.provider.IProviderInfo
 
State - Interface in au.com.dius.pact.provider.junit
Used to mark methods that should be run on state change
stateChange(verifier, state, provider, consumer, isSetup, providerClient) - Method in class au.com.dius.pact.provider.DefaultStateChange
 
StateChange - Interface in au.com.dius.pact.provider
 
stateChange(verifier, state, provider, consumer, isSetup, providerClient) - Method in interface au.com.dius.pact.provider.StateChange
 
StateChangeAction - Enum in au.com.dius.pact.provider.junit
 
stateChangeRequestFailed(state, provider, isSetup, httpStatus) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
stateChangeRequestFailed(state, provider, isSetup, httpStatus) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
stateChangeRequestFailedWithException(state, provider, consumer, isSetup, e, printStackTrace) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
stateChangeRequestFailedWithException(state, provider, consumer, isSetup, e, printStackTrace) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
StateChangeResult - Class in au.com.dius.pact.provider
 
StateChangeResult(stateChangeResult, message) - Constructor for class au.com.dius.pact.provider.StateChangeResult
 
StateChangeResult(stateChangeResult) - Constructor for class au.com.dius.pact.provider.StateChangeResult
 
stateForInteraction(state, provider, consumer, isSetup) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
stateForInteraction(state, provider, consumer, isSetup) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
statusComparisonFailed(status, comparison) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
statusComparisonFailed(status, comparison) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
statusComparisonOk(status) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
statusComparisonOk(status) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
systemPropertySet(property) - Method in class au.com.dius.pact.provider.ProviderClient
 

T

tags() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
Tags to use to fetch pacts for, defaults to `latest` If you set the tags through the `pactbroker.tags` system property, separate the tags by commas
Target - Interface in au.com.dius.pact.provider.junit.target
Run Interaction and perform response verification
TargetRequestFilter - Interface in au.com.dius.pact.provider.junit
Annotation to mark a test method as a request filter. The method must receive a single HttpRequest parameter
testInteraction(consumerName, interaction, source, context) - Method in interface au.com.dius.pact.provider.junit.target.Target
Run Interaction and perform response verification
TestResultAccumulator - Interface in au.com.dius.pact.provider
Accumulates the test results for the interactions. Once all the interactions for a pact have been verified, the result is submitted back to the broker
TestTarget - Interface in au.com.dius.pact.provider.junit.target
Mark interface Target for contract tests
toPactConsumer() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
toString() - Method in class au.com.dius.pact.provider.ConsumerInfo
 
toString() - Method in class au.com.dius.pact.provider.MessageAndMetadata
 
toString() - Method in class au.com.dius.pact.provider.StateChangeResult
 

U

updateTestResult(pact, interaction, testExecutionResult) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
updateTestResult(pact, interaction, testExecutionResult) - Method in class au.com.dius.pact.provider.DefaultTestResultAccumulator
 
updateTestResult(pact, interaction, testExecutionResult) - Method in interface au.com.dius.pact.provider.TestResultAccumulator
Deprecated. 
updateTestResult(pact, interaction, testExecutionResult) - Method in interface au.com.dius.pact.provider.TestResultAccumulator
 
urlEncodedFormPost(request) - Method in class au.com.dius.pact.provider.ProviderClient.Companion
 
urlEncodedFormPost(request) - Static method in class au.com.dius.pact.provider.ProviderClient
 
urls() - Method in interface au.com.dius.pact.provider.junit.loader.PactUrl
 
urls() - Method in interface au.com.dius.pact.provider.junit.loader.VersionedPactUrl
 
username() - Method in interface au.com.dius.pact.provider.junit.loader.PactBrokerAuth
Username to use for authentication
UTF8 - Static variable in class au.com.dius.pact.provider.ProviderClient
 

V

value() - Method in interface au.com.dius.pact.provider.junit.Consumer
 
value() - Method in interface au.com.dius.pact.provider.junit.loader.PactFilter
 
value() - Method in interface au.com.dius.pact.provider.junit.loader.PactFolder
 
value() - Method in interface au.com.dius.pact.provider.junit.loader.PactSource
 
value() - Method in interface au.com.dius.pact.provider.junit.Provider
 
value() - Method in interface au.com.dius.pact.provider.junit.State
 
value() - Method in interface au.com.dius.pact.provider.junit.VerificationReports
Names of the reports to generate
value() - Method in interface au.com.dius.pact.provider.PactVerifyProvider
the tested provider name.
valueResolver() - Method in interface au.com.dius.pact.provider.junit.loader.PactBroker
Override the default value resolver for resolving the values in the expressions
verificationFailed(interaction, e, printStackTrace) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
verificationFailed(interaction, e, printStackTrace) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
VerificationReporter - Interface in au.com.dius.pact.provider
 
VerificationReports - Interface in au.com.dius.pact.provider.junit
Annotation to control the generation of verification reports
verificationType(provider, consumer) - Static method in class au.com.dius.pact.provider.ProviderUtils
 
VerifierReporter - Interface in au.com.dius.pact.provider.reporters
Interface to verification reporters that can hook into the events of the PactVerifier
verifyConsumerFromFile(pactFile, consumer) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
verifyConsumerFromFile(pactFile, consumer) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
verifyConsumerFromUrl(pactUrl, consumer) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
verifyConsumerFromUrl(pactUrl, consumer) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
verifyInteraction(provider, consumer, failures, interaction) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
verifyMessagePact(methods, message, interactionMessage, failures) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
 
verifyRequestResponsePact(expectedResponse, actualResponse, interactionMessage, failures) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Compares the expected and actual responses
verifyRequestResponsePact(expectedResponse, actualResponse, interactionMessage, failures, interactionId) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Compares the expected and actual responses
verifyRequestResponsePact(expectedResponse, actualResponse, interactionMessage, failures) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Compares the expected and actual responses
verifyRequestResponsePact(expectedResponse, actualResponse, interactionMessage, failures, interactionId) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Compares the expected and actual responses
verifyResponseByInvokingProviderMethods(providerInfo, consumer, interaction, interactionMessage, failures) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Verifies the interaction by invoking a method on a provider test class
verifyResponseByInvokingProviderMethods(providerInfo, consumer, interaction, interactionMessage, failures) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the interaction by invoking a method on a provider test class
verifyResponseFromProvider(provider, interaction, interactionMessage, failures, client) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Verifies the response from the provider against the interaction
verifyResponseFromProvider(provider, interaction, interactionMessage, failures, client, context) - Method in interface au.com.dius.pact.provider.IProviderVerifier
Verifies the response from the provider against the interaction
verifyResponseFromProvider(provider, interaction, interactionMessage, failures, client) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the response from the provider against the interaction
verifyResponseFromProvider(provider, interaction, interactionMessage, failures, client, context) - Method in class au.com.dius.pact.provider.ProviderVerifierBase
Verifies the response from the provider against the interaction
VersionedPactUrl - Interface in au.com.dius.pact.provider.junit.loader
Used to point Pact runner to a versioned source of pacts for contract tests. Use ${any.variable} in the url and specify any.variable as a system property. For example, when you annotate a provider test class with: @VersionedPactUrl(urls = {"http://artifactory:8081/artifactory/consumercontracts/foo-bar/${foo.version}/foo-bar-${foo.version}.json"}) And pass a system property foo.version to the JVM, for example -Dfoo.version=123 Then the pact tests will fetch the following contract: http://artifactory:8081/artifactory/consumercontracts/foo-bar/123/foo-bar-123.json
VersionedPactUrlLoader - Class in au.com.dius.pact.provider.junit.loader
Implementation of PactLoader that downloads pacts from given urls containing versions to be filtered in from system properties.
VersionedPactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.VersionedPactUrlLoader
 
VersionedPactUrlLoader() - Constructor for class au.com.dius.pact.provider.junit.loader.VersionedPactUrlLoader
 

W

warnPactFileHasNoInteractions(pact) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
warnPactFileHasNoInteractions(pact) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
warnProviderHasNoConsumers(provider) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
warnProviderHasNoConsumers(provider) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
warnStateChangeIgnored(state, IProviderInfo, IConsumerInfo) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
warnStateChangeIgnored(state, IProviderInfo, IConsumerInfo) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
warnStateChangeIgnoredDueToInvalidUrl(state, provider, isSetup, stateChangeHandler) - Method in class au.com.dius.pact.provider.reporters.AnsiConsoleReporter
 
warnStateChangeIgnoredDueToInvalidUrl(state, provider, isSetup, stateChangeHandler) - Method in interface au.com.dius.pact.provider.reporters.VerifierReporter
 
A B C D E F G H I J L M N P R S T U V W 
Skip navigation links