da1c3b57bf8cdf5c4b4d53ca0113c4c8c9e1530d
[cli.git] /
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-amsterdam
7   service: sdc
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10
11 parameters:
12   - name: license-model-id
13     description: Onap License Model ID
14     type: string
15     short_option: x
16     long_option: license-model-id
17     is_optional: false
18
19 results:
20   direction: landscape
21   attributes:
22     - name: name
23       description: License Model  Name
24       scope: short
25       type: string
26     - name: ID
27       description: License Model ID
28       scope: short
29       type: string
30     - name: description
31       description: Description for the License Model
32       scope: short
33       type: string
34     - name: status
35       description: Status of the License Model
36       scope: short
37       type: string
38 http:
39   service:
40     name: sdc
41     version: v1.0
42     auth: basic
43     mode: direct
44   request:
45     uri: /onboarding-api/v1.0/vendor-license-models/${license-model-id}
46     method: GET
47   success_codes:
48     - 200
49   result_map:
50     name: $b{$.vendorName}
51     ID: $b{$.id}
52     description: $b{$.description}
53     status: $b{$.status}
54   sample_response:
55     body: '{"vendorName": "5aa8a88c","description": "vendor license model","iconRef": "icon","id": "109F0F948B974D998D89893A1BD39D4A","version": "0.1","status": "Locked","lockingUser": "cs0008","viewableVersions": ["0.1"]}'