diff options
Diffstat (limited to 'src/test/java/org/onap/dcae/WiremockBasedTest.java')
-rw-r--r-- | src/test/java/org/onap/dcae/WiremockBasedTest.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/java/org/onap/dcae/WiremockBasedTest.java b/src/test/java/org/onap/dcae/WiremockBasedTest.java index 2144e99..da1ee1d 100644 --- a/src/test/java/org/onap/dcae/WiremockBasedTest.java +++ b/src/test/java/org/onap/dcae/WiremockBasedTest.java @@ -39,14 +39,14 @@ public class WiremockBasedTest { public WireMockRule wireMockRule = new WireMockRule( wireMockConfig().dynamicPort().dynamicHttpsPort().keystorePath(null)); - protected void stubConsulToReturnLocalAddressOfCBS() { + protected void stubConsulToReturnLocalAddressOfCbs() { stubFor(get(urlEqualTo("/v1/catalog/service/CBSName")) - .willReturn(aResponse().withBody(validLocalCBSConf()))); + .willReturn(aResponse().withBody(validLocalCbsConf()))); } - protected void stubCBSToReturnAppConfig(String sampleConfigForVES) { + protected void stubCbsToReturnAppConfig(String sampleConfigForVes) { stubFor(get(urlEqualTo("/service_component/restconfcollector")) - .willReturn(aResponse().withBody(sampleConfigForVES))); + .willReturn(aResponse().withBody(sampleConfigForVes))); } protected Map<String, String> wiremockBasedEnvProps() { @@ -58,7 +58,7 @@ public class WiremockBasedTest { ); } - protected String validLocalCBSConf() { + protected String validLocalCbsConf() { return "" + "[{ " + "\"ServiceAddress\": \"localhost\"," |