aboutsummaryrefslogtreecommitdiffstats
path: root/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml
diff options
context:
space:
mode:
authorBogumil Zebek <bogumil.zebek@nokia.com>2021-01-12 11:57:59 +0100
committerZebek Bogumil <bogumil.zebek@nokia.com>2021-01-12 11:59:15 +0100
commit81a0c6fd575fcb32be259383766ab53ce947d702 (patch)
treea2d028c7e511653fc1d2d06afd4e3ded0aac866c /framework/src/test/resources/open-cli-schema/sample-test-schema.yaml
parent1ade33bf7ca87020a6bc7a734d8d86961e332536 (diff)
Fix OnapCommand class model
- No Metadata in OnapCommand Info section - Optional parameters with default values are lost after overriding selected parameter Issue-ID: CLI-349 CLI-348 Signed-off-by: Zebek Bogumil <bogumil.zebek@nokia.com> Change-Id: I893bb01809737b4262a99f355d6c7681c8c275bb
Diffstat (limited to 'framework/src/test/resources/open-cli-schema/sample-test-schema.yaml')
-rw-r--r--framework/src/test/resources/open-cli-schema/sample-test-schema.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml b/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml
index 3b0b905f..adaf3502 100644
--- a/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml
+++ b/framework/src/test/resources/open-cli-schema/sample-test-schema.yaml
@@ -1,4 +1,5 @@
# Copyright 2018 Huawei Technologies Co., Ltd.
+# Copyright 2020 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -21,6 +22,8 @@ info:
type: cmd
author: Kanagaraj Manickam kanagaraj.manickam@huawei.com
state: experimental
+ metadata:
+ release: honolulu
parameters:
- name: bool-param
type: bool
@@ -37,14 +40,14 @@ parameters:
long_option: secure
is_secured: true
is_optional: true
- default_Value: pass123#
+ default_value: pass123#
- name: string-param
type: string
description: Oclip string param
long_option: string-param
short_option: c
is_optional: true
- default_Value: test
+ default_value: test
- name: yaml-param
type: json
description: Oclip yaml file location param
@@ -104,4 +107,4 @@ results:
scope: short
is_secured: false
type: string
- default_value: Hello ${string-param} ! \ No newline at end of file
+ default_value: Hello ${string-param} !