diff options
Diffstat (limited to 'products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-dublin.yaml')
-rw-r--r-- | products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-dublin.yaml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-dublin.yaml b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-dublin.yaml index 19c92393..16dc068b 100644 --- a/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-dublin.yaml +++ b/products/onap-dublin/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema-dublin.yaml @@ -18,7 +18,7 @@ description: Create Vendor Software Product info: product: onap-dublin - service: sdc + service: sdc.onboarding author: ONAP CLI Team onap-discuss@lists.onap.org parameters: @@ -71,17 +71,22 @@ parameters: long_option: onboarding-method short_option: o is_optional: false + default_value: NetworkPackage results: direction: portrait attributes: - - name: ID + - name: id description: VSP ID scope: short type: string - name: version description: VSP Model version scope: short + type: string + - name: version-id + description: VSP Model version id + scope: short type: uuid http: service: @@ -95,7 +100,7 @@ http: body: '{ "category": "resourceNewCategory.generic", "vendorId": "${vlm-id}", - "subCategory": "resourceNewCategory.generic.abstract", + "subCategory": "resourceNewCategory.generic.network elements", "description": "${vsp-description}", "licensingVersion": "${vlm-version}", "licensingData": {"featureGroups": ["${vlm-feature-group-id}"], "licenseAgreement": "${vlm-agreement-id}"}, @@ -107,5 +112,6 @@ http: success_codes: - 200 result_map: - ID: $b{$.itemId} - version: $b{$.version.id} + id: $b{$.itemId} + version: $b{$.version.name} + version-id: $b{$.version.id} |