1 # Copyright © Intel Corporation 2019
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 open_cli_schema_version: 1.0
17 description: Create Vendor Software Product
22 author: ONAP CLI Team onap-discuss@lists.onap.org
26 description: Onap VSP Name
31 - name: vsp-description
32 description: Description for VSP
35 long_option: vsp-description
38 description: Category of the VSP
40 long_option: vsp-category
43 default_value: resourceNewCategory.generic
44 - name: vsp-subcategory
45 description: Sub Category of VSP
47 long_option: vsp-subcategory
50 default_value: resourceNewCategory.generic.abstract
52 description: License version
54 long_option: vlm-version
59 description: License Model vendor
61 long_option: vlm-vendor
65 description: License Model ID
70 - name: vlm-agreement-id
71 description: License Agreement ID
73 long_option: vlm-agreement-id
76 - name: vlm-feature-group-id
77 description: Feature Group ID
79 long_option: vlm-feature-group-id
90 description: VSP Model version
100 uri: /onboarding-api/v1.0/vendor-software-products
102 body: '{"category": "${vsp-category}", "vendorId": "${vlm-id}", "subCategory": "${vsp-subcategory}", "description": "${vsp-description}", "licensingVersion": "${vlm-version}", "licensingData": {"featureGroups": ["${vlm-feature-group-id}"], "licenseAgreement": "${vlm-agreement-id}"}, "icon": "icon", "onboardingMethod": "Manual", "vendorName": "${vlm-vendor}", "name": "${vsp-name}"}'
107 version: $b{$.version.id}