Class StubMapperProperties


  • @ConfigurationProperties("stubrunner")
    public class StubMapperProperties
    extends Object
    Maps 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 Detail

      • StubMapperProperties

        public StubMapperProperties()
    • Method Detail

      • setIdsToServiceIds

        public void setIdsToServiceIds​(Map<String,​String> idsToServiceIds)
      • fromIvyNotationToId

        public String fromIvyNotationToId​(String ivyNotation)
      • fromServiceIdToIvyNotation

        public String fromServiceIdToIvyNotation​(String serviceId)