Modifier and Type | Method and Description |
---|---|
Map.Entry<StubConfiguration,File> |
StubDownloader.downloadAndUnpackStubJar(StubConfiguration stubConfiguration)
Returns a mapping of updated StubConfiguration (it will contain the resolved version) and the location of the downloaded JAR.
|
Map.Entry<StubConfiguration,File> |
AetherStubDownloader.downloadAndUnpackStubJar(StubConfiguration stubConfiguration) |
Set<StubConfiguration> |
RunningStubs.getAllServices() |
Map<StubConfiguration,Collection<org.springframework.cloud.contract.spec.Contract>> |
StubRunner.getContracts() |
Map<StubConfiguration,Collection<org.springframework.cloud.contract.spec.Contract>> |
StubFinder.getContracts()
Returns the list of Contracts
|
Map<StubConfiguration,Collection<org.springframework.cloud.contract.spec.Contract>> |
BatchStubRunner.getContracts() |
Collection<StubConfiguration> |
StubRunnerOptions.getDependencies() |
Map.Entry<StubConfiguration,Integer> |
RunningStubs.getEntry(String artifactId) |
Map<StubConfiguration,Integer> |
StubRunnerOptions.getStubIdsToPortMapping() |
Map<StubConfiguration,Integer> |
RunningStubs.validNamesAndPorts() |
Modifier and Type | Method and Description |
---|---|
Map.Entry<StubConfiguration,File> |
StubDownloader.downloadAndUnpackStubJar(StubConfiguration stubConfiguration)
Returns a mapping of updated StubConfiguration (it will contain the resolved version) and the location of the downloaded JAR.
|
Map.Entry<StubConfiguration,File> |
AetherStubDownloader.downloadAndUnpackStubJar(StubConfiguration stubConfiguration) |
Integer |
StubRunnerOptions.port(StubConfiguration stubConfiguration) |
Constructor and Description |
---|
ContractDownloader(StubDownloader stubDownloader,
StubConfiguration contractsJarStubConfiguration,
String contractsPath,
String projectGroupId,
String projectArtifactId) |
StubRunner(StubRunnerOptions stubRunnerOptions,
String repositoryPath,
StubConfiguration stubsConfiguration) |
StubRunner(StubRunnerOptions stubRunnerOptions,
String repositoryPath,
StubConfiguration stubsConfiguration,
MessageVerifier<?> contractVerifierMessaging) |
Constructor and Description |
---|
RunningStubs(Map<StubConfiguration,Integer> map) |
Modifier and Type | Method and Description |
---|---|
Map<StubConfiguration,Collection<org.springframework.cloud.contract.spec.Contract>> |
StubRunnerRule.getContracts() |
Modifier and Type | Method and Description |
---|---|
protected String |
ConsulStubsRegistrar.name(StubConfiguration stubConfiguration) |
protected com.ecwid.consul.v1.agent.model.NewService |
ConsulStubsRegistrar.newService(StubConfiguration stubConfiguration,
Integer port) |
Modifier and Type | Method and Description |
---|---|
protected String |
EurekaStubsRegistrar.hostName(Map.Entry<StubConfiguration,Integer> entry) |
protected int |
EurekaStubsRegistrar.port(Map.Entry<StubConfiguration,Integer> entry) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.curator.x.discovery.ServiceInstance |
ZookeeperStubsRegistrar.serviceInstance(StubConfiguration stubConfiguration,
int port) |
Modifier and Type | Method and Description |
---|---|
static Set<StubConfiguration> |
StubsParser.fromString(Collection<String> collection,
String defaultClassifier)
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.
|
static Map<StubConfiguration,Integer> |
StubsParser.fromStringWithPort(String notation) |
Copyright © 2016–2018 Spring. All rights reserved.