diff options
author | Haibin Huang <haibin.huang@intel.com> | 2019-08-27 08:59:18 +0000 |
---|---|---|
committer | Haibin Huang <haibin.huang@intel.com> | 2019-08-27 09:08:13 +0000 |
commit | 02b61c5a78448d2c01ce15adecb6df99f1b6b8c8 (patch) | |
tree | e16bb2ebac51faf5a290d34b8dc6fc0eaec20f98 | |
parent | bc5b3da250c303c18c15be99ebceb5b789e9492a (diff) |
Fix invalid JSON error creating NS
Issue-ID: CLI-212
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Change-Id: I3f828614e376706c7085222b22295666dbd30bf7
-rw-r--r-- | products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-create-schema.yaml | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-create-schema.yaml b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-create-schema.yaml index efdbb88b..9b59a71b 100644 --- a/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-create-schema.yaml +++ b/products/onap-dublin/features/vfc/src/main/resources/open-cli-schema/nslcm/vfc-nslcm-create-schema.yaml @@ -13,7 +13,7 @@ # limitations under the License. open_cli_schema_version: 1.0 -name: vfc-nslcm-create +name: vfc-nslcm-create1 description: vfc nslcm create ns info: @@ -64,8 +64,15 @@ http: method: POST context: remove_empty_node: true - body: '{"context": {"globalCustomerId": ${customer-name}, "serviceType": ${service-type}}, - "csarId": "${ns-csar-uuid}", "nsName": "${ns-csar-name}"}' + body: '{ + "context": { + "globalCustomerId": "${customer-name}", + "serviceType": "${service-type}" + }, + "csarId": "${ns-csar-uuid}", + "nsName": "${ns-csar-name}", + "description": "description" + }' headers: Content-Type: application/json Accept: application/json |