Migrate plugins to use info section
[cli.git] / plugins / onap-1.0 / features / sdc / src / main / resources / open-cli-schema / vsp / vsp-show-schema.yaml
1 open_cli_schema_version: 1.0
2 name: vsp-show
3 description: Details of the Vendor Software Product
4
5 info:
6   product: onap-1.0
7   service: sdc
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10 parameters:
11   - name: vsp-id
12     description: Onap VSP ID
13     type: string
14     short_option: x
15     long_option: vsp-id
16     is_optional: false
17
18 results:
19   direction: landscape
20   attributes:
21     - name: name
22       description: VSP Name
23       scope: short
24       type: string
25     - name: ID
26       description: VSP ID
27       scope: short
28       type: string
29     - name: description
30       description: Description for the VSP
31       scope: short
32       type: string
33 http:
34   service:
35     auth: basic
36     mode: direct
37   request:
38     uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}
39     method: GET
40   success_codes:
41     - 200
42   result_map:
43     name: $b{$.name}
44     ID: $b{$.id}
45     description: $b{$.description}
46   sample_response:
47     body: '{"name":"test-vsp1","description":"vendor software product","category":"resourceNewCategory.generic","subCategory":"resourceNewCategory.generic.abstract","vendorName":"5aa8a88c","vendorId":"DBB202617952486691C1E35C9621CD4E","licensingVersion":"1.0","licensingData":{"licenseAgreement":"E19DBDDB137B494385F9535325BFD585","featureGroups":["94835F096DAF4ED78781A394A4F22AD1"]},"id":"354BF3E32E494EAFBB15037CFAB262FF","version":"0.1","viewableVersions":["0.1"],"status":"Locked","lockingUser":"cs0008"}'