Update vfc cli command 70/106570/1
authoryangyan <yangyanyj@chinamobile.com>
Fri, 24 Apr 2020 07:28:20 +0000 (15:28 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Fri, 24 Apr 2020 07:32:37 +0000 (15:32 +0800)
Change-Id: If65da8d9a72a7d39508136903b851e04e6258e52
Issue-ID: CLI-268
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-sol005-create-schema.yaml

index 0b6dd99..f913d7b 100644 (file)
@@ -28,8 +28,8 @@ parameters:
     short_option: c
     long_option: ns-csar-uuid
     is_optional: false
-  - name: ns-csar-name
-    description: ns's name of csar
+  - name: ns-name
+    description: ns's name of create
     type: string
     short_option: n
     long_option: ns-csar-name
@@ -66,14 +66,14 @@ http:
       remove_empty_node: true
     body: '{
              "nsdId": "${ns-csar-uuid}",
-             "nsName": "${ns-csar-name}",
+             "nsName": "${ns-name}",
              "nsDescription": "description"
            }'
     headers:
       Content-Type: application/json
       Accept: application/json
-      HTTP_GLOBALCUSTOMERID: '${customer-name}'
-      HTTP_SERVICETYPE: '${service-type}'
+      GLOBALCUSTOMERID: '${customer-name}'
+      SERVICETYPE: '${service-type}'
 
   success_codes:
     - 201