75b95d4e461d472a9a1039e3c5689e2b7b5f5058
[cli.git] /
1 # Copyright (c) 2018 Intel Corporation Intellectual Property
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: functest-show-result
17 description: Check Function Test Result
18
19
20 info:
21   product: onap-casablanca
22   service: functest
23   author: ONAP CLI Team onap-discuss@lists.onap.org
24
25 parameters:
26   - name: taskID
27     description: Function test task ID
28     type: string
29     short_option: x
30     long_option: taskID
31     is_optional: false
32
33 results:
34   direction: landscape
35   attributes:
36     - name: testID
37       description: Function test test ID
38       scope: short
39       type: string
40     - name: testDescription
41       description: Function test test testDescription
42       scope: short
43       type: string
44     - name: testResult
45       description: Function test test Result
46       scope: short
47       type: string
48
49 http:
50   service:
51     auth: none
52     mode: direct
53   request:
54     uri: /api/vnfsdk/v1/functest/taskmanager/result/${taskID}
55     method: GET
56     headers:
57       Content-Type: application/json
58   success_codes:
59     - 200
60   result_map:
61     testID: $b{$.testID}
62     testDescription: $b{$.testDescription}
63     testResult: $b{$.testResult}