From 02b61c5a78448d2c01ce15adecb6df99f1b6b8c8 Mon Sep 17 00:00:00 2001 From: Haibin Huang Date: Tue, 27 Aug 2019 08:59:18 +0000 Subject: Fix invalid JSON error creating NS Issue-ID: CLI-212 Signed-off-by: Haibin Huang Change-Id: I3f828614e376706c7085222b22295666dbd30bf7 --- .../open-cli-schema/nslcm/vfc-nslcm-create-schema.yaml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'products/onap-dublin') 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 -- cgit 1.2.3-korg