8214c19cf52f92dff0d9139bd0429167697b34c7
[cli.git] /
1 open_cli_schema_version: 1.0
2 name: license-model-show
3 description: Details of the License Model
4 version: onap-1.0
5 service:
6   name: sdc
7   version: v1.0
8   auth: basic
9   mode: direct
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   request:
40     uri: /onboarding-api/v1.0/vendor-software-products/${license-model-id}
41     method: GET
42   success_codes:
43     - 200
44   result_map:
45     name: $b{$.vendorName}
46     ID: $b{$.id}
47     description: $b{$.description}
48     status: $b{$.status}
49   sample_response:
50     body: '{"vendorName": "5aa8a88c","description": "vendor license model","iconRef": "icon","id": "109F0F948B974D998D89893A1BD39D4A","version": "0.1","status": "Locked","lockingUser": "cs0008","viewableVersions": ["0.1"]}'