Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AetherStubDownloader - Class in org.springframework.cloud.contract.stubrunner
- AetherStubDownloader(RepositorySystem, List<RemoteRepository>, RepositorySystemSession, Settings) - Constructor for class org.springframework.cloud.contract.stubrunner.AetherStubDownloader
-
Used by the Maven Plugin.
- AetherStubDownloader(StubRunnerOptions) - Constructor for class org.springframework.cloud.contract.stubrunner.AetherStubDownloader
- AetherStubDownloaderBuilder - Class in org.springframework.cloud.contract.stubrunner
- AetherStubDownloaderBuilder() - Constructor for class org.springframework.cloud.contract.stubrunner.AetherStubDownloaderBuilder
- afterAll(ExtensionContext) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- afterEach(ExtensionContext) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- afterTestClass(TestContext) - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.StubRunnerWireMockTestExecutionListener
- 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(BeanFactory) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerConfiguration
-
Bean that initializes stub runners, runs them and on shutdown closes them.
- 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
- batchStubRunnerBeanPostProcessor(BatchStubRunner) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerConfiguration
- 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, StubDownloader) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
- BatchStubRunnerFactory(StubRunnerOptions, StubDownloader, MessageVerifierSender<?>) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
- BatchStubRunnerFactory(StubRunnerOptions, MessageVerifierSender<?>) - Constructor for class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
- beforeAll(ExtensionContext) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- beforeEach(ExtensionContext) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- build() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- build(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.AetherStubDownloaderBuilder
- build(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.ClasspathStubProvider
- build(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.FileStubDownloader
- build(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.ScmStubDownloaderBuilder
- build(StubRunnerOptions) - Method in interface org.springframework.cloud.contract.stubrunner.StubDownloaderBuilder
- buildBatchStubRunner() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunnerFactory
C
- classifier() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- CLASSPATH - Enum constant in enum org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties.StubsMode
-
Pick the stubs from classpath.
- 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.
- configure(T, HttpServerStubConfiguration) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
-
Performs additional configuration of the HTTP Server Stub.
- configurer - Variable in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
-
Allows to perform additional configuration of the HTTP Server stub.
- 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
- consumerName() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
-
You can override the default
spring.application.name
of this field by setting a value to this parameter. - 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, String) - Constructor for class org.springframework.cloud.contract.stubrunner.ContractDownloader
- ContractDownloader.InclusionProperties - Class in org.springframework.cloud.contract.stubrunner
-
Holder for updated inclusion properties, which are calculated after jar with contracts was downloaded / unpacked.
- ContractProjectUpdater - Class in org.springframework.cloud.contract.stubrunner
-
Updates the project containing contracts.
- ContractProjectUpdater(StubRunnerOptions) - Constructor for class org.springframework.cloud.contract.stubrunner.ContractProjectUpdater
- createNewInclusionProperties(File) - Method in class org.springframework.cloud.contract.stubrunner.ContractDownloader
-
After JAR with all the contracts is downloaded and unpacked - we need to get new inclusion pattern for those contracts.
- createSettingsDecrypter() - Method in class org.springframework.cloud.contract.stubrunner.MavenSettings
D
- DEFAULT_CLASSIFIER - Static variable in class org.springframework.cloud.contract.stubrunner.StubConfiguration
-
Default classifier for the stubs.
- deleteStubsAfterTest() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- downloadAndUnpackStubJar(StubConfiguration) - Method in class org.springframework.cloud.contract.stubrunner.AetherStubDownloader
- downloadAndUnpackStubJar(StubConfiguration) - Method in interface org.springframework.cloud.contract.stubrunner.StubDownloader
-
Note: Actually the artifact doesn't have to be a JAR.
- downloadLatestStub(String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadLatestStub(String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- downloadLatestStub(String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- downloadStub(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadStub(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- downloadStub(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- downloadStub(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadStub(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.PortStubRunnerRule
- downloadStub(String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadStub(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.PortStubRunnerRule
- downloadStub(String, String, String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadStub(String, 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.PortStubRunnerRule
- downloadStubs(String...) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadStubs(String...) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- downloadStubs(String...) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- downloadStubs(List<String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- downloadStubs(List<String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- downloadStubs(List<String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
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
- failOnNoStubs() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- failOnNoStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- failOnNoStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- failOnNoStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- FileStubDownloader - Class in org.springframework.cloud.contract.stubrunner
-
Allows to read stubs and contracts from a given location.
- FileStubDownloader() - Constructor for class org.springframework.cloud.contract.stubrunner.FileStubDownloader
- findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
- findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- findAllRunningStubs() - Method in interface org.springframework.cloud.contract.stubrunner.StubFinder
- findAllRunningStubs() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
- findStubUrl(String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
- findStubUrl(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- findStubUrl(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- 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) - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
- findStubUrl(String, String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
- findStubUrl(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- findStubUrl(String, 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, 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
- generateStubs() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- get(StubRunnerOptions, StubDownloaderBuilder...) - 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.StubRunnerExtension
- getContracts() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- getContracts() - Method in interface org.springframework.cloud.contract.stubrunner.StubFinder
- 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
- getHttpServerStubConfigurer() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- getHttpServerStubConfigurer() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- getIds() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- getIdsToServiceIds() - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
- getIncludedContracts() - Method in class org.springframework.cloud.contract.stubrunner.ContractDownloader.InclusionProperties
- getIncludedRootFolderAntPattern() - Method in class org.springframework.cloud.contract.stubrunner.ContractDownloader.InclusionProperties
- 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
- 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
- getProperties() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- getProperties() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- getProperty(Map<String, String>, String) - Static method in class org.springframework.cloud.contract.stubrunner.StubRunnerPropertyUtils
- 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
- getServerId() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- getServerId() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- getStubIdsToPortMapping() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- getStubRepositoryRoot() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- getStubRepositoryRootAsString() - 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
- getStubsMode() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- getStubsMode() - 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
- 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
- hasProperty(Map<String, String>, String) - Static method in class org.springframework.cloud.contract.stubrunner.StubRunnerPropertyUtils
- 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.
- HttpServerStubConfiguration - Class in org.springframework.cloud.contract.stubrunner
-
Configuration class for an
HttpServerStub
. - HttpServerStubConfiguration(HttpServerStubConfigurer, StubRunnerOptions, StubConfiguration, Integer) - Constructor for class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
- HttpServerStubConfiguration(HttpServerStubConfigurer, StubRunnerOptions, StubConfiguration, Integer, boolean) - Constructor for class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
- httpServerStubConfigurer() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
-
Configuration for an HTTP server stub.
- HttpServerStubConfigurer<T> - Interface in org.springframework.cloud.contract.stubrunner
-
Allows to perform additional configuration of the HTTP Server stub.
- HttpServerStubConfigurer.NoOpHttpServerStubConfigurer - Class in org.springframework.cloud.contract.stubrunner
-
Implementation that does nothing.
- httpsPort() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
- httpsPort() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
- HttpStubsController - Class in org.springframework.cloud.contract.stubrunner.server
- HttpStubsController(StubRunning) - Constructor for class org.springframework.cloud.contract.stubrunner.server.HttpStubsController
I
- ids() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- INSTANCE - Static variable in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer.NoOpHttpServerStubConfigurer
-
Singleton instance.
- isAccepted(File) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
- isAccepted(File) - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
- isAccepted(Object) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer
-
Ensures that the HTTP server stub implementation configuration type is accepted.
- isAccepted(Object) - Method in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer.NoOpHttpServerStubConfigurer
- isAccepted(Object) - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStubConfigurer
- isDeleteStubsAfterTest() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- isDeleteStubsAfterTest() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- isFailOnNoStubs() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- isFailOnNoStubs() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- isGenerateStubs() - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- isGenerateStubs() - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptions
- isPresent(String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
- isPresent(String, String) - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
- isPropertySet(String) - Static method in class org.springframework.cloud.contract.stubrunner.StubRunnerPropertyUtils
- isProtocolAccepted(String) - Static method in class org.springframework.cloud.contract.stubrunner.FileStubDownloader
-
Does any of the accepted protocols matches the URL of the repository.
- isProtocolAccepted(String) - Static method in class org.springframework.cloud.contract.stubrunner.ScmStubDownloaderBuilder
-
Does any of the accepted protocols matches the URL of the repository.
- isRandomPort() - Method in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
- isRunning() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
- 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
- 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.StubRunnerExtension
- 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
-
Feature related to messaging.
- LOCAL - Enum constant in enum org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties.StubsMode
-
Fetch the stubs from local .m2.
M
- main(String[]) - Static method in class org.springframework.cloud.contract.stubrunner.server.StubRunnerBoot
- mappingsOutputFolder() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
-
For debugging purposes you can output the registered mappings to a given folder.
- matchesIvyNotation(String) - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
- MavenSettings - Class in org.springframework.cloud.contract.stubrunner
- MavenSettings() - Constructor for class org.springframework.cloud.contract.stubrunner.MavenSettings
- MavenSettings(String) - Constructor for class org.springframework.cloud.contract.stubrunner.MavenSettings
- maxPort() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- maxPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- maxPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- maxPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- messageVerifierReceiver(MessageVerifierReceiver) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- messageVerifierReceiver(MessageVerifierReceiver) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- messageVerifierReceiver(MessageVerifierReceiver) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
-
Pass the
MessageVerifierReceiver
that this rule should use. - messageVerifierSender(MessageVerifierSender) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- messageVerifierSender(MessageVerifierSender) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- messageVerifierSender(MessageVerifierSender) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
-
Pass the
MessageVerifierSender
that this rule should use. - minPort() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- minPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- minPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- minPort(int) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
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
- NoOpHttpServerStubConfigurer() - Constructor for class org.springframework.cloud.contract.stubrunner.HttpServerStubConfigurer.NoOpHttpServerStubConfigurer
- noOpStubRunnerDiscoveryClient(StubFinder, StubMapperProperties) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerSpringCloudAutoConfiguration
- noOpStubRunnerReactiveDiscoveryClient(StubFinder, StubMapperProperties) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerSpringCloudAutoConfiguration
O
- options(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- options(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- options(StubRunnerOptions) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
-
Override all options.
- 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.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.loadbalancer - package org.springframework.cloud.contract.stubrunner.spring.cloud.loadbalancer
- 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 - Variable in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
-
Port at which the stub will be started.
- port() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
- 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
- properties() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
-
Properties in form key=value.
R
- randomPort - Variable in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
-
Is port a random one or was it fixed.
- registeredMappings() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
- 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
- REMOTE - Enum constant in enum org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties.StubsMode
-
Fetch the stubs from a remote location.
- repoRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- repoRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- repoRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- repositoryRoot() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
- reset() - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
-
Resets the server.
- reset() - Method in class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStub
- resolve(String, ResourceLoader) - Method in class org.springframework.cloud.contract.stubrunner.FileStubDownloader
- resolve(String, ResourceLoader) - Method in class org.springframework.cloud.contract.stubrunner.ScmStubDownloaderBuilder
- resolve(String, ResourceLoader) - Method in interface org.springframework.cloud.contract.stubrunner.StubDownloaderBuilder
- resource(String) - Static method in class org.springframework.cloud.contract.stubrunner.ResourceResolver
- ResourceResolver - Class in org.springframework.cloud.contract.stubrunner
-
Uses
META-INF/spring.factories
to readProtocolResolver
list that gets added toDefaultResourceLoader
. - RunningStubs - Class in org.springframework.cloud.contract.stubrunner
-
Structure representing executed stubs.
- RunningStubs(Collection<RunningStubs>) - Constructor for class org.springframework.cloud.contract.stubrunner.RunningStubs
- RunningStubs(Map<StubConfiguration, Integer>) - 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
S
- ScmStubDownloaderBuilder - Class in org.springframework.cloud.contract.stubrunner
-
Builds a
StubDownloader
to work with contracts and stubs from a SCM. - ScmStubDownloaderBuilder() - Constructor for class org.springframework.cloud.contract.stubrunner.ScmStubDownloaderBuilder
- 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
- setDeleteStubsAfterTest(boolean) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- setFailOnNoStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- setGenerateStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- setHttpServerStubConfigurer(Class) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- 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
- 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
- setProperties(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
- setServerId(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- setStubsMode(StubRunnerProperties.StubsMode) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- setStubsPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- setUsername(String) - Method in class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- SpringCloudLoadBalancerAutoConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring.cloud.loadbalancer
-
Provides autoconfiguraion for the Spring Cloud Load Balancer module.
- SpringCloudLoadBalancerAutoConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.cloud.loadbalancer.SpringCloudLoadBalancerAutoConfiguration
- start(HttpServerStubConfiguration) - Method in interface org.springframework.cloud.contract.stubrunner.HttpServerStub
-
Starts the server.
- start(HttpServerStubConfiguration) - 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
- stubConfiguration - Variable in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
-
Configuration of a particular stub.
- StubConfiguration - Class in org.springframework.cloud.contract.stubrunner
-
Represents a configuration of a single stub.
- StubConfiguration(String) - Constructor for class org.springframework.cloud.contract.stubrunner.StubConfiguration
- StubConfiguration(String, String) - Constructor for class org.springframework.cloud.contract.stubrunner.StubConfiguration
- 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
- 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
-
Contract for finding registered stubs.
- 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) - Constructor for exception org.springframework.cloud.contract.stubrunner.StubNotFoundException
- StubNotFoundException(String, 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, MessageVerifierSender<?>) - 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
- StubRunnerConfiguration - Class in org.springframework.cloud.contract.stubrunner.spring
-
Configuration that initializes a
BatchStubRunner
that runsStubRunner
instance for each stub. - StubRunnerConfiguration() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.StubRunnerConfiguration
- stubRunnerDiscoveryClientWrapper(BeanFactory) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.StubRunnerSpringCloudAutoConfiguration
- StubRunnerExtension - Class in org.springframework.cloud.contract.stubrunner.junit
-
JUnit 5 extension that allows to download and run stubs.
- StubRunnerExtension() - Constructor for class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- StubRunnerExtension.PortStubRunnerExtension - Class in org.springframework.cloud.contract.stubrunner.junit
-
Helper class with additional port, related methods once you pick a stub to download.
- stubRunnerOptions - Variable in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
-
Options of Stub Runner itself.
- StubRunnerOptions - Class in org.springframework.cloud.contract.stubrunner
-
Technical options related to running StubRunner Use
StubRunnerOptionsBuilder
to build this object. - StubRunnerOptions.StubRunnerProxyOptions - Class in org.springframework.cloud.contract.stubrunner
-
Options for a proxy.
- StubRunnerOptionsBuilder - Class in org.springframework.cloud.contract.stubrunner
-
A builder object for
StubRunnerOptions
. - StubRunnerOptionsBuilder() - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- StubRunnerOptionsBuilder(StubRunnerOptions) - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- StubRunnerPort - Annotation Type in org.springframework.cloud.contract.stubrunner.spring
-
The annotated field with this annotation will have the port of a running stub injected.
- StubRunnerProperties - Class in org.springframework.cloud.contract.stubrunner.spring
- StubRunnerProperties() - Constructor for class org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties
- StubRunnerProperties.StubsMode - Enum in org.springframework.cloud.contract.stubrunner.spring
-
An enumeration stub modes.
- StubRunnerPropertyUtils - Class in org.springframework.cloud.contract.stubrunner
-
Reads property from system prop and from env var.
- StubRunnerProxyOptions(String, int) - Constructor for class org.springframework.cloud.contract.stubrunner.StubRunnerOptions.StubRunnerProxyOptions
- 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
- StubRunnerWireMockTestExecutionListener - Class in org.springframework.cloud.contract.stubrunner.provider.wiremock
-
Marks context to be restarted if at least one stub has a fixed port.
- StubRunnerWireMockTestExecutionListener() - Constructor for class org.springframework.cloud.contract.stubrunner.provider.wiremock.StubRunnerWireMockTestExecutionListener
- StubRunning - Interface in org.springframework.cloud.contract.stubrunner
-
Contract for running stubs.
- stubs() - Method in class org.springframework.cloud.contract.stubrunner.server.HttpStubsController
- stubsMode() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
-
The way stubs should be found and registered.
- stubsMode(StubRunnerProperties.StubsMode) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- stubsMode(StubRunnerProperties.StubsMode) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- stubsMode(StubRunnerProperties.StubsMode) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- StubsParser - Class in org.springframework.cloud.contract.stubrunner.util
-
Utility to parse string into a list of configuration of stubs.
- stubsPerConsumer() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.AutoConfigureStubRunner
-
On the producer side the consumers can have a folder that contains contracts related only to them.
- stubsRegistrar(StubRunning, ConsulClient, StubMapperProperties, ConsulDiscoveryProperties, InetUtils) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.consul.StubRunnerSpringCloudConsulAutoConfiguration
- stubsRegistrar(StubRunning, CuratorFramework, StubMapperProperties, ZookeeperDiscoveryProperties) - Method in class org.springframework.cloud.contract.stubrunner.spring.cloud.zookeeper.StubRunnerSpringCloudZookeeperAutoConfiguration
- 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.
- StubTrigger - Interface in org.springframework.cloud.contract.stubrunner
-
Contract for triggering stub messages.
T
- toColonSeparatedDependencyNotation() - Method in class org.springframework.cloud.contract.stubrunner.HttpServerStubConfiguration
- toColonSeparatedDependencyNotation() - Method in class org.springframework.cloud.contract.stubrunner.StubConfiguration
- 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() - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
- trigger() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- trigger() - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- trigger() - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
- trigger() - Method in interface org.springframework.cloud.contract.stubrunner.StubTrigger
-
Triggers all possible events.
- trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
- trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.server.TriggerController
- trigger(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunner
- trigger(String) - Method in interface org.springframework.cloud.contract.stubrunner.StubTrigger
-
Triggers an event by a given label.
- trigger(String, String) - Method in class org.springframework.cloud.contract.stubrunner.BatchStubRunner
- trigger(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- trigger(String, String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- trigger(String, String) - 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. - 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
- unpackAndDownloadContracts() - 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.
- updateContractProject(String, Path) - Method in class org.springframework.cloud.contract.stubrunner.ContractProjectUpdater
-
Merges the folder with stubs with the project containing contracts.
V
- validNamesAndPorts() - Method in class org.springframework.cloud.contract.stubrunner.RunningStubs
- value() - Element in annotation type org.springframework.cloud.contract.stubrunner.spring.StubRunnerPort
- valueOf(String) - Static method in enum org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties.StubsMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.springframework.cloud.contract.stubrunner.spring.StubRunnerProperties.StubsMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
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
- WireMockHttpServerStubConfigurer - Class in org.springframework.cloud.contract.stubrunner.provider.wiremock
-
Typed implementation of
HttpServerStubConfigurer
for WireMock'sWireMockConfiguration
. - WireMockHttpServerStubConfigurer() - Constructor for class org.springframework.cloud.contract.stubrunner.provider.wiremock.WireMockHttpServerStubConfigurer
- withConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withConsumerName(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withDeleteStubsAfterTest(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withDeleteStubsAfterTest(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withDeleteStubsAfterTest(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withDeleteStubsAfterTest(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withFailOnNoStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withGenerateStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withGenerateStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withGenerateStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withGenerateStubs(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withHttpServerStubConfigurer(Class) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withHttpServerStubConfigurer(Class<? extends HttpServerStubConfigurer>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withHttpServerStubConfigurer(Class<? extends HttpServerStubConfigurer>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withHttpServerStubConfigurer(Class<? extends HttpServerStubConfigurer>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withMappingsOutputFolder(String) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- 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.StubRunnerExtension.PortStubRunnerExtension
- withPort(Integer) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withPort(Integer) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withProperties(Map<String, String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withProperties(Map<String, String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withProperties(Map<String, String>) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withProperties(Map<String, String>) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withProxy(String, int) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withServerId(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withStubPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerExtension
- withStubPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule
- withStubPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.junit.StubRunnerRule.PortStubRunnerRule
- withStubPerConsumer(boolean) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withStubRepositoryRoot(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withStubRepositoryRoot(Resource) - 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
- withStubsMode(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withStubsMode(StubRunnerProperties.StubsMode) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
- withUsername(String) - Method in class org.springframework.cloud.contract.stubrunner.StubRunnerOptionsBuilder
Z
- ZipCategory - Class in org.springframework.cloud.contract.stubrunner.util
- 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
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form