Migrate plugins to use info section
[cli.git] / plugins / onap-1.0 / features / sdc / src / main / resources / open-cli-schema / license-models / license-model-show-schema.yaml
1 open_cli_schema_version: 1.0
2 name: license-model-show
3 description: Details of the License Model
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: license-model-id
12     description: Onap License Model ID
13     type: string
14     short_option: x
15     long_option: license-model-id
16     is_optional: false
17
18 results:
19   direction: landscape
20   attributes:
21     - name: name
22       description: License Model  Name
23       scope: short
24       type: string
25     - name: ID
26       description: License Model ID
27       scope: short
28       type: string
29     - name: description
30       description: Description for the License Model
31       scope: short
32       type: string
33     - name: status
34       description: Status of the License Model
35       scope: short
36       type: string
37 http:
38   service:
39     auth: basic
40     mode: direct
41   request:
42     uri: /onboarding-api/v1.0/vendor-software-products/${license-model-id}
43     method: GET
44   success_codes:
45     - 200
46   result_map:
47     name: $b{$.vendorName}
48     ID: $b{$.id}
49     description: $b{$.description}
50     status: $b{$.status}
51   sample_response:
52     body: '{"vendorName": "5aa8a88c","description": "vendor license model","iconRef": "icon","id": "109F0F948B974D998D89893A1BD39D4A","version": "0.1","status": "Locked","lockingUser": "cs0008","viewableVersions": ["0.1"]}'