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

A

AetherStubDownloader - Class in org.springframework.cloud.contract.stubrunner
 
AetherStubDownloader(StubRunnerOptions) - Constructor for class org.springframework.cloud.contract.stubrunner.AetherStubDownloader
 
AetherStubDownloader(RepositorySystem, List<RemoteRepository>, RepositorySystemSession) - Constructor for class org.springframework.cloud.contract.stubrunner.AetherStubDownloader
Used by the Maven Plugin
apply(Statement, Description) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
AutoConfigureStubRunner - Annotation Type in org.springframework.cloud.contract.stubrunner.spring
 

B

BatchStubRunner - Class in org.springframework.cloud.contract.stubrunner
Manages lifecycle of multiple StubRunner instances.
BatchStubRunner(Iterable<StubRunner>) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
batchStubRunner() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerConfiguration
Bean that initializes stub runners, runs them and on shutdown closes them.
BatchStubRunnerFactory - Class in org.springframework.cloud.contract.stubrunner
Manages lifecycle of multiple StubRunner instances.
BatchStubRunnerFactory(StubRunnerOptions) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
 
BatchStubRunnerFactory(StubRunnerOptions, MessageVerifier) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
 
BatchStubRunnerFactory(StubRunnerOptions, StubDownloader) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
 
BatchStubRunnerFactory(StubRunnerOptions, StubDownloader, MessageVerifier<?>) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
 
