cpee 2.0.16 → 2.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/wfadaptor.css +17 -0
- data/cockpit/js/instance.js +3 -3
- data/cockpit/js_libs.zip +0 -0
- data/cockpit/themes/compact/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/compact/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/compact/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/default/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/default/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/default/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/diana/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/diana/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/diana/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/extended/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/extended/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/extended/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/model/rngs/call.rng +6 -1
- data/cockpit/themes/model/rngs/callmanipulate.rng +6 -1
- data/cockpit/themes/model/theme.js +1 -1
- data/cockpit/themes/packed/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/packed/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/packed/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/preset/rngs/closed_loop.rng +6 -3
- data/cockpit/themes/preset/rngs/closed_loop_control.rng +3 -0
- data/cockpit/themes/preset/rngs/closed_loop_measuring.rng +3 -0
- data/cockpit/themes/preset/theme.js +1 -1
- data/cpee.gemspec +2 -2
- data/lib/cpee/controller.rb +6 -3
- data/lib/cpee/implementation.rb +23 -8
- data/lib/cpee/implementation_notifications.rb +1 -1
- data/lib/cpee/persistence.rb +2 -1
- data/lib/cpee/redis.rb +57 -0
- data/server/handlerwrappers/default.rb +16 -16
- data/server/routing/end.rb +16 -4
- data/server/routing/forward-events.rb +19 -7
- data/server/routing/forward-votes.rb +19 -7
- data/server/routing/persist.rb +27 -15
- data/tools/cpee +5 -5
- data/tools/server/{server.rb → cpee} +0 -0
- data/tools/test/README +4 -0
- data/tools/test/config.json +3 -0
- data/tools/test/contrib/graph_example.svg +1166 -0
- data/tools/test/contrib/legend.svg +817 -0
- data/tools/test/contrib/symbols.svg +224 -0
- data/tools/test/contrib/transformation1.xsl +264 -0
- data/tools/test/contrib/transformation2.xsl +10 -0
- data/tools/test/contrib/tree_example.svg +788 -0
- data/tools/test/css/model.css +24 -0
- data/tools/test/css/track.css +60 -0
- data/tools/test/css/ui.css +214 -0
- data/tools/test/css/wfadaptor.css +422 -0
- data/tools/test/edit.html +258 -0
- data/tools/test/graph.html +69 -0
- data/tools/test/index.html +258 -0
- data/tools/test/js/details.js +109 -0
- data/tools/test/js/instance.js +1344 -0
- data/tools/test/js/model.js +41 -0
- data/tools/test/js/parameters.js +82 -0
- data/tools/test/js/track.js +18 -0
- data/tools/test/js/ui.js +104 -0
- data/tools/test/js/wfadaptor.js +763 -0
- data/tools/test/js_libs.zip +0 -0
- data/tools/test/js_libs/Makefile +2 -0
- data/tools/test/js_libs/ansi_up.js +333 -0
- data/tools/test/js_libs/console.js +80 -0
- data/tools/test/js_libs/custommenu.css +84 -0
- data/tools/test/js_libs/custommenu.js +104 -0
- data/tools/test/js_libs/experiments1/relaxngui.css +185 -0
- data/tools/test/js_libs/experiments1/relaxngui.js +488 -0
- data/tools/test/js_libs/experiments1/rngtest9.html +60 -0
- data/tools/test/js_libs/experiments1/rngtest9.rng +35 -0
- data/tools/test/js_libs/experiments1/rngtest9.xml +8 -0
- data/tools/test/js_libs/jquery-2.2.4.min.js +4 -0
- data/tools/test/js_libs/jquery-3.2.1.min.js +4 -0
- data/tools/test/js_libs/jquery-3.3.1.min.js +2 -0
- data/tools/test/js_libs/jquery.browser.js +40 -0
- data/tools/test/js_libs/jquery.caret.min.js +10 -0
- data/tools/test/js_libs/jquery.cookie.js +117 -0
- data/tools/test/js_libs/jquery.min.js +1 -0
- data/tools/test/js_libs/jquery.svg.min.js +6 -0
- data/tools/test/js_libs/jquery.svgdom.min.js +6 -0
- data/tools/test/js_libs/markdown.min.js +1 -0
- data/tools/test/js_libs/parsequery.js +21 -0
- data/tools/test/js_libs/printf.js +368 -0
- data/tools/test/js_libs/relaxngui.css +213 -0
- data/tools/test/js_libs/relaxngui.js +543 -0
- data/tools/test/js_libs/strftime.min.js +1 -0
- data/tools/test/js_libs/tests/dataelements.html +59 -0
- data/tools/test/js_libs/tests/dataelements.rng +8 -0
- data/tools/test/js_libs/tests/dataelements.xml +3 -0
- data/tools/test/js_libs/tests/relaxngui.css +203 -0
- data/tools/test/js_libs/tests/relaxngui.js +502 -0
- data/tools/test/js_libs/tests/rngtest1.html +66 -0
- data/tools/test/js_libs/tests/rngtest1.rng +147 -0
- data/tools/test/js_libs/tests/rngtest1.xml +13 -0
- data/tools/test/js_libs/tests/rngtest2.html +60 -0
- data/tools/test/js_libs/tests/rngtest2.rng +6 -0
- data/tools/test/js_libs/tests/rngtest2.xml +3 -0
- data/tools/test/js_libs/tests/rngtest3.html +60 -0
- data/tools/test/js_libs/tests/rngtest3.rng +23 -0
- data/tools/test/js_libs/tests/rngtest3.xml +9 -0
- data/tools/test/js_libs/tests/rngtest4.html +60 -0
- data/tools/test/js_libs/tests/rngtest4.rng +19 -0
- data/tools/test/js_libs/tests/rngtest4.xml +12 -0
- data/tools/test/js_libs/tests/rngtest5.html +60 -0
- data/tools/test/js_libs/tests/rngtest5.rng +75 -0
- data/tools/test/js_libs/tests/rngtest5.xml +40 -0
- data/tools/test/js_libs/tests/rngtest6.html +60 -0
- data/tools/test/js_libs/tests/rngtest6.rng +24 -0
- data/tools/test/js_libs/tests/rngtest6.xml +6 -0
- data/tools/test/js_libs/tests/rngtest8.html +60 -0
- data/tools/test/js_libs/tests/rngtest8.rng +13 -0
- data/tools/test/js_libs/tests/rngtest8.xml +2 -0
- data/tools/test/js_libs/tests/rngtest9.html +60 -0
- data/tools/test/js_libs/tests/rngtest9.rng +31 -0
- data/tools/test/js_libs/tests/rngtest9.xml +8 -0
- data/tools/test/js_libs/ui.css +333 -0
- data/tools/test/js_libs/ui.html +168 -0
- data/tools/test/js_libs/ui.js +177 -0
- data/tools/test/js_libs/underscore.min.js +27 -0
- data/tools/test/js_libs/util.js +81 -0
- data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +358 -0
- data/tools/test/js_libs/vkbeautify.js +1 -0
- data/tools/test/js_libs/webcomponents.min.js +196 -0
- data/tools/test/model.html +192 -0
- data/tools/test/rngs/attributes.rng +8 -0
- data/tools/test/rngs/dataelements.rng +8 -0
- data/tools/test/rngs/endpoints.rng +8 -0
- data/tools/test/templates.legacy/Async.xml +46 -0
- data/tools/test/templates.legacy/BCO.xml +70 -0
- data/tools/test/templates.legacy/BCS.xml +70 -0
- data/tools/test/templates.legacy/Centurio.xml +75 -0
- data/tools/test/templates.legacy/Concurrent.xml +40 -0
- data/tools/test/templates.legacy/Coopis Testset.xml +76 -0
- data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +30 -0
- data/tools/test/templates.legacy/ICSOC Testset.xml +95 -0
- data/tools/test/templates.legacy/Infinity.xml +28 -0
- data/tools/test/templates.legacy/Lego Boxer.xml +31 -0
- data/tools/test/templates.legacy/Lego Conveyor.xml +31 -0
- data/tools/test/templates.legacy/Lego Crane.xml +87 -0
- data/tools/test/templates.legacy/Lego Ejector.xml +55 -0
- data/tools/test/templates.legacy/Lego Full.xml +142 -0
- data/tools/test/templates.legacy/Lego Liddy.xml +40 -0
- data/tools/test/templates.legacy/Lego Plate.xml +31 -0
- data/tools/test/templates.legacy/Lego Transporter.xml +43 -0
- data/tools/test/templates.legacy/Lego_Part_1.xml +85 -0
- data/tools/test/templates.legacy/LgLinear.xml +65 -0
- data/tools/test/templates.legacy/Linear.xml +77 -0
- data/tools/test/templates.legacy/Log.xml +117 -0
- data/tools/test/templates.legacy/Mangler 1.xml +87 -0
- data/tools/test/templates.legacy/Mangler 2.xml +103 -0
- data/tools/test/templates.legacy/Manuel Labels.xml +55 -0
- data/tools/test/templates.legacy/Promise.xml +275 -0
- data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +83 -0
- data/tools/test/templates.legacy/Subprocess.xml +56 -0
- data/tools/test/templates.legacy/Syncing P34 1.xml +77 -0
- data/tools/test/templates.legacy/Syncing P34 2.xml +77 -0
- data/tools/test/templates.legacy/Syncing P34 3.xml +77 -0
- data/tools/test/templates.legacy/Syncing P34.xml +77 -0
- data/tools/test/templates.legacy/TEST - Bad Loop.xml +173 -0
- data/tools/test/templates.legacy/TEST - Wrong Positions.xml +174 -0
- data/tools/test/templates.legacy/Take_5.xml +48 -0
- data/tools/test/templates.legacy/Update.xml +32 -0
- data/tools/test/templates.legacy/Worklist Parallel.xml +104 -0
- data/tools/test/templates.legacy/Worklist Test CPEE.xml +40 -0
- data/tools/test/templates.legacy/Worklist Test.xml +42 -0
- data/tools/test/templates.legacy/Worklist Test2.xml +43 -0
- data/tools/test/templates.legacy/convert_cpee2.rb +15 -0
- data/tools/test/templates.legacy/convert_preset.rb +32 -0
- data/tools/test/templates.legacy/testsets.xml +37 -0
- data/tools/test/templates.legacy/transformations.xml +4 -0
- data/tools/test/templates/Coopis 2010.xml +76 -0
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
- data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
- data/tools/test/templates/Track Test Local.xml +82 -0
- data/tools/test/templates/Track Test.xml +82 -0
- data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +182 -0
- data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +203 -0
- data/tools/test/templates/UR-VUE 2020 Solution NN.xml +197 -0
- data/tools/test/templates/UR-VUE 2020 Solution View.xml +151 -0
- data/tools/test/templates/UR-VUE 2020.xml +26 -0
- data/tools/test/templates/Worklist.xml +42 -0
- data/tools/test/templates/instantiate.local/Take_Sub.xml +59 -0
- data/tools/test/templates/instantiate/Take_Perf.xml +46 -0
- data/tools/test/templates/instantiate/Take_Sub.xml +58 -0
- data/tools/test/templates/instantiate/Take_X.xml +48 -0
- data/tools/test/themes/compact/theme.js +1285 -0
- data/tools/test/themes/diana/theme.js +1650 -0
- data/tools/test/themes/extended/theme.js +1325 -0
- data/tools/test/themes/model/rngs/alternative.rng +1 -0
- data/tools/test/themes/model/rngs/call.rng +67 -0
- data/tools/test/themes/model/rngs/callmanipulate.rng +72 -0
- data/tools/test/themes/model/rngs/choose.rng +1 -0
- data/tools/test/themes/model/rngs/critical.rng +1 -0
- data/tools/test/themes/model/rngs/escape.rng +1 -0
- data/tools/test/themes/model/rngs/group.rng +1 -0
- data/tools/test/themes/model/rngs/loop.rng +1 -0
- data/tools/test/themes/model/rngs/manipulate.rng +1 -0
- data/tools/test/themes/model/rngs/otherwise.rng +1 -0
- data/tools/test/themes/model/rngs/parallel.rng +1 -0
- data/tools/test/themes/model/rngs/parallel_branch.rng +1 -0
- data/tools/test/themes/model/rngs/scripts.rng +7 -0
- data/tools/test/themes/model/rngs/stop.rng +1 -0
- data/tools/test/themes/model/rngs/terminate.rng +1 -0
- data/tools/test/themes/model/theme.js +1268 -0
- data/tools/test/themes/packed/theme.js +1286 -0
- data/tools/test/themes/preset/rngs/alternative.rng +25 -0
- data/tools/test/themes/preset/rngs/call.rng +122 -0
- data/tools/test/themes/preset/rngs/callmanipulate.rng +145 -0
- data/tools/test/themes/preset/rngs/choose.rng +14 -0
- data/tools/test/themes/preset/rngs/closed_loop.rng +62 -0
- data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +5 -0
- data/tools/test/themes/preset/rngs/closed_loop_control.rng +31 -0
- data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +12 -0
- data/tools/test/themes/preset/rngs/critical.rng +5 -0
- data/tools/test/themes/preset/rngs/escape.rng +1 -0
- data/tools/test/themes/preset/rngs/group.rng +3 -0
- data/tools/test/themes/preset/rngs/loop.rng +22 -0
- data/tools/test/themes/preset/rngs/manipulate.rng +9 -0
- data/tools/test/themes/preset/rngs/otherwise.rng +22 -0
- data/tools/test/themes/preset/rngs/parallel.rng +21 -0
- data/tools/test/themes/preset/rngs/parallel_branch.rng +8 -0
- data/tools/test/themes/preset/rngs/scripts.rng +23 -0
- data/tools/test/themes/preset/rngs/stop.rng +5 -0
- data/tools/test/themes/preset/rngs/terminate.rng +1 -0
- data/tools/test/themes/preset/symbols/alternative.svg +5 -0
- data/tools/test/themes/preset/symbols/arrow.svg +3 -0
- data/tools/test/themes/preset/symbols/call.svg +6 -0
- data/tools/test/themes/preset/symbols/callmanipulate.svg +8 -0
- data/tools/test/themes/preset/symbols/choose.svg +5 -0
- data/tools/test/themes/preset/symbols/choose_exclusive.svg +5 -0
- data/tools/test/themes/preset/symbols/choose_inclusive.svg +4 -0
- data/tools/test/themes/preset/symbols/closed_loop.svg +5 -0
- data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +5 -0
- data/tools/test/themes/preset/symbols/closed_loop_control.svg +5 -0
- data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +6 -0
- data/tools/test/themes/preset/symbols/complex.svg +8 -0
- data/tools/test/themes/preset/symbols/critical.svg +4 -0
- data/tools/test/themes/preset/symbols/end.svg +3 -0
- data/tools/test/themes/preset/symbols/escape.svg +5 -0
- data/tools/test/themes/preset/symbols/event_end.svg +3 -0
- data/tools/test/themes/preset/symbols/loop.svg +5 -0
- data/tools/test/themes/preset/symbols/manipulate.svg +4 -0
- data/tools/test/themes/preset/symbols/otherwise.svg +5 -0
- data/tools/test/themes/preset/symbols/parallel.svg +5 -0
- data/tools/test/themes/preset/symbols/parallel_branch.svg +5 -0
- data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +4 -0
- data/tools/test/themes/preset/symbols/parallel_branch_event.svg +14 -0
- data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +5 -0
- data/tools/test/themes/preset/symbols/scripts.svg +4 -0
- data/tools/test/themes/preset/symbols/start.svg +3 -0
- data/tools/test/themes/preset/symbols/stop.svg +5 -0
- data/tools/test/themes/preset/symbols/terminate.svg +4 -0
- data/tools/test/themes/preset/theme.js +1287 -0
- data/tools/test/track.html +142 -0
- metadata +222 -3
@@ -0,0 +1,43 @@
|
|
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
|
+
<dispense xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://transporter.wst.univie.ac.at:9200/dispense</dispense>
|
7
|
+
<stein xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://transporter.wst.univie.ac.at:9200/stein</stein>
|
8
|
+
</endpoints>
|
9
|
+
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
10
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
11
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
12
|
+
<call id="a1" endpoint="stein">
|
13
|
+
<parameters>
|
14
|
+
<label>Take Stein</label>
|
15
|
+
<method>:post</method>
|
16
|
+
<arguments>
|
17
|
+
<data>2</data>
|
18
|
+
</arguments>
|
19
|
+
</parameters>
|
20
|
+
</call>
|
21
|
+
<call id="a2" endpoint="dispense">
|
22
|
+
<parameters>
|
23
|
+
<label>Dispense</label>
|
24
|
+
<method>:post</method>
|
25
|
+
<arguments>
|
26
|
+
<data>2</data>
|
27
|
+
</arguments>
|
28
|
+
</parameters>
|
29
|
+
</call>
|
30
|
+
</description>
|
31
|
+
</description>
|
32
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
33
|
+
<description type="copy"/>
|
34
|
+
<dataelements type="none"/>
|
35
|
+
<endpoints type="none"/>
|
36
|
+
</transformation>
|
37
|
+
<attributes xmlns="http://cpee.org/ns/properties/2.0">
|
38
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">s</info>
|
39
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
40
|
+
<theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
|
41
|
+
<bc>start</bc>
|
42
|
+
</attributes>
|
43
|
+
</testset>
|
@@ -0,0 +1,85 @@
|
|
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
|
+
<deploy xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://coruscant.wst.univie.ac.at:9296/url</deploy>
|
7
|
+
</endpoints>
|
8
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
9
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
10
|
+
<call id="a1" endpoint="deploy">
|
11
|
+
<parameters>
|
12
|
+
<label>Dispense onto Conveyor</label>
|
13
|
+
<method>:post</method>
|
14
|
+
<arguments>
|
15
|
+
<info>Transporter</info>
|
16
|
+
<behavior>wait_running</behavior>
|
17
|
+
<url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Transporter.xml</url>
|
18
|
+
</arguments>
|
19
|
+
<sensors/>
|
20
|
+
</parameters>
|
21
|
+
<_timing>
|
22
|
+
<_timing_min/>
|
23
|
+
<_timing_max/>
|
24
|
+
<_timing_avg/>
|
25
|
+
</_timing>
|
26
|
+
<_notes>
|
27
|
+
<_notes_general/>
|
28
|
+
<_attachments/>
|
29
|
+
</_notes>
|
30
|
+
</call>
|
31
|
+
<call id="a2" endpoint="deploy">
|
32
|
+
<parameters>
|
33
|
+
<label>Get to Crane</label>
|
34
|
+
<method>:post</method>
|
35
|
+
<arguments>
|
36
|
+
<info>Conveyor</info>
|
37
|
+
<behavior>wait_running</behavior>
|
38
|
+
<url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Conveyor.xml</url>
|
39
|
+
</arguments>
|
40
|
+
<sensors/>
|
41
|
+
</parameters>
|
42
|
+
<_timing>
|
43
|
+
<_timing_min/>
|
44
|
+
<_timing_max/>
|
45
|
+
<_timing_avg/>
|
46
|
+
</_timing>
|
47
|
+
<_notes>
|
48
|
+
<_notes_general/>
|
49
|
+
<_attachments/>
|
50
|
+
</_notes>
|
51
|
+
</call>
|
52
|
+
<call id="a3" endpoint="deploy">
|
53
|
+
<parameters>
|
54
|
+
<label>Get to Plate</label>
|
55
|
+
<method>:post</method>
|
56
|
+
<arguments>
|
57
|
+
<info>Crane</info>
|
58
|
+
<behavior>wait_running</behavior>
|
59
|
+
<url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Crane.xml</url>
|
60
|
+
</arguments>
|
61
|
+
<sensors/>
|
62
|
+
</parameters>
|
63
|
+
<_timing>
|
64
|
+
<_timing_min/>
|
65
|
+
<_timing_max/>
|
66
|
+
<_timing_avg/>
|
67
|
+
</_timing>
|
68
|
+
<_notes>
|
69
|
+
<_notes_general/>
|
70
|
+
<_attachments/>
|
71
|
+
</_notes>
|
72
|
+
</call>
|
73
|
+
</description>
|
74
|
+
</description>
|
75
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
76
|
+
<description type="copy"/>
|
77
|
+
<dataelements type="none"/>
|
78
|
+
<endpoints type="none"/>
|
79
|
+
</transformation>
|
80
|
+
<attributes xmlns="http://cpee.org/ns/properties/2.0">
|
81
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Lego_Part_1</info>
|
82
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
83
|
+
<theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
|
84
|
+
</attributes>
|
85
|
+
</testset>
|
@@ -0,0 +1,65 @@
|
|
1
|
+
<testset>
|
2
|
+
<positions xmlns="http://cpee.org/ns/properties/2.0">
|
3
|
+
<a1>after</a1>
|
4
|
+
</positions>
|
5
|
+
<!--}}}-->
|
6
|
+
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
7
|
+
<dataelements xmlns="http://cpee.org/ns/properties/2.0">
|
8
|
+
<x/>
|
9
|
+
</dataelements>
|
10
|
+
<!--}}}-->
|
11
|
+
<handlers/>
|
12
|
+
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
13
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
14
|
+
</endpoints>
|
15
|
+
<!--}}}-->
|
16
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
17
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
18
|
+
<!--{{{-->
|
19
|
+
<call id="a1" endpoint="timeout">
|
20
|
+
<parameters>
|
21
|
+
<!--{{{-->
|
22
|
+
<method>:post</method>
|
23
|
+
<parameters>
|
24
|
+
<timeout>2</timeout>
|
25
|
+
</parameters>
|
26
|
+
</parameters>
|
27
|
+
<!--}}}-->
|
28
|
+
<code>
|
29
|
+
<finalize output="result"> data.x += "a1,"</finalize>
|
30
|
+
</code>
|
31
|
+
</call>
|
32
|
+
<call id="a2" endpoint="timeout">
|
33
|
+
<parameters>
|
34
|
+
<!--{{{-->
|
35
|
+
<method>:post</method>
|
36
|
+
<parameters>
|
37
|
+
<timeout>4</timeout>
|
38
|
+
</parameters>
|
39
|
+
</parameters>
|
40
|
+
<!--}}}-->
|
41
|
+
<code>
|
42
|
+
<finalize output="result"> data.x += "a2,"</finalize>
|
43
|
+
</code>
|
44
|
+
</call>
|
45
|
+
<call id="a3" endpoint="timeout">
|
46
|
+
<parameters>
|
47
|
+
<!--{{{-->
|
48
|
+
<method>:post</method>
|
49
|
+
<parameters>
|
50
|
+
<timeout>4</timeout>
|
51
|
+
</parameters>
|
52
|
+
</parameters>
|
53
|
+
<!--}}}-->
|
54
|
+
<code>
|
55
|
+
<finalize output="result"> data.x += "a3,"</finalize>
|
56
|
+
</code>
|
57
|
+
</call>
|
58
|
+
</description>
|
59
|
+
</description>
|
60
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
61
|
+
<description type="copy"/>
|
62
|
+
<dataelements type="rest"/>
|
63
|
+
<endpoints type="rest"/>
|
64
|
+
</transformation>
|
65
|
+
</testset>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<testset>
|
2
|
+
<positions xmlns="http://cpee.org/ns/properties/2.0">
|
3
|
+
<!--{{{-->
|
4
|
+
<a1>after</a1>
|
5
|
+
</positions>
|
6
|
+
<!--}}}-->
|
7
|
+
<attributes xmlns="http://cpee.org/ns/properties/2.0">
|
8
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
|
9
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
10
|
+
<theme>preset</theme>
|
11
|
+
</attributes>
|
12
|
+
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
|
13
|
+
<dataelements xmlns="http://cpee.org/ns/properties/2.0">
|
14
|
+
<!--{{{-->
|
15
|
+
<x/>
|
16
|
+
</dataelements>
|
17
|
+
<!--}}}-->
|
18
|
+
<handlers/>
|
19
|
+
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
20
|
+
<!--{{{-->
|
21
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
22
|
+
</endpoints>
|
23
|
+
<!--}}}-->
|
24
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
25
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
26
|
+
<!--{{{-->
|
27
|
+
<call id="a1" endpoint="timeout">
|
28
|
+
<parameters>
|
29
|
+
<!--{{{-->
|
30
|
+
<label>Step 1</label>
|
31
|
+
<method>:post</method>
|
32
|
+
<arguments>
|
33
|
+
<timeout>2</timeout>
|
34
|
+
</arguments>
|
35
|
+
</parameters>
|
36
|
+
<!--}}}-->
|
37
|
+
<code>
|
38
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
39
|
+
</code>
|
40
|
+
</call>
|
41
|
+
<call id="a2" endpoint="timeout">
|
42
|
+
<parameters>
|
43
|
+
<!--{{{-->
|
44
|
+
<label>Step 2</label>
|
45
|
+
<method>:post</method>
|
46
|
+
<arguments>
|
47
|
+
<timeout>4</timeout>
|
48
|
+
</arguments>
|
49
|
+
</parameters>
|
50
|
+
<!--}}}-->
|
51
|
+
<code>
|
52
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
53
|
+
</code>
|
54
|
+
</call>
|
55
|
+
<call id="a3" endpoint="timeout">
|
56
|
+
<parameters>
|
57
|
+
<!--{{{-->
|
58
|
+
<label>Step 3</label>
|
59
|
+
<method>:post</method>
|
60
|
+
<arguments>
|
61
|
+
<timeout>4</timeout>
|
62
|
+
</arguments>
|
63
|
+
</parameters>
|
64
|
+
<!--}}}-->
|
65
|
+
<code>
|
66
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
67
|
+
</code>
|
68
|
+
</call>
|
69
|
+
</description>
|
70
|
+
<!--}}}-->
|
71
|
+
</description>
|
72
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
73
|
+
<description type="copy"/>
|
74
|
+
<dataelements type="rest"/>
|
75
|
+
<endpoints type="rest"/>
|
76
|
+
</transformation>
|
77
|
+
</testset>
|
@@ -0,0 +1,117 @@
|
|
1
|
+
<testset>
|
2
|
+
<handlers>
|
3
|
+
<handler url="http://solo.wst.univie.ac.at:9299/log">
|
4
|
+
<events topic="activity">calling,done</events>
|
5
|
+
</handler>
|
6
|
+
</handlers>
|
7
|
+
<dataelements xmlns="http://cpee.org/ns/properties/2.0"/>
|
8
|
+
<handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">LogHandlerWrapper</handlerwrapper>
|
9
|
+
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
10
|
+
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
11
|
+
<start xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://solo.wst.univie.ac.at/log.php</start>
|
12
|
+
</endpoints>
|
13
|
+
<positions xmlns="http://cpee.org/ns/properties/2.0"/>
|
14
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
15
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
16
|
+
<call id="a0" endpoint="start">
|
17
|
+
<parameters>
|
18
|
+
<label>Task 1</label>
|
19
|
+
<method/>
|
20
|
+
<type>:task</type>
|
21
|
+
<mid>'sid-7F616193-69F1-4097-A107-FC87404AE047'</mid>
|
22
|
+
<arguments/>
|
23
|
+
</parameters>
|
24
|
+
<code>
|
25
|
+
<finalize output="result">data.x = result["n"]</finalize>
|
26
|
+
</code>
|
27
|
+
</call>
|
28
|
+
<choose mode="exclusive">
|
29
|
+
<alternative condition="data.x >= 100" language="text/javascript">
|
30
|
+
<call id="a11" endpoint="timeout">
|
31
|
+
<parameters>
|
32
|
+
<label>Decision 2</label>
|
33
|
+
<method/>
|
34
|
+
<type>:task</type>
|
35
|
+
<mid>'sid-F9FF9265-DAD9-4525-86DE-116C3F1FA44E'</mid>
|
36
|
+
<arguments>
|
37
|
+
<timeout>2</timeout>
|
38
|
+
</arguments>
|
39
|
+
</parameters>
|
40
|
+
</call>
|
41
|
+
</alternative>
|
42
|
+
<alternative condition="100 > data.x" language="text/javascript">
|
43
|
+
<call id="a10" endpoint="timeout">
|
44
|
+
<parameters>
|
45
|
+
<label>Decision 1</label>
|
46
|
+
<method/>
|
47
|
+
<type>:task</type>
|
48
|
+
<mid>'sid-603319C1-A371-4D9F-94DA-D9800C2E205F'</mid>
|
49
|
+
<arguments>
|
50
|
+
<timeout>2</timeout>
|
51
|
+
</arguments>
|
52
|
+
</parameters>
|
53
|
+
</call>
|
54
|
+
</alternative>
|
55
|
+
</choose>
|
56
|
+
<call id="a1" endpoint="timeout">
|
57
|
+
<parameters>
|
58
|
+
<label>Task 2</label>
|
59
|
+
<method/>
|
60
|
+
<type>:task</type>
|
61
|
+
<mid>'sid-B93496AA-15AA-4239-B301-8899F47204EE'</mid>
|
62
|
+
<arguments>
|
63
|
+
<timeout>2</timeout>
|
64
|
+
</arguments>
|
65
|
+
</parameters>
|
66
|
+
</call>
|
67
|
+
<parallel wait="-1">
|
68
|
+
<parallel_branch>
|
69
|
+
<call id="a4" endpoint="timeout">
|
70
|
+
<parameters>
|
71
|
+
<label>P1</label>
|
72
|
+
<method/>
|
73
|
+
<type>:task</type>
|
74
|
+
<mid>'sid-B410A048-6485-47AF-AA9A-3F570EC9799A'</mid>
|
75
|
+
<arguments>
|
76
|
+
<timeout>2</timeout>
|
77
|
+
</arguments>
|
78
|
+
</parameters>
|
79
|
+
</call>
|
80
|
+
</parallel_branch>
|
81
|
+
<parallel_branch>
|
82
|
+
<call id="a5" endpoint="timeout">
|
83
|
+
<parameters>
|
84
|
+
<label>P2</label>
|
85
|
+
<method/>
|
86
|
+
<type>:task</type>
|
87
|
+
<mid>'sid-E0C9C538-5D05-4578-8156-3947A40146A6'</mid>
|
88
|
+
<arguments>
|
89
|
+
<timeout>2</timeout>
|
90
|
+
</arguments>
|
91
|
+
</parameters>
|
92
|
+
</call>
|
93
|
+
</parallel_branch>
|
94
|
+
</parallel>
|
95
|
+
<call id="a7" endpoint="timeout">
|
96
|
+
<parameters>
|
97
|
+
<label>Task 3</label>
|
98
|
+
<method/>
|
99
|
+
<type>:task</type>
|
100
|
+
<mid>'sid-4692423B-174F-4460-B034-19E0624C585E'</mid>
|
101
|
+
<arguments>
|
102
|
+
<timeout>2</timeout>
|
103
|
+
</arguments>
|
104
|
+
</parameters>
|
105
|
+
</call>
|
106
|
+
</description>
|
107
|
+
</description>
|
108
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
109
|
+
<description type="copy"/>
|
110
|
+
<dataelements type="none"/>
|
111
|
+
<endpoints type="none"/>
|
112
|
+
</transformation>
|
113
|
+
<attributes xmlns="http://cpee.org/ns/properties/2.0">
|
114
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">s</info>
|
115
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Signavio</modeltype>
|
116
|
+
</attributes>
|
117
|
+
</testset>
|
@@ -0,0 +1,87 @@
|
|
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
|
+
<x>_begin</x>
|
6
|
+
<nasty>What a nasty bug</nasty>
|
7
|
+
</dataelements>
|
8
|
+
<endpoints xmlns="http://cpee.org/ns/properties/2.0">
|
9
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
10
|
+
</endpoints>
|
11
|
+
<description xmlns="http://cpee.org/ns/properties/2.0">
|
12
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
13
|
+
<call id="a1" endpoint="timeout">
|
14
|
+
<parameters>
|
15
|
+
<!--{{{-->
|
16
|
+
<method>:post</method>
|
17
|
+
<arguments>
|
18
|
+
<timeout>4</timeout>
|
19
|
+
<bug>data.nasty</bug>
|
20
|
+
</arguments>
|
21
|
+
</parameters>
|
22
|
+
<!--}}}-->
|
23
|
+
<code>
|
24
|
+
<finalize output="result">data.x += "done"</finalize>
|
25
|
+
</code>
|
26
|
+
</call>
|
27
|
+
<parallel wait="2">
|
28
|
+
<parallel_branch>
|
29
|
+
<call id="a2_1" endpoint="timeout">
|
30
|
+
<parameters>
|
31
|
+
<!--{{{-->
|
32
|
+
<method>:post</method>
|
33
|
+
<arguments>
|
34
|
+
<timeout>6</timeout>
|
35
|
+
</arguments>
|
36
|
+
</parameters>
|
37
|
+
<!--}}}-->
|
38
|
+
</call>
|
39
|
+
</parallel_branch>
|
40
|
+
<parallel_branch>
|
41
|
+
<call id="a2_2" endpoint="timeout">
|
42
|
+
<parameters>
|
43
|
+
<!--{{{-->
|
44
|
+
<method>:post</method>
|
45
|
+
<arguments>
|
46
|
+
<timeout>2</timeout>
|
47
|
+
</arguments>
|
48
|
+
</parameters>
|
49
|
+
<!--}}}-->
|
50
|
+
</call>
|
51
|
+
</parallel_branch>
|
52
|
+
</parallel>
|
53
|
+
<manipulate id="a3">data.x += '_end'</manipulate>
|
54
|
+
<choose>
|
55
|
+
<alternative condition="data.x != nil">
|
56
|
+
<call id="a4_1" endpoint="timeout">
|
57
|
+
<parameters>
|
58
|
+
<!--{{{-->
|
59
|
+
<method>:post</method>
|
60
|
+
<arguments>
|
61
|
+
<timeout>4</timeout>
|
62
|
+
</arguments>
|
63
|
+
</parameters>
|
64
|
+
<!--}}}-->
|
65
|
+
</call>
|
66
|
+
</alternative>
|
67
|
+
<otherwise>
|
68
|
+
<call id="a4_2" endpoint="timeout">
|
69
|
+
<parameters>
|
70
|
+
<!--{{{-->
|
71
|
+
<method>:post</method>
|
72
|
+
<arguments>
|
73
|
+
<timeout>10</timeout>
|
74
|
+
</arguments>
|
75
|
+
</parameters>
|
76
|
+
<!--}}}-->
|
77
|
+
</call>
|
78
|
+
</otherwise>
|
79
|
+
</choose>
|
80
|
+
</description>
|
81
|
+
</description>
|
82
|
+
<transformation xmlns="http://cpee.org/ns/properties/2.0">
|
83
|
+
<description type="copy"/>
|
84
|
+
<dataelements type="rest"/>
|
85
|
+
<endpoints type="rest"/>
|
86
|
+
</transformation>
|
87
|
+
</testset>
|