7c14d01272650f2be698bf70692da6e55916f874
[bottlenecks.git] / testing-scheduler / server / test / test_case / logic / tc_logic_06.yaml
1 ##############################################################################\r
2 # Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.\r
3 #\r
4 # All rights reserved. This program and the accompanying materials\r
5 # are made available under the terms of the Apache License, Version 2.0\r
6 # which accompanies this distribution, and is available at\r
7 # http://www.apache.org/licenses/LICENSE-2.0\r
8 ##############################################################################\r
9 \r
10 ---\r
11 # description: test conductor basic logic of parallel\r
12 \r
13 schema:\r
14   steps:\r
15     -\r
16       id: 1\r
17       name: choose_greet_type\r
18       type: test\r
19       service:\r
20         name: greet\r
21         interface: switch\r
22       action: start\r
23 \r
24     -\r
25       id: 2\r
26       name: response_the_greet\r
27       type: test\r
28       service:\r
29         name: greet\r
30         interface: answer\r
31       action: start\r
32       args:\r
33         ping: ping_from_leo\r
34 \r
35     -\r
36       id: 3\r
37       name: make_a_greet\r
38       type: test\r
39       service:\r
40         name: greet\r
41         interface: greet\r
42       action: start\r
43       args:\r
44         name: leo_@\r
45 \r
46     -\r
47       id: 4\r
48       name: make_a_greet_2\r
49       type: test\r
50       service:\r
51         name: greet\r
52         interface: greet\r
53       action: start\r
54       args:\r
55         name: leo_@\r
56 \r
57   flows:\r
58     -\r
59       name: main\r
60       orders:\r
61         -\r
62           type: normal\r
63           step: 1\r
64         -\r
65           type: parallel\r
66           parallel:\r
67             p1: flow-1\r
68             p2:\r
69               -\r
70                 type: normal\r
71                 step: 4\r
72     -\r
73       name: flow-1\r
74       orders:\r
75         -\r
76           type: normal\r
77           step: 2\r
78         -\r
79           type: normal\r
80           step: 3\r