87ccf7c84dbbd17945fd2002614b1b0dcef1b4c0
[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: service-model-list
17 description: List the service model in SDC
18
19 info:
20   product: onap-dublin
21   service: sdc
22   author: ONAP CLI Team onap-discuss@lists.onap.org
23
24
25 results:
26   direction: landscape
27   attributes:
28     - name: uuid
29       description: UUID
30       type: string
31       scope: short
32     - name: uniqueId
33       description: uniqueId
34       type: string
35       scope: short
36     - name: invariant-uuid
37       description: Invariant UUID
38       type: string
39       scope: short
40     - name: name
41       description: Name
42       type: string
43       scope: short
44     - name: version
45       description: version
46       type: string
47       scope: short
48     - name: status
49       description: status
50       type: string
51       scope: short
52     - name: distribution-status
53       description: status
54       type: string
55       scope: short
56     - name: description
57       description: description
58       type: string
59       scope: long
60
61 http:
62   service:
63     name: sdc
64     version: v1.0
65     auth: basic
66     mode: direct
67   request:
68     uri: /sdc2/rest/v1/followed
69     method: GET
70   success_codes:
71     - 200
72   result_map:
73     uuid: $b{services.[*].uuid}
74     uniqueId: $b{services.[*].uniqueId}
75     invariant-uuid: $b{services.[*].invariantUUID}
76     version: $b{services.[*].version}
77     name: $b{services.[*].name}
78     status: $b{services.[*].lifecycleState}
79     description: $b{services.[*].description}
80     distribution-status: $b{services.[*].distributionStatus}