cpee 2.1.20 → 2.1.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/ui.css +1 -1
  3. data/cockpit/templates/Coopis 2010.xml +8 -3
  4. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +15 -8
  5. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +15 -8
  6. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +15 -8
  7. data/cockpit/templates/Track Test Local.xml +2 -1
  8. data/cockpit/templates/Track Test.xml +2 -1
  9. data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +5 -0
  10. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +6 -8
  11. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +6 -8
  12. data/cockpit/templates/UR-VUE 2020 Solution View.xml +5 -8
  13. data/cockpit/templates/UR-VUE 2020.xml +1 -8
  14. data/cockpit/templates/Worklist.xml +3 -1
  15. data/cockpit/themes/compact/rngs/call.rng +110 -108
  16. data/cockpit/themes/compact/rngs/callmanipulate.rng +90 -87
  17. data/cockpit/themes/compact/rngs/parallel_branch.rng +1 -7
  18. data/cockpit/themes/compact/theme.js +136 -118
  19. data/cockpit/themes/control/rngs/call.rng +110 -108
  20. data/cockpit/themes/control/rngs/callmanipulate.rng +90 -87
  21. data/cockpit/themes/control/rngs/parallel_branch.rng +1 -7
  22. data/cockpit/themes/control/theme.js +149 -131
  23. data/cockpit/themes/default/rngs/call.rng +110 -108
  24. data/cockpit/themes/default/rngs/callmanipulate.rng +90 -87
  25. data/cockpit/themes/default/rngs/parallel_branch.rng +1 -7
  26. data/cockpit/themes/default/theme.js +136 -118
  27. data/cockpit/themes/extended/rngs/call.rng +110 -108
  28. data/cockpit/themes/extended/rngs/callmanipulate.rng +90 -87
  29. data/cockpit/themes/extended/rngs/parallel_branch.rng +1 -7
  30. data/cockpit/themes/extended/theme.js +136 -118
  31. data/cockpit/themes/model/rngs/call.rng +24 -22
  32. data/cockpit/themes/model/rngs/callmanipulate.rng +28 -26
  33. data/cockpit/themes/model/theme.js +114 -96
  34. data/cockpit/themes/packed/rngs/call.rng +110 -108
  35. data/cockpit/themes/packed/rngs/callmanipulate.rng +90 -87
  36. data/cockpit/themes/packed/rngs/parallel_branch.rng +1 -7
  37. data/cockpit/themes/packed/theme.js +136 -118
  38. data/cockpit/themes/preset/rngs/call.rng +110 -108
  39. data/cockpit/themes/preset/rngs/callmanipulate.rng +90 -87
  40. data/cockpit/themes/preset/rngs/parallel_branch.rng +1 -7
  41. data/cockpit/themes/preset/theme.js +136 -118
  42. data/cpee.gemspec +2 -1
  43. data/server/executionhandlers/ruby/connection.rb +27 -12
  44. data/tools/cpee +13 -6
  45. metadata +16 -2
