Index
All Classes and Interfaces|All Packages|Serialized Form
A
- action() - Element in annotation interface au.com.dius.pact.provider.junitsupport.State
-
Whether to run the method before (SETUP) or after (TEARDOWN) the interaction
- au.com.dius.pact.provider.junitsupport - package au.com.dius.pact.provider.junitsupport
- au.com.dius.pact.provider.junitsupport.filter - package au.com.dius.pact.provider.junitsupport.filter
- au.com.dius.pact.provider.junitsupport.loader - package au.com.dius.pact.provider.junitsupport.loader
- auth() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactUrl
-
Authentication to use, if needed.
- auth() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.VersionedPactUrl
-
Authentication to use, if needed.
- authentication() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Authentication to use with the pact broker, by default no authentication is used
- Authentication - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Defines the authentication scheme to use with URLs
B
- buildPredicate(String[]) - Method in interface au.com.dius.pact.provider.junitsupport.filter.InteractionFilter
- buildPredicate(String[]) - Method in class au.com.dius.pact.provider.junitsupport.filter.InteractionFilter.ByProviderState
- buildPredicate(String[]) - Method in class au.com.dius.pact.provider.junitsupport.filter.InteractionFilter.ByRequestPath
- ByProviderState() - Constructor for class au.com.dius.pact.provider.junitsupport.filter.InteractionFilter.ByProviderState
- ByRequestPath() - Constructor for class au.com.dius.pact.provider.junitsupport.filter.InteractionFilter.ByRequestPath
C
- comment() - Element in annotation interface au.com.dius.pact.provider.junitsupport.State
-
Comment associated with the state change callback
- consumer() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.VersionSelector
-
Consumer name to fetch pacts for.
- consumers() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Deprecated.Use consumerVersionSelectors method or pactbroker.consumerversionselectors property instead
- consumerVersionSelectors() - Method in interface au.com.dius.pact.provider.junitsupport.loader.IConsumerVersionSelectors
-
Return the consumer version selectors to use in the test
- consumerVersionSelectors() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Deprecated.Use consumerVersionSelectors method or pactbroker.consumerversionselectors property instead
D
- description() - Method in interface au.com.dius.pact.provider.junitsupport.loader.PactLoader
-
Returns a description of this pact loader
E
- enableInsecureTls() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Enabling insecure TLS by setting this to true will disable hostname validation and trust all certificates.
- enablePendingPacts() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
If the pending pacts feature should be enabled.
- enablePendingPacts(boolean) - Method in interface au.com.dius.pact.provider.junitsupport.loader.PactLoader
-
Enables pending pact feature
F
- fallbackTag() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.VersionSelector
-
If a pact for the specified tag does not exist, then use this tag as a fallback.
- filter() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactFilter
-
Use this class as filter implementation.
G
- getPactSource() - Method in interface au.com.dius.pact.provider.junitsupport.loader.PactLoader
-
Returns the source object that the pacts where loaded from
H
- headerName() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.Authentication
-
Override default `Authorization` header with this value
- headerName() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBrokerAuth
-
Override default `Authorization` header with this value
- host() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Deprecated.Use url instead
I
- IConsumerVersionSelectors - Interface in au.com.dius.pact.provider.junitsupport.loader
-
Interface which defines a consumer version selector method with the correct signature
- ignoreIoErrors() - Element in annotation interface au.com.dius.pact.provider.junitsupport.IgnoreNoPactsToVerify
-
Boolean flag to indicate that IO errors should also be ignored
- IgnoreMissingStateChange - Annotation Interface in au.com.dius.pact.provider.junitsupport
-
Don't fail the build for any missing state change methods
- IgnoreNoPactsToVerify - Annotation Interface in au.com.dius.pact.provider.junitsupport
-
With this annotation set on the test class, the pact runner will ignore the fact that there are no pacts to verify.
- includeWipPactsSince() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
The earliest date WIP pacts should be included (ex: YYYY-MM-DD).
- initLoader(Class<?>, Object) - Method in interface au.com.dius.pact.provider.junitsupport.loader.PactLoader
-
Supports additional initialisation using the test class
- InteractionFilter<I extends au.com.dius.pact.core.model.Interaction> - Interface in au.com.dius.pact.provider.junitsupport.filter
- InteractionFilter.ByProviderState<I extends au.com.dius.pact.core.model.Interaction> - Class in au.com.dius.pact.provider.junitsupport.filter
-
Filter interactions by any of their provider state.
- InteractionFilter.ByRequestPath<I extends au.com.dius.pact.core.model.Interaction> - Class in au.com.dius.pact.provider.junitsupport.filter
-
Filter interactions by their request path, e.g.
L
- latest() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.VersionSelector
-
"true" to fetch the latest version of the pact, or "false" to fetch all versions
- load(String) - Method in interface au.com.dius.pact.provider.junitsupport.loader.PactLoader
-
Load pacts from appropriate source
M
- MissingStateChangeMethod - Exception in au.com.dius.pact.provider.junitsupport
- MissingStateChangeMethod() - Constructor for exception au.com.dius.pact.provider.junitsupport.MissingStateChangeMethod
- MissingStateChangeMethod(String) - Constructor for exception au.com.dius.pact.provider.junitsupport.MissingStateChangeMethod
- MissingStateChangeMethod(String, Throwable) - Constructor for exception au.com.dius.pact.provider.junitsupport.MissingStateChangeMethod
- MissingStateChangeMethod(String, Throwable, boolean, boolean) - Constructor for exception au.com.dius.pact.provider.junitsupport.MissingStateChangeMethod
- MissingStateChangeMethod(Throwable) - Constructor for exception au.com.dius.pact.provider.junitsupport.MissingStateChangeMethod
N
- NoPactsFoundException - Exception in au.com.dius.pact.provider.junitsupport.loader
- NoPactsFoundException() - Constructor for exception au.com.dius.pact.provider.junitsupport.loader.NoPactsFoundException
- NoPactsFoundException(String) - Constructor for exception au.com.dius.pact.provider.junitsupport.loader.NoPactsFoundException
- NoPactsFoundException(String, Throwable) - Constructor for exception au.com.dius.pact.provider.junitsupport.loader.NoPactsFoundException
- NoPactsFoundException(Throwable) - Constructor for exception au.com.dius.pact.provider.junitsupport.loader.NoPactsFoundException
P
- PactBroker - Annotation Interface in au.com.dius.pact.provider.junitsupport.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 - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Defines the authentication scheme to use with the pact broker
- PactBrokerConsumerVersionSelectors - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Used to mark a method that will set up any consumer version selectors required for a Pact verification test
- PactFilter - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Annotation to filter pacts.
- PactFolder - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Used to point Pact runner to source of pacts for contract tests
- PactLoader - Interface in au.com.dius.pact.provider.junitsupport.loader
-
Encapsulate logic for loading pacts
- PactSource - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Point out which
PactLoaderuse for pact loading - PactUrl - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Used to point Pact runner to source of pacts for contract tests
- password() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.Authentication
-
Password to use for basic authentication
- password() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBrokerAuth
-
Password to use for basic authentication
- port() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Deprecated.Use url instead
- providerBranch() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Provider Branches to use to evaluate pending pacts
- providerTags() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Provider Tags to use to evaluate pending pacts
R
- reportDir() - Element in annotation interface au.com.dius.pact.provider.junitsupport.VerificationReports
-
Directory where reports should be written
S
- scheme() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Deprecated.Use url instead
- SETUP - Enum constant in enum class au.com.dius.pact.provider.junitsupport.StateChangeAction
- setValueResolver(ValueResolver) - Method in interface au.com.dius.pact.provider.junitsupport.loader.PactLoader
-
Sets the value resolver to use to resolve property expressions.
- State - Annotation Interface in au.com.dius.pact.provider.junitsupport
-
Used to mark methods that should be run on state change
- StateChangeAction - Enum Class in au.com.dius.pact.provider.junitsupport
T
- tag() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.VersionSelector
-
Tags to use to fetch pacts for.
- tags() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Deprecated.Use consumerVersionSelectors method or pactbroker.consumerversionselectors property instead
- TargetRequestFilter - Annotation Interface in au.com.dius.pact.provider.junitsupport
-
Annotation to mark a test method as a request filter.
- TEARDOWN - Enum constant in enum class au.com.dius.pact.provider.junitsupport.StateChangeAction
- token() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.Authentication
-
Token to use for bearer token authentication
- token() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBrokerAuth
-
Token to use for bearer token authentication
U
- url() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
- urls() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactUrl
- urls() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.VersionedPactUrl
- username() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.Authentication
-
Username to use for basic authentication
- username() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBrokerAuth
-
Username to use for basic authentication
V
- value() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactFilter
-
Values to use for filtering.
- value() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactFolder
- value() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactSource
- value() - Element in annotation interface au.com.dius.pact.provider.junitsupport.State
- value() - Element in annotation interface au.com.dius.pact.provider.junitsupport.VerificationReports
-
Names of the reports to generate
- valueOf(String) - Static method in enum class au.com.dius.pact.provider.junitsupport.StateChangeAction
-
Returns the enum constant of this class with the specified name.
- valueResolver() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactBroker
-
Override the default value resolver for resolving the values in the expressions
- valueResolver() - Element in annotation interface au.com.dius.pact.provider.junitsupport.loader.PactFolder
-
Override the default value resolver for resolving the values in the expressions
- values() - Static method in enum class au.com.dius.pact.provider.junitsupport.StateChangeAction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- VerificationReports - Annotation Interface in au.com.dius.pact.provider.junitsupport
-
Annotation to control the generation of verification reports
- VersionedPactUrl - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Used to point Pact runner to a versioned source of pacts for contract tests.
- VersionSelector - Annotation Interface in au.com.dius.pact.provider.junitsupport.loader
-
Used to specify which versions to use when querying the Pact matrix.
All Classes and Interfaces|All Packages|Serialized Form