summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 15:48:16 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 15:48:16 +0530
commitb3b034f89f261a2c8de231fdc3d61ca15036633d (patch)
treedaf8ba1c679736002574dd76be5a027f60f11ea6
parent8e80ed629dc934e105835c653cd988f488e4e6fe (diff)
Update microservice create with long options
Issue-ID: CLI-166 Change-Id: Ic0db6eb02b1d234e336410beb05bd3b2f4b7adde Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
-rw-r--r--products/onap-dublin/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml11
1 files changed, 10 insertions, 1 deletions
diff --git a/products/onap-dublin/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml b/products/onap-dublin/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml
index 461872a7..c36e1575 100644
--- a/products/onap-dublin/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml
+++ b/products/onap-dublin/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml
@@ -46,7 +46,7 @@ parameters:
short_option: b
long_option: enable-ssl
is_optional: true
- default: false
+ default_value: false
- name: path
description: Onap service path
type: string
@@ -56,12 +56,21 @@ parameters:
- name: node-ip
description: Onap service running node IP
type: string
+ long_option: node-ip
+ short_option: X
+ is_optional: false
- name: node-port
description: Onap service running node port
type: string
+ long_option: node-port
+ short_option: Y
+ is_optional: false
- name: create-or-update
description: Onap service create or update
type: bool
+ long_option: create-or-update
+ short_option: Z
+ is_optional: true
default_value: true
results:
direction: portrait