aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/java
diff options
context:
space:
mode:
authoraosull01 <adrian.osullivan@huawei.com>2018-09-19 16:30:18 +0100
committeraosull01 <adrian.osullivan@huawei.com>2018-09-19 16:30:18 +0100
commit8385036969ef8d3e5b0f6c9ef2c6750305d7a4de (patch)
tree26faa2f6506e6ffae2878ab38fa1215ed361a923 /src/test/java
parent8f141d17f3ea7720df479f4ae51b5a2e169548cb (diff)
EXTAPI-150 Correct SO Paths
Issue-ID: EXTAPI-150 Change-Id: I488803bf97b427ee6e0324b427cbe202bd91b352 Signed-off-by: aosull01 <adrian.osullivan@huawei.com>
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/org/onap/nbi/apis/ApiTest.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/test/java/org/onap/nbi/apis/ApiTest.java b/src/test/java/org/onap/nbi/apis/ApiTest.java
index 5bf9983..3ac2f7e 100644
--- a/src/test/java/org/onap/nbi/apis/ApiTest.java
+++ b/src/test/java/org/onap/nbi/apis/ApiTest.java
@@ -988,7 +988,7 @@ public class ApiTest {
ExecutionTask executionTaskA = ServiceOrderAssertions.setUpBddForExecutionTaskSucess(serviceOrderRepository,
executionTaskRepository, ActionType.ADD);
- removeWireMockMapping("/ecomp/mso/infra/orchestrationRequests/v6/requestId");
+ removeWireMockMapping("/onap/so/infra/orchestrationRequests/v7/requestId");
SoTaskProcessor.processOrderItem(executionTaskA);
@@ -1025,7 +1025,7 @@ public class ApiTest {
ExecutionTask executionTaskA = ServiceOrderAssertions.setUpBddForE2EExecutionTaskSucess(serviceOrderRepository,
executionTaskRepository, ActionType.ADD);
- removeWireMockMapping("/ecomp/mso/infra/e2eServiceInstances/v3/serviceId/operations/operationId");
+ removeWireMockMapping("/onap/so/infra/e2eServiceInstances/v3/serviceId/operations/operationId");
SoTaskProcessor.processOrderItem(executionTaskA);
@@ -1061,7 +1061,7 @@ public class ApiTest {
ExecutionTask executionTaskA = ServiceOrderAssertions.setUpBddForExecutionTaskSucess(serviceOrderRepository,
executionTaskRepository, ActionType.ADD);
- removeWireMockMapping("/ecomp/mso/infra/serviceInstances/v6");
+ removeWireMockMapping("/onap/so/infra/serviceInstantiation/v7/serviceInstances/");
SoTaskProcessor.processOrderItem(executionTaskA);
@@ -1083,8 +1083,8 @@ public class ApiTest {
ExecutionTask executionTaskA = ServiceOrderAssertions.setUpBddForExecutionTaskSucess(serviceOrderRepository,
executionTaskRepository, ActionType.ADD);
- removeWireMockMapping("/ecomp/mso/infra/serviceInstances/v6");
- removeWireMockMapping("/ecomp/mso/infra/orchestrationRequests/v6/requestId");
+ removeWireMockMapping("/onap/so/infra/serviceInstantiation/v7/serviceInstances/");
+ removeWireMockMapping("/onap/so/infra/orchestrationRequests/v7/requestId");
SoTaskProcessor.processOrderItem(executionTaskA);
@@ -1104,8 +1104,8 @@ public class ApiTest {
ExecutionTask executionTaskA = ServiceOrderAssertions.setUpBddForE2EExecutionTaskSucess(serviceOrderRepository,
executionTaskRepository, ActionType.ADD);
- removeWireMockMapping("/ecomp/mso/infra/e2eServiceInstances/v3");
- removeWireMockMapping("/ecomp/mso/infra/e2eServiceInstances/v3/serviceId/operations/operationId");
+ removeWireMockMapping("/onap/so/infra/e2eServiceInstances/v3");
+ removeWireMockMapping("/onap/so/infra/e2eServiceInstances/v3/serviceId/operations/operationId");
SoTaskProcessor.processOrderItem(executionTaskA);
@@ -1127,7 +1127,7 @@ public class ApiTest {
executionTaskRepository, ActionType.ADD);
- changeWireMockResponse("/ecomp/mso/infra/serviceInstances/v6",400,"\"serviceException\": {\n"
+ changeWireMockResponse("/onap/so/infra/serviceInstantiation/v7/serviceInstances/",400,"\"serviceException\": {\n"
+ " \"messageId\": \"SVC0002\",\n"
+ " \"text\": \"Error parsing request. org.openecomp.mso.apihandler.common.ValidationException: serviceInstance already existsd\"\n"
+ " }");
@@ -1211,7 +1211,7 @@ public class ApiTest {
ExecutionTask executionTaskA = ServiceOrderAssertions.setUpBddForExecutionTaskSucess(serviceOrderRepository,
executionTaskRepository, ActionType.MODIFY);
ExecutionTask executionTaskB;
- removeWireMockMapping("/ecomp/mso/infra/orchestrationRequests/v6/requestId");
+ removeWireMockMapping("/onap/so/infra/orchestrationRequests/v7/requestId");
SoTaskProcessor.processOrderItem(executionTaskA);