Add moco json for service delete command 01/46601/1
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 8 May 2018 13:05:35 +0000 (13:05 +0000)
committersubhash kumar singh <subhash.kumar.singh@huawei.com>
Tue, 8 May 2018 13:05:35 +0000 (13:05 +0000)
Add moco json for service delete command.

Change-Id: I0e61bb7dc9f38bf054ce99e378119e9234e67b59
Issue-ID: CLI-63
Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-schema-beijing-moco.json [new file with mode: 0644]

diff --git a/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-schema-beijing-moco.json b/products/onap-beijing/features/so/src/main/resources/open-cli-sample/services/service-delete-schema-beijing-moco.json
new file mode 100644 (file)
index 0000000..eda897a
--- /dev/null
@@ -0,0 +1,44 @@
+[ {
+  "request" : {
+    "method" : "delete",
+    "uri" : "/ecomp/mso/infra/serviceInstances/v4/0561a325-a64b-47ab-86f4-000000000439",
+    "headers" : {
+      "Authorization" : "Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==",
+      "X-FromAppId" : "onap-cli",
+      "Accept" : "application/json",
+      "X-TransactionId" : "req-0dc01d80-f629-4ea9-b49f-0bc45b79bfaf",
+      "Content-Type" : "application/json"
+    },
+    "json" : {
+      "requestDetails": {
+        "modelInfo": {
+          "modelType": "service",
+          "modelInvariantId": "0561a325-a64b-47ab-86f4-000000000429",
+          "modelVersionId": "0561a325-a64b-47ab-86f4-000000000449",
+          "modelName": "sample-model",
+          "modelVersion": "1.0"
+        },
+        "cloudConfiguration": {
+          "lcpCloudRegionId": "Region1",
+          "tenantId": "onap"
+        },
+        "subscriberInfo": {
+          "globalSubscriberId": "sample-customer"
+        },
+        "requestInfo": {
+          "requestorId": "0561a325-a64b-47ab-86f4-000000000459",
+          "source": "VID"
+        }
+      }
+    }
+  },
+  "response" : {
+    "status" : 202,
+    "json" : {
+      "requestReferences" : {
+        "instanceId" : "957949b4-f857-497c-81b0-832ce7bb9434",
+        "requestId" : "d59fc98a-b0fa-4de9-b426-6ef40dfd0812"
+      }
+    }
+  }
+} ]
\ No newline at end of file