From 81a0c6fd575fcb32be259383766ab53ce947d702 Mon Sep 17 00:00:00 2001 From: Bogumil Zebek Date: Tue, 12 Jan 2021 11:57:59 +0100 Subject: 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 Change-Id: I893bb01809737b4262a99f355d6c7681c8c275bb --- .../src/test/resources/open-cli-schema/sample-test-schema.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'framework/src/test/resources/open-cli-schema/sample-test-schema.yaml') 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} ! -- cgit 1.2.3-korg