aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-04 18:26:10 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:24:16 +0530
commit325ea8e8f7bc4df7b07fd107cc9b3bd315d8e7f1 (patch)
tree70d829802692d52f2bd8aa8f9091e00e313893c4 /plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
parent864eafac295bb9cc4c0b4315aa7c262eb214ccc6 (diff)
Migrate plugins to use info section
Issue-Id: CLI-66 Change-Id: I06a2b76ac426bfcfe3b5fcf5e3b828d18c0e9a68 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml')
-rw-r--r--plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml15
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
index 48455cdc..98e11b8e 100644
--- a/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
+++ b/plugins/onap-1.0/features/aai/src/main/resources/open-cli-schema/customer/customer-delete-schema.yaml
@@ -1,12 +1,12 @@
open_cli_schema_version: 1.0
name: customer-delete
description: Delete a customer from Onap
-version: onap-1.0
-service:
- name: aai
- version: v8
- auth: basic
- mode: direct
+
+info:
+ product: onap-1.0
+ service: aai
+ author: ONAP CLI Team onap-discuss@lists.onap.org
+
parameters:
- name: customer-name
@@ -22,6 +22,9 @@ parameters:
long_option: resource-version
is_optional: true
http:
+ service:
+ auth: basic
+ mode: direct
request:
uri: /aai/v8/business/customers/customer/${customer-name}?resource-version=${resource-version}
method: DELETE