build(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.ClasspathStubProvider
 
build(StubRunnerOptions) - Method in interface org.springframework.cloud.contract.stubrunner.StubDownloaderBuilder
 
build() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
buildBatchStubRunner() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
 

C

ClasspathStubProvider - Class in org.springframework.cloud.contract.stubrunner
Stub downloader that picks stubs and contracts from the provided resource.
ClasspathStubProvider() - Constructor for class org.springframework.cloud.contract.stubrunner.ClasspathStubProvider
 
close() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
close() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.ConsulStubsRegistrar
 
close() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.EurekaStubsRegistrar
 
close() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.ZookeeperStubsRegistrar
 
close() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
CloudConfig() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.StubRunnerSpringCloudEurekaAutoConfiguration.CloudConfig
 
ConditionalOnStubbedDiscoveryDisabled - Annotation Type in org.springframework.cloud.contract.stubrunner.spring.cloud
Conditional that checks if the user turned off the stubbed discovery mode
ConditionalOnStubbedDiscoveryEnabled - Annotation Type in org.springframework.cloud.contract.stubrunner.spring.cloud
Conditional that checks if the user turned on the stubbed discovery mode.
ConsulStubsRegistrar - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.consul
Registers all stubs in Zookeeper Service Discovery
ConsulStubsRegistrar(StubRunning, ConsulClient, StubMapperProperties, ConsulDiscoveryProperties, InetUtils) - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.ConsulStubsRegistrar
 
consumer(String) - Method in class org.springframework.cloud.contract.stubrunner.server.HttpStubsController
 
ContractDownloader - Class in org.springframework.cloud.contract.stubrunner
Downloads a JAR with contracts and sets up the plugin configuration with proper inclusion patterns
ContractDownloader(StubDownloader, StubConfiguration, String, String, String) - Constructor for class org.springframework.cloud.contract.stubrunner.ContractDownloader
 

D

DEFAULT_CLASSIFIER - Static variable in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
downloadAndUnpackStubJar(StubConfiguration) - Method in class org.springframework.cloud.contract.stubrunner.AetherStubDownloader
 
downloadAndUnpackStubJar(StubConfiguration) - Method in interface org.springframework.cloud.contract.stubrunner.StubDownloader
Returns a mapping of updated StubConfiguration (it will contain the resolved version) and the location of the downloaded JAR.
downloadLatestStub(String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
downloadStub(String, String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
downloadStub(String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
downloadStub(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
downloadStub(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
downloadStubs(String...) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
downloadStubs(List<String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 

E

EnableStubRunnerServer - Annotation Type in org.springframework.cloud.contract.stubrunner.server
Annotation to enable a Stub runner server.
equals(Object) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
equals(Object) - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
EurekaStubsRegistrar - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.eureka
Registers all stubs in Eureka Service Discovery
EurekaStubsRegistrar(StubRunning, ServiceRegistry<EurekaRegistration>, StubMapperProperties, InetUtils, EurekaInstanceConfigBean, EurekaClientConfigBean, ApplicationContext) - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.EurekaStubsRegistrar
 

F

findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
findAllRunningStubs() - Method in interface org.springframework.cloud.contract.stubrunner.StubFinder
Returns all running stubs
findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
findStubUrl(String, String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
findStubUrl(String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
findStubUrl(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
findStubUrl(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
findStubUrl(String, String) - Method in interface org.springframework.cloud.contract.stubrunner.StubFinder
For the given groupId and artifactId tries to find the matching URL of the running stub.
findStubUrl(String) - Method in interface org.springframework.cloud.contract.stubrunner.StubFinder
For the given Ivy notation [groupId]:artifactId:[version]:[classifier] tries to find the matching URL of the running stub.
findStubUrl(String, String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
findStubUrl(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
fromIvyNotationToId(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
 
fromServiceIdToIvyNotation(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
 
fromString(Collection<String>, String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StubsParser
The string is expected to be a map with entry called "stubs" that contains a list of Strings in the format groupid:artifactid:version:classifier:port groupid:artifactid:version:classifier groupid:artifactid:version groupid:artifactid In the latter case the provided default stub classifier will be passed.
fromStringWithPort(String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StubsParser
 
fromSystemProps() - Static method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 

G

get() - Method in class org.springframework.cloud.contract.stubrunner.StubDownloaderBuilderProvider
 
getAllServices() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
getAllServicesNames() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
getArtifactId() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
getClassifier() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getClassifier() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
getConsumerName() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getConsumerName() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getContracts() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
getContracts() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
getContracts() - Method in interface org.springframework.cloud.contract.stubrunner.StubFinder
Returns the list of Contracts
getContracts() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
getDependencies() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getEntry(String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
getGroupId() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
getIds() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getIdsToServiceIds() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
 
getMappingsOutputFolder() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getMappingsOutputFolder() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getMaxPort() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getMaxPortValue() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getMinPort() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getMinPortValue() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getOrDefaultDownloader(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.StubDownloaderBuilderProvider
If a StubDownloaderBuilder is present will build a StubDownloader from it.
getPassword() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getPassword() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getPort(String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
getPort(String, String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
getProxyHost() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getProxyHost() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions.StubRunnerProxyOptions
 
getProxyOptions() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getProxyPort() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getProxyPort() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions.StubRunnerProxyOptions
 
getRepositoryRoot() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getStubIdsToPortMapping() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getStubRepositoryRoot() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getStubRunnerProxyOptions() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getStubsClassifier() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getUsername() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
getUsername() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
getVersion() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
groupIdAndArtifactMatches(String) - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
Checks if ivy notation matches group and artifact ids

H

hasBuilder() - Method in class org.springframework.cloud.contract.stubrunner.StubDownloaderBuilderProvider
 
hashCode() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
hashCode() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
hasMappingsOutputFolder() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
hasPort(String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StubsParser
 
hasText(String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StringUtils
 
helpers() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
Deprecated.
- please use the WireMockExtensions mechanism and pass the helpers in your implementation
hostName(Map.Entry<StubConfiguration, Integer>) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.EurekaStubsRegistrar
 
HttpServerStub - Interface in org.springframework.cloud.contract.stubrunner
Describes an HTTP Server Stub
HttpStubsController - Class in org.springframework.cloud.contract.stubrunner.server
 
HttpStubsController(StubRunning) - Constructor for class org.springframework.cloud.contract.stubrunner.server.HttpStubsController
 

I

isAccepted(File) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Returns true if the file is a valid stub mapping
isAccepted(File) - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
isPresent(String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
isPresent(String, String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
isRunning() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Returns true if the server is running
isRunning() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
isStubsPerConsumer() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
isStubsPerConsumer() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
isVersionChanging() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
Returns true for a snapshot or a LATEST (+) version
isWorkOffline() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
isWorkOffline() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
ivyFromStringWithPort(String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StubsParser
 

L

labels() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
labels() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
labels() - Method in class org.springframework.cloud.contract.stubrunner.server.TriggerController
 
labels() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
labels() - Method in interface org.springframework.cloud.contract.stubrunner.StubTrigger
Returns a mapping of ivy notation of a dependency to all the labels it has.

M

main(String[]) - Static method in class org.springframework.cloud.contract.stubrunner.server.StubRunnerBoot
 
main(String[]) - Static method in class org.springframework.cloud.contract.stubrunner.StubRunnerMain
 
matchesIvyNotation(String) - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
maxPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
messageVerifier(MessageVerifier) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
minPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
myRouter(BatchStubRunner) - Method in class org.springframework.cloud.contract.stubrunner.messaging.camel.StubRunnerCamelConfiguration
 

N

name(StubConfiguration) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.ConsulStubsRegistrar
 
newService(StubConfiguration, Integer) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.ConsulStubsRegistrar
 
NonCloudConfig() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.StubRunnerSpringCloudEurekaAutoConfiguration.NonCloudConfig
 
noOpStubRunnerDiscoveryClient(StubFinder, StubMapperProperties, String) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerSpringCloudAutoConfiguration
 

O

options(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
org.springframework.cloud.contract.stubrunner - package org.springframework.cloud.contract.stubrunner
 
org.springframework.cloud.contract.stubrunner.junit - package org.springframework.cloud.contract.stubrunner.junit
 
org.springframework.cloud.contract.stubrunner.messaging.camel - package org.springframework.cloud.contract.stubrunner.messaging.camel
 
org.springframework.cloud.contract.stubrunner.messaging.integration - package org.springframework.cloud.contract.stubrunner.messaging.integration
 
org.springframework.cloud.contract.stubrunner.messaging.stream - package org.springframework.cloud.contract.stubrunner.messaging.stream
 
org.springframework.cloud.contract.stubrunner.provider.wiremock - package org.springframework.cloud.contract.stubrunner.provider.wiremock
 
org.springframework.cloud.contract.stubrunner.server - package org.springframework.cloud.contract.stubrunner.server
 
org.springframework.cloud.contract.stubrunner.spring - package org.springframework.cloud.contract.stubrunner.spring
 
org.springframework.cloud.contract.stubrunner.spring.cloud - package org.springframework.cloud.contract.stubrunner.spring.cloud
 
org.springframework.cloud.contract.stubrunner.spring.cloud.consul - package org.springframework.cloud.contract.stubrunner.spring.cloud.consul
 
org.springframework.cloud.contract.stubrunner.spring.cloud.eureka - package org.springframework.cloud.contract.stubrunner.spring.cloud.eureka
 
org.springframework.cloud.contract.stubrunner.spring.cloud.ribbon - package org.springframework.cloud.contract.stubrunner.spring.cloud.ribbon
 
org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper - package org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper
 
org.springframework.cloud.contract.stubrunner.util - package org.springframework.cloud.contract.stubrunner.util
 

P

port() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Port on which the server is running
port() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
port(Map.Entry<StubConfiguration, Integer>) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.EurekaStubsRegistrar
 
port(StubConfiguration) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 

R

registeredMappings() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Returns a collection of registered mappings
registeredMappings() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
registerMappings(Collection<File>) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Registers the stub files in the HTTP server stub.
registerMappings(Collection<File>) - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
registerStubs() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.ConsulStubsRegistrar
 
registerStubs() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.EurekaStubsRegistrar
 
registerStubs() - Method in interface org.springframework.cloud.contract.stubrunner.spring.cloud.StubsRegistrar
 
registerStubs() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.ZookeeperStubsRegistrar
 
repoRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
RunningStubs - Class in org.springframework.cloud.contract.stubrunner
Structure representing executed stubs.
RunningStubs(Map<StubConfiguration, Integer>) - Constructor for class org.springframework.cloud.contract.stubrunner.RunningStubs
 
RunningStubs(Collection<RunningStubs>) - Constructor for class org.springframework.cloud.contract.stubrunner.RunningStubs
 
runStubs() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
runStubs() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
runStubs() - Method in interface org.springframework.cloud.contract.stubrunner.StubRunning
Runs the stubs and returns the RunningStubs.

S

serviceDiscovery(ServiceInstance) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.ZookeeperStubsRegistrar
 
serviceInstance(StubConfiguration, int) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.ZookeeperStubsRegistrar
 
setClassifier(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
setIds(String[]) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setIdsToServiceIds(Map<String, String>) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
 
setMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
setMaxPort(int) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setMinPort(int) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setPassword(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setProxyHost(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setProxyPort(Integer) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setRepositoryRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setRepositoryRoot(Resource) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setStubsPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setStubsPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
setUsername(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
setWorkOffline(boolean) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
start() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Starts the server on a random port.
start(int) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Starts the server on a given port.
start() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
start(int) - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
stop() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
Stops the server.
stop() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
StringUtils - Class in org.springframework.cloud.contract.stubrunner.util
Utils ported from Apache Commons
StringUtils() - Constructor for class org.springframework.cloud.contract.stubrunner.util.StringUtils
 
StubConfiguration - Class in org.springframework.cloud.contract.stubrunner
Represents a configuration of a single stub.
StubConfiguration(String, String, String) - Constructor for class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
StubConfiguration(String, String, String, String) - Constructor for class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
StubConfiguration(String, String) - Constructor for class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
StubConfiguration(String) - Constructor for class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
StubDownloader - Interface in org.springframework.cloud.contract.stubrunner
Contract for providing a tuple containing configuration of a downloaded and unpacked stub, together with the file location of that extracted artifact.
StubDownloaderBuilder - Interface in org.springframework.cloud.contract.stubrunner
Builder for a StubDownloader.
StubDownloaderBuilderProvider - Class in org.springframework.cloud.contract.stubrunner
Provider for StubDownloaderBuilder.
StubDownloaderBuilderProvider() - Constructor for class org.springframework.cloud.contract.stubrunner.StubDownloaderBuilderProvider
 
StubFinder - Interface in org.springframework.cloud.contract.stubrunner
 
stubFlowRegistrar(AutowireCapableBeanFactory, BatchStubRunner) - Method in class org.springframework.cloud.contract.stubrunner.messaging.integration.StubRunnerIntegrationConfiguration
 
stubFlowRegistrar(AutowireCapableBeanFactory, BatchStubRunner) - Method in class org.springframework.cloud.contract.stubrunner.messaging.stream.StubRunnerStreamConfiguration
 
StubMapperProperties - Class in org.springframework.cloud.contract.stubrunner.spring.cloud
Maps Ivy based ids to service Ids.
StubMapperProperties() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
 
StubNotFoundException - Exception in org.springframework.cloud.contract.stubrunner
Exception thrown when a stub was not found
StubNotFoundException(String, String) - Constructor for exception org.springframework.cloud.contract.stubrunner.StubNotFoundException
 
StubNotFoundException(String) - Constructor for exception org.springframework.cloud.contract.stubrunner.StubNotFoundException
 
StubRunner - Class in org.springframework.cloud.contract.stubrunner
Represents a single instance of ready-to-run stubs.
StubRunner(StubRunnerOptions, String, StubConfiguration) - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunner
 
StubRunner(StubRunnerOptions, String, StubConfiguration, MessageVerifier<?>) - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunner
 
StubRunnerBoot - Class in org.springframework.cloud.contract.stubrunner.server
 
StubRunnerBoot() - Constructor for class org.springframework.cloud.contract.stubrunner.server.StubRunnerBoot
 
StubRunnerCamelConfiguration - Class in org.springframework.cloud.contract.stubrunner.messaging.camel
Camel configuration that iterates over the downloaded Groovy DSLs and registers a route for each DSL.
StubRunnerCamelConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.messaging.camel.StubRunnerCamelConfiguration
 
StubRunnerConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring
Configuration that initializes a BatchStubRunner that runs StubRunner instance for each stub
StubRunnerConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.StubRunnerConfiguration
 
stubRunnerDiscoveryClientWrapper() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerSpringCloudAutoConfiguration
 
StubRunnerIntegrationConfiguration - Class in org.springframework.cloud.contract.stubrunner.messaging.integration
Spring Integration configuration that iterates over the downloaded Groovy DSLs and registers a flow for each DSL.
StubRunnerIntegrationConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.messaging.integration.StubRunnerIntegrationConfiguration
 
StubRunnerMain - Class in org.springframework.cloud.contract.stubrunner
 
StubRunnerOptions - Class in org.springframework.cloud.contract.stubrunner
Technical options related to running StubRunner Use to build this object.
StubRunnerOptions.StubRunnerProxyOptions - Class in org.springframework.cloud.contract.stubrunner
 
StubRunnerOptionsBuilder - Class in org.springframework.cloud.contract.stubrunner
 
StubRunnerOptionsBuilder() - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
StubRunnerOptionsBuilder(StubRunnerOptions) - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
StubRunnerProperties - Class in org.springframework.cloud.contract.stubrunner.spring
 
StubRunnerProperties() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
StubRunnerProxyOptions(String, int) - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunnerOptions.StubRunnerProxyOptions
 
StubRunnerRibbonAutoConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.ribbon
 
StubRunnerRibbonAutoConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.ribbon.StubRunnerRibbonAutoConfiguration
 
StubRunnerRule - Class in org.springframework.cloud.contract.stubrunner.junit
JUnit class rule that allows you to download the provided stubs.
StubRunnerRule() - Constructor for class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
StubRunnerRule.PortStubRunnerRule - Class in org.springframework.cloud.contract.stubrunner.junit
Helper class with additional port, related methods once you pick a stub to download
StubRunnerSpringCloudAutoConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring.cloud
Wraps DiscoveryClient in a Stub Runner implementation that tries to find a corresponding WireMock server for a searched dependency
StubRunnerSpringCloudAutoConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerSpringCloudAutoConfiguration
 
StubRunnerSpringCloudConsulAutoConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.consul
Autoconfiguration for registering stubs in a Zookeeper Service discovery
StubRunnerSpringCloudConsulAutoConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.StubRunnerSpringCloudConsulAutoConfiguration
 
StubRunnerSpringCloudEurekaAutoConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.eureka
Autoconfiguration for registering stubs in a Eureka Service discovery
StubRunnerSpringCloudEurekaAutoConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.StubRunnerSpringCloudEurekaAutoConfiguration
 
StubRunnerSpringCloudEurekaAutoConfiguration.CloudConfig - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.eureka
 
StubRunnerSpringCloudEurekaAutoConfiguration.NonCloudConfig - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.eureka
 
StubRunnerSpringCloudZookeeperAutoConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper
Autoconfiguration for registering stubs in a Zookeeper Service discovery
StubRunnerSpringCloudZookeeperAutoConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.StubRunnerSpringCloudZookeeperAutoConfiguration
 
StubRunnerStreamConfiguration - Class in org.springframework.cloud.contract.stubrunner.messaging.stream
Spring Cloud Stream configuration that iterates over the downloaded Groovy DSLs and registers a flow for each DSL.
StubRunnerStreamConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.messaging.stream.StubRunnerStreamConfiguration
 
StubRunning - Interface in org.springframework.cloud.contract.stubrunner
 
stubs() - Method in class org.springframework.cloud.contract.stubrunner.server.HttpStubsController
 
StubsParser - Class in org.springframework.cloud.contract.stubrunner.util
Utility to parse string into a list of configuration of stubs
StubsParser() - Constructor for class org.springframework.cloud.contract.stubrunner.util.StubsParser
 
stubsRegistrar(StubRunning, ConsulClient, StubMapperProperties, ConsulDiscoveryProperties, InetUtils) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.StubRunnerSpringCloudConsulAutoConfiguration
 
stubsRegistrar(StubRunning, ServiceRegistry<EurekaRegistration>, ApplicationContext, StubMapperProperties, InetUtils, EurekaInstanceConfigBean, EurekaClientConfigBean) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.StubRunnerSpringCloudEurekaAutoConfiguration.CloudConfig
 
stubsRegistrar(StubRunning, ServiceRegistry<EurekaRegistration>, ApplicationContext, StubMapperProperties, InetUtils, EurekaInstanceConfigBean, EurekaClientConfigBean) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.eureka.StubRunnerSpringCloudEurekaAutoConfiguration.NonCloudConfig
 
StubsRegistrar - Interface in org.springframework.cloud.contract.stubrunner.spring.cloud
Contract for registering stubs in a Service Discovery.
stubsRegistrar(StubRunning, CuratorFramework, StubMapperProperties, ZookeeperDiscoveryProperties) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.StubRunnerSpringCloudZookeeperAutoConfiguration
 
StubTrigger - Interface in org.springframework.cloud.contract.stubrunner
 
substringAfterLast(String, String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StringUtils
Gets the substring after the last occurrence of a separator.
substringBeforeLast(String, String) - Static method in class org.springframework.cloud.contract.stubrunner.util.StringUtils
Gets the substring before the last occurrence of a separator.

T

toColonSeparatedDependencyNotation() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
Returns a colon separated representation of the stub configuration (e.g.
toIvyToPortMapping() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
toString() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 
toString() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
 
toString() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
 
toString() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions.StubRunnerProxyOptions
 
toString() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
 
trigger(String, String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
trigger() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
 
trigger(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
trigger() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.server.TriggerController
 
trigger(String, String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
trigger() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
 
trigger(String, String) - Method in interface org.springframework.cloud.contract.stubrunner.StubTrigger
Triggers an event by a given label for a given groupid:artifactid notation.
trigger(String) - Method in interface org.springframework.cloud.contract.stubrunner.StubTrigger
Triggers an event by a given label.
trigger() - Method in interface org.springframework.cloud.contract.stubrunner.StubTrigger
Triggers all possible events.
triggerByArtifact(String, String) - Method in class org.springframework.cloud.contract.stubrunner.server.TriggerController
 
TriggerController - Class in org.springframework.cloud.contract.stubrunner.server
 
TriggerController(StubFinder) - Constructor for class org.springframework.cloud.contract.stubrunner.server.TriggerController
 

U

unpackedDownloadedContracts(ContractVerifierConfigProperties) - Method in class org.springframework.cloud.contract.stubrunner.ContractDownloader
Downloads JAR containing all the contracts.
unzipTo(File, File) - Static method in class org.springframework.cloud.contract.stubrunner.util.ZipCategory
Unzips this file.
updatePropertiesWithInclusion(File, ContractVerifierConfigProperties) - Method in class org.springframework.cloud.contract.stubrunner.ContractDownloader
 

V

validNamesAndPorts() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
 

W

WireMockHttpServerStub - Class in org.springframework.cloud.contract.stubrunner.provider.wiremock
Abstraction over WireMock as a HTTP Server Stub
WireMockHttpServerStub() - Constructor for class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
 
withConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
withConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
withMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withMaxPort(int) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withMinMaxPort(Integer, Integer) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withMinPort(int) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withOptions(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withPassword(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withPort(Integer) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
 
withPort(Integer) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withProxy(String, int) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withStubPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 
withStubPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withStubRepositoryRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withStubs(String...) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withStubs(List<String>) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withStubsClassifier(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withUsername(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
withWorkOffline(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
 
workOffline(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
 

Z

ZipCategory - Class in org.springframework.cloud.contract.stubrunner.util
ZipCategory() - Constructor for class org.springframework.cloud.contract.stubrunner.util.ZipCategory
 
ZookeeperStubsRegistrar - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper
Registers all stubs in Zookeeper Service Discovery
ZookeeperStubsRegistrar(StubRunning, CuratorFramework, StubMapperProperties, ZookeeperDiscoveryProperties) - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.ZookeeperStubsRegistrar
 
A B C D E F G H I L M N O P R S T U V W Z 
Skip navigation links

Copyright © 2016–2018 Spring. All rights reserved.