aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-14 11:50:31 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2017-11-21 18:07:52 +0530
commit9a7c3f58efc9a4fcff5052700457cf6f7565cf39 (patch)
treeca515d799e405788914f837a09a780fc5c95781e /plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
parente61a25554503eca7ae758318651551e6e3b6eaca (diff)
Merges from 1.1.0
Issue-Id: CLI-66 Change-Id: I89fde334e2425eb91630912d726c320ece4aebd6 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml')
-rw-r--r--plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml81
1 files changed, 0 insertions, 81 deletions
diff --git a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml b/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
deleted file mode 100644
index 690ecabf..00000000
--- a/plugins/onap-1.1/features/sdc/src/main/resources/open-cli-schema/vsp/vsp-create-schema.yaml
+++ /dev/null
@@ -1,81 +0,0 @@
-open_cli_schema_version: 1.0
-name: vsp-create
-description: Create Vendor Software Product
-
-info:
- product: onap-1.1
- service: sdc
- author: ONAP CLI Team onap-discuss@lists.onap.org
-
-parameters:
- - name: vsp-name
- description: Onap VSP Name
- type: string
- short_option: x
- long_option: vsp-name
- is_optional: false
- - name: vsp-description
- description: Description for VSP
- type: string
- short_option: y
- long_option: vsp-description
- is_optional: true
- - name: vsp-category
- description: Category of the VSP
- type: string
- long_option: vsp-category
- is_optional: true
- default_value: resourceNewCategory.generic
- - name: vsp-subcategory
- description: Sub Category of VSP
- type: string
- long_option: vsp-subcategory
- is_optional: true
- default_value: resourceNewCategory.generic.abstract
- - name: vsp-license-version
- description: License version
- type: string
- long_option: vsp-license-version
- is_optional: true
- default_value: 1.0
- - name: vsp-vendor-name
- description: License Model Name
- type: string
- long_option: vsp-vendor-name
- is_optional: false
- - name: vsp-vendor-id
- description: License Model ID
- type: string
- long_option: vsp-vendor-id
- is_optional: false
- - name: license-agreement-id
- description: License Agreement ID
- type: string
- long_option: license-agreement-id
- is_optional: false
- - name: feature-group-id
- description: Feature Group ID
- type: string
- long_option: feature-group-id
- is_optional: false
-results:
- direction: portrait
- attributes:
- - name: ID
- description: VSP ID
- scope: short
- type: string
-http:
- service:
- auth: none
- mode: direct
- 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}" ]}}'
- success_codes:
- - 200
- result_map:
- ID: $b{$.vspId}
- sample_response:
- body: '{"vspId":"2DEB6CB4B082415BB7A697C9CD1273BA"}'