cpee 1.5.19 → 1.5.20
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 +24 -0
- data/cockpit/css/ui.css +25 -0
- data/cockpit/index.html +6 -6
- data/cockpit/js/details.js +70 -52
- data/cockpit/js/instance.js +61 -17
- data/cockpit/js/model.js +41 -0
- data/cockpit/js/ui.js +3 -0
- data/cockpit/model.html +191 -0
- data/cockpit/themes/compact/rngs/alternative.rng +1 -0
- data/cockpit/themes/compact/rngs/call.rng +111 -0
- data/cockpit/themes/compact/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/compact/rngs/choose.rng +1 -0
- data/cockpit/themes/compact/rngs/critical.rng +1 -0
- data/cockpit/themes/compact/rngs/escape.rng +1 -0
- data/cockpit/themes/compact/rngs/group.rng +1 -0
- data/cockpit/themes/compact/rngs/loop.rng +1 -0
- data/cockpit/themes/compact/rngs/manipulate.rng +1 -0
- data/cockpit/themes/compact/rngs/otherwise.rng +1 -0
- data/cockpit/themes/compact/rngs/parallel.rng +1 -0
- data/cockpit/themes/compact/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/compact/rngs/scripts.rng +24 -0
- data/cockpit/themes/compact/rngs/stop.rng +1 -0
- data/cockpit/themes/compact/rngs/terminate.rng +1 -0
- data/cockpit/themes/compact/symbols/alternative.svg +5 -0
- data/cockpit/themes/compact/symbols/arrow.svg +3 -0
- data/cockpit/themes/compact/symbols/call.svg +6 -0
- data/cockpit/themes/compact/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/compact/symbols/choose.svg +5 -0
- data/cockpit/themes/compact/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/compact/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/compact/symbols/complex.svg +8 -0
- data/cockpit/themes/compact/symbols/critical.svg +4 -0
- data/cockpit/themes/compact/symbols/end.svg +3 -0
- data/cockpit/themes/compact/symbols/escape.svg +5 -0
- data/cockpit/themes/compact/symbols/event_end.svg +3 -0
- data/cockpit/themes/compact/symbols/loop.svg +5 -0
- data/cockpit/themes/compact/symbols/manipulate.svg +4 -0
- data/cockpit/themes/compact/symbols/otherwise.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/compact/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/compact/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/compact/symbols/scripts.svg +4 -0
- data/cockpit/themes/compact/symbols/start.svg +3 -0
- data/cockpit/themes/compact/symbols/stop.svg +5 -0
- data/cockpit/themes/compact/symbols/terminate.svg +4 -0
- data/cockpit/themes/compact/theme.js +30 -18
- data/cockpit/themes/default/rngs/callmanipulate.rng +5 -0
- data/cockpit/themes/default/theme.js +97 -57
- data/cockpit/themes/extended/rngs/alternative.rng +1 -0
- data/cockpit/themes/extended/rngs/call.rng +111 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/extended/rngs/choose.rng +1 -0
- data/cockpit/themes/extended/rngs/critical.rng +1 -0
- data/cockpit/themes/extended/rngs/escape.rng +1 -0
- data/cockpit/themes/extended/rngs/group.rng +1 -0
- data/cockpit/themes/extended/rngs/loop.rng +1 -0
- data/cockpit/themes/extended/rngs/manipulate.rng +1 -0
- data/cockpit/themes/extended/rngs/otherwise.rng +1 -0
- data/cockpit/themes/extended/rngs/parallel.rng +1 -0
- data/cockpit/themes/extended/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/extended/rngs/scripts.rng +24 -0
- data/cockpit/themes/extended/rngs/stop.rng +1 -0
- data/cockpit/themes/extended/rngs/terminate.rng +1 -0
- data/cockpit/themes/extended/symbols/alternative.svg +5 -0
- data/cockpit/themes/extended/symbols/arrow.svg +3 -0
- data/cockpit/themes/extended/symbols/call.svg +6 -0
- data/cockpit/themes/extended/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/extended/symbols/choose.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/extended/symbols/complex.svg +8 -0
- data/cockpit/themes/extended/symbols/critical.svg +4 -0
- data/cockpit/themes/extended/symbols/end.svg +3 -0
- data/cockpit/themes/extended/symbols/escape.svg +5 -0
- data/cockpit/themes/extended/symbols/event_end.svg +3 -0
- data/cockpit/themes/extended/symbols/loop.svg +5 -0
- data/cockpit/themes/extended/symbols/manipulate.svg +4 -0
- data/cockpit/themes/extended/symbols/otherwise.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/extended/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/extended/symbols/scripts.svg +4 -0
- data/cockpit/themes/extended/symbols/start.svg +3 -0
- data/cockpit/themes/extended/symbols/stop.svg +5 -0
- data/cockpit/themes/extended/symbols/terminate.svg +4 -0
- data/cockpit/themes/extended/theme.js +30 -18
- data/cockpit/themes/labels/rngs/alternative.rng +25 -0
- data/cockpit/themes/labels/rngs/call.rng +81 -0
- data/cockpit/themes/labels/rngs/callmanipulate.rng +101 -0
- data/cockpit/themes/labels/rngs/choose.rng +12 -0
- data/cockpit/themes/labels/rngs/critical.rng +5 -0
- data/cockpit/themes/labels/rngs/escape.rng +1 -0
- data/cockpit/themes/labels/rngs/finalize.rng +6 -0
- data/cockpit/themes/labels/rngs/group.rng +3 -0
- data/cockpit/themes/labels/rngs/loop.rng +22 -0
- data/cockpit/themes/labels/rngs/manipulate.rng +9 -0
- data/cockpit/themes/labels/rngs/otherwise.rng +22 -0
- data/cockpit/themes/labels/rngs/parallel.rng +13 -0
- data/cockpit/themes/labels/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/labels/rngs/stop.rng +5 -0
- data/cockpit/themes/labels/rngs/terminate.rng +1 -0
- data/cockpit/themes/labels/rngs/update.rng +6 -0
- data/cockpit/themes/labels/symbols/alternative.svg +5 -0
- data/cockpit/themes/labels/symbols/arrow.svg +3 -0
- data/cockpit/themes/labels/symbols/call.svg +6 -0
- data/cockpit/themes/labels/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/labels/symbols/choose.svg +5 -0
- data/cockpit/themes/labels/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/labels/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/labels/symbols/complex.svg +8 -0
- data/cockpit/themes/labels/symbols/critical.svg +4 -0
- data/cockpit/themes/labels/symbols/end.svg +3 -0
- data/cockpit/themes/labels/symbols/escape.svg +5 -0
- data/cockpit/themes/labels/symbols/event_end.svg +3 -0
- data/cockpit/themes/labels/symbols/loop.svg +5 -0
- data/cockpit/themes/labels/symbols/manipulate.svg +4 -0
- data/cockpit/themes/labels/symbols/otherwise.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/labels/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/labels/symbols/scripts.svg +4 -0
- data/cockpit/themes/labels/symbols/start.svg +3 -0
- data/cockpit/themes/labels/symbols/stop.svg +5 -0
- data/cockpit/themes/labels/symbols/terminate.svg +4 -0
- data/cockpit/themes/model/rngs/alternative.rng +1 -0
- data/cockpit/themes/model/rngs/call.rng +62 -0
- data/cockpit/themes/model/rngs/callmanipulate.rng +67 -0
- data/cockpit/themes/model/rngs/choose.rng +1 -0
- data/cockpit/themes/model/rngs/critical.rng +1 -0
- data/cockpit/themes/model/rngs/escape.rng +1 -0
- data/cockpit/themes/model/rngs/group.rng +1 -0
- data/cockpit/themes/model/rngs/loop.rng +1 -0
- data/cockpit/themes/model/rngs/manipulate.rng +1 -0
- data/cockpit/themes/model/rngs/otherwise.rng +1 -0
- data/cockpit/themes/model/rngs/parallel.rng +1 -0
- data/cockpit/themes/model/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/model/rngs/scripts.rng +8 -0
- data/cockpit/themes/model/rngs/stop.rng +1 -0
- data/cockpit/themes/model/rngs/terminate.rng +1 -0
- data/cockpit/themes/model/symbols/alternative.svg +5 -0
- data/cockpit/themes/model/symbols/arrow.svg +3 -0
- data/cockpit/themes/model/symbols/call.svg +6 -0
- data/cockpit/themes/model/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/model/symbols/choose.svg +5 -0
- data/cockpit/themes/model/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/model/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/model/symbols/complex.svg +8 -0
- data/cockpit/themes/model/symbols/critical.svg +4 -0
- data/cockpit/themes/model/symbols/end.svg +3 -0
- data/cockpit/themes/model/symbols/escape.svg +5 -0
- data/cockpit/themes/model/symbols/event_end.svg +3 -0
- data/cockpit/themes/model/symbols/loop.svg +5 -0
- data/cockpit/themes/model/symbols/manipulate.svg +4 -0
- data/cockpit/themes/model/symbols/otherwise.svg +5 -0
- data/cockpit/themes/model/symbols/parallel.svg +5 -0
- data/cockpit/themes/model/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/model/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/model/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/model/symbols/scripts.svg +4 -0
- data/cockpit/themes/model/symbols/start.svg +3 -0
- data/cockpit/themes/model/symbols/stop.svg +5 -0
- data/cockpit/themes/model/symbols/terminate.svg +4 -0
- data/cockpit/themes/model/theme.js +1267 -0
- data/cockpit/themes/packed/rngs/alternative.rng +1 -0
- data/cockpit/themes/packed/rngs/call.rng +111 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/packed/rngs/choose.rng +1 -0
- data/cockpit/themes/packed/rngs/critical.rng +1 -0
- data/cockpit/themes/packed/rngs/escape.rng +1 -0
- data/cockpit/themes/packed/rngs/group.rng +1 -0
- data/cockpit/themes/packed/rngs/loop.rng +1 -0
- data/cockpit/themes/packed/rngs/manipulate.rng +1 -0
- data/cockpit/themes/packed/rngs/otherwise.rng +1 -0
- data/cockpit/themes/packed/rngs/parallel.rng +1 -0
- data/cockpit/themes/packed/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/packed/rngs/scripts.rng +24 -0
- data/cockpit/themes/packed/rngs/stop.rng +1 -0
- data/cockpit/themes/packed/rngs/terminate.rng +1 -0
- data/cockpit/themes/packed/symbols/alternative.svg +5 -0
- data/cockpit/themes/packed/symbols/arrow.svg +3 -0
- data/cockpit/themes/packed/symbols/call.svg +6 -0
- data/cockpit/themes/packed/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/packed/symbols/choose.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/packed/symbols/complex.svg +8 -0
- data/cockpit/themes/packed/symbols/critical.svg +4 -0
- data/cockpit/themes/packed/symbols/end.svg +3 -0
- data/cockpit/themes/packed/symbols/escape.svg +5 -0
- data/cockpit/themes/packed/symbols/event_end.svg +3 -0
- data/cockpit/themes/packed/symbols/loop.svg +5 -0
- data/cockpit/themes/packed/symbols/manipulate.svg +4 -0
- data/cockpit/themes/packed/symbols/otherwise.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/packed/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/packed/symbols/scripts.svg +4 -0
- data/cockpit/themes/packed/symbols/start.svg +3 -0
- data/cockpit/themes/packed/symbols/stop.svg +5 -0
- data/cockpit/themes/packed/symbols/terminate.svg +4 -0
- data/cockpit/themes/packed/theme.js +30 -18
- data/cockpit/themes/preset/rngs/call.rng +0 -10
- data/cockpit/themes/preset/rngs/callmanipulate.rng +0 -13
- data/cockpit/themes/preset/symbols/alternative.svg +5 -0
- data/cockpit/themes/preset/symbols/arrow.svg +3 -0
- data/cockpit/themes/preset/symbols/call.svg +6 -0
- data/cockpit/themes/preset/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/preset/symbols/choose.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/preset/symbols/complex.svg +8 -0
- data/cockpit/themes/preset/symbols/critical.svg +4 -0
- data/cockpit/themes/preset/symbols/end.svg +3 -0
- data/cockpit/themes/preset/symbols/escape.svg +5 -0
- data/cockpit/themes/preset/symbols/event_end.svg +3 -0
- data/cockpit/themes/preset/symbols/loop.svg +5 -0
- data/cockpit/themes/preset/symbols/manipulate.svg +4 -0
- data/cockpit/themes/preset/symbols/otherwise.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/preset/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/preset/symbols/scripts.svg +4 -0
- data/cockpit/themes/preset/symbols/start.svg +3 -0
- data/cockpit/themes/preset/symbols/stop.svg +5 -0
- data/cockpit/themes/preset/symbols/terminate.svg +4 -0
- data/cockpit/themes/preset/theme.js +30 -18
- data/cpee.gemspec +2 -2
- data/lib/cpee/implementation.rb +28 -0
- data/lib/engine.xml +4 -0
- data/log/azure.rb +1 -1
- metadata +227 -3
@@ -132,6 +132,13 @@ function WFAdaptorManifestation(adaptor) {
|
|
132
132
|
menu['Insert into'] = group;
|
133
133
|
copyOrMove(menu['Insert into'],group,xml_node,self.adaptor.description.insert_first_into);
|
134
134
|
}
|
135
|
+
if (self.elements[xml_node.get(0).tagName].permissible_children_expert) {
|
136
|
+
group = self.elements[xml_node.get(0).tagName].permissible_children_expert(xml_node,'into');
|
137
|
+
if(group.length > 0) {
|
138
|
+
menu['Insert into (Experts Only!)'] = group;
|
139
|
+
copyOrMove(menu['Insert into (Experts Only!)'],group,xml_node,self.adaptor.description.insert_first_into);
|
140
|
+
}
|
141
|
+
}
|
135
142
|
}
|
136
143
|
if (sibling) {
|
137
144
|
group = self.elements[xml_node.parent().get(0).tagName].permissible_children(xml_node,'after');
|
@@ -139,6 +146,13 @@ function WFAdaptorManifestation(adaptor) {
|
|
139
146
|
menu['Insert after'] = group;
|
140
147
|
copyOrMove(menu['Insert after'],group,xml_node,self.adaptor.description.insert_after);
|
141
148
|
}
|
149
|
+
if (self.elements[xml_node.parent().get(0).tagName].permissible_children_expert) {
|
150
|
+
group = self.elements[xml_node.parent().get(0).tagName].permissible_children_expert(xml_node,'after');
|
151
|
+
if(group.length > 0) {
|
152
|
+
menu['Insert after (Experts Only!)'] = group;
|
153
|
+
copyOrMove(menu['Insert after (Experts Only!)'],group,xml_node,self.adaptor.description.insert_after);
|
154
|
+
}
|
155
|
+
}
|
142
156
|
}
|
143
157
|
|
144
158
|
if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
|
@@ -146,10 +160,10 @@ function WFAdaptorManifestation(adaptor) {
|
|
146
160
|
icon.children('.rfill').addClass('menu');
|
147
161
|
menu['Delete'] = [{
|
148
162
|
'label': 'Remove Element',
|
149
|
-
'function_call': self.adaptor.description.remove,
|
163
|
+
'function_call': function(selector,target,selected){ self.adaptor.description.remove(selector,target); self.adaptor.illustrator.get_label_by_svg_id(selected).addClass('selected'); },
|
150
164
|
'menu_icon': icon,
|
151
165
|
'type': undefined,
|
152
|
-
'params': [null, xml_node]
|
166
|
+
'params': [null, xml_node, self.selected()]
|
153
167
|
}];
|
154
168
|
}
|
155
169
|
if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
|
@@ -854,6 +868,19 @@ function WFAdaptorManifestation(adaptor) {
|
|
854
868
|
var func = null;
|
855
869
|
if (mode == 'into') { func = self.adaptor.description.insert_first_into }
|
856
870
|
else { func = self.adaptor.description.insert_after }
|
871
|
+
var childs = [
|
872
|
+
{'label': 'Parallel Branch',
|
873
|
+
'function_call': func,
|
874
|
+
'menu_icon': self.elements.parallel_branch.illustrator.svg.clone(),
|
875
|
+
'type': 'parallel_branch',
|
876
|
+
'params': [self.adaptor.description.elements.parallel_branch, node]},
|
877
|
+
];
|
878
|
+
return childs;
|
879
|
+
}, //}}}
|
880
|
+
'permissible_children_expert': function(node,mode) { //{{{
|
881
|
+
var func = null;
|
882
|
+
if (mode.match(/into/)) { func = self.adaptor.description.insert_first_into }
|
883
|
+
else { func = self.adaptor.description.insert_after }
|
857
884
|
var childs = [
|
858
885
|
{'label': 'Service Call with Scripts',
|
859
886
|
'function_call': func,
|
@@ -880,11 +907,6 @@ function WFAdaptorManifestation(adaptor) {
|
|
880
907
|
'menu_icon': self.elements.loop.illustrator.svg.clone(),
|
881
908
|
'type': 'loop',
|
882
909
|
'params': [self.adaptor.description.elements.loop, node]},
|
883
|
-
{'label': 'Parallel Branch',
|
884
|
-
'function_call': func,
|
885
|
-
'menu_icon': self.elements.parallel_branch.illustrator.svg.clone(),
|
886
|
-
'type': 'parallel_branch',
|
887
|
-
'params': [self.adaptor.description.elements.parallel_branch, node]},
|
888
910
|
{'label': 'Stop',
|
889
911
|
'function_call': func,
|
890
912
|
'menu_icon': self.elements.stop.illustrator.svg.clone(),
|
@@ -995,12 +1017,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
995
1017
|
}, //}}}
|
996
1018
|
'adaptor': {//{{{
|
997
1019
|
'mousedown': function (node,e) {
|
998
|
-
|
999
|
-
if(xml_node.get(0).parentNode.tagName == 'parallel') {
|
1000
|
-
self.events.mousedown(node,e,true,false);
|
1001
|
-
} else {
|
1002
|
-
self.events.mousedown(node,e,true,true);
|
1003
|
-
}
|
1020
|
+
self.events.mousedown(node,e,true,true);
|
1004
1021
|
},
|
1005
1022
|
'click': self.events.click,
|
1006
1023
|
'dblclick': self.events.dblclick,
|
@@ -1174,11 +1191,6 @@ function WFAdaptorManifestation(adaptor) {
|
|
1174
1191
|
'menu_icon': self.elements.loop.illustrator.svg.clone(),
|
1175
1192
|
'type': 'loop',
|
1176
1193
|
'params': [self.adaptor.description.elements.loop, node]},
|
1177
|
-
{'label': 'Terminate',
|
1178
|
-
'function_call': func,
|
1179
|
-
'menu_icon': self.elements.terminate.illustrator.svg.clone(),
|
1180
|
-
'type': 'terminate',
|
1181
|
-
'params': [self.adaptor.description.elements.terminate, node]},
|
1182
1194
|
{'label': 'Stop',
|
1183
1195
|
'function_call': func,
|
1184
1196
|
'menu_icon': self.elements.stop.illustrator.svg.clone(),
|
@@ -0,0 +1,25 @@
|
|
1
|
+
<element rngui:version="1.2" name="alternative" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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,81 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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="Parameters">
|
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="sensors" rngui:header="Sensors">
|
29
|
+
<zeroOrMore rngui:label="Add Sensor">
|
30
|
+
<element name="sensor">
|
31
|
+
<element name="name" rngui:label="Label">
|
32
|
+
<data type="string" rngui:label="Label"/>
|
33
|
+
</element>
|
34
|
+
<element name="extractor_url" rngui:label="Extractor Url">
|
35
|
+
<data type="string" rngui:label="Url"/>
|
36
|
+
</element>
|
37
|
+
<element name="extractor_arg" rngui:label="Extractor Argument">
|
38
|
+
<data type="string" rngui:label="Path"/>
|
39
|
+
</element>
|
40
|
+
<element name="visualizer_url" rngui:label="Visualizer Url">
|
41
|
+
<data type="string" rngui:label="Url"/>
|
42
|
+
</element>
|
43
|
+
<element name="visualizer_params" rngui:header="Visualizer Arguments">
|
44
|
+
<zeroOrMore rngui:label="Create Argument Pair">
|
45
|
+
<element rngui:label='Name'>
|
46
|
+
<anyName/>
|
47
|
+
<data type="string" rngui:label="Value"/>
|
48
|
+
</element>
|
49
|
+
</zeroOrMore>
|
50
|
+
</element>
|
51
|
+
</element>
|
52
|
+
</zeroOrMore>
|
53
|
+
</element>
|
54
|
+
</element>
|
55
|
+
<element name="_timing" rngui:header="Timing">
|
56
|
+
<element name="_timing_min" rngui:label='Min in min'>
|
57
|
+
<data type='float' rngui:label='Minutes'/>
|
58
|
+
</element>
|
59
|
+
<element name="_timing_max" rngui:label='Max in min'>
|
60
|
+
<data type='float' rngui:label='Minutes'/>
|
61
|
+
</element>
|
62
|
+
<element name="_timing_avg" rngui:label='Avg in min'>
|
63
|
+
<data type='float' rngui:label='Minutes'/>
|
64
|
+
</element>
|
65
|
+
</element>
|
66
|
+
<element name="_notes" rngui:header="Notes">
|
67
|
+
<element name="_notes_general" rngui:label='General'>
|
68
|
+
<text rngui:wrap='true' rngui:label='Notes'/>
|
69
|
+
</element>
|
70
|
+
<element name="_attachments">
|
71
|
+
<zeroOrMore rngui:label="Create Attachment">
|
72
|
+
<element name='_attachment' rngui:label='Attachment'>
|
73
|
+
<attribute name="label" rngui:label="Note">
|
74
|
+
<data type="string"/>
|
75
|
+
</attribute>
|
76
|
+
<data type="string" rngui:label="Url"/>
|
77
|
+
</element>
|
78
|
+
</zeroOrMore>
|
79
|
+
</element>
|
80
|
+
</element>
|
81
|
+
</element>
|
@@ -0,0 +1,101 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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="Parameters">
|
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="sensors" rngui:header="Sensors">
|
29
|
+
<zeroOrMore rngui:label="Add Sensor">
|
30
|
+
<element name="sensor">
|
31
|
+
<element name="name" rngui:label="Label">
|
32
|
+
<data type="string" rngui:label="Label"/>
|
33
|
+
</element>
|
34
|
+
<element name="extractor_url" rngui:label="Extractor Url">
|
35
|
+
<data type="string" rngui:label="Url"/>
|
36
|
+
</element>
|
37
|
+
<element name="extractor_arg" rngui:label="Extractor Argument">
|
38
|
+
<data type="string" rngui:label="Path"/>
|
39
|
+
</element>
|
40
|
+
<element name="visualizer_url" rngui:label="Visualizer Url">
|
41
|
+
<data type="string" rngui:label="Url"/>
|
42
|
+
</element>
|
43
|
+
<element name="visualizer_params" rngui:header="Visualizer Arguments">
|
44
|
+
<zeroOrMore rngui:label="Create Argument Pair">
|
45
|
+
<element rngui:label='Name'>
|
46
|
+
<anyName/>
|
47
|
+
<data type="string" rngui:label="Value"/>
|
48
|
+
</element>
|
49
|
+
</zeroOrMore>
|
50
|
+
</element>
|
51
|
+
</element>
|
52
|
+
</zeroOrMore>
|
53
|
+
</element>
|
54
|
+
</element>
|
55
|
+
<element name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
|
56
|
+
<element name="url" rngui:label='HTML Snippet'>
|
57
|
+
<data type="string" rngui:label="url to report snippet"/>
|
58
|
+
</element>
|
59
|
+
</element>
|
60
|
+
<element name="finalize" rngui:header="Finalize" rngui:label="Code">
|
61
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
62
|
+
<data type="string" rngui:readonly="true"/>
|
63
|
+
</attribute>
|
64
|
+
<text rngui:label='Script that is executed, when a service returns data'/>
|
65
|
+
</element>
|
66
|
+
<element name="update" rngui:header="Update" rngui:label="Code">
|
67
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
68
|
+
<data type="string" rngui:readonly="true"/>
|
69
|
+
</attribute>
|
70
|
+
<text rngui:label='Script that is executed, when a service sends intermediate data'/>
|
71
|
+
</element>
|
72
|
+
<element name="_timing" rngui:header="Timing">
|
73
|
+
<element name="_timing_min" rngui:label='Min in min'>
|
74
|
+
<data type='float' rngui:label='Minutes'/>
|
75
|
+
</element>
|
76
|
+
<element name="_timing_max" rngui:label='Max in min'>
|
77
|
+
<data type='float' rngui:label='Minutes'/>
|
78
|
+
</element>
|
79
|
+
<element name="_timing_avg" rngui:label='Avg in min'>
|
80
|
+
<data type='float' rngui:label='Minutes'/>
|
81
|
+
</element>
|
82
|
+
</element>
|
83
|
+
<element name="_notes" rngui:header="Notes">
|
84
|
+
<element name="_notes_general" rngui:label='General'>
|
85
|
+
<text rngui:wrap='true' rngui:label='Notes'/>
|
86
|
+
</element>
|
87
|
+
<element name="_notes_output" rngui:label='Output'>
|
88
|
+
<text rngui:wrap='true' rngui:label='Notes'/>
|
89
|
+
</element>
|
90
|
+
<element name="_attachments">
|
91
|
+
<zeroOrMore rngui:label="Create Attachment">
|
92
|
+
<element name='_attachment' rngui:label='Attachment'>
|
93
|
+
<attribute name="label" rngui:label="Note">
|
94
|
+
<data type="string"/>
|
95
|
+
</attribute>
|
96
|
+
<data type="string" rngui:label="Url"/>
|
97
|
+
</element>
|
98
|
+
</zeroOrMore>
|
99
|
+
</element>
|
100
|
+
</element>
|
101
|
+
</element>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<element rngui:version="1.2" name="choose" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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"><data type="string"/></attribute>
|
10
|
+
</element>
|
11
|
+
<element rngui:ignore="true" name="otherwise"/>
|
12
|
+
</element>
|
@@ -0,0 +1,5 @@
|
|
1
|
+
<element rngui:version="1.2" name="critical" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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 rngui:version="1.2" name="escape" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org"/>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
<element name="finalize" rngui:version="1.2" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
<text rngui:label='Script that is executed, when a service returns data'/>
|
6
|
+
</element>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<element rngui:version="1.2" name="loop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<element rngui:version="1.2" name="manipulate" rngui:label="Script" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
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="label" rngui:label="Label">
|
6
|
+
<data type="string" rngui:label="Short description of the task"/>
|
7
|
+
</attribute>
|
8
|
+
<text rngui:label='Script that is executed'/>
|
9
|
+
</element>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<element rngui:version="1.2" name="otherwise" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
3
|
+
<element name="_probability_min" rngui:label='Min in %'>
|
4
|
+
<data type='integer' rngui:label='Percent 0-100'>
|
5
|
+
<param name="minInclusive">1</param>
|
6
|
+
<param name="maxInclusive">100</param>
|
7
|
+
</data>
|
8
|
+
</element>
|
9
|
+
<element name="_probability_max" rngui:label='Max in %'>
|
10
|
+
<data type='integer' rngui:label='Percent 0-100'>
|
11
|
+
<param name="minInclusive">1</param>
|
12
|
+
<param name="maxInclusive">100</param>
|
13
|
+
</data>
|
14
|
+
</element>
|
15
|
+
<element name="_probability_avg" rngui:label='Avg in %'>
|
16
|
+
<data type='integer' rngui:label='Percent 0-100'>
|
17
|
+
<param name="minInclusive">1</param>
|
18
|
+
<param name="maxInclusive">100</param>
|
19
|
+
</data>
|
20
|
+
</element>
|
21
|
+
</element>
|
22
|
+
</element>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<element rngui:version="1.2" name="parallel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="wait" rngui:label="Wait" rngui:default="-1" rngui:hint="-1 to wait for all branches.">
|
3
|
+
<data type="integer"/>
|
4
|
+
</attribute>
|
5
|
+
<element rngui:ignore="true" name="parallel_branch">
|
6
|
+
<attribute name="pass"><data type="string"/></attribute>
|
7
|
+
<attribute name="local"><data type="string"/></attribute>
|
8
|
+
</element>
|
9
|
+
<element rngui:ignore="true" name="parallel_branch">
|
10
|
+
<attribute name="pass"><data type="string"/></attribute>
|
11
|
+
<attribute name="local"><data type="string"/></attribute>
|
12
|
+
</element>
|
13
|
+
</element>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<element rngui:version="1.2" name="parallel_branch" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="pass" rngui:label="Pass to branch">
|
3
|
+
<data type="string" rngui:label="Data element passed to the local scope, thus not affected by global changes ..."/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="local" rngui:label="Local scope">
|
6
|
+
<data type="string" rngui:label="Name of the passed data element in the local scope ..."/>
|
7
|
+
</attribute>
|
8
|
+
</element>
|