summaryrefslogtreecommitdiffstats
path: root/products/onap-dublin
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:32:32 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:32:32 +0530
commit6376c359b137d9e5490b3fd1fa59cba7610c0e7f (patch)
tree5463e1f33283b233e1a867dfb25cbef30863d1a7 /products/onap-dublin
parentd4e5c3a357576c73b108063e05e24e9f6c9a49f4 (diff)
subscription delete
Change-Id: I4ebba47cf60e16568b08f4236b7dba93f2d571a5 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin')
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json4
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml32
2 files changed, 12 insertions, 24 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json
index 3339c580..19a68782 100644
--- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-moco.json
@@ -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
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml
index f68f46bd..90dd645b 100644
--- a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/business/subscription/subscription-delete-schema-dublin-sample.yaml
@@ -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: |
+ [{}]