cpee 2.0.25 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/ui.css +27 -4
- data/cockpit/css/wfadaptor.css +11 -0
- data/cockpit/edit.html +10 -10
- data/cockpit/graph.html +3 -3
- data/cockpit/index.html +9 -6
- data/cockpit/js/details.js +0 -1
- data/cockpit/js/instance.js +26 -19
- data/cockpit/js/model.js +6 -11
- data/cockpit/js/parameters.js +6 -4
- data/cockpit/js/wfadaptor.js +2 -0
- data/cockpit/model.html +4 -3
- data/cockpit/replay.html +3 -2
- data/cockpit/templates.legacy/Async.xml +12 -12
- data/cockpit/templates.legacy/BCO.xml +9 -11
- data/cockpit/templates.legacy/BCS.xml +9 -11
- data/cockpit/templates.legacy/Centurio.xml +7 -7
- data/cockpit/templates.legacy/Concurrent.xml +7 -7
- data/cockpit/templates.legacy/Coopis Testset.xml +7 -7
- data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -7
- data/cockpit/templates.legacy/ICSOC Testset.xml +7 -7
- data/cockpit/templates.legacy/Infinity.xml +7 -7
- data/cockpit/templates.legacy/Lego Boxer.xml +13 -13
- data/cockpit/templates.legacy/Lego Conveyor.xml +13 -13
- data/cockpit/templates.legacy/Lego Crane.xml +16 -16
- data/cockpit/templates.legacy/Lego Ejector.xml +16 -16
- data/cockpit/templates.legacy/Lego Full.xml +12 -12
- data/cockpit/templates.legacy/Lego Liddy.xml +13 -13
- data/cockpit/templates.legacy/Lego Plate.xml +13 -13
- data/cockpit/templates.legacy/Lego Transporter.xml +14 -14
- data/cockpit/templates.legacy/Lego_Part_1.xml +12 -12
- data/cockpit/templates.legacy/LgLinear.xml +7 -10
- data/cockpit/templates.legacy/Linear.xml +11 -14
- data/cockpit/templates.legacy/Log.xml +11 -12
- data/cockpit/templates.legacy/Mangler 1.xml +7 -7
- data/cockpit/templates.legacy/Mangler 2.xml +7 -7
- data/cockpit/templates.legacy/Manuel Labels.xml +11 -11
- data/cockpit/templates.legacy/Promise.xml +30 -30
- data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +7 -7
- data/cockpit/templates.legacy/Subprocess.xml +15 -15
- data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
- data/cockpit/templates.legacy/Syncing P34.xml +8 -11
- data/cockpit/templates.legacy/TEST - Bad Loop.xml +7 -7
- data/cockpit/templates.legacy/TEST - Wrong Positions.xml +7 -7
- data/cockpit/templates.legacy/Take_5.xml +14 -14
- data/cockpit/templates.legacy/Update.xml +11 -11
- data/cockpit/templates.legacy/Worklist Parallel.xml +17 -17
- data/cockpit/templates.legacy/Worklist Test CPEE.xml +14 -14
- data/cockpit/templates.legacy/Worklist Test.xml +14 -14
- data/cockpit/templates.legacy/Worklist Test2.xml +14 -14
- data/cockpit/templates/Coopis 2010.xml +7 -7
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +9 -12
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +9 -12
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +9 -12
- data/cockpit/templates/Track Test Local.xml +8 -4
- data/cockpit/templates/Track Test.xml +6 -2
- data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +6 -2
- data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +9 -5
- data/cockpit/templates/UR-VUE 2020 Solution NN.xml +9 -5
- data/cockpit/templates/UR-VUE 2020 Solution View.xml +9 -5
- data/cockpit/templates/UR-VUE 2020.xml +9 -5
- data/cockpit/templates/Worklist.xml +14 -14
- data/cockpit/templates/instantiate.local/Take_Sub.xml +2 -2
- data/cockpit/templates/instantiate/Take_Perf.xml +1 -1
- data/cockpit/templates/instantiate/Take_Sub.xml +2 -2
- data/cockpit/templates/instantiate/Take_X.xml +2 -2
- data/cockpit/themes/compact/rngs/parallel.rng +6 -0
- data/cockpit/themes/compact/rngs/start.rng +83 -0
- data/cockpit/themes/compact/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/compact/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/compact/symbols/start.svg +1 -1
- data/cockpit/themes/compact/theme.js +45 -2
- data/cockpit/themes/control/rngs/parallel.rng +6 -0
- data/cockpit/themes/control/rngs/start.rng +83 -0
- data/cockpit/themes/control/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/control/symbols/start.svg +1 -1
- data/cockpit/themes/control/theme.js +45 -2
- data/cockpit/themes/default/rngs/parallel.rng +6 -0
- data/cockpit/themes/default/rngs/start.rng +83 -0
- data/cockpit/themes/default/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/default/symbols/start.svg +1 -1
- data/cockpit/themes/default/theme.js +46 -3
- data/cockpit/themes/extended/rngs/parallel.rng +6 -0
- data/cockpit/themes/extended/rngs/start.rng +83 -0
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/extended/symbols/start.svg +1 -1
- data/cockpit/themes/extended/theme.js +45 -2
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/model/symbols/start.svg +1 -1
- data/cockpit/themes/model/theme.js +45 -2
- data/cockpit/themes/packed/rngs/parallel.rng +6 -0
- data/cockpit/themes/packed/rngs/start.rng +83 -0
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/packed/symbols/start.svg +1 -1
- data/cockpit/themes/packed/theme.js +45 -2
- data/cockpit/themes/preset/rngs/parallel.rng +6 -0
- data/cockpit/themes/preset/rngs/start.rng +83 -0
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +2 -2
- data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/preset/symbols/start.svg +1 -1
- data/cockpit/themes/preset/theme.js +46 -3
- data/cockpit/track.html +3 -3
- data/cpee.gemspec +3 -3
- data/lib/cpee/attributes_helper.rb +14 -0
- data/lib/cpee/implementation.rb +10 -8
- data/lib/cpee/implementation_callbacks.rb +28 -7
- data/lib/cpee/implementation_notifications.rb +20 -2
- data/lib/cpee/implementation_properties.rb +128 -24
- data/lib/cpee/persistence.rb +0 -27
- data/lib/cpee/statemachine.rb +14 -0
- data/lib/cpee/value_helper.rb +14 -0
- data/lib/properties.xml +4 -4
- data/lib/properties/{handlerwrapper.rng → executionhandler.rng} +2 -2
- data/lib/properties/properties.rng +2 -2
- data/lib/properties/set-properties.rng +2 -2
- data/lib/properties/set-some-properties.rng +2 -2
- data/server/{resources → executionhandlers/ruby}/backend/README.md +0 -0
- data/server/{resources → executionhandlers/ruby}/backend/instance.template +2 -4
- data/server/{resources → executionhandlers/ruby}/backend/opts.yaml +2 -2
- data/server/executionhandlers/ruby/backend/run +37 -0
- data/server/{handlerwrappers/default.rb → executionhandlers/ruby/connection.rb} +7 -3
- data/server/executionhandlers/ruby/controller.rb +195 -0
- data/server/{resources/transformation_dslx.xsl → executionhandlers/ruby/dsl_to_dslx.xsl} +57 -8
- data/server/executionhandlers/ruby/execution.rb +81 -0
- data/server/resources/properties.empty +1 -1
- data/server/resources/properties.init +1 -1
- data/server/resources/topics.xml +2 -2
- data/server/routing/end.rb +1 -0
- data/server/routing/forward-votes.rb +6 -5
- data/server/routing/persist.rb +4 -4
- data/tools/cpee +9 -3
- data/tools/server/cpee +1 -1
- data/tools/server/resources/properties.init +1 -1
- metadata +35 -239
- data/cockpit/templates.legacy/convert_cpee2.rb +0 -15
- data/lib/cpee/controller.rb +0 -199
- data/lib/cpee/transform.rb +0 -95
- data/server/resources/backend/instance.rb +0 -23
- data/server/resources/backend/run +0 -33
- data/server/routing/end.pid +0 -1
- data/server/routing/forward-events.pid +0 -1
- data/server/routing/forward-votes.pid +0 -1
- data/server/routing/persist.pid +0 -1
- data/server/server.pid +0 -1
- data/tools/test/README +0 -4
- data/tools/test/config.json +0 -3
- data/tools/test/contrib/graph_example.svg +0 -1166
- data/tools/test/contrib/legend.svg +0 -817
- data/tools/test/contrib/symbols.svg +0 -224
- data/tools/test/contrib/transformation1.xsl +0 -264
- data/tools/test/contrib/transformation2.xsl +0 -10
- data/tools/test/contrib/tree_example.svg +0 -788
- data/tools/test/css/model.css +0 -24
- data/tools/test/css/track.css +0 -60
- data/tools/test/css/ui.css +0 -214
- data/tools/test/css/wfadaptor.css +0 -422
- data/tools/test/edit.html +0 -258
- data/tools/test/graph.html +0 -69
- data/tools/test/index.html +0 -258
- data/tools/test/js/details.js +0 -109
- data/tools/test/js/instance.js +0 -1344
- data/tools/test/js/model.js +0 -41
- data/tools/test/js/parameters.js +0 -82
- data/tools/test/js/track.js +0 -18
- data/tools/test/js/ui.js +0 -104
- data/tools/test/js/wfadaptor.js +0 -763
- data/tools/test/js_libs.zip +0 -0
- data/tools/test/js_libs/Makefile +0 -2
- data/tools/test/js_libs/ansi_up.js +0 -333
- data/tools/test/js_libs/console.js +0 -80
- data/tools/test/js_libs/custommenu.css +0 -84
- data/tools/test/js_libs/custommenu.js +0 -104
- data/tools/test/js_libs/experiments1/relaxngui.css +0 -185
- data/tools/test/js_libs/experiments1/relaxngui.js +0 -488
- data/tools/test/js_libs/experiments1/rngtest9.html +0 -60
- data/tools/test/js_libs/experiments1/rngtest9.rng +0 -35
- data/tools/test/js_libs/experiments1/rngtest9.xml +0 -8
- data/tools/test/js_libs/jquery-2.2.4.min.js +0 -4
- data/tools/test/js_libs/jquery-3.2.1.min.js +0 -4
- data/tools/test/js_libs/jquery-3.3.1.min.js +0 -2
- data/tools/test/js_libs/jquery.browser.js +0 -40
- data/tools/test/js_libs/jquery.caret.min.js +0 -10
- data/tools/test/js_libs/jquery.cookie.js +0 -117
- data/tools/test/js_libs/jquery.min.js +0 -1
- data/tools/test/js_libs/jquery.svg.min.js +0 -6
- data/tools/test/js_libs/jquery.svgdom.min.js +0 -6
- data/tools/test/js_libs/markdown.min.js +0 -1
- data/tools/test/js_libs/parsequery.js +0 -21
- data/tools/test/js_libs/printf.js +0 -368
- data/tools/test/js_libs/relaxngui.css +0 -213
- data/tools/test/js_libs/relaxngui.js +0 -543
- data/tools/test/js_libs/strftime.min.js +0 -1
- data/tools/test/js_libs/tests/dataelements.html +0 -59
- data/tools/test/js_libs/tests/dataelements.rng +0 -8
- data/tools/test/js_libs/tests/dataelements.xml +0 -3
- data/tools/test/js_libs/tests/relaxngui.css +0 -203
- data/tools/test/js_libs/tests/relaxngui.js +0 -502
- data/tools/test/js_libs/tests/rngtest1.html +0 -66
- data/tools/test/js_libs/tests/rngtest1.rng +0 -147
- data/tools/test/js_libs/tests/rngtest1.xml +0 -13
- data/tools/test/js_libs/tests/rngtest2.html +0 -60
- data/tools/test/js_libs/tests/rngtest2.rng +0 -6
- data/tools/test/js_libs/tests/rngtest2.xml +0 -3
- data/tools/test/js_libs/tests/rngtest3.html +0 -60
- data/tools/test/js_libs/tests/rngtest3.rng +0 -23
- data/tools/test/js_libs/tests/rngtest3.xml +0 -9
- data/tools/test/js_libs/tests/rngtest4.html +0 -60
- data/tools/test/js_libs/tests/rngtest4.rng +0 -19
- data/tools/test/js_libs/tests/rngtest4.xml +0 -12
- data/tools/test/js_libs/tests/rngtest5.html +0 -60
- data/tools/test/js_libs/tests/rngtest5.rng +0 -75
- data/tools/test/js_libs/tests/rngtest5.xml +0 -40
- data/tools/test/js_libs/tests/rngtest6.html +0 -60
- data/tools/test/js_libs/tests/rngtest6.rng +0 -24
- data/tools/test/js_libs/tests/rngtest6.xml +0 -6
- data/tools/test/js_libs/tests/rngtest8.html +0 -60
- data/tools/test/js_libs/tests/rngtest8.rng +0 -13
- data/tools/test/js_libs/tests/rngtest8.xml +0 -2
- data/tools/test/js_libs/tests/rngtest9.html +0 -60
- data/tools/test/js_libs/tests/rngtest9.rng +0 -31
- data/tools/test/js_libs/tests/rngtest9.xml +0 -8
- data/tools/test/js_libs/ui.css +0 -333
- data/tools/test/js_libs/ui.html +0 -168
- data/tools/test/js_libs/ui.js +0 -177
- data/tools/test/js_libs/underscore.min.js +0 -27
- data/tools/test/js_libs/util.js +0 -81
- data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +0 -358
- data/tools/test/js_libs/vkbeautify.js +0 -1
- data/tools/test/js_libs/webcomponents.min.js +0 -196
- data/tools/test/model.html +0 -192
- data/tools/test/rngs/attributes.rng +0 -8
- data/tools/test/rngs/dataelements.rng +0 -8
- data/tools/test/rngs/endpoints.rng +0 -8
- data/tools/test/templates.legacy/Async.xml +0 -46
- data/tools/test/templates.legacy/BCO.xml +0 -70
- data/tools/test/templates.legacy/BCS.xml +0 -70
- data/tools/test/templates.legacy/Centurio.xml +0 -75
- data/tools/test/templates.legacy/Concurrent.xml +0 -40
- data/tools/test/templates.legacy/Coopis Testset.xml +0 -76
- data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +0 -30
- data/tools/test/templates.legacy/ICSOC Testset.xml +0 -95
- data/tools/test/templates.legacy/Infinity.xml +0 -28
- data/tools/test/templates.legacy/Lego Boxer.xml +0 -31
- data/tools/test/templates.legacy/Lego Conveyor.xml +0 -31
- data/tools/test/templates.legacy/Lego Crane.xml +0 -87
- data/tools/test/templates.legacy/Lego Ejector.xml +0 -55
- data/tools/test/templates.legacy/Lego Full.xml +0 -142
- data/tools/test/templates.legacy/Lego Liddy.xml +0 -40
- data/tools/test/templates.legacy/Lego Plate.xml +0 -31
- data/tools/test/templates.legacy/Lego Transporter.xml +0 -43
- data/tools/test/templates.legacy/Lego_Part_1.xml +0 -85
- data/tools/test/templates.legacy/LgLinear.xml +0 -65
- data/tools/test/templates.legacy/Linear.xml +0 -77
- data/tools/test/templates.legacy/Log.xml +0 -117
- data/tools/test/templates.legacy/Mangler 1.xml +0 -87
- data/tools/test/templates.legacy/Mangler 2.xml +0 -103
- data/tools/test/templates.legacy/Manuel Labels.xml +0 -55
- data/tools/test/templates.legacy/Promise.xml +0 -275
- data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +0 -83
- data/tools/test/templates.legacy/Subprocess.xml +0 -56
- data/tools/test/templates.legacy/Syncing P34 1.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34 2.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34 3.xml +0 -77
- data/tools/test/templates.legacy/Syncing P34.xml +0 -77
- data/tools/test/templates.legacy/TEST - Bad Loop.xml +0 -173
- data/tools/test/templates.legacy/TEST - Wrong Positions.xml +0 -174
- data/tools/test/templates.legacy/Take_5.xml +0 -48
- data/tools/test/templates.legacy/Update.xml +0 -32
- data/tools/test/templates.legacy/Worklist Parallel.xml +0 -104
- data/tools/test/templates.legacy/Worklist Test CPEE.xml +0 -40
- data/tools/test/templates.legacy/Worklist Test.xml +0 -42
- data/tools/test/templates.legacy/Worklist Test2.xml +0 -43
- data/tools/test/templates.legacy/convert_cpee2.rb +0 -15
- data/tools/test/templates.legacy/convert_preset.rb +0 -32
- data/tools/test/templates.legacy/testsets.xml +0 -37
- data/tools/test/templates.legacy/transformations.xml +0 -4
- data/tools/test/templates/Coopis 2010.xml +0 -76
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +0 -77
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +0 -77
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +0 -77
- data/tools/test/templates/Track Test Local.xml +0 -82
- data/tools/test/templates/Track Test.xml +0 -82
- data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +0 -182
- data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +0 -203
- data/tools/test/templates/UR-VUE 2020 Solution NN.xml +0 -197
- data/tools/test/templates/UR-VUE 2020 Solution View.xml +0 -151
- data/tools/test/templates/UR-VUE 2020.xml +0 -26
- data/tools/test/templates/Worklist.xml +0 -42
- data/tools/test/templates/instantiate.local/Take_Sub.xml +0 -59
- data/tools/test/templates/instantiate/Take_Perf.xml +0 -46
- data/tools/test/templates/instantiate/Take_Sub.xml +0 -58
- data/tools/test/templates/instantiate/Take_X.xml +0 -48
- data/tools/test/themes/compact/theme.js +0 -1285
- data/tools/test/themes/diana/theme.js +0 -1650
- data/tools/test/themes/extended/theme.js +0 -1325
- data/tools/test/themes/model/rngs/alternative.rng +0 -1
- data/tools/test/themes/model/rngs/call.rng +0 -67
- data/tools/test/themes/model/rngs/callmanipulate.rng +0 -72
- data/tools/test/themes/model/rngs/choose.rng +0 -1
- data/tools/test/themes/model/rngs/critical.rng +0 -1
- data/tools/test/themes/model/rngs/escape.rng +0 -1
- data/tools/test/themes/model/rngs/group.rng +0 -1
- data/tools/test/themes/model/rngs/loop.rng +0 -1
- data/tools/test/themes/model/rngs/manipulate.rng +0 -1
- data/tools/test/themes/model/rngs/otherwise.rng +0 -1
- data/tools/test/themes/model/rngs/parallel.rng +0 -1
- data/tools/test/themes/model/rngs/parallel_branch.rng +0 -1
- data/tools/test/themes/model/rngs/scripts.rng +0 -7
- data/tools/test/themes/model/rngs/stop.rng +0 -1
- data/tools/test/themes/model/rngs/terminate.rng +0 -1
- data/tools/test/themes/model/theme.js +0 -1268
- data/tools/test/themes/packed/theme.js +0 -1286
- data/tools/test/themes/preset/rngs/alternative.rng +0 -25
- data/tools/test/themes/preset/rngs/call.rng +0 -122
- data/tools/test/themes/preset/rngs/callmanipulate.rng +0 -145
- data/tools/test/themes/preset/rngs/choose.rng +0 -14
- data/tools/test/themes/preset/rngs/closed_loop.rng +0 -62
- data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +0 -5
- data/tools/test/themes/preset/rngs/closed_loop_control.rng +0 -31
- data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +0 -12
- data/tools/test/themes/preset/rngs/critical.rng +0 -5
- data/tools/test/themes/preset/rngs/escape.rng +0 -1
- data/tools/test/themes/preset/rngs/group.rng +0 -3
- data/tools/test/themes/preset/rngs/loop.rng +0 -22
- data/tools/test/themes/preset/rngs/manipulate.rng +0 -9
- data/tools/test/themes/preset/rngs/otherwise.rng +0 -22
- data/tools/test/themes/preset/rngs/parallel.rng +0 -21
- data/tools/test/themes/preset/rngs/parallel_branch.rng +0 -8
- data/tools/test/themes/preset/rngs/scripts.rng +0 -23
- data/tools/test/themes/preset/rngs/stop.rng +0 -5
- data/tools/test/themes/preset/rngs/terminate.rng +0 -1
- data/tools/test/themes/preset/symbols/alternative.svg +0 -5
- data/tools/test/themes/preset/symbols/arrow.svg +0 -3
- data/tools/test/themes/preset/symbols/call.svg +0 -6
- data/tools/test/themes/preset/symbols/callmanipulate.svg +0 -8
- data/tools/test/themes/preset/symbols/choose.svg +0 -5
- data/tools/test/themes/preset/symbols/choose_exclusive.svg +0 -5
- data/tools/test/themes/preset/symbols/choose_inclusive.svg +0 -4
- data/tools/test/themes/preset/symbols/closed_loop.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_control.svg +0 -5
- data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +0 -6
- data/tools/test/themes/preset/symbols/complex.svg +0 -8
- data/tools/test/themes/preset/symbols/critical.svg +0 -4
- data/tools/test/themes/preset/symbols/end.svg +0 -3
- data/tools/test/themes/preset/symbols/escape.svg +0 -5
- data/tools/test/themes/preset/symbols/event_end.svg +0 -3
- data/tools/test/themes/preset/symbols/loop.svg +0 -5
- data/tools/test/themes/preset/symbols/manipulate.svg +0 -4
- data/tools/test/themes/preset/symbols/otherwise.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel_branch.svg +0 -5
- data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +0 -4
- data/tools/test/themes/preset/symbols/parallel_branch_event.svg +0 -14
- data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +0 -5
- data/tools/test/themes/preset/symbols/scripts.svg +0 -4
- data/tools/test/themes/preset/symbols/start.svg +0 -3
- data/tools/test/themes/preset/symbols/stop.svg +0 -5
- data/tools/test/themes/preset/symbols/terminate.svg +0 -4
- data/tools/test/themes/preset/theme.js +0 -1287
- data/tools/test/track.html +0 -142
@@ -1,103 +0,0 @@
|
|
1
|
-
<testset>
|
2
|
-
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
3
|
-
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
4
|
-
<dataelements xmlns="http://cpee.org/ns/properties/2.0">
|
5
|
-
<persons>3</persons>
|
6
|
-
<card>Visa_12345</card>
|
7
|
-
<airline>null</airline>
|
8
|
-
<hotels>[]</hotels>
|
9
|
-
<from>Vienna</from>
|
10
|
-
<to>Prague</to>
|
11
|
-
<costs>0</costs>
|
12
|
-
</dataelements>
|
13
|
-
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
14
|
-
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
15
|
-
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
16
|
-
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
17
|
-
</endpoints>
|
18
|
-
<description xmlns="http://cpee.org/ns/properties/2.0">
|
19
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
20
|
-
<call id="a1" endpoint="bookAir">
|
21
|
-
<parameters>
|
22
|
-
<method>:post</method>
|
23
|
-
<arguments>
|
24
|
-
<from>data.from</from>
|
25
|
-
<to>data.to</to>
|
26
|
-
<persons>data.persons</persons>
|
27
|
-
</arguments>
|
28
|
-
</parameters>
|
29
|
-
<code>
|
30
|
-
<finalize output="result">data.airline = result.value('id')
|
31
|
-
data.costs += result.value('costs').to_f</finalize>
|
32
|
-
</code>
|
33
|
-
</call>
|
34
|
-
<parallel>
|
35
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
36
|
-
<parallel_branch pass="data.persons" local="p">
|
37
|
-
<call id="a2" endpoint="bookHotel">
|
38
|
-
<parameters>
|
39
|
-
<method>:post</method>
|
40
|
-
<arguments>
|
41
|
-
<to>data.to</to>
|
42
|
-
</arguments>
|
43
|
-
</parameters>
|
44
|
-
<code>
|
45
|
-
<finalize output="result">data.hotels << result.value('id')
|
46
|
-
data.costs += result.value('costs').to_f</finalize>
|
47
|
-
</code>
|
48
|
-
</call>
|
49
|
-
</parallel_branch>
|
50
|
-
<manipulate id="a3">data.persons -= 1</manipulate>
|
51
|
-
</loop>
|
52
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
53
|
-
<parallel_branch pass="data.persons" local="p">
|
54
|
-
<call id="a4" endpoint="bookHotel">
|
55
|
-
<parameters>
|
56
|
-
<method>:post</method>
|
57
|
-
<arguments>
|
58
|
-
<to>data.to</to>
|
59
|
-
</arguments>
|
60
|
-
</parameters>
|
61
|
-
<code>
|
62
|
-
<finalize output="result">data.hotels << result.value('id')
|
63
|
-
data.costs += result.value('costs').to_f</finalize>
|
64
|
-
</code>
|
65
|
-
</call>
|
66
|
-
</parallel_branch>
|
67
|
-
<parallel_branch pass="data.persons" local="p">
|
68
|
-
<call id="a5" endpoint="bookHotel">
|
69
|
-
<parameters>
|
70
|
-
<method>:post</method>
|
71
|
-
<arguments>
|
72
|
-
<to>data.to</to>
|
73
|
-
</arguments>
|
74
|
-
</parameters>
|
75
|
-
<code>
|
76
|
-
<finalize output="result">data.hotels << result.value('id')
|
77
|
-
data.costs += result.value('costs').to_f</finalize>
|
78
|
-
</code>
|
79
|
-
</call>
|
80
|
-
</parallel_branch>
|
81
|
-
<manipulate id="a6">data.persons -= 1</manipulate>
|
82
|
-
</loop>
|
83
|
-
</parallel>
|
84
|
-
<choose>
|
85
|
-
<alternative condition="data.costs > 700">
|
86
|
-
<call id="a7" endpoint="approve">
|
87
|
-
<parameters>
|
88
|
-
<method>:post</method>
|
89
|
-
<arguments>
|
90
|
-
<costs>data.costs</costs>
|
91
|
-
</arguments>
|
92
|
-
</parameters>
|
93
|
-
</call>
|
94
|
-
</alternative>
|
95
|
-
</choose>
|
96
|
-
</description>
|
97
|
-
</description>
|
98
|
-
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
99
|
-
<description type="copy"/>
|
100
|
-
<dataelements type="rest"/>
|
101
|
-
<endpoints type="rest"/>
|
102
|
-
</transformation>
|
103
|
-
</testset>
|
@@ -1,55 +0,0 @@
|
|
1
|
-
<testset>
|
2
|
-
<dataelements xmlns="http://cpee.org/ns/properties/2.0"/>
|
3
|
-
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
4
|
-
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
5
|
-
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
6
|
-
</endpoints>
|
7
|
-
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
8
|
-
<description xmlns="http://cpee.org/ns/properties/2.0">
|
9
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
10
|
-
<call id="a2" endpoint="timeout">
|
11
|
-
<parameters>
|
12
|
-
<label>centrifugation</label>
|
13
|
-
<method>:post</method>
|
14
|
-
<arguments/>
|
15
|
-
</parameters>
|
16
|
-
</call>
|
17
|
-
<call id="a1" endpoint="timeout">
|
18
|
-
<parameters>
|
19
|
-
<label>"any activity"</label>
|
20
|
-
<method>:post</method>
|
21
|
-
<arguments>
|
22
|
-
<timeout>2</timeout>
|
23
|
-
</arguments>
|
24
|
-
</parameters>
|
25
|
-
</call>
|
26
|
-
<call id="a3" endpoint="timeout">
|
27
|
-
<parameters>
|
28
|
-
<label>connect KWP</label>
|
29
|
-
<method>:post</method>
|
30
|
-
<arguments>
|
31
|
-
<timeout>2</timeout>
|
32
|
-
</arguments>
|
33
|
-
</parameters>
|
34
|
-
</call>
|
35
|
-
<call id="a4" endpoint="timeout">
|
36
|
-
<parameters>
|
37
|
-
<label>get loan</label>
|
38
|
-
<method>:post</method>
|
39
|
-
<arguments>
|
40
|
-
<timeout>2</timeout>
|
41
|
-
</arguments>
|
42
|
-
</parameters>
|
43
|
-
</call>
|
44
|
-
</description>
|
45
|
-
</description>
|
46
|
-
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
47
|
-
<description type="copy"/>
|
48
|
-
<dataelements type="none"/>
|
49
|
-
<endpoints type="none"/>
|
50
|
-
</transformation>
|
51
|
-
<attributes xmlns="http://cpee.org/ns/properties/2.0">
|
52
|
-
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Lego Conveyor</info>
|
53
|
-
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
54
|
-
</attributes>
|
55
|
-
</testset>
|
@@ -1,275 +0,0 @@
|
|
1
|
-
<testset>
|
2
|
-
<dataelements xmlns="http://cpee.org/ns/properties/2.0"/>
|
3
|
-
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
4
|
-
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
5
|
-
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/timeout</timeout>
|
6
|
-
<timeout1 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/timeout/1</timeout1>
|
7
|
-
<timeout2 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/timeout/16</timeout2>
|
8
|
-
<timeout3 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/timeout/41</timeout3>
|
9
|
-
<preminder1 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/preminder/1</preminder1>
|
10
|
-
<preminder2 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/preminder/2</preminder2>
|
11
|
-
<sreminder1 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/sreminder/1</sreminder1>
|
12
|
-
<sreminder2 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/sreminder/2</sreminder2>
|
13
|
-
<inkasso xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/inkasso</inkasso>
|
14
|
-
<customer xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/customer</customer>
|
15
|
-
<credit xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/credit</credit>
|
16
|
-
<credit_worthy xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/credit/worthy</credit_worthy>
|
17
|
-
<activation xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/activation</activation>
|
18
|
-
<zaehler xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/zaehler</zaehler>
|
19
|
-
<update xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/update</update>
|
20
|
-
<consume xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/consume</consume>
|
21
|
-
<decide xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/decide</decide>
|
22
|
-
<credit_consume xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/credit/consume</credit_consume>
|
23
|
-
<credit_activate xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://promise.wst.univie.ac.at:9301/credit/activate</credit_activate>
|
24
|
-
</endpoints>
|
25
|
-
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
26
|
-
<description xmlns="http://cpee.org/ns/properties/2.0">
|
27
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
28
|
-
<call id="a20" endpoint="customer" svg-label="Generate Customer">
|
29
|
-
<parameters>
|
30
|
-
<label>"Generate Customer"</label>
|
31
|
-
<method>:post</method>
|
32
|
-
<arguments/>
|
33
|
-
</parameters>
|
34
|
-
<code>
|
35
|
-
<finalize>data.knr=result[0].value;data.status="normal";data.zaehlerid=result[1].value</finalize>
|
36
|
-
</code>
|
37
|
-
</call>
|
38
|
-
<call id="a10" endpoint="sreminder1" svg-label="Sendung erste Mahnung">
|
39
|
-
<parameters>
|
40
|
-
<label>"Sent first Reminder"</label>
|
41
|
-
<method>:post</method>
|
42
|
-
<arguments>
|
43
|
-
<knr>data.knr</knr>
|
44
|
-
</arguments>
|
45
|
-
<type>:task</type>
|
46
|
-
<mid>'sid-5CD9191C-7233-414F-8EF4-A4E1A8D39E07'</mid>
|
47
|
-
</parameters>
|
48
|
-
</call>
|
49
|
-
<parallel wait="1" svg-label="">
|
50
|
-
<parallel_branch svg-label="">
|
51
|
-
<call id="a14" endpoint="timeout1" svg-label="2-woechige Frist">
|
52
|
-
<parameters>
|
53
|
-
<label>"1. 2 week deadline"</label>
|
54
|
-
<method>:post</method>
|
55
|
-
<arguments>
|
56
|
-
<timeout>2</timeout>
|
57
|
-
</arguments>
|
58
|
-
</parameters>
|
59
|
-
</call>
|
60
|
-
<call id="a11" endpoint="sreminder2" svg-label="Senden zweite Mahnung">
|
61
|
-
<parameters>
|
62
|
-
<label>"Send second reminder"</label>
|
63
|
-
<method>:post</method>
|
64
|
-
<arguments>
|
65
|
-
<knr>data.knr</knr>
|
66
|
-
</arguments>
|
67
|
-
<type>:task</type>
|
68
|
-
<mid>'sid-8417E18E-016C-4F87-86FC-216475C1C029'</mid>
|
69
|
-
</parameters>
|
70
|
-
</call>
|
71
|
-
<parallel wait="1" svg-label="">
|
72
|
-
<parallel_branch svg-label="">
|
73
|
-
<call id="a7" endpoint="timeout2" svg-label="2-woechige Frist">
|
74
|
-
<parameters>
|
75
|
-
<label>"2. 2 week deadline"</label>
|
76
|
-
<method>:post</method>
|
77
|
-
<arguments>
|
78
|
-
<timeout>2</timeout>
|
79
|
-
</arguments>
|
80
|
-
</parameters>
|
81
|
-
</call>
|
82
|
-
<call id="a1" endpoint="inkasso" svg-label="Registrierung als Inkassokunde">
|
83
|
-
<parameters>
|
84
|
-
<label>"Register as debt customer"</label>
|
85
|
-
<method>:put</method>
|
86
|
-
<arguments>
|
87
|
-
<status>data.status</status>
|
88
|
-
</arguments>
|
89
|
-
</parameters>
|
90
|
-
<code>
|
91
|
-
<finalize>data.status=result[0].value;data.zaehler_status='normal'</finalize>
|
92
|
-
</code>
|
93
|
-
</call>
|
94
|
-
<parallel wait="-1" svg-label="">
|
95
|
-
<parallel_branch svg-label="">
|
96
|
-
<call id="a4" endpoint="activation" svg-label="Aktivierung Register fuer Guthaben und Anzeige am Display (Prepayment)">
|
97
|
-
<parameters>
|
98
|
-
<label>"Activate register for credit and display (prepayment)"</label>
|
99
|
-
<method>:post</method>
|
100
|
-
<type>:task</type>
|
101
|
-
<mid>'sid-032C8450-4DF9-435B-8105-F0C13734A7A8'</mid>
|
102
|
-
<arguments>
|
103
|
-
<knr>data.knr</knr>
|
104
|
-
</arguments>
|
105
|
-
</parameters>
|
106
|
-
</call>
|
107
|
-
</parallel_branch>
|
108
|
-
<parallel_branch svg-label="">
|
109
|
-
<call id="a2" endpoint="inkasso" svg-label="Umparametrierung des Zaehlers von Normal- auf Inkassobetrieb">
|
110
|
-
<parameters>
|
111
|
-
<label>"Parametrize meter from normal to debt operation "</label>
|
112
|
-
<method>:put</method>
|
113
|
-
<arguments>
|
114
|
-
<zaehlerid>data.zaehlerid</zaehlerid>
|
115
|
-
<status>data.zaehler_status</status>
|
116
|
-
</arguments>
|
117
|
-
</parameters>
|
118
|
-
<code>
|
119
|
-
<finalize>data.zaehler_status=result[0].value</finalize>
|
120
|
-
</code>
|
121
|
-
</call>
|
122
|
-
</parallel_branch>
|
123
|
-
</parallel>
|
124
|
-
<call id="a6" endpoint="update" svg-label="Aktualisierung Guthaben">
|
125
|
-
<parameters>
|
126
|
-
<label>"Create credit"</label>
|
127
|
-
<method>:post</method>
|
128
|
-
<arguments/>
|
129
|
-
</parameters>
|
130
|
-
<code>
|
131
|
-
<finalize>data.wartefrist="ok";data.guthaben=result[0].value.to_i</finalize>
|
132
|
-
</code>
|
133
|
-
</call>
|
134
|
-
<call id="a3" endpoint="timeout3" svg-label="Aufladen">
|
135
|
-
<parameters>
|
136
|
-
<label>"Upate Credit"</label>
|
137
|
-
<method>:post</method>
|
138
|
-
<arguments/>
|
139
|
-
</parameters>
|
140
|
-
<code>
|
141
|
-
<finalize>p data.guthaben</finalize>
|
142
|
-
</code>
|
143
|
-
</call>
|
144
|
-
<loop mode="pre_test" condition="data.wartefrist!='verstrichen'" svg-label="">
|
145
|
-
<loop mode="pre_test" condition="data.guthaben>0" svg-label="">
|
146
|
-
<call id="a5" endpoint="consume" svg-label="Verbrauchen">
|
147
|
-
<parameters>
|
148
|
-
<label>"Consume Credit"</label>
|
149
|
-
<method>:post</method>
|
150
|
-
<arguments>
|
151
|
-
<knr>data.knr</knr>
|
152
|
-
</arguments>
|
153
|
-
</parameters>
|
154
|
-
<code>
|
155
|
-
<finalize>data.guthaben=data.guthaben-result[0].value.to_i</finalize>
|
156
|
-
</code>
|
157
|
-
</call>
|
158
|
-
</loop>
|
159
|
-
<call id="a13" endpoint="decide" svg-label="Gesetzl. Frist">
|
160
|
-
<parameters>
|
161
|
-
<label>"Legal waiting time"</label>
|
162
|
-
<method>:post</method>
|
163
|
-
<arguments>
|
164
|
-
<knr>data.knr</knr>
|
165
|
-
</arguments>
|
166
|
-
</parameters>
|
167
|
-
<code>
|
168
|
-
<finalize>data.wartefrist="verstrichen" if result[0].name == 'wartefrist';data.guthaben=result[0].value.to_i if result[0].name == "balance"</finalize>
|
169
|
-
</code>
|
170
|
-
</call>
|
171
|
-
</loop>
|
172
|
-
<call id="a17" endpoint="timeout" svg-label="Abschaltung">
|
173
|
-
<parameters>
|
174
|
-
<label>"Trigger switching off"</label>
|
175
|
-
<method>:post</method>
|
176
|
-
<arguments>
|
177
|
-
<knr>data.knr</knr>
|
178
|
-
</arguments>
|
179
|
-
</parameters>
|
180
|
-
<code>
|
181
|
-
<finalize>data.zaehler_status='off'</finalize>
|
182
|
-
</code>
|
183
|
-
</call>
|
184
|
-
<call id="a8" endpoint="credit_worthy" svg-label="Kreditwuerdig">
|
185
|
-
<parameters>
|
186
|
-
<label>"Creditworthy"</label>
|
187
|
-
<method>:post</method>
|
188
|
-
<arguments>
|
189
|
-
<knr>data.knr</knr>
|
190
|
-
</arguments>
|
191
|
-
</parameters>
|
192
|
-
<code>
|
193
|
-
<finalize>data.kreditf=result[0].value;data.kredit_wanted="true"</finalize>
|
194
|
-
</code>
|
195
|
-
</call>
|
196
|
-
<choose mode="exclusive" svg-label="">
|
197
|
-
<alternative condition="data.kreditf=='true'" svg-label="">
|
198
|
-
<call id="a12" endpoint="timeout" svg-label="activate parametrizable credit function and credit offer">
|
199
|
-
<parameters>
|
200
|
-
<label>"activate parametrizable credit function and credit offer"</label>
|
201
|
-
<method>:post</method>
|
202
|
-
<arguments>
|
203
|
-
<knr>data.knr</knr>
|
204
|
-
</arguments>
|
205
|
-
</parameters>
|
206
|
-
</call>
|
207
|
-
<choose mode="exclusive" svg-label="">
|
208
|
-
<alternative condition="data.kredit_wanted=='true'" svg-label="">
|
209
|
-
<call id="a18" endpoint="credit_activate" svg-label="activate meter">
|
210
|
-
<parameters>
|
211
|
-
<label>"activate meter"</label>
|
212
|
-
<method>:post</method>
|
213
|
-
<arguments>
|
214
|
-
<knr>knr=data.knr</knr>
|
215
|
-
</arguments>
|
216
|
-
</parameters>
|
217
|
-
<code>
|
218
|
-
<finalize>data.kredit=result[0].value.to_i</finalize>
|
219
|
-
</code>
|
220
|
-
</call>
|
221
|
-
<loop mode="pre_test" condition="data.kredit>0" svg-label="">
|
222
|
-
<call id="a19" endpoint="credit_consume" svg-label="Consume credit">
|
223
|
-
<parameters>
|
224
|
-
<label>"Consume credit"</label>
|
225
|
-
<method>:post</method>
|
226
|
-
<arguments>
|
227
|
-
<knr>knr=data.knr</knr>
|
228
|
-
</arguments>
|
229
|
-
</parameters>
|
230
|
-
<code>
|
231
|
-
<finalize>data.kredit=data.kredit-result[0].value.to_i</finalize>
|
232
|
-
</code>
|
233
|
-
</call>
|
234
|
-
</loop>
|
235
|
-
</alternative>
|
236
|
-
<otherwise svg-label=""/>
|
237
|
-
</choose>
|
238
|
-
</alternative>
|
239
|
-
<otherwise svg-label=""/>
|
240
|
-
</choose>
|
241
|
-
</parallel_branch>
|
242
|
-
<parallel_branch svg-label="">
|
243
|
-
<call id="a9" endpoint="preminder2" svg-label="Kunde zahlt">
|
244
|
-
<parameters>
|
245
|
-
<label>"paying2 "</label>
|
246
|
-
<method>:post</method>
|
247
|
-
<arguments/>
|
248
|
-
</parameters>
|
249
|
-
</call>
|
250
|
-
</parallel_branch>
|
251
|
-
</parallel>
|
252
|
-
</parallel_branch>
|
253
|
-
<parallel_branch svg-label="">
|
254
|
-
<call id="a15" endpoint="preminder1" svg-label="Kunde zahlt">
|
255
|
-
<parameters>
|
256
|
-
<label>"paying1"</label>
|
257
|
-
<method>:post</method>
|
258
|
-
<arguments/>
|
259
|
-
</parameters>
|
260
|
-
</call>
|
261
|
-
</parallel_branch>
|
262
|
-
</parallel>
|
263
|
-
</description>
|
264
|
-
</description>
|
265
|
-
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
266
|
-
<description type="copy"/>
|
267
|
-
<dataelements type="none"/>
|
268
|
-
<endpoints type="none"/>
|
269
|
-
</transformation>
|
270
|
-
<attributes xmlns="http://cpee.org/ns/properties/2.0">
|
271
|
-
<theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
|
272
|
-
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ss</info>
|
273
|
-
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
274
|
-
</attributes>
|
275
|
-
</testset>
|
@@ -1,83 +0,0 @@
|
|
1
|
-
<testset>
|
2
|
-
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
3
|
-
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
4
|
-
<dataelements xmlns="http://cpee.org/ns/properties/2.0">
|
5
|
-
<persons>3</persons>
|
6
|
-
<card>Visa_12345</card>
|
7
|
-
<airline>null</airline>
|
8
|
-
<hotels>[]</hotels>
|
9
|
-
<from>Vienna</from>
|
10
|
-
<to>Prague</to>
|
11
|
-
<costs>0</costs>
|
12
|
-
</dataelements>
|
13
|
-
<handlers>
|
14
|
-
<handler url="http://localhost:9299/events">
|
15
|
-
<events topic="activity">calling,failed,manipulating,done</events>
|
16
|
-
<events topic="dataelements">change</events>
|
17
|
-
<events topic="endpoints">change</events>
|
18
|
-
<events topic="description">error</events>
|
19
|
-
<events topic="state">change</events>
|
20
|
-
<events topic="status">change</events>
|
21
|
-
</handler>
|
22
|
-
</handlers>
|
23
|
-
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
24
|
-
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
25
|
-
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
26
|
-
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
27
|
-
</endpoints>
|
28
|
-
<description xmlns="http://cpee.org/ns/properties/2.0">
|
29
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
-
<call id="a1" endpoint="bookAir">
|
31
|
-
<parameters>
|
32
|
-
<method>:post</method>
|
33
|
-
<arguments>
|
34
|
-
<from>data.from</from>
|
35
|
-
<to>data.to</to>
|
36
|
-
<persons>data.persons</persons>
|
37
|
-
</arguments>
|
38
|
-
</parameters>
|
39
|
-
<code>
|
40
|
-
<finalize output="result">data.airline = result.value('id')
|
41
|
-
data.costs += result.value('costs').to_f
|
42
|
-
status.update 1, 'Hotel'</finalize>
|
43
|
-
</code>
|
44
|
-
</call>
|
45
|
-
<parallel>
|
46
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
47
|
-
<parallel_branch pass="data.persons" local="p">
|
48
|
-
<call id="a2" endpoint="bookHotel">
|
49
|
-
<parameters>
|
50
|
-
<method>:post</method>
|
51
|
-
<arguments>
|
52
|
-
<to>data.to</to>
|
53
|
-
</arguments>
|
54
|
-
</parameters>
|
55
|
-
<code>
|
56
|
-
<finalize output="result">data.hotels << result.value('id')
|
57
|
-
data.costs += result.value('costs').to_f</finalize>
|
58
|
-
</code>
|
59
|
-
</call>
|
60
|
-
</parallel_branch>
|
61
|
-
<manipulate id="a3">data.persons -= 1</manipulate>
|
62
|
-
</loop>
|
63
|
-
</parallel>
|
64
|
-
<choose>
|
65
|
-
<alternative condition="data.costs > 700">
|
66
|
-
<call id="a4" endpoint="approve">
|
67
|
-
<parameters>
|
68
|
-
<method>:post</method>
|
69
|
-
<arguments>
|
70
|
-
<costs>data.costs</costs>
|
71
|
-
</arguments>
|
72
|
-
</parameters>
|
73
|
-
</call>
|
74
|
-
</alternative>
|
75
|
-
</choose>
|
76
|
-
</description>
|
77
|
-
</description>
|
78
|
-
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
79
|
-
<description type="copy"/>
|
80
|
-
<dataelements type="rest"/>
|
81
|
-
<endpoints type="rest"/>
|
82
|
-
</transformation>
|
83
|
-
</testset>
|