public class DslToWireMockClientConverter extends DslToWireMockConverter
Constructor and Description |
---|
DslToWireMockClientConverter() |
Modifier and Type | Method and Description |
---|---|
Map<org.springframework.cloud.contract.spec.Contract,String> |
convertContents(String rootName,
ContractMetadata contract) |
com.github.tomakehurst.wiremock.stubbing.StubMapping |
defaultStubMappingPostProcessing(com.github.tomakehurst.wiremock.stubbing.StubMapping stubMapping,
org.springframework.cloud.contract.spec.Contract contract)
Stub mapping to chose when no post processors where found on the classpath.
|
com.github.tomakehurst.wiremock.stubbing.StubMapping |
postProcessStubMapping(com.github.tomakehurst.wiremock.stubbing.StubMapping stubMapping,
org.springframework.cloud.contract.spec.Contract contract)
Post process a generated stub mapping.
|
canReadStubMapping, generateOutputFileNameForInput
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fileExtension
public com.github.tomakehurst.wiremock.stubbing.StubMapping postProcessStubMapping(com.github.tomakehurst.wiremock.stubbing.StubMapping stubMapping, org.springframework.cloud.contract.spec.Contract contract)
StubGenerator
stubMapping
- - mapping of a stubcontract
- - contract for which stub was generatedpublic com.github.tomakehurst.wiremock.stubbing.StubMapping defaultStubMappingPostProcessing(com.github.tomakehurst.wiremock.stubbing.StubMapping stubMapping, org.springframework.cloud.contract.spec.Contract contract)
StubGenerator
stubMapping
- - mapping of a stubcontract
- - contract for which stub was generatedpublic Map<org.springframework.cloud.contract.spec.Contract,String> convertContents(String rootName, ContractMetadata contract)
rootName
- - root name of the contractcontract
- - metadata of the contractCopyright © 2016–2021 Spring. All rights reserved.