1 # Copyright 2017-18 Huawei Technologies Co., Ltd.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 open_cli_schema_version: 1.0
17 name: hello-world-http
20 First cmd hello world using http runing under
21 lighttpd in cli at http://<cli-ip>:8080/version.json
24 product: sample-helloworld
26 author: ONAP CLI Team onap-discuss@lists.onap.org
30 description: name of the person
33 default_value: ${DEMO_NAME}
41 description: hello world output
59 output: Hello ${name}, You are running on $b{$.name} $b{$.version}
62 body: {"name": "oclip", "version": "1.0"}