01e0cad33ed79649d17807965a892f44a3709734
[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: get-resource-module-name
17 description: Get resource module name
18
19 info:
20   product: onap-dublin
21   service: sdc
22   author: ONAP HPA Team onap-discuss@lists.onap.org
23
24
25 results:
26   direction: landscape
27   attributes:
28     - name: service-model-vsp
29       description: name of vsp in service model
30       type: string
31       scope: short
32     - name: resource-module-name
33       description: system name of vsp
34       type: string
35       scope: short
36
37 http:
38   service:
39     name: sdc
40     version: v1.0
41     auth: basic
42     mode: direct
43   request:
44     uri: /sdc2/rest/v1/followed
45     method: GET
46   success_codes:
47     - 200
48   result_map:
49     service-model-vsp: $b{resources.[*].name}
50     resource-module-name: $b{resources.[*].systemName}