From 74f3d187db5ffefb7167b5ae05ff43406f4c24f7 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Wed, 31 Oct 2018 18:09:19 -0400 Subject: Add /serviceInstances/ to SO URL for scale-out Also reformatted line that was subsequently too long. Change-Id: I5c634c5157f18de64d37a0f451cd65f3002f35d3 Issue-ID: POLICY-1238 Signed-off-by: Jim Hahn --- .../src/test/java/org/onap/policy/simulators/SoSimulatorTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'controlloop/common/simulators/src/test/java') diff --git a/controlloop/common/simulators/src/test/java/org/onap/policy/simulators/SoSimulatorTest.java b/controlloop/common/simulators/src/test/java/org/onap/policy/simulators/SoSimulatorTest.java index 772dd7f2c..86f7b3e96 100644 --- a/controlloop/common/simulators/src/test/java/org/onap/policy/simulators/SoSimulatorTest.java +++ b/controlloop/common/simulators/src/test/java/org/onap/policy/simulators/SoSimulatorTest.java @@ -139,7 +139,8 @@ public class SoSimulatorTest { public void testResponse() { final String request = Serialization.gsonPretty.toJson(this.createTestRequest()); final Pair httpDetails = new RESTManager().post( - "http://localhost:6667/serviceInstantiation/v7/12345/vnfs/12345/vfModules/scaleOut", "username", + "http://localhost:6667/serviceInstantiation/v7/serviceInstances/12345/vnfs/12345/vfModules/scaleOut", + "username", "password", new HashMap<>(), "application/json", request); assertNotNull(httpDetails); final SOResponse response = Serialization.gsonPretty.fromJson(httpDetails.second, SOResponse.class); -- cgit 1.2.3-korg