@@ -8,6 +8,7 @@ function WFAdaptorManifestation(adaptor) {
8
8
  this.compact = false;
9
9
  this.striped = false;
10
10
  this.endpoints = {};
11
+ this.presstimer;
11
12
 
12
13
  //{{{ transform the details data to description parts based on rng
13
14
  this.source = function(base,opts) {
@@ -137,93 +138,104 @@ function WFAdaptorManifestation(adaptor) {
137
138
  }
138
139
  } //}}}
139
140
 
140
- // Events
141
- this.events.mousedown = function(svgid, e, child, sibling) { // {{{
142
- if(e.button == 0) { // left-click
143
- } else if(e.button == 1) { // middle-click
144
- } else if(e.button == 2) { // right-click
145
- if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
141
+ function contextMenuHandling(svgid,e,child,sibling) { //{{{
142
+ if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
146
143
 
147
- var xml_node = self.adaptor.description.get_node_by_svg_id(svgid);
148
- var group = null;
149
- var menu = {};
144
+ var xml_node = self.adaptor.description.get_node_by_svg_id(svgid);
145
+ var group = null;
146
+ var menu = {};
150
147
 
151
- if (child) {
152
- group = self.elements[xml_node.get(0).tagName].permissible_children(xml_node,'into');
148
+ if (child) {
149
+ group = self.elements[xml_node.get(0).tagName].permissible_children(xml_node,'into');
150
+ if(group.length > 0) {
151
+ menu['Insert into'] = group;
152
+ copyOrMove(menu['Insert into'],group,xml_node,self.adaptor.description.insert_first_into);
153
+ }
154
+ if (self.elements[xml_node.get(0).tagName].permissible_children_expert) {
155
+ group = self.elements[xml_node.get(0).tagName].permissible_children_expert(xml_node,'into');
153
156
  if(group.length > 0) {
154
- menu['Insert into'] = group;
155
- copyOrMove(menu['Insert into'],group,xml_node,self.adaptor.description.insert_first_into);
156
- }
157
- if (self.elements[xml_node.get(0).tagName].permissible_children_expert) {
158
- group = self.elements[xml_node.get(0).tagName].permissible_children_expert(xml_node,'into');
159
- if(group.length > 0) {
160
- menu['Insert into (Experts Only!)'] = group;
161
- copyOrMove(menu['Insert into (Experts Only!)'],group,xml_node,self.adaptor.description.insert_first_into);
162
- }
157
+ menu['Insert into (Experts Only!)'] = group;
158
+ copyOrMove(menu['Insert into (Experts Only!)'],group,xml_node,self.adaptor.description.insert_first_into);
163
159
  }
164
160
  }
165
- if (sibling) {
166
- group = self.elements[xml_node.parent().get(0).tagName].permissible_children(xml_node,'after');
161
+ }
162
+ if (sibling) {
163
+ group = self.elements[xml_node.parent().get(0).tagName].permissible_children(xml_node,'after');
164
+ if(group.length > 0) {
165
+ menu['Insert after'] = group;
166
+ copyOrMove(menu['Insert after'],group,xml_node,self.adaptor.description.insert_after);
167
+ }
168
+ if (self.elements[xml_node.parent().get(0).tagName].permissible_children_expert) {
169
+ group = self.elements[xml_node.parent().get(0).tagName].permissible_children_expert(xml_node,'after');
167
170
  if(group.length > 0) {
168
- menu['Insert after'] = group;
169
- copyOrMove(menu['Insert after'],group,xml_node,self.adaptor.description.insert_after);
170
- }
171
- if (self.elements[xml_node.parent().get(0).tagName].permissible_children_expert) {
172
- group = self.elements[xml_node.parent().get(0).tagName].permissible_children_expert(xml_node,'after');
173
- if(group.length > 0) {
174
- menu['Insert after (Experts Only!)'] = group;
175
- copyOrMove(menu['Insert after (Experts Only!)'],group,xml_node,self.adaptor.description.insert_after);
176
- }
171
+ menu['Insert after (Experts Only!)'] = group;
172
+ copyOrMove(menu['Insert after (Experts Only!)'],group,xml_node,self.adaptor.description.insert_after);
177
173
  }
178
174
  }
175
+ }
179
176
 
180
- if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
181
- var icon = self.elements[xml_node.get(0).tagName].illustrator.svg.clone();
182
- icon.children('.rfill').addClass('menu');
183
- menu['Delete'] = [{
184
- 'label': 'Remove Element',
185
- 'function_call': function(selector,target,selected){ self.adaptor.description.remove(selector,target); self.adaptor.illustrator.get_label_by_svg_id(selected).addClass('selected'); },
186
- 'menu_icon': icon,
187
- 'type': undefined,
188
- 'params': [null, xml_node, self.selected()]
189
- }];
190
- }
191
- if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
192
- var icon = self.elements.callmanipulate.illustrator.svg.clone();
193
- icon.children('.rfill:last').addClass('menu');
194
- menu['Delete'].push({
195
- 'label': 'Remove Scripts',
196
- 'function_call': self.adaptor.description.remove,
197
- 'menu_icon': icon,
198
- 'type': undefined,
199
- 'params': ['> code', xml_node]
200
- });
201
- }
202
- if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
203
- var icon = self.elements.call.illustrator.svg.clone();
204
- icon.children('g.replace').addClass('active');
205
- var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
206
- if (vtarget.length > 0) {
207
- if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
208
- menu['Position'] = [{
209
- 'label': 'No Execution from here',
210
- 'function_call': del_ui_pos,
211
- 'menu_icon': icon,
212
- 'type': undefined,
213
- 'params': xml_node
214
- }];
215
- } else {
216
- menu['Position'] = [{
217
- 'label': 'Execute from here',
218
- 'function_call': add_ui_pos,
219
- 'menu_icon': icon,
220
- 'type': undefined,
221
- 'params': xml_node
222
- }];
223
- }
177
+ if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
178
+ var icon = self.elements[xml_node.get(0).tagName].illustrator.svg.clone();
179
+ icon.children('.rfill').addClass('menu');
180
+ menu['Delete'] = [{
181
+ 'label': 'Remove Element',
182
+ 'function_call': function(selector,target,selected){ self.adaptor.description.remove(selector,target); self.adaptor.illustrator.get_label_by_svg_id(selected).addClass('selected'); },
183
+ 'menu_icon': icon,
184
+ 'type': undefined,
185
+ 'params': [null, xml_node, self.selected()]
186
+ }];
187
+ }
188
+ if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
189
+ var icon = self.elements.callmanipulate.illustrator.svg.clone();
190
+ icon.children('.rfill:last').addClass('menu');
191
+ menu['Delete'].push({
192
+ 'label': 'Remove Scripts',
193
+ 'function_call': self.adaptor.description.remove,
194
+ 'menu_icon': icon,
195
+ 'type': undefined,
196
+ 'params': ['> code', xml_node]
197
+ });
198
+ }
199
+ if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
200
+ var icon = self.elements.call.illustrator.svg.clone();
201
+ icon.children('g.replace').addClass('active');
202
+ var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
203
+ if (vtarget.length > 0) {
204
+ if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
205
+ menu['Position'] = [{
206
+ 'label': 'No Execution from here',
207
+ 'function_call': del_ui_pos,
208
+ 'menu_icon': icon,
209
+ 'type': undefined,
210
+ 'params': xml_node
211
+ }];
212
+ } else {
213
+ menu['Position'] = [{
214
+ 'label': 'Execute from here',
215
+ 'function_call': add_ui_pos,
216
+ 'menu_icon': icon,
217
+ 'type': undefined,
218
+ 'params': xml_node
219
+ }];
224
220
  }
225
221
  }
226
- new CustomMenu(e).contextmenu(menu);
222
+ }
223
+ new CustomMenu(e).contextmenu(menu);
224
+ } //}}}
225
+
226
+ // Events
227
+ this.events.touchend = function(svgid, e) { // {{{
228
+ clearTimeout(self.presstimer);
229
+ } // }}}
230
+ this.events.touchstart = function(svgid, e, child, sibling) { // {{{
231
+ self.presstimer = window.setTimeout(function() { contextMenuHandling(svgid,e,child,sibling); },1000);
232
+ return false;
233
+ } // }}}
234
+ this.events.mousedown = function(svgid, e, child, sibling) { // {{{
235
+ if(e.button == 0) { // left-click
236
+ } else if(e.button == 1) { // middle-click
237
+ } else if(e.button == 2) { // right-click
238
+ contextMenuHandling(svgid,e,child,sibling);
227
239
  }
228
240
  return false;
229
241
  } // }}}
