From 325ea8e8f7bc4df7b07fd107cc9b3bd315d8e7f1 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Wed, 4 Oct 2017 18:26:10 +0530 Subject: Migrate plugins to use info section Issue-Id: CLI-66 Change-Id: I06a2b76ac426bfcfe3b5fcf5e3b828d18c0e9a68 Signed-off-by: Kanagaraj Manickam k00365106 --- .../src/main/resources/open-cli-schema/hello-world-http.yaml | 4 +++- .../sample/src/main/resources/open-cli-schema/hello-world.yaml | 9 ++------- 2 files changed, 5 insertions(+), 8 deletions(-) (limited to 'plugins/sample/src') 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://: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 -- cgit 1.2.3-korg