Update microservice create with long options 17/94517/1
authorKanagaraj Manickam <mkr1481@gmail.com>
Thu, 29 Aug 2019 10:18:16 +0000 (15:48 +0530)
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Thu, 29 Aug 2019 10:18:16 +0000 (15:48 +0530)
Issue-ID: CLI-166

Change-Id: Ic0db6eb02b1d234e336410beb05bd3b2f4b7adde
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
products/onap-dublin/features/msb/src/main/resources/open-cli-schema/microservice-create-schema.yaml

index 461872a..c36e157 100644 (file)
@@ -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