aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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