cpee 2.0.19 → 2.0.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/model.css +2 -0
- data/cockpit/css/replay.css +55 -0
- data/cockpit/css/wfadaptor.css +17 -0
- data/cockpit/edit.html +1 -1
- data/cockpit/index.html +2 -0
- data/cockpit/js/instance.js +8 -20
- data/cockpit/js/replay.js +40 -0
- data/cockpit/js_libs.zip +0 -0
- data/cockpit/model.html +3 -1
- data/cockpit/replay.html +52 -0
- data/cockpit/templates/.CPEE.xml +8 -0
- data/cockpit/templates/.Signavio.xml +8 -0
- data/cockpit/templates/.templates.xml +13 -0
- data/cockpit/templates/.transformations.xml +4 -0
- data/cockpit/templates/instantiate.local/Take_Sub.xml +1 -1
- data/cockpit/themes/compact/rngs/call.rng +67 -40
- data/cockpit/themes/compact/rngs/callmanipulate.rng +81 -38
- data/cockpit/themes/control/rngs/alternative.rng +25 -0
- data/cockpit/themes/control/rngs/call.rng +149 -0
- data/cockpit/themes/control/rngs/callmanipulate.rng +188 -0
- data/cockpit/themes/control/rngs/choose.rng +14 -0
- data/cockpit/themes/control/rngs/closed_loop.rng +62 -0
- data/cockpit/themes/control/rngs/closed_loop_cancel.rng +5 -0
- data/cockpit/themes/control/rngs/closed_loop_control.rng +31 -0
- data/cockpit/themes/control/rngs/closed_loop_measuring.rng +12 -0
- data/cockpit/themes/control/rngs/critical.rng +5 -0
- data/cockpit/themes/control/rngs/escape.rng +1 -0
- data/cockpit/themes/control/rngs/group.rng +3 -0
- data/cockpit/themes/control/rngs/loop.rng +22 -0
- data/cockpit/themes/control/rngs/manipulate.rng +9 -0
- data/cockpit/themes/control/rngs/otherwise.rng +22 -0
- data/cockpit/themes/control/rngs/parallel.rng +21 -0
- data/cockpit/themes/control/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/control/rngs/scripts.rng +23 -0
- data/cockpit/themes/control/rngs/stop.rng +5 -0
- data/cockpit/themes/control/rngs/terminate.rng +1 -0
- data/cockpit/themes/control/symbols/alternative.svg +5 -0
- data/cockpit/themes/control/symbols/arrow.svg +3 -0
- data/cockpit/themes/control/symbols/call.svg +6 -0
- data/cockpit/themes/control/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/control/symbols/choose.svg +5 -0
- data/cockpit/themes/control/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/control/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/control/symbols/closed_loop.svg +5 -0
- data/cockpit/themes/control/symbols/closed_loop_cancel.svg +5 -0
- data/cockpit/themes/control/symbols/closed_loop_control.svg +5 -0
- data/cockpit/themes/control/symbols/closed_loop_measuring.svg +6 -0
- data/cockpit/themes/control/symbols/complex.svg +8 -0
- data/cockpit/themes/control/symbols/critical.svg +4 -0
- data/cockpit/themes/control/symbols/end.svg +3 -0
- data/cockpit/themes/control/symbols/escape.svg +5 -0
- data/cockpit/themes/control/symbols/event_end.svg +3 -0
- data/cockpit/themes/control/symbols/loop.svg +5 -0
- data/cockpit/themes/control/symbols/manipulate.svg +4 -0
- data/cockpit/themes/control/symbols/otherwise.svg +5 -0
- data/cockpit/themes/control/symbols/parallel.svg +5 -0
- data/cockpit/themes/control/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/control/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/control/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/control/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/control/symbols/scripts.svg +4 -0
- data/cockpit/themes/control/symbols/start.svg +3 -0
- data/cockpit/themes/control/symbols/stop.svg +5 -0
- data/cockpit/themes/control/symbols/terminate.svg +4 -0
- data/cockpit/themes/control/theme.js +1665 -0
- data/cockpit/themes/default/rngs/call.rng +67 -40
- data/cockpit/themes/default/rngs/callmanipulate.rng +81 -38
- data/cockpit/themes/default/theme.js +1287 -0
- data/cockpit/themes/diana/rngs/call.rng +67 -40
- data/cockpit/themes/diana/rngs/callmanipulate.rng +81 -38
- data/cockpit/themes/extended/rngs/call.rng +67 -40
- data/cockpit/themes/extended/rngs/callmanipulate.rng +81 -38
- data/cockpit/themes/model/rngs/call.rng +2 -1
- data/cockpit/themes/model/rngs/callmanipulate.rng +2 -1
- data/cockpit/themes/model/theme.js +1 -1
- data/cockpit/themes/packed/rngs/call.rng +67 -40
- data/cockpit/themes/packed/rngs/callmanipulate.rng +81 -38
- data/cockpit/themes/preset/rngs/call.rng +67 -40
- data/cockpit/themes/preset/rngs/callmanipulate.rng +81 -38
- data/cockpit/track.html +0 -7
- 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 +2 -2
- data/server/resources/notifications/logging/subscription.xml +6 -0
- data/server/routing/end.pid +1 -0
- data/server/routing/end.rb +16 -4
- data/server/routing/forward-events.pid +1 -0
- data/server/routing/forward-events.rb +19 -7
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/forward-votes.rb +19 -7
- data/server/routing/persist.pid +1 -0
- data/server/routing/persist.rb +26 -14
- data/server/server.pid +1 -0
- data/tools/cpee +5 -5
- 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 +282 -2
@@ -0,0 +1,25 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="alternative" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="condition" rngui:label="Condition">
|
3
|
+
<data type="string" rngui:label="Condition"/>
|
4
|
+
</attribute>
|
5
|
+
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
6
|
+
<element name="_probability_min" rngui:label="Min in %">
|
7
|
+
<data type="integer" rngui:label="Percent 0-100">
|
8
|
+
<param name="minInclusive">1</param>
|
9
|
+
<param name="maxInclusive">100</param>
|
10
|
+
</data>
|
11
|
+
</element>
|
12
|
+
<element name="_probability_max" rngui:label="Max in %">
|
13
|
+
<data type="integer" rngui:label="Percent 0-100">
|
14
|
+
<param name="minInclusive">1</param>
|
15
|
+
<param name="maxInclusive">100</param>
|
16
|
+
</data>
|
17
|
+
</element>
|
18
|
+
<element name="_probability_avg" rngui:label="Avg in %">
|
19
|
+
<data type="integer" rngui:label="Percent 0-100">
|
20
|
+
<param name="minInclusive">1</param>
|
21
|
+
<param name="maxInclusive">100</param>
|
22
|
+
</data>
|
23
|
+
</element>
|
24
|
+
</element>
|
25
|
+
</element>
|
@@ -0,0 +1,122 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2
|
+
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="endpoint" rngui:label="Endpoint">
|
6
|
+
<data type="string"/>
|
7
|
+
</attribute>
|
8
|
+
<element name="parameters" rngui:header="Properties">
|
9
|
+
<element name="label" rngui:label="Label">
|
10
|
+
<data type="string" rngui:label="Short description of the task"/>
|
11
|
+
</element>
|
12
|
+
<element name="method" rngui:label="Method">
|
13
|
+
<choice>
|
14
|
+
<value>:post</value>
|
15
|
+
<value>:get</value>
|
16
|
+
<value>:put</value>
|
17
|
+
<value>:delete</value>
|
18
|
+
</choice>
|
19
|
+
</element>
|
20
|
+
<element name="arguments" rngui:header="Arguments">
|
21
|
+
<zeroOrMore rngui:label="Create Argument Pair">
|
22
|
+
<element rngui:label="Name" rngui:labeltype="xml">
|
23
|
+
<anyName/>
|
24
|
+
<data type="string" rngui:label="Value"/>
|
25
|
+
</element>
|
26
|
+
</zeroOrMore>
|
27
|
+
</element>
|
28
|
+
<element name="stream" rngui:header="Data Stream Handling" rngui:fold="closed">
|
29
|
+
<element name="sensors" rngui:header="Sensors" rngui:fold="closed">
|
30
|
+
<zeroOrMore rngui:label="Add Sensor">
|
31
|
+
<element name="sensor">
|
32
|
+
<element name="name" rngui:label="Label">
|
33
|
+
<data type="string" rngui:label="Label"/>
|
34
|
+
</element>
|
35
|
+
<element name="extractor_url" rngui:label="Extractor Url">
|
36
|
+
<data type="string" rngui:label="Service Url"/>
|
37
|
+
</element>
|
38
|
+
<element name="extractor_arg" rngui:label="Extractor Argument">
|
39
|
+
<data type="string" rngui:label="Value / Json"/>
|
40
|
+
</element>
|
41
|
+
<element name="visualizer_url" rngui:label="Visualizer Url">
|
42
|
+
<data type="string" rngui:label="Service Url"/>
|
43
|
+
</element>
|
44
|
+
<element name="visualizer_params" rngui:header="Visualizer Arguments">
|
45
|
+
<zeroOrMore rngui:label="Create Visualizer Argument Pairs">
|
46
|
+
<element rngui:label="Name">
|
47
|
+
<anyName/>
|
48
|
+
<data type="string" rngui:label="Value / Json"/>
|
49
|
+
</element>
|
50
|
+
</zeroOrMore>
|
51
|
+
</element>
|
52
|
+
</element>
|
53
|
+
</zeroOrMore>
|
54
|
+
</element>
|
55
|
+
<element name="aggregators" rngui:header="Aggregators" rngui:fold="closed">
|
56
|
+
<zeroOrMore rngui:label="Add Aggregator">
|
57
|
+
<element name="aggregator">
|
58
|
+
<element name="name" rngui:label="Label">
|
59
|
+
<data type="string" rngui:label="Label"/>
|
60
|
+
</element>
|
61
|
+
<element name="aggregator_url" rngui:label="Aggregator Url">
|
62
|
+
<data type="string" rngui:label="Service Url"/>
|
63
|
+
</element>
|
64
|
+
<element name="aggregator_arg" rngui:label="Aggregator Argument">
|
65
|
+
<data type="string" rngui:label="Value / Json"/>
|
66
|
+
</element>
|
67
|
+
</element>
|
68
|
+
</zeroOrMore>
|
69
|
+
</element>
|
70
|
+
<element name="costs" rngui:header="Costs" rngui:fold="closed">
|
71
|
+
<zeroOrMore rngui:label="Create Cost Factor">
|
72
|
+
<element name="cost_factor">
|
73
|
+
<element name="name" rngui:label="Label">
|
74
|
+
<data type="string" rngui:label="Label"/>
|
75
|
+
</element>
|
76
|
+
<element name="target" rngui:label="Target Value">
|
77
|
+
<data type="string" rngui:label="Value"/>
|
78
|
+
</element>
|
79
|
+
<element name="vfunc_url" rngui:label="Violation Function Url">
|
80
|
+
<data type="string" rngui:label="Service Url"/>
|
81
|
+
</element>
|
82
|
+
<element name="vfunc_arg" rngui:label="Violation Function Argument">
|
83
|
+
<data type="string" rngui:label="Service Url"/>
|
84
|
+
</element>
|
85
|
+
<element name="vcost" rngui:label="Violation Cost">
|
86
|
+
<data type="string" rngui:label="Value"/>
|
87
|
+
</element>
|
88
|
+
</element>
|
89
|
+
</zeroOrMore>
|
90
|
+
</element>
|
91
|
+
</element>
|
92
|
+
<element name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
|
93
|
+
<element name="url" rngui:label='HTML Snippet'>
|
94
|
+
<data type="string" rngui:label="url to report snippet"/>
|
95
|
+
</element>
|
96
|
+
</element>
|
97
|
+
</element>
|
98
|
+
<element name="annotations" rngui:header="Annotations">
|
99
|
+
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
100
|
+
<element name="_timing_wait" rngui:label="ω - Wait">
|
101
|
+
<data type="float" rngui:label="[0,1]" rngui:default="0.5"/>
|
102
|
+
</element>
|
103
|
+
<element name="_timing_threshold" rngui:label="κ - Threshold">
|
104
|
+
<data type="float" rngui:label="[0,3,n]" rngui:default="3"/>
|
105
|
+
</element>
|
106
|
+
<element name="_timing_min" rngui:label="Min in min">
|
107
|
+
<data type="float" rngui:label="Minutes"/>
|
108
|
+
</element>
|
109
|
+
<element name="_timing_max" rngui:label="Max in min">
|
110
|
+
<data type="float" rngui:label="Minutes"/>
|
111
|
+
</element>
|
112
|
+
<element name="_timing_avg" rngui:label="Avg in min">
|
113
|
+
<data type="float" rngui:label="Minutes"/>
|
114
|
+
</element>
|
115
|
+
</element>
|
116
|
+
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
117
|
+
<element name="_notes_general" rngui:label="General">
|
118
|
+
<text rngui:wrap="true" rngui:label="Notes"/>
|
119
|
+
</element>
|
120
|
+
</element>
|
121
|
+
</element>
|
122
|
+
</element>
|
@@ -0,0 +1,145 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2
|
+
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="endpoint" rngui:label="Endpoint">
|
6
|
+
<data type="string"/>
|
7
|
+
</attribute>
|
8
|
+
<element name="parameters" rngui:header="Properties">
|
9
|
+
<element name="label" rngui:label="Label">
|
10
|
+
<data type="string" rngui:label="Short description of the task"/>
|
11
|
+
</element>
|
12
|
+
<element name="method" rngui:label="Method">
|
13
|
+
<choice>
|
14
|
+
<value>:post</value>
|
15
|
+
<value>:get</value>
|
16
|
+
<value>:put</value>
|
17
|
+
<value>:delete</value>
|
18
|
+
</choice>
|
19
|
+
</element>
|
20
|
+
<element name="arguments" rngui:header="Arguments">
|
21
|
+
<zeroOrMore rngui:label="Create Argument Pair">
|
22
|
+
<element rngui:label="Name" rngui:labeltype="xml">
|
23
|
+
<anyName/>
|
24
|
+
<data type="string" rngui:label="Value"/>
|
25
|
+
</element>
|
26
|
+
</zeroOrMore>
|
27
|
+
</element>
|
28
|
+
<element name="stream" rngui:header="Data Stream Handling" rngui:fold="closed">
|
29
|
+
<element name="sensors" rngui:header="Sensors" rngui:fold="closed">
|
30
|
+
<zeroOrMore rngui:label="Add Sensor">
|
31
|
+
<element name="sensor">
|
32
|
+
<element name="name" rngui:label="Label">
|
33
|
+
<data type="string" rngui:label="Label"/>
|
34
|
+
</element>
|
35
|
+
<element name="extractor_url" rngui:label="Extractor Url">
|
36
|
+
<data type="string" rngui:label="Service Url"/>
|
37
|
+
</element>
|
38
|
+
<element name="extractor_arg" rngui:label="Extractor Argument">
|
39
|
+
<data type="string" rngui:label="Value / Json"/>
|
40
|
+
</element>
|
41
|
+
<element name="visualizer_url" rngui:label="Visualizer Url">
|
42
|
+
<data type="string" rngui:label="Service Url"/>
|
43
|
+
</element>
|
44
|
+
<element name="visualizer_params" rngui:header="Visualizer Arguments">
|
45
|
+
<zeroOrMore rngui:label="Create Visualizer Argument Pairs">
|
46
|
+
<element rngui:label="Name">
|
47
|
+
<anyName/>
|
48
|
+
<data type="string" rngui:label="Value / Json"/>
|
49
|
+
</element>
|
50
|
+
</zeroOrMore>
|
51
|
+
</element>
|
52
|
+
</element>
|
53
|
+
</zeroOrMore>
|
54
|
+
</element>
|
55
|
+
<element name="aggregators" rngui:header="Aggregators" rngui:fold="closed">
|
56
|
+
<zeroOrMore rngui:label="Add Aggregator">
|
57
|
+
<element name="aggregator">
|
58
|
+
<element name="name" rngui:label="Label">
|
59
|
+
<data type="string" rngui:label="Label"/>
|
60
|
+
</element>
|
61
|
+
<element name="aggregator_url" rngui:label="Aggregator Url">
|
62
|
+
<data type="string" rngui:label="Service Url"/>
|
63
|
+
</element>
|
64
|
+
<element name="aggregator_arg" rngui:label="Aggregator Argument">
|
65
|
+
<data type="string" rngui:label="Value / Json"/>
|
66
|
+
</element>
|
67
|
+
</element>
|
68
|
+
</zeroOrMore>
|
69
|
+
</element>
|
70
|
+
<element name="costs" rngui:header="Costs" rngui:fold="closed">
|
71
|
+
<zeroOrMore rngui:label="Create Cost Factor">
|
72
|
+
<element name="cost_factor">
|
73
|
+
<element name="name" rngui:label="Label">
|
74
|
+
<data type="string" rngui:label="Label"/>
|
75
|
+
</element>
|
76
|
+
<element name="target" rngui:label="Target Value">
|
77
|
+
<data type="string" rngui:label="Value"/>
|
78
|
+
</element>
|
79
|
+
<element name="vfunc_url" rngui:label="Violation Function Url">
|
80
|
+
<data type="string" rngui:label="Service Url"/>
|
81
|
+
</element>
|
82
|
+
<element name="vfunc_arg" rngui:label="Violation Function Argument">
|
83
|
+
<data type="string" rngui:label="Service Url"/>
|
84
|
+
</element>
|
85
|
+
<element name="vcost" rngui:label="Violation Cost">
|
86
|
+
<data type="string" rngui:label="Value"/>
|
87
|
+
</element>
|
88
|
+
</element>
|
89
|
+
</zeroOrMore>
|
90
|
+
</element>
|
91
|
+
</element>
|
92
|
+
<element name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
|
93
|
+
<element name="url" rngui:label='HTML Snippet'>
|
94
|
+
<data type="string" rngui:label="url to report snippet"/>
|
95
|
+
</element>
|
96
|
+
</element>
|
97
|
+
</element>
|
98
|
+
<element name="code" rngui:header="Implementation">
|
99
|
+
<element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
|
100
|
+
<text rngui:label="Script that is executed, before a service call"/>
|
101
|
+
</element>
|
102
|
+
<element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
|
103
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
104
|
+
<data type="string" rngui:readonly="true"/>
|
105
|
+
</attribute>
|
106
|
+
<text rngui:label="Script that is executed, when a service returns data"/>
|
107
|
+
</element>
|
108
|
+
<element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
|
109
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
110
|
+
<data type="string" rngui:readonly="true"/>
|
111
|
+
</attribute>
|
112
|
+
<text rngui:label="Script that is executed, when a service sends intermediate data"/>
|
113
|
+
</element>
|
114
|
+
<element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
|
115
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
116
|
+
<data type="string" rngui:readonly="true"/>
|
117
|
+
</attribute>
|
118
|
+
<text rngui:label="Script that is executed, if a service call fails"/>
|
119
|
+
</element>
|
120
|
+
</element>
|
121
|
+
<element name="annotations" rngui:header="Annotations">
|
122
|
+
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
123
|
+
<element name="_timing_wait" rngui:label="ω - Wait">
|
124
|
+
<data type="float" rngui:label="[0,1]"/>
|
125
|
+
</element>
|
126
|
+
<element name="_timing_threshold" rngui:label="κ - Threshold">
|
127
|
+
<data type="float" rngui:label="[0,3,n]"/>
|
128
|
+
</element>
|
129
|
+
<element name="_timing_min" rngui:label="Min in min">
|
130
|
+
<data type="float" rngui:label="Minutes"/>
|
131
|
+
</element>
|
132
|
+
<element name="_timing_max" rngui:label="Max in min">
|
133
|
+
<data type="float" rngui:label="Minutes"/>
|
134
|
+
</element>
|
135
|
+
<element name="_timing_avg" rngui:label="Avg in min">
|
136
|
+
<data type="float" rngui:label="Minutes"/>
|
137
|
+
</element>
|
138
|
+
</element>
|
139
|
+
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
140
|
+
<element name="_notes_general" rngui:label="General">
|
141
|
+
<text rngui:wrap="true" rngui:label="Notes"/>
|
142
|
+
</element>
|
143
|
+
</element>
|
144
|
+
</element>
|
145
|
+
</element>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="choose" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="mode" rngui:label="Mode" rngui:default="exclusive">
|
3
|
+
<choice>
|
4
|
+
<value>exclusive</value>
|
5
|
+
<value>inclusive</value>
|
6
|
+
</choice>
|
7
|
+
</attribute>
|
8
|
+
<element rngui:ignore="true" name="alternative">
|
9
|
+
<attribute name="condition">
|
10
|
+
<data type="string"/>
|
11
|
+
</attribute>
|
12
|
+
</element>
|
13
|
+
<element rngui:ignore="true" name="otherwise"/>
|
14
|
+
</element>
|
@@ -0,0 +1,62 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="closed_loop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
3
|
+
<choice>
|
4
|
+
<value>wait</value>
|
5
|
+
<value>cancel</value>
|
6
|
+
</choice>
|
7
|
+
</attribute>
|
8
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
9
|
+
<choice>
|
10
|
+
<value>sequential</value>
|
11
|
+
<value>parallel</value>
|
12
|
+
</choice>
|
13
|
+
</attribute>
|
14
|
+
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
15
|
+
<element name="_probability_min" rngui:label="Min times">
|
16
|
+
<data type="nonNegativeInteger" rngui:label="Times"/>
|
17
|
+
</element>
|
18
|
+
<element name="_probability_max" rngui:label="Max times">
|
19
|
+
<data type="nonNegativeInteger" rngui:label="Times"/>
|
20
|
+
</element>
|
21
|
+
<element name="_probability_avg" rngui:label="Avg times">
|
22
|
+
<data type="nonNegativeInteger" rngui:label="Times"/>
|
23
|
+
</element>
|
24
|
+
</element>
|
25
|
+
<element rngui:ignore="true" name="closed_loop_measuring">
|
26
|
+
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
27
|
+
<data type="float" rngui:label="Hz"/>
|
28
|
+
</attribute>
|
29
|
+
<element name="_expected" rngui:header="Values Expected to Change">
|
30
|
+
<zeroOrMore rngui:label="Add Value">
|
31
|
+
<element name="value" rngui:label="Value">
|
32
|
+
<data type="string" rngui:label="a dataelement"/>
|
33
|
+
</element>
|
34
|
+
</zeroOrMore>
|
35
|
+
</element>
|
36
|
+
</element>
|
37
|
+
<element rngui:ignore="true" name="closed_loop_control">
|
38
|
+
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
39
|
+
<data type="float" rngui:label="Hz"/>
|
40
|
+
</attribute>
|
41
|
+
<element name="_expected" rngui:header="Values Expected to Change">
|
42
|
+
<zeroOrMore rngui:label="Add Value">
|
43
|
+
<element name="change">
|
44
|
+
<element name="value" rngui:label="Value">
|
45
|
+
<data type="string" rngui:label="a dataelement"/>
|
46
|
+
</element>
|
47
|
+
<element name="upper" rngui:label="Upper Limit">
|
48
|
+
<data type="float" rngui:label="Max value after next measure"/>
|
49
|
+
</element>
|
50
|
+
<element name="lower" rngui:label="Lower Limit">
|
51
|
+
<data type="float" rngui:label="Min value after next measure"/>
|
52
|
+
</element>
|
53
|
+
</element>
|
54
|
+
</zeroOrMore>
|
55
|
+
</element>
|
56
|
+
</element>
|
57
|
+
<element rngui:ignore="true" name="closed_loop_cancel">
|
58
|
+
<attribute name="condition" rngui:label="Condition">
|
59
|
+
<data type="string" rngui:label="Condition"/>
|
60
|
+
</attribute>
|
61
|
+
</element>
|
62
|
+
</element>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="closed_loop_cancel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2
|
+
<attribute name="condition" rngui:label="Condition">
|
3
|
+
<data type="string" rngui:label="Condition"/>
|
4
|
+
</attribute>
|
5
|
+
</element>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="closed_loop_control" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2
|
+
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
3
|
+
<data type="float" rngui:label="Hz"/>
|
4
|
+
</attribute>
|
5
|
+
<element name="_expected" rngui:header="Values Expected to Change">
|
6
|
+
<zeroOrMore rngui:label="Add Value">
|
7
|
+
<element name="change">
|
8
|
+
<element name="type" rngui:label="Control type">
|
9
|
+
<choice>
|
10
|
+
<value>:PID</value>
|
11
|
+
<value>:PI</value>
|
12
|
+
<value>:PD</value>
|
13
|
+
<value>:P</value>
|
14
|
+
<value>:I</value>
|
15
|
+
<value>:PT1</value>
|
16
|
+
<value>:PT2</value>
|
17
|
+
</choice>
|
18
|
+
</element>
|
19
|
+
<element name="value" rngui:label="Value">
|
20
|
+
<data type="string" rngui:label="a dataelement"/>
|
21
|
+
</element>
|
22
|
+
<element name="upper" rngui:label="Upper Limit">
|
23
|
+
<data type="float" rngui:label="Max value after next measure"/>
|
24
|
+
</element>
|
25
|
+
<element name="lower" rngui:label="Lower Limit">
|
26
|
+
<data type="float" rngui:label="Min value after next measure"/>
|
27
|
+
</element>
|
28
|
+
</element>
|
29
|
+
</zeroOrMore>
|
30
|
+
</element>
|
31
|
+
</element>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="closed_loop_measuring" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
2
|
+
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
3
|
+
<data type="float" rngui:label="Hz"/>
|
4
|
+
</attribute>
|
5
|
+
<element name="_expected" rngui:header="Values Expected to Change">
|
6
|
+
<zeroOrMore rngui:label="Add Value">
|
7
|
+
<element name="value" rngui:label="Value">
|
8
|
+
<data type="string" rngui:label="a dataelement"/>
|
9
|
+
</element>
|
10
|
+
</zeroOrMore>
|
11
|
+
</element>
|
12
|
+
</element>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="critical" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="sid" rngui:label="SID" rngui:default="section" rngui:hint="Identical SID's shared by between differnt 'critical' elements define mutual exclusive areas.">
|
3
|
+
<data type="string"/>
|
4
|
+
</attribute>
|
5
|
+
</element>
|
@@ -0,0 +1 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="escape" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0"/>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" name="group" rngui:version="1.2" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<text rngui:label="A group of tasks, that belongs together"/>
|
3
|
+
</element>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="loop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
+
<attribute name="mode" rngui:label="Mode" rngui:default="pre_test">
|
3
|
+
<choice>
|
4
|
+
<value>pre_test</value>
|
5
|
+
<value>post_test</value>
|
6
|
+
</choice>
|
7
|
+
</attribute>
|
8
|
+
<attribute name="condition" rngui:label="Condition">
|
9
|
+
<data type="string" rngui:label="Condition"/>
|
10
|
+
</attribute>
|
11
|
+
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
12
|
+
<element name="_probability_min" rngui:label="Min times">
|
13
|
+
<data type="nonNegativeInteger" rngui:label="Times"/>
|
14
|
+
</element>
|
15
|
+
<element name="_probability_max" rngui:label="Max times">
|
16
|
+
<data type="nonNegativeInteger" rngui:label="Times"/>
|
17
|
+
</element>
|
18
|
+
<element name="_probability_avg" rngui:label="Avg times">
|
19
|
+
<data type="nonNegativeInteger" rngui:label="Times"/>
|
20
|
+
</element>
|
21
|
+
</element>
|
22
|
+
</element>
|