@@ -321,6 +333,8 @@ function WFAdaptorManifestation(adaptor) {
321
333
  }, //}}}
322
334
  'adaptor': {//{{{
323
335
  'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
336
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
337
+ 'touchend': self.events.touchend,
324
338
  'click': self.events.click,
325
339
  'dragstart': self.events.dragstart,
326
340
  'mouseover': self.events.mouseover,
@@ -347,6 +361,8 @@ function WFAdaptorManifestation(adaptor) {
347
361
  }, //}}}
348
362
  'adaptor': {//{{{
349
363
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
364
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
365
+ 'touchend': self.events.touchend,
350
366
  'click': self.events.click,
351
367
  'mouseover': self.events.mouseover,
352
368
  'mouseout': self.events.mouseout
@@ -364,6 +380,8 @@ function WFAdaptorManifestation(adaptor) {
364
380
  }, //}}}
365
381
  'adaptor': {//{{{
366
382
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
383
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
384
+ 'touchend': self.events.touchend,
367
385
  'click': self.events.click,
368
386
  'mouseover': self.events.mouseover,
369
387
  'mouseout': self.events.mouseout
@@ -381,6 +399,8 @@ function WFAdaptorManifestation(adaptor) {
381
399
  }, //}}}
382
400
  'adaptor': {//{{{
383
401
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,true); },
402
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,true); },
403
+ 'touchend': self.events.touchend,
384
404
  'click': self.events.click,
