aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.0/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.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/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.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/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.yaml')
-rw-r--r--plugins/onap-1.0/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.yaml20
1 files changed, 11 insertions, 9 deletions
diff --git a/plugins/onap-1.0/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.yaml b/plugins/onap-1.0/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.yaml
index 419f403b..89fde833 100644
--- a/plugins/onap-1.0/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.yaml
+++ b/plugins/onap-1.0/catalog/src/main/resources/open-cli-schema/catalog-onap-1-0.yaml
@@ -4,15 +4,11 @@ name: catalog
description: ONAP catalog command to find the base path for service.
-version: onap-1.0
-
-type: catalog
-
-service:
- name: msb
- version: v1
- mode: direct
- auth: none
+info:
+ product: onap-1.0
+ service: msb
+ type: catalog
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: catalog-service-name
@@ -27,6 +23,7 @@ parameters:
short_option: i
long_option: catalog-service-version
is_optional: false
+
results:
direction: portrait
attributes:
@@ -40,7 +37,12 @@ results:
scope: short
type: string
default_value: /
+
http:
+
+ service:
+ mode: direct
+ auth: none
request:
uri: /services/${catalog-service-name}/version/${catalog-service-version}
method: GET