From 864eafac295bb9cc4c0b4315aa7c262eb214ccc6 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 4 Oct 2017 18:25:24 +0530 Subject: Remove default_parameter section and use is_includ Issue-Id: CLI-66 Change-Id: I24a3bc4d133d4d69fd6522091f20f88edd6c2f19 Signed-off-by: Kanagaraj Manickam k00365106 --- .../main/resources/open-cli-schema/hello-world-http.yaml | 15 ++++++++------- .../src/main/resources/open-cli-schema/hello-world.yaml | 4 +++- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'plugins') 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://: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 -- cgit 1.2.3-korg