0993fcd7869e924e3c61f92cc9ebd4f49a4df599
[cli.git] /
1 # Copyright 2018 Huawei Technologies Co., Ltd.
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-type-list
17 description: List the service types configured in Onap
18
19 info:
20   product: onap-casablanca
21   service: aai
22   author: ONAP CLI Team onap-discuss@lists.onap.org
23
24 results:
25   direction: landscape
26   attributes:
27     - name: service-type-id
28       description: Onap cloud service
29       scope: short
30       type: string
31     - name: service-type
32       description: Onap cloud service
33       scope: short
34       type: string
35     - name: resource-version
36       description: Onap cloud service resource version
37       scope: short
38       type: string
39 http:
40   service:
41     auth: basic
42     mode: direct
43   request:
44     uri: /aai/v13/service-design-and-creation/services
45     method: GET
46   success_codes:
47     - 200
48     - 404
49   result_map:
50     service-type: $b{service.[*].service-description}
51     service-type-id: $b{service.[*].service-id}
52     resource-version: $b{service.[*].resource-version}