From 3a202c3ce9dce734fe22eb60d7946e8c04023215 Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Thu, 2 Nov 2017 14:08:21 +0530 Subject: Update creation of vsp with proper vlm details CLI-57 Change-Id: Icc5dad304b704f8037bccdd1a02bf34a884f8d28 Signed-off-by: Kanagaraj Manickam k00365106 --- .../onap-cli-schema/vsp/vsp-create-schema.yaml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml') diff --git a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml index 58da2a43..bdc77563 100644 --- a/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml +++ b/plugins/sdc/src/main/resources/onap-cli-schema/vsp/vsp-create-schema.yaml @@ -33,31 +33,31 @@ parameters: long_option: vsp-subcategory is_optional: true default_value: resourceNewCategory.generic.abstract - - name: vsp-license-version + - name: vlm-version description: License version type: string - long_option: vsp-license-version + long_option: vlm-version is_optional: true default_value: 1.0 - - name: vsp-vendor-name + - name: vlm-vendor description: License Model Name type: string - long_option: vsp-vendor-name + long_option: vlm-vendor is_optional: false - - name: vsp-vendor-id + - name: vlm-id description: License Model ID type: string - long_option: vsp-vendor-id + long_option: vlm-id is_optional: false - - name: license-agreement-id + - name: vlm-agreement-id description: License Agreement ID type: string - long_option: license-agreement-id + long_option: vlm-agreement-id is_optional: false - - name: feature-group-id + - name: vlm-feature-group-id description: Feature Group ID type: string - long_option: feature-group-id + long_option: vlm-feature-group-id is_optional: false results: direction: portrait @@ -70,7 +70,7 @@ http: request: uri: /onboarding-api/v1.0/vendor-software-products method: POST - body: '{"name": "${vsp-name}", "description": "${vsp-description}", "category": "${vsp-category}", "subCategory": "${vsp-subcategory}", "licensingVersion": "${vsp-license-version}", "vendorName": "${vsp-vendor-name}", "vendorId": "${vsp-vendor-id}", "icon": "icon", "licensingData": { "licenseAgreement": "${license-agreement-id}", "featureGroups": [ "${feature-group-id}" ]}}' + body: '{"name": "${vsp-name}", "description": "${vsp-description}", "category": "${vsp-category}", "subCategory": "${vsp-subcategory}", "licensingVersion": "${vlm-version}", "vendorName": "${vlm-vendor}", "vendorId": "${vlm-id}", "icon": "icon", "licensingData": { "licenseAgreement": "${vlm-agreement-id}", "featureGroups": [ "${vlm-feature-group-id}" ]}}' success_codes: - 200 result_map: -- cgit 1.2.3-korg