X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=bottlenecks.git;a=blobdiff_plain;f=test-scheduler%2Fserver%2Ftest%2Ftest_case%2Flogic_in_out%2Ftc_io_02.yaml;fp=testing-scheduler%2Fserver%2Ftest%2Ftest_case%2Flogic_in_out%2Ftc_io_02.yaml;h=f2197f312b25d4d6a7e4ba1f88315635feb31809;hp=804a6791957d1c5b8ee89aa8d2c490bde6918071;hb=e32043f58a2450b6a5986dc2a01f64f8b22c3992;hpb=a09bbea983aca3e437e254566da98196177748d9 diff --git a/testing-scheduler/server/test/test_case/logic_in_out/tc_io_02.yaml b/test-scheduler/server/test/test_case/logic_in_out/tc_io_02.yaml similarity index 93% rename from testing-scheduler/server/test/test_case/logic_in_out/tc_io_02.yaml rename to test-scheduler/server/test/test_case/logic_in_out/tc_io_02.yaml index 804a6791..f2197f31 100644 --- a/testing-scheduler/server/test/test_case/logic_in_out/tc_io_02.yaml +++ b/test-scheduler/server/test/test_case/logic_in_out/tc_io_02.yaml @@ -1,60 +1,60 @@ -############################################################################## -# Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 -############################################################################## - ---- -# description: test switch and step-2 used step-1's output - -schema: - steps: - - - id: 1 - name: get-switch - service: - name: greet - interface: switch - args: - name: leo - - - - id: 2 - name: greet1 - service: - name: greet - interface: answer - args: - ping: ((1.result)) - - - - id: 3 - name: greet2 - service: - name: greet - interface: answer - args: - ping: ping_from_Leo_2 - - flows: - - - name: main - orders: - - - type: normal - step: 1 - - - type: switch - value: ((1.result)) - cases: - A: - - - type: normal - step: 2 - B: - - - type: normal - step: 3 \ No newline at end of file +############################################################################## +# Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +--- +# description: test switch and step-2 used step-1's output + +schema: + steps: + - + id: 1 + name: get-switch + service: + name: greet + interface: switch + args: + name: leo + + - + id: 2 + name: greet1 + service: + name: greet + interface: answer + args: + ping: ((1.result)) + + - + id: 3 + name: greet2 + service: + name: greet + interface: answer + args: + ping: ping_from_Leo_2 + + flows: + - + name: main + orders: + - + type: normal + step: 1 + - + type: switch + value: ((1.result)) + cases: + A: + - + type: normal + step: 2 + B: + - + type: normal + step: 3