385
405
  'mouseover': self.events.mouseover,
386
406
  'mouseout': self.events.mouseout
@@ -399,6 +419,8 @@ function WFAdaptorManifestation(adaptor) {
399
419
  }, //}}}
400
420
  'adaptor': {//{{{
401
421
  'mousedown': function (node,e) { self.events.mousedown(node,e,false,false); },
422
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,false,false); },
423
+ 'touchend': self.events.touchend,
402
424
  'mouseover': self.events.mouseover,
403
425
  'mouseout': self.events.mouseout
404
426
  }//}}}
@@ -410,9 +432,7 @@ function WFAdaptorManifestation(adaptor) {
410
432
  'svg': self.adaptor.theme_dir + 'symbols/end.svg'
411
433
  }, //}}}
412
434
  'adaptor': {//{{{
413
- 'mousedown': function (node,e) {
414
- self.events.suppress();
415
- }
435
+ 'mousedown': function (node,e) { self.events.suppress(); }
416
436
  }//}}}
417
437
  }; /*}}}*/
418
438
  this.elements.event_end = { /*{{{*/
@@ -422,9 +442,7 @@ function WFAdaptorManifestation(adaptor) {
422
442
  'svg': self.adaptor.theme_dir + 'symbols/event_end.svg'
423
443
  }, //}}}
424
444
  'adaptor': {//{{{
425
- 'mousedown': function (node,e) {
426
- self.events.suppress();
427
- },
445
+ 'mousedown': function (node,e) { self.events.suppress(); },
428
446
  'click': self.events.click,
429
447
  'dblclick': self.events.dblclick,
430
448
  'mouseover': self.events.mouseover,
@@ -445,9 +463,9 @@ function WFAdaptorManifestation(adaptor) {
445
463
  },
446
464
  }, //}}}
447
465
  'adaptor': {//{{{
448
- 'mousedown': function (node,e) {
449
- self.events.mousedown(node,e,true,true);
450
- },
466
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
467
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
468
+ 'touchend': self.events.touchend,
451
469
  'click': self.events.click,
452
470
  'dblclick': self.events.dblclick,
453
471
  'mouseover': self.events.mouseover,
@@ -466,9 +484,9 @@ function WFAdaptorManifestation(adaptor) {
466
484
  'svg': self.adaptor.theme_dir + 'symbols/choose_exclusive.svg',
467
485
  }, //}}}
468
486
  'adaptor': {//{{{
469
- 'mousedown': function (node,e) {
470
- self.events.mousedown(node,e,true,true);
471
- },
487
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
488
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
489
+ 'touchend': self.events.touchend,
472
490
  'click': self.events.click,
473
491
  'dblclick': self.events.dblclick,
474
492
  'mouseover': self.events.mouseover,
@@ -493,9 +511,9 @@ function WFAdaptorManifestation(adaptor) {
493
511
  },
494
512
  }, //}}}
495
513
  'adaptor': {//{{{
496
- 'mousedown': function (node,e) {
497
- self.events.mousedown(node,e,true,true);
498
- },
514
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
515
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
516
+ 'touchend': self.events.touchend,
499
517
  'click': self.events.click,
500
518
  'dblclick': self.events.dblclick,
501
519
  'mouseover': self.events.mouseover,
@@ -557,9 +575,9 @@ function WFAdaptorManifestation(adaptor) {
557
575
  return childs;
558
576
  }, //}}}
559
577
  'adaptor': {//{{{
560
- 'mousedown': function (node,e) {
561
- self.events.mousedown(node,e,true,true);
562
- },
578
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
579
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
580
+ 'touchend': self.events.touchend,
563
581
  'click': self.events.click,
564
582
  'dblclick': self.events.dblclick,
565
583
  'mouseover': self.events.mouseover,
@@ -641,9 +659,9 @@ function WFAdaptorManifestation(adaptor) {
641
659
  return childs;
642
660
  }, //}}}
643
661
  'adaptor': {//{{{
644
- 'mousedown': function (node,e) {
645
- self.events.mousedown(node,e,true,false);
646
- },
662
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,false); },
663
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,false); },
664
+ 'touchend': self.events.touchend,
647
665
  'click': self.events.click,
648
666
  'dblclick': self.events.dblclick,
649
667
  'mouseover': self.events.mouseover,
@@ -733,9 +751,9 @@ function WFAdaptorManifestation(adaptor) {
733
751
  return childs;
734
752
  }, //}}}
735
753
  'adaptor': {//{{{
736
- 'mousedown': function (node,e) {
737
- self.events.mousedown(node,e,true,true);
738
- },
754
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
755
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
756
+ 'touchend': self.events.touchend,
739
757
  'click': self.events.click,
740
758
  'dblclick': self.events.dblclick,
741
759
  'mouseover': self.events.mouseover,
@@ -829,9 +847,9 @@ function WFAdaptorManifestation(adaptor) {
829
847
  return childs;
830
848
  }, //}}}
831
849
  'adaptor': {//{{{
832
- 'mousedown': function (node,e) {
833
- self.events.mousedown(node,e,true,true);
834
- },
850
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
851
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
852
+ 'touchend': self.events.touchend,
835
853
  'click': self.events.click,
836
854
  'dblclick': self.events.dblclick,
837
855
  'mouseover': self.events.mouseover,
@@ -922,9 +940,9 @@ function WFAdaptorManifestation(adaptor) {
922
940
  return childs;
923
941
  }, //}}}
924
942
  'adaptor': {//{{{
925
- 'mousedown': function (node,e) {
926
- self.events.mousedown(node,e,true,true);
927
- },
943
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
944
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
945
+ 'touchend': self.events.touchend,
928
946
  'click': self.events.click,
929
947
  'dblclick': self.events.dblclick,
930
948
  'mouseover': self.events.mouseover,
@@ -1016,9 +1034,9 @@ function WFAdaptorManifestation(adaptor) {
1016
1034
  return childs;
1017
1035
  }, //}}}
1018
1036
  'adaptor': {//{{{
1019
- 'mousedown': function (node,e) {
1020
- self.events.mousedown(node,e,true,true);
1021
- },
1037
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
1038
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
1039
+ 'touchend': self.events.touchend,
1022
1040
  'click': self.events.click,
1023
1041
  'dblclick': self.events.dblclick,
1024
1042
  'mouseover': self.events.mouseover,
@@ -1098,9 +1116,9 @@ function WFAdaptorManifestation(adaptor) {
1098
1116
  return childs;
1099
1117
  }, //}}}
1100
1118
  'adaptor': {//{{{
1101
- 'mousedown': function (node,e) {
1102
- self.events.mousedown(node,e,true,true);
1103
- },
1119
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
1120
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
1121
+ 'touchend': self.events.touchend,
1104
1122
  'click': self.events.click,
1105
1123
  'dblclick': self.events.dblclick,
1106
1124
  'mouseover': self.events.mouseover,
@@ -1130,9 +1148,9 @@ function WFAdaptorManifestation(adaptor) {
1130
1148
  ];
1131
1149
  }, //}}}
1132
1150
  'adaptor': {//{{{
1133
- 'mousedown': function (node,e) {
1134
- self.events.mousedown(node,e,true,true);
1135
- },
1151
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,true); },
1152
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,true); },
1153
+ 'touchend': self.events.touchend,
1136
1154
  'click': self.events.click,
1137
1155
  'dblclick': self.events.dblclick,
1138
1156
  'mouseover': self.events.mouseover,
@@ -1208,9 +1226,9 @@ function WFAdaptorManifestation(adaptor) {
1208
1226
  return childs;
1209
1227
  }, //}}}
1210
1228
  'adaptor': {//{{{
1211
- 'mousedown': function (node,e) {
1212
- self.events.mousedown(node,e,true,false);
1213
- },
1229
+ 'mousedown': function (node,e) { self.events.mousedown(node,e,true,false); },
1230
+ 'touchstart': function (node,e) { self.events.touchstart(node,e,true,false); },
1231
+ 'touchend': self.events.touchend,
1214
1232
  'click': self.events.click,
1215
1233
  'dblclick': self.events.dblclick,
1216
1234
  'mouseover': self.events.mouseover,
@@ -25,92 +25,6 @@
25
25
  </element>
26
26
  </zeroOrMore>
27
27
  </element>
28
- <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
29
-
30
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
31
- <zeroOrMore rngui:label="Add Probe">
32
- <element name="probe">
33
- <element name="name" rngui:label="Label">
34
- <data type="string" rngui:label="Label"/>
35
- </element>
36
- <element name="extractor_type" rngui:label="Extractor Type">
37
- <choice>
38
- <value id='code'>Code</value>
39
- <value id='service'>Service</value>
40
- </choice>
41
- </element>
42
- <element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For extrinsic data'>
43
- <text rngui:label="Code"/>
44
- </element>
45
- <element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For extrinsic &amp; discrete data'>
46
- <data type="string" rngui:label="Service Url"/>
47
- </element>
48
- <element name="extractor_params" rngui:label="Extractor Service Arguments:">
49
- <zeroOrMore rngui:label="Create Argument Pairs">
50
- <element rngui:label="Name">
51
- <anyName/>
52
- <data type="string" rngui:label="Value / Json"/>
53
- </element>
54
- </zeroOrMore>
55
- </element>
56
- <element name="visualizer_url" rngui:label="Visualizer Url">
57
- <data type="string" rngui:label="Service Url"/>
58
- </element>
59
- <element name="visualizer_params" rngui:label="Visualizer Arguments">
60
- <zeroOrMore rngui:label="Create Argument Pairs">
61
- <element rngui:label="Name">
62
- <anyName/>
63
- <data type="string" rngui:label="Value / Json"/>
64
- </element>
65
- </zeroOrMore>
66
- </element>
67
- </element>
68
- </zeroOrMore>
69
- </element>
70
-
71
- <element name="ips" rngui:header="Impact Profiles" rngui:fold="closed">
72
- <zeroOrMore rngui:label="Add Impact Profile">
73
- <element name="ip">
74
- <element name="name" rngui:label="Label">
75
- <data type="string" rngui:label="Label"/>
76
- </element>
77
- <element name="target" rngui:label="Target Value">
78
- <data type="string" rngui:label="Value"/>
79
- </element>
80
- <element name="ifs" rngui:header="Impact Factors">
81
- <zeroOrMore rngui:label="Add Impact Factor">
82
- <element name="if">
83
- <element name="ivs" rngui:header="Impact Values">
84
- <zeroOrMore rngui:label="Add Impact Value ">
85
- <element name="iv">
86
- <element name="extractor_url" rngui:label="Extractor Url">
87
- <data type="string" rngui:label="Service Url + Parameters"/>
88
- </element>
89
- <element name="aggregator_url" rngui:label="Aggregator Url">
90
- <data type="string" rngui:label="Service Url + Parameters"/>
91
- </element>
92
- </element>
93
- </zeroOrMore>
94
- </element>
95
- <element name="aggregator_url" rngui:label="Impact Function Url">
96
- <data type="string" rngui:label="Service Url + Parameters"/>
97
- </element>
98
- </element>
99
- </zeroOrMore>
100
- </element>
101
- <element name="vfunc_url" rngui:label="Violation Function Url">
102
- <data type="string" rngui:label="Service Url + Parameters"/>
103
- </element>
104
- </element>
105
- </zeroOrMore>
106
- </element>
107
-
108
- </element>
109
- <element name="report" rngui:header="Reporting" rngui:fold="closed">
110
- <element name="url" rngui:label='HTML Snippet'>
111
- <data type="string" rngui:label="url to report snippet"/>
112
- </element>
113
- </element>
114
28
  </element>
115
29
  <element name="annotations" rngui:header="Annotations">
116
30
  <element name="_timing" rngui:header="Timing" rngui:fold="closed">
@@ -120,6 +34,92 @@
120
34
  <element name="_timing_avg" rngui:label="Avg in min">
121
35
  <data type="float" rngui:label="Minutes"/>
122
36
  </element>
37
+ <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
38
+
39
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
40
+ <zeroOrMore rngui:label="Add Probe">
41
+ <element name="probe">
42
+ <element name="name" rngui:label="Label">
43
+ <data type="string" rngui:label="Label"/>
44
+ </element>
45
+ <element name="extractor_type" rngui:label="Extractor Type">
46
+ <choice>
47
+ <value id='code'>Code</value>
48
+ <value id='service'>Service</value>
49
+ </choice>
50
+ </element>
51
+ <element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For extrinsic data'>
52
+ <text rngui:label="Code"/>
53
+ </element>
54
+ <element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For extrinsic &amp; discrete data'>
55
+ <data type="string" rngui:label="Service Url"/>
56
+ </element>
57
+ <element name="extractor_params" rngui:label="Extractor Service Arguments:">
58
+ <zeroOrMore rngui:label="Create Argument Pairs">
59
+ <element rngui:label="Name">
60
+ <anyName/>
61
+ <data type="string" rngui:label="Value / Json"/>
62
+ </element>
63
+ </zeroOrMore>
64
+ </element>
65
+ <element name="visualizer_url" rngui:label="Visualizer Url">
66
+ <data type="string" rngui:label="Service Url"/>
67
+ </element>
68
+ <element name="visualizer_params" rngui:label="Visualizer Arguments">
69
+ <zeroOrMore rngui:label="Create Argument Pairs">
70
+ <element rngui:label="Name">
71
+ <anyName/>
72
+ <data type="string" rngui:label="Value / Json"/>
73
+ </element>
74
+ </zeroOrMore>
75
+ </element>
76
+ </element>
77
+ </zeroOrMore>
78
+ </element>
79
+
80
+ <element name="ips" rngui:header="Impact Profiles" rngui:fold="closed">
81
+ <zeroOrMore rngui:label="Add Impact Profile">
82
+ <element name="ip">
83
+ <element name="name" rngui:label="Label">
84
+ <data type="string" rngui:label="Label"/>
85
+ </element>
86
+ <element name="target" rngui:label="Target Value">
87
+ <data type="string" rngui:label="Value"/>
88
+ </element>
89
+ <element name="ifs" rngui:header="Impact Factors">
90
+ <zeroOrMore rngui:label="Add Impact Factor">
91
+ <element name="if">
92
+ <element name="ivs" rngui:header="Impact Values">
93
+ <zeroOrMore rngui:label="Add Impact Value ">
94
+ <element name="iv">
95
+ <element name="extractor_url" rngui:label="Extractor Url">
96
+ <data type="string" rngui:label="Service Url + Parameters"/>
97
+ </element>
98
+ <element name="aggregator_url" rngui:label="Aggregator Url">
99
+ <data type="string" rngui:label="Service Url + Parameters"/>
100
+ </element>
101
+ </element>
102
+ </zeroOrMore>
103
+ </element>
104
+ <element name="aggregator_url" rngui:label="Impact Function Url">
105
+ <data type="string" rngui:label="Service Url + Parameters"/>
106
+ </element>
107
+ </element>
108
+ </zeroOrMore>
109
+ </element>
110
+ <element name="vfunc_url" rngui:label="Violation Function Url">
111
+ <data type="string" rngui:label="Service Url + Parameters"/>
112
+ </element>
113
+ </element>
114
+ </zeroOrMore>
115
+ </element>
116
+
117
+ </element>
118
+ <element name="report" rngui:header="Reporting" rngui:fold="closed">
119
+ <element name="url" rngui:label='HTML Snippet'>
120
+ <data type="string" rngui:label="url to report snippet"/>
121
+ </element>
122
+ </element>
123
123
  <element name="explanations" rngui:header="Explanations">
124
124
  <zeroOrMore rngui:label="Add Explanation">
125
125
  <element name="explanation">
@@ -155,29 +155,31 @@
155
155
  </element>
156
156
  </element>
157
157
  </element>
158
- <element name="input" rngui:header="Input Arguments Documentation" rngui:fold="closed">
159
- <zeroOrMore rngui:label="Create Argument">
160
- <element name="item" rngui:label="Description">
161
- <attribute name="label" rngui:label="Name">
162
- <data type="string"/>
163
- </attribute>
164
- <text rngui:wrap="true" rngui:label="What does it do?"/>
165
- </element>
166
- </zeroOrMore>
167
- </element>
168
- <element name="output" rngui:header="Output Elements Documentation" rngui:fold="closed">
169
- <zeroOrMore rngui:label="Create Element">
170
- <element name="item" rngui:label="Description">
171
- <attribute name="label" rngui:label="Name">
172
- <data type="string"/>
173
- </attribute>
174
- <text rngui:wrap="true" rngui:label="What does it do?"/>
158
+ <element name="input" rngui:header="Documentation">
159
+ <element name="input" rngui:header="Input Arguments" rngui:fold="closed">
160
+ <zeroOrMore rngui:label="Create Argument">
161
+ <element name="item" rngui:label="Description">
162
+ <attribute name="label" rngui:label="Name">
163
+ <data type="string"/>
164
+ </attribute>
165
+ <text rngui:wrap="true" rngui:label="What does it do?"/>
166
+ </element>
167
+ </zeroOrMore>
168
+ </element>
169
+ <element name="output" rngui:header="Output Elements" rngui:fold="closed">
170
+ <zeroOrMore rngui:label="Create Element">
171
+ <element name="item" rngui:label="Description">
172
+ <attribute name="label" rngui:label="Name">
173
+ <data type="string"/>
174
+ </attribute>
175
+ <text rngui:wrap="true" rngui:label="What does it do?"/>
176
+ </element>
177
+ </zeroOrMore>
178
+ </element>
179
+ <element name="implementation" rngui:header="Implementation" rngui:fold="closed">
180
+ <element name="description" rngui:label="Description">
181
+ <text rngui:wrap="true" rngui:label="What is supposed to happen?"/>
175
182
  </element>
176
- </zeroOrMore>
177
- </element>
178
- <element name="implementation" rngui:header="Implementation Documentation" rngui:fold="closed">
179
- <element name="description" rngui:label="Description">
180
- <text rngui:wrap="true" rngui:label="What is supposed to happen?"/>
181
183
  </element>
182
184
  </element>
183
185
  </element>