subscription delete 23/94523/1
authorKanagaraj Manickam <mkr1481@gmail.com>
Thu, 29 Aug 2019 11:02:32 +0000 (16:32 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 29 Aug 2019 11:02:32 +0000 (16:32 +0530)
Change-Id: I4ebba47cf60e16568b08f4236b7dba93f2d571a5
Issue-ID: CLI-166
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json
products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml

index 3339c58..19a6878 100644 (file)
@@ -1,12 +1,12 @@
 [ {
   "request" : {
     "method" : "delete",
-    "uri" : "/aai/v13/business/customers/customer/hpa_cust/service-subscriptions/service-subscription/test-service",
+    "uri" : "/aai/v13/business/customers/customer/ovp/service-subscriptions/service-subscription/tosca_vnf_validation",
     "headers" : {
       "Authorization" : "Basic QUFJOkFBSQ==",
       "X-FromAppId" : "ONAP CLI",
       "Accept" : "application/json",
-      "X-TransactionId" : "req-3a02dc1d-19b5-45d9-a34e-6d08a8b20a10",
+      "X-TransactionId" : "req-72799430-1922-4872-90cf-43233725a595",
       "Content-Type" : "application/json"
     },
     "json" : null
index f68f46b..90dd645 100644 (file)
@@ -1,22 +1,10 @@
-# Copyright © Intel Corporation 2019
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-  open_cli_sample_version: 1.0
-  name: subscription-delete
-  version: onap-dublin
-  samples:
-    sample1:
-      name: subscription-delete
-      input: -x hpa_cust -y test-service -g 1552436359631
-      moco: subscription-delete-schema-dublin-moco.json
-      output:
\ No newline at end of file
+open_cli_sample_version: 1.0
+name: subscription-delete
+version: onap-dublin
+samples:
+  sample1:
+    name: subscription-delete
+    input: --format json --customer-name ovp --service-type tosca_vnf_validation --resource-version 1567068689784
+    moco: subscription-delete-schema-dublin-moco.json
+    output: |
+      [{}]