summaryrefslogtreecommitdiffstats
path: root/plugins/sample
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/sample
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/sample')
-rw-r--r--plugins/sample/src/main/resources/open-cli-schema/hello-world-http.yaml4
-rw-r--r--plugins/sample/src/main/resources/open-cli-schema/hello-world.yaml9
2 files changed, 5 insertions, 8 deletions
diff --git a/plugins/sample/src/main/resources/open-cli-schema/hello-world-http.yaml b/plugins/sample/src/main/resources/open-cli-schema/hello-world-http.yaml
index 31e98776..e23b9594 100644
--- a/plugins/sample/src/main/resources/open-cli-schema/hello-world-http.yaml
+++ b/plugins/sample/src/main/resources/open-cli-schema/hello-world-http.yaml
@@ -5,8 +5,9 @@ name: hello-world-http
description: First cmd hello world using http runing under lighttpd in cli at http://<cli-ip>:8080/version.json
info:
- product: sample
+ product: sample-1.0
service: hello-world
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: name
@@ -31,6 +32,7 @@ http:
version: 1.0.0
auth: none
mode: direct
+
request:
uri: /version.json
method: GET
diff --git a/plugins/sample/src/main/resources/open-cli-schema/hello-world.yaml b/plugins/sample/src/main/resources/open-cli-schema/hello-world.yaml
index c294792c..fddb8c4c 100644
--- a/plugins/sample/src/main/resources/open-cli-schema/hello-world.yaml
+++ b/plugins/sample/src/main/resources/open-cli-schema/hello-world.yaml
@@ -5,14 +5,9 @@ name: hello-world
description: First cmd hello world
info:
- product: sample
+ product: sample-1.0
service: hello-world
-
-service:
- name: sample-service
- version: 1.0.0
- auth: none
- mode: direct
+ author: ONAP CLI Team onap-discuss@lists.onap.org
parameters:
- name: name