Change SO endpoints URI 11/44111/1
authorromaingimbert <romain.gimbert@orange.com>
Mon, 23 Apr 2018 08:52:52 +0000 (10:52 +0200)
committerromaingimbert <romain.gimbert@orange.com>
Mon, 23 Apr 2018 08:52:52 +0000 (10:52 +0200)
Change-Id: I110ce38c3752ef1bd70fa8783f0743377f2ce6de
Issue-ID: EXTAPI-62
Signed-off-by: romaingimbert <romain.gimbert@orange.com>
src/main/java/org/onap/nbi/OnapComponentsUrlPaths.java
src/test/resources/mappings/so_delete_service_instance.json
src/test/resources/mappings/so_post_create_service_instance.json

index 989df02..a6e943b 100644 (file)
@@ -42,7 +42,7 @@ public final class OnapComponentsUrlPaths {
             "/aai/v11/business/customers/customer/$customerId/service-subscriptions/service-subscription/$serviceSpecName/service-instances/";
 
     // MSO
-    public static final String MSO_CREATE_SERVICE_INSTANCE_PATH = "/ecomp/mso/infra/serviceInstance/v4";
+    public static final String MSO_CREATE_SERVICE_INSTANCE_PATH = "/ecomp/mso/infra/serviceInstances/v4";
     public static final String MSO_GET_REQUEST_STATUS_PATH = "/ecomp/mso/infra/orchestrationRequests/v4/";
-    public static final String MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/";
+    public static final String MSO_DELETE_REQUEST_STATUS_PATH = "/ecomp/mso/infra/serviceInstances/v4/";
 }
index a2e854e..fae7b9e 100644 (file)
@@ -1,7 +1,7 @@
 {
     "request": {
         "method": "DELETE",
-        "url": "/ecomp/mso/infra/serviceInstances/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
+        "url": "/ecomp/mso/infra/serviceInstances/v4/e4688e5f-61a0-4f8b-ae02-a2fbde623bcb"
     },
     "response": {
         "status": 201,
index 4b61b2c..239aecb 100644 (file)
@@ -1,7 +1,7 @@
 {
     "request": {
         "method": "POST",
-        "url": "/ecomp/mso/infra/serviceInstance/v4"
+        "url": "/ecomp/mso/infra/serviceInstances/v4"
     },
     "response": {
         "status": 201,