a7bc98dcf17a8943285ec2520f00a5baa34c1a75
[cli.git] /
1 # Copyright © Intel Corporation 2019
2 #
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
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14
15 open_cli_schema_version: 1.0
16 name: vsp-list
17 description: List of the Vendor Software Products
18
19 info:
20   product: onap-dublin
21   service: sdc
22   author: ONAP CLI Team onap-discuss@lists.onap.org
23
24 results:
25   direction: landscape
26   attributes:
27     - name: ID
28       description: VSP ID
29       scope: short
30       type: string
31     - name: name
32       description: VSP Name
33       scope: short
34       type: string
35     - name: vendor-name
36       description: Vendor name
37       scope: long
38       type: string
39     - name: version
40       description: Version
41       scope: short
42       type: string
43     - name: status
44       description: status
45       scope: short
46       type: string
47     - name: license-id
48       description: license aggreement
49       scope: long
50       type: string
51     - name: license-version
52       description: license version
53       scope: long
54       type: string
55 http:
56   service:
57     name: sdc
58     version: v1.0
59     auth: basic
60     mode: direct
61   request:
62     uri: /onboarding-api/v1.0/vendor-software-products
63     method: GET
64   success_codes:
65     - 200
66   result_map:
67     ID: $b{results.[*].id}
68     name: $b{results.[*].name}
69     vendor-name: $b{results.[*].vendorName}
70     version: $b{results.[*].version.id}
71     status: $b{results.[*].status}
72     license-id: $b{results.[*].licensingData.licenseAgreement}
73     license-version: $b{results.[*].licensingVersion.id}