Class StubMapperProperties
- java.lang.Object
-
- org.springframework.cloud.contract.stubrunner.spring.cloud.StubMapperProperties
-
@ConfigurationProperties("stubrunner") public class StubMapperProperties extends ObjectMaps Ivy based ids to service Ids. You might want to name the service you're calling in another way than artifact id. If that's the case then this class should be used to change do the proper mapping. Just provide in your properties file for example: stubrunner.idsToServiceIds: fraudDetectionServer: someNameThatShouldMapFraudDetectionServer- Since:
- 1.0.0
- Author:
- Marcin Grzejszczak
-
-
Constructor Summary
Constructors Constructor Description StubMapperProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfromIvyNotationToId(String ivyNotation)StringfromServiceIdToIvyNotation(String serviceId)Map<String,String>getIdsToServiceIds()voidsetIdsToServiceIds(Map<String,String> idsToServiceIds)
-