aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sample
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-10-04 18:25:24 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-20 12:22:36 +0530
commit864eafac295bb9cc4c0b4315aa7c262eb214ccc6 (patch)
tree287aa928fa718059199164f6a7019d23642b79ba /plugins/sample
parent3387ffb892b85a20ae44ec58a41e1f3f2cb084f0 (diff)
Remove default_parameter section and use is_includ
Issue-Id: CLI-66 Change-Id: I24a3bc4d133d4d69fd6522091f20f88edd6c2f19 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.yaml15
-rw-r--r--plugins/sample/src/main/resources/open-cli-schema/hello-world.yaml4
2 files changed, 11 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 64144d37..31e98776 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
@@ -4,13 +4,9 @@ name: hello-world-http
description: First cmd hello world using http runing under lighttpd in cli at http://<cli-ip>:8080/version.json
-version: sample-1.0
-
-service:
- name: sample-service
- version: 1.0.0
- auth: none
- mode: direct
+info:
+ product: sample
+ service: hello-world
parameters:
- name: name
@@ -30,6 +26,11 @@ results:
scope: short
http:
+ service:
+ name: sample-service
+ 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 9a2c6b67..c294792c 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
@@ -4,7 +4,9 @@ name: hello-world
description: First cmd hello world
-version: sample-1.0
+info:
+ product: sample
+ service: hello-world
service:
name: sample-service