cpee 2.0.15 → 2.0.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (259) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/wfadaptor.css +17 -0
  3. data/cockpit/js/instance.js +6 -3
  4. data/cockpit/js/model.js +1 -1
  5. data/cockpit/js_libs.zip +0 -0
  6. data/cockpit/templates/UR-VUE 2020.xml +2 -2
  7. data/cockpit/themes/compact/rngs/closed_loop.rng +6 -3
  8. data/cockpit/themes/compact/rngs/closed_loop_control.rng +3 -0
  9. data/cockpit/themes/compact/rngs/closed_loop_measuring.rng +3 -0
  10. data/cockpit/themes/default/rngs/closed_loop.rng +6 -3
  11. data/cockpit/themes/default/rngs/closed_loop_control.rng +3 -0
  12. data/cockpit/themes/default/rngs/closed_loop_measuring.rng +3 -0
  13. data/cockpit/themes/diana/rngs/closed_loop.rng +6 -3
  14. data/cockpit/themes/diana/rngs/closed_loop_control.rng +3 -0
  15. data/cockpit/themes/diana/rngs/closed_loop_measuring.rng +3 -0
  16. data/cockpit/themes/extended/rngs/closed_loop.rng +6 -3
  17. data/cockpit/themes/extended/rngs/closed_loop_control.rng +3 -0
  18. data/cockpit/themes/extended/rngs/closed_loop_measuring.rng +3 -0
  19. data/cockpit/themes/model/rngs/call.rng +6 -1
  20. data/cockpit/themes/model/rngs/callmanipulate.rng +6 -1
  21. data/cockpit/themes/model/theme.js +1 -1
  22. data/cockpit/themes/packed/rngs/closed_loop.rng +6 -3
  23. data/cockpit/themes/packed/rngs/closed_loop_control.rng +3 -0
  24. data/cockpit/themes/packed/rngs/closed_loop_measuring.rng +3 -0
  25. data/cockpit/themes/preset/rngs/closed_loop.rng +6 -3
  26. data/cockpit/themes/preset/rngs/closed_loop_control.rng +3 -0
  27. data/cockpit/themes/preset/rngs/closed_loop_measuring.rng +3 -0
  28. data/cockpit/themes/preset/theme.js +1 -1
  29. data/cpee.gemspec +2 -2
  30. data/lib/cpee/controller.rb +6 -3
  31. data/lib/cpee/implementation.rb +23 -8
  32. data/lib/cpee/implementation_notifications.rb +1 -1
  33. data/lib/cpee/persistence.rb +2 -1
  34. data/lib/cpee/redis.rb +57 -0
  35. data/server/handlerwrappers/default.rb +16 -16
  36. data/server/routing/end.rb +16 -4
  37. data/server/routing/forward-events.rb +19 -7
  38. data/server/routing/forward-votes.rb +19 -7
  39. data/server/routing/persist.rb +27 -15
  40. data/tools/cpee +6 -6
  41. data/tools/server/{server.rb → cpee} +0 -0
  42. data/tools/test/README +4 -0
  43. data/tools/test/config.json +3 -0
  44. data/tools/test/contrib/graph_example.svg +1166 -0
  45. data/tools/test/contrib/legend.svg +817 -0
  46. data/tools/test/contrib/symbols.svg +224 -0
  47. data/tools/test/contrib/transformation1.xsl +264 -0
  48. data/tools/test/contrib/transformation2.xsl +10 -0
  49. data/tools/test/contrib/tree_example.svg +788 -0
  50. data/tools/test/css/model.css +24 -0
  51. data/tools/test/css/track.css +60 -0
  52. data/tools/test/css/ui.css +214 -0
  53. data/tools/test/css/wfadaptor.css +422 -0
  54. data/tools/test/edit.html +258 -0
  55. data/tools/test/graph.html +69 -0
  56. data/tools/test/index.html +258 -0
  57. data/tools/test/js/details.js +109 -0
  58. data/tools/test/js/instance.js +1344 -0
  59. data/tools/test/js/model.js +41 -0
  60. data/tools/test/js/parameters.js +82 -0
  61. data/tools/test/js/track.js +18 -0
  62. data/tools/test/js/ui.js +104 -0
  63. data/tools/test/js/wfadaptor.js +763 -0
  64. data/tools/test/js_libs.zip +0 -0
  65. data/tools/test/js_libs/Makefile +2 -0
  66. data/tools/test/js_libs/ansi_up.js +333 -0
  67. data/tools/test/js_libs/console.js +80 -0
  68. data/tools/test/js_libs/custommenu.css +84 -0
  69. data/tools/test/js_libs/custommenu.js +104 -0
  70. data/tools/test/js_libs/experiments1/relaxngui.css +185 -0
  71. data/tools/test/js_libs/experiments1/relaxngui.js +488 -0
  72. data/tools/test/js_libs/experiments1/rngtest9.html +60 -0
  73. data/tools/test/js_libs/experiments1/rngtest9.rng +35 -0
  74. data/tools/test/js_libs/experiments1/rngtest9.xml +8 -0
  75. data/tools/test/js_libs/jquery-2.2.4.min.js +4 -0
  76. data/tools/test/js_libs/jquery-3.2.1.min.js +4 -0
  77. data/tools/test/js_libs/jquery-3.3.1.min.js +2 -0
  78. data/tools/test/js_libs/jquery.browser.js +40 -0
  79. data/tools/test/js_libs/jquery.caret.min.js +10 -0
  80. data/tools/test/js_libs/jquery.cookie.js +117 -0
  81. data/tools/test/js_libs/jquery.min.js +1 -0
  82. data/tools/test/js_libs/jquery.svg.min.js +6 -0
  83. data/tools/test/js_libs/jquery.svgdom.min.js +6 -0
  84. data/tools/test/js_libs/markdown.min.js +1 -0
  85. data/tools/test/js_libs/parsequery.js +21 -0
  86. data/tools/test/js_libs/printf.js +368 -0
  87. data/tools/test/js_libs/relaxngui.css +213 -0
  88. data/tools/test/js_libs/relaxngui.js +543 -0
  89. data/tools/test/js_libs/strftime.min.js +1 -0
  90. data/tools/test/js_libs/tests/dataelements.html +59 -0
  91. data/tools/test/js_libs/tests/dataelements.rng +8 -0
  92. data/tools/test/js_libs/tests/dataelements.xml +3 -0
  93. data/tools/test/js_libs/tests/relaxngui.css +203 -0
  94. data/tools/test/js_libs/tests/relaxngui.js +502 -0
  95. data/tools/test/js_libs/tests/rngtest1.html +66 -0
  96. data/tools/test/js_libs/tests/rngtest1.rng +147 -0
  97. data/tools/test/js_libs/tests/rngtest1.xml +13 -0
  98. data/tools/test/js_libs/tests/rngtest2.html +60 -0
  99. data/tools/test/js_libs/tests/rngtest2.rng +6 -0
  100. data/tools/test/js_libs/tests/rngtest2.xml +3 -0
  101. data/tools/test/js_libs/tests/rngtest3.html +60 -0
  102. data/tools/test/js_libs/tests/rngtest3.rng +23 -0
  103. data/tools/test/js_libs/tests/rngtest3.xml +9 -0
  104. data/tools/test/js_libs/tests/rngtest4.html +60 -0
  105. data/tools/test/js_libs/tests/rngtest4.rng +19 -0
  106. data/tools/test/js_libs/tests/rngtest4.xml +12 -0
  107. data/tools/test/js_libs/tests/rngtest5.html +60 -0
  108. data/tools/test/js_libs/tests/rngtest5.rng +75 -0
  109. data/tools/test/js_libs/tests/rngtest5.xml +40 -0
  110. data/tools/test/js_libs/tests/rngtest6.html +60 -0
  111. data/tools/test/js_libs/tests/rngtest6.rng +24 -0
  112. data/tools/test/js_libs/tests/rngtest6.xml +6 -0
  113. data/tools/test/js_libs/tests/rngtest8.html +60 -0
  114. data/tools/test/js_libs/tests/rngtest8.rng +13 -0
  115. data/tools/test/js_libs/tests/rngtest8.xml +2 -0
  116. data/tools/test/js_libs/tests/rngtest9.html +60 -0
  117. data/tools/test/js_libs/tests/rngtest9.rng +31 -0
  118. data/tools/test/js_libs/tests/rngtest9.xml +8 -0
  119. data/tools/test/js_libs/ui.css +333 -0
  120. data/tools/test/js_libs/ui.html +168 -0
  121. data/tools/test/js_libs/ui.js +177 -0
  122. data/tools/test/js_libs/underscore.min.js +27 -0
  123. data/tools/test/js_libs/util.js +81 -0
  124. data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +358 -0
  125. data/tools/test/js_libs/vkbeautify.js +1 -0
  126. data/tools/test/js_libs/webcomponents.min.js +196 -0
  127. data/tools/test/model.html +192 -0
  128. data/tools/test/rngs/attributes.rng +8 -0
  129. data/tools/test/rngs/dataelements.rng +8 -0
  130. data/tools/test/rngs/endpoints.rng +8 -0
  131. data/tools/test/templates.legacy/Async.xml +46 -0
  132. data/tools/test/templates.legacy/BCO.xml +70 -0
  133. data/tools/test/templates.legacy/BCS.xml +70 -0
  134. data/tools/test/templates.legacy/Centurio.xml +75 -0
  135. data/tools/test/templates.legacy/Concurrent.xml +40 -0
  136. data/tools/test/templates.legacy/Coopis Testset.xml +76 -0
  137. data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +30 -0
  138. data/tools/test/templates.legacy/ICSOC Testset.xml +95 -0
  139. data/tools/test/templates.legacy/Infinity.xml +28 -0
  140. data/tools/test/templates.legacy/Lego Boxer.xml +31 -0
  141. data/tools/test/templates.legacy/Lego Conveyor.xml +31 -0
  142. data/tools/test/templates.legacy/Lego Crane.xml +87 -0
  143. data/tools/test/templates.legacy/Lego Ejector.xml +55 -0
  144. data/tools/test/templates.legacy/Lego Full.xml +142 -0
  145. data/tools/test/templates.legacy/Lego Liddy.xml +40 -0
  146. data/tools/test/templates.legacy/Lego Plate.xml +31 -0
  147. data/tools/test/templates.legacy/Lego Transporter.xml +43 -0
  148. data/tools/test/templates.legacy/Lego_Part_1.xml +85 -0
  149. data/tools/test/templates.legacy/LgLinear.xml +65 -0
  150. data/tools/test/templates.legacy/Linear.xml +77 -0
  151. data/tools/test/templates.legacy/Log.xml +117 -0
  152. data/tools/test/templates.legacy/Mangler 1.xml +87 -0
  153. data/tools/test/templates.legacy/Mangler 2.xml +103 -0
  154. data/tools/test/templates.legacy/Manuel Labels.xml +55 -0
  155. data/tools/test/templates.legacy/Promise.xml +275 -0
  156. data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +83 -0
  157. data/tools/test/templates.legacy/Subprocess.xml +56 -0
  158. data/tools/test/templates.legacy/Syncing P34 1.xml +77 -0
  159. data/tools/test/templates.legacy/Syncing P34 2.xml +77 -0
  160. data/tools/test/templates.legacy/Syncing P34 3.xml +77 -0
  161. data/tools/test/templates.legacy/Syncing P34.xml +77 -0
  162. data/tools/test/templates.legacy/TEST - Bad Loop.xml +173 -0
  163. data/tools/test/templates.legacy/TEST - Wrong Positions.xml +174 -0
  164. data/tools/test/templates.legacy/Take_5.xml +48 -0
  165. data/tools/test/templates.legacy/Update.xml +32 -0
  166. data/tools/test/templates.legacy/Worklist Parallel.xml +104 -0
  167. data/tools/test/templates.legacy/Worklist Test CPEE.xml +40 -0
  168. data/tools/test/templates.legacy/Worklist Test.xml +42 -0
  169. data/tools/test/templates.legacy/Worklist Test2.xml +43 -0
  170. data/tools/test/templates.legacy/convert_cpee2.rb +15 -0
  171. data/tools/test/templates.legacy/convert_preset.rb +32 -0
  172. data/tools/test/templates.legacy/testsets.xml +37 -0
  173. data/tools/test/templates.legacy/transformations.xml +4 -0
  174. data/tools/test/templates/Coopis 2010.xml +76 -0
  175. data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
  176. data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
  177. data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
  178. data/tools/test/templates/Track Test Local.xml +82 -0
  179. data/tools/test/templates/Track Test.xml +82 -0
  180. data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +182 -0
  181. data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +203 -0
  182. data/tools/test/templates/UR-VUE 2020 Solution NN.xml +197 -0
  183. data/tools/test/templates/UR-VUE 2020 Solution View.xml +151 -0
  184. data/tools/test/templates/UR-VUE 2020.xml +26 -0
  185. data/tools/test/templates/Worklist.xml +42 -0
  186. data/tools/test/templates/instantiate.local/Take_Sub.xml +59 -0
  187. data/tools/test/templates/instantiate/Take_Perf.xml +46 -0
  188. data/tools/test/templates/instantiate/Take_Sub.xml +58 -0
  189. data/tools/test/templates/instantiate/Take_X.xml +48 -0
  190. data/tools/test/themes/compact/theme.js +1285 -0
  191. data/tools/test/themes/diana/theme.js +1650 -0
  192. data/tools/test/themes/extended/theme.js +1325 -0
  193. data/tools/test/themes/model/rngs/alternative.rng +1 -0
  194. data/tools/test/themes/model/rngs/call.rng +67 -0
  195. data/tools/test/themes/model/rngs/callmanipulate.rng +72 -0
  196. data/tools/test/themes/model/rngs/choose.rng +1 -0
  197. data/tools/test/themes/model/rngs/critical.rng +1 -0
  198. data/tools/test/themes/model/rngs/escape.rng +1 -0
  199. data/tools/test/themes/model/rngs/group.rng +1 -0
  200. data/tools/test/themes/model/rngs/loop.rng +1 -0
  201. data/tools/test/themes/model/rngs/manipulate.rng +1 -0
  202. data/tools/test/themes/model/rngs/otherwise.rng +1 -0
  203. data/tools/test/themes/model/rngs/parallel.rng +1 -0
  204. data/tools/test/themes/model/rngs/parallel_branch.rng +1 -0
  205. data/tools/test/themes/model/rngs/scripts.rng +7 -0
  206. data/tools/test/themes/model/rngs/stop.rng +1 -0
  207. data/tools/test/themes/model/rngs/terminate.rng +1 -0
  208. data/tools/test/themes/model/theme.js +1268 -0
  209. data/tools/test/themes/packed/theme.js +1286 -0
  210. data/tools/test/themes/preset/rngs/alternative.rng +25 -0
  211. data/tools/test/themes/preset/rngs/call.rng +122 -0
  212. data/tools/test/themes/preset/rngs/callmanipulate.rng +145 -0
  213. data/tools/test/themes/preset/rngs/choose.rng +14 -0
  214. data/tools/test/themes/preset/rngs/closed_loop.rng +62 -0
  215. data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +5 -0
  216. data/tools/test/themes/preset/rngs/closed_loop_control.rng +31 -0
  217. data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +12 -0
  218. data/tools/test/themes/preset/rngs/critical.rng +5 -0
  219. data/tools/test/themes/preset/rngs/escape.rng +1 -0
  220. data/tools/test/themes/preset/rngs/group.rng +3 -0
  221. data/tools/test/themes/preset/rngs/loop.rng +22 -0
  222. data/tools/test/themes/preset/rngs/manipulate.rng +9 -0
  223. data/tools/test/themes/preset/rngs/otherwise.rng +22 -0
  224. data/tools/test/themes/preset/rngs/parallel.rng +21 -0
  225. data/tools/test/themes/preset/rngs/parallel_branch.rng +8 -0
  226. data/tools/test/themes/preset/rngs/scripts.rng +23 -0
  227. data/tools/test/themes/preset/rngs/stop.rng +5 -0
  228. data/tools/test/themes/preset/rngs/terminate.rng +1 -0
  229. data/tools/test/themes/preset/symbols/alternative.svg +5 -0
  230. data/tools/test/themes/preset/symbols/arrow.svg +3 -0
  231. data/tools/test/themes/preset/symbols/call.svg +6 -0
  232. data/tools/test/themes/preset/symbols/callmanipulate.svg +8 -0
  233. data/tools/test/themes/preset/symbols/choose.svg +5 -0
  234. data/tools/test/themes/preset/symbols/choose_exclusive.svg +5 -0
  235. data/tools/test/themes/preset/symbols/choose_inclusive.svg +4 -0
  236. data/tools/test/themes/preset/symbols/closed_loop.svg +5 -0
  237. data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +5 -0
  238. data/tools/test/themes/preset/symbols/closed_loop_control.svg +5 -0
  239. data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +6 -0
  240. data/tools/test/themes/preset/symbols/complex.svg +8 -0
  241. data/tools/test/themes/preset/symbols/critical.svg +4 -0
  242. data/tools/test/themes/preset/symbols/end.svg +3 -0
  243. data/tools/test/themes/preset/symbols/escape.svg +5 -0
  244. data/tools/test/themes/preset/symbols/event_end.svg +3 -0
  245. data/tools/test/themes/preset/symbols/loop.svg +5 -0
  246. data/tools/test/themes/preset/symbols/manipulate.svg +4 -0
  247. data/tools/test/themes/preset/symbols/otherwise.svg +5 -0
  248. data/tools/test/themes/preset/symbols/parallel.svg +5 -0
  249. data/tools/test/themes/preset/symbols/parallel_branch.svg +5 -0
  250. data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +4 -0
  251. data/tools/test/themes/preset/symbols/parallel_branch_event.svg +14 -0
  252. data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +5 -0
  253. data/tools/test/themes/preset/symbols/scripts.svg +4 -0
  254. data/tools/test/themes/preset/symbols/start.svg +3 -0
  255. data/tools/test/themes/preset/symbols/stop.svg +5 -0
  256. data/tools/test/themes/preset/symbols/terminate.svg +4 -0
  257. data/tools/test/themes/preset/theme.js +1287 -0
  258. data/tools/test/track.html +142 -0
  259. metadata +222 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e90f25cd35d31ccd0b61aad184473dffa96f6a2e0fa7c986ce533c1d1338f9d3
4
- data.tar.gz: 432f503b20812d156b31130a93fcddd3feedecc712c2590abc403a119d2554a2
3
+ metadata.gz: 4c2b0fc3e70d0f49877aea179e123e807cadfa5af37040267519e5a0ff1ec1e4
4
+ data.tar.gz: 82f1906f306514d813d0a0f91945dd641152aaec603035eaeecec6955e46f343
5
5
  SHA512:
6
- metadata.gz: 3ff0adbb47bf043234b024f63b78209655d6676be80f9f0407e6f7e44e722ef680910a7286a792ec81d663c378208b409238f2c684b02c8152d9bf6c68f81cf9
7
- data.tar.gz: 5d1dd6bc94d93a6c41aa3c355e6eb812f6004e3f8f978610210266b24d13ec805b130d37f4f119faa45e64e4d581f7f5b27a02560163a62af3fcd76eaf1c7063
6
+ metadata.gz: fcffe281651210b16ef430eecdad77f92e0ac4406672bd555c8fb08e206e218eb496473cb1e1046eb0c643bceaf7cc6172b82a3fa65413f95eaab7ef5218f69e
7
+ data.tar.gz: 7b0aa6519e115d11727427446bcacdb2a6dab4400a62eb323527ce89f4310cdde342ef23f30ec95601c92bfccd22284cb20b34ee3916d07e96fdf85c5908f387
@@ -346,6 +346,23 @@ svg text.label {
346
346
  font-family:Arial;
347
347
  }
348
348
 
349
+ svg text.smaller {
350
+ font-size:12px;
351
+ font-style:normal;
352
+ font-variant:normal;
353
+ font-weight:bold;
354
+ font-stretch:normal;
355
+ text-align:center;
356
+ line-height:125%;
357
+ writing-mode:horizontal-tb;
358
+ text-anchor:middle;
359
+ color: var(--wfadaptor-base);
360
+ fill: var(--wfadaptor-base);
361
+ fill-opacity:1;
362
+ stroke:none;
363
+ font-family:Arial;
364
+ }
365
+
349
366
  #arrow {
350
367
  stroke: var(--wfadaptor-base);
351
368
  stroke-width: 2;
@@ -442,6 +442,9 @@ function monitor_instance_values(val) {// {{{
442
442
  var text = $(" > attributes > info",res).text() + " (" + url.replace(/\/$/,'').split(/[\\/]/).pop() + ")";
443
443
  $('#title').text(text);
444
444
  document.title = text;
445
+ if ($('body').attr('current-save')) {
446
+ $('body').attr('current-save-dir',$(" > attributes > design_dir",res).text());
447
+ }
445
448
  if ($('body').attr('current-logs')) {
446
449
  var uuid = $(" > attributes > uuid",res).text();
447
450
  $("#current-log").show();
@@ -834,6 +837,7 @@ function get_testset(deferred) {// {{{
834
837
  $('testset > transformation',testset).remove();
835
838
  $('testset > dsl',testset).remove();
836
839
  $('testset > dslx',testset).remove();
840
+ $('testset > attributes > uuid',testset).remove();
837
841
  testset.append($X('<transformation xmlns="http://cpee.org/ns/properties/2.0"><description type="copy"/><dataelements type="none"/><endpoints type="none"/></transformation>'));
838
842
  var name = $('testset > attributes > info',testset).text();
839
843
  $('[xmlns]',testset).each((idx,ele) => {
@@ -884,9 +888,7 @@ function save_svgfile() {// {{{
884
888
  type: "GET",
885
889
  url: url + "/properties/attributes/info/",
886
890
  success: function(res){
887
- var name = $(res.documentElement).text();
888
-
889
- $('#savesvgfile').attr('download',name + '.svg');
891
+ $('#savesvgfile').attr('download',res + '.svg');
890
892
  $('#savesvgfile').attr('href','data:application/xml;charset=utf-8;base64,' + $B64(gc.serializeXML()));
891
893
  document.getElementById('savesvgfile').click();
892
894
  },
@@ -909,6 +911,7 @@ async function set_testset(testset,exec) {// {{{
909
911
  tset.append($("testset > attributes",testset));
910
912
  tset.append($("testset > description",testset));
911
913
  tset.append($("testset > transformation",testset));
914
+ $('testset > attributes > info',tset).remove();
912
915
 
913
916
  promises.push(
914
917
  $.ajax({
@@ -22,7 +22,7 @@ $(document).ready(function() {
22
22
  var def = new $.Deferred();
23
23
  def.done(function(name,testset) {
24
24
  $.ajax({
25
- url: $('body').attr('current-save') + name + '.xml',
25
+ url: $('body').attr('current-save') + ($('body').attr('current-save-dir') ? ($('body').attr('current-save-dir') + '/').replace(/\/+/,'/') : '') + name + '.xml',
26
26
  type: 'PUT',
27
27
  contentType: 'application/xml',
28
28
  data: testset.serializePrettyXML(),
Binary file
@@ -1,4 +1,4 @@
1
- <testset>
1
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
2
2
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
3
3
  <handlers>
4
4
  <handler url="http://tango.wst.univie.ac.at:9332">
@@ -18,7 +18,7 @@
18
18
  <grip_and_place>http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
19
19
  <subprocess>https://cpee.org/flow/start/url/</subprocess>
20
20
  <wait>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
21
- <adjust>http://cpee.org/~demo/cpee-cockpit/templates/UR-VUE%202020%20Manual%20Adjust.xml</adjust>
21
+ <adjust>https://cpee.org/flow/templates/UR-VUE%202020%20Manual%20Adjust.xml</adjust>
22
22
  </endpoints>
23
23
  <attributes>
24
24
  <resource>ur51</resource>
@@ -1,7 +1,4 @@
1
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="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
2
  <attribute name="overrun" rngui:label="Interval duration overrun">
6
3
  <choice>
7
4
  <value>wait</value>
@@ -26,6 +23,9 @@
26
23
  </element>
27
24
  </element>
28
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
29
  <element name="_expected" rngui:header="Values Expected to Change">
30
30
  <zeroOrMore rngui:label="Add Value">
31
31
  <element name="value" rngui:label="Value">
@@ -35,6 +35,9 @@
35
35
  </element>
36
36
  </element>
37
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>
38
41
  <element name="_expected" rngui:header="Values Expected to Change">
39
42
  <zeroOrMore rngui:label="Add Value">
40
43
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="value" rngui:label="Value">
@@ -1,7 +1,4 @@
1
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="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
2
  <attribute name="overrun" rngui:label="Interval duration overrun">
6
3
  <choice>
7
4
  <value>wait</value>
@@ -26,6 +23,9 @@
26
23
  </element>
27
24
  </element>
28
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
29
  <element name="_expected" rngui:header="Values Expected to Change">
30
30
  <zeroOrMore rngui:label="Add Value">
31
31
  <element name="value" rngui:label="Value">
@@ -35,6 +35,9 @@
35
35
  </element>
36
36
  </element>
37
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>
38
41
  <element name="_expected" rngui:header="Values Expected to Change">
39
42
  <zeroOrMore rngui:label="Add Value">
40
43
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="value" rngui:label="Value">
@@ -1,7 +1,4 @@
1
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="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
2
  <attribute name="overrun" rngui:label="Interval duration overrun">
6
3
  <choice>
7
4
  <value>wait</value>
@@ -26,6 +23,9 @@
26
23
  </element>
27
24
  </element>
28
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
29
  <element name="_expected" rngui:header="Values Expected to Change">
30
30
  <zeroOrMore rngui:label="Add Value">
31
31
  <element name="value" rngui:label="Value">
@@ -35,6 +35,9 @@
35
35
  </element>
36
36
  </element>
37
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>
38
41
  <element name="_expected" rngui:header="Values Expected to Change">
39
42
  <zeroOrMore rngui:label="Add Value">
40
43
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="value" rngui:label="Value">
@@ -1,7 +1,4 @@
1
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="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
2
  <attribute name="overrun" rngui:label="Interval duration overrun">
6
3
  <choice>
7
4
  <value>wait</value>
@@ -26,6 +23,9 @@
26
23
  </element>
27
24
  </element>
28
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
29
  <element name="_expected" rngui:header="Values Expected to Change">
30
30
  <zeroOrMore rngui:label="Add Value">
31
31
  <element name="value" rngui:label="Value">
@@ -35,6 +35,9 @@
35
35
  </element>
36
36
  </element>
37
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>
38
41
  <element name="_expected" rngui:header="Values Expected to Change">
39
42
  <zeroOrMore rngui:label="Add Value">
40
43
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="value" rngui:label="Value">
@@ -8,6 +8,11 @@
8
8
  <value id="sensor">Read From Sensor</value>
9
9
  <value id="human">Human Task</value>
10
10
  <value id="subprocess">Subprocess</value>
11
+ <value id="robot">Robot Task</value>
12
+ <value id="robot_subprocess">Robot Subprocess</value>
13
+ <value id="plc">PLC</value>
14
+ <value id="send">Send Message</value>
15
+ <value id="receive">Receive Message</value>
11
16
  </choice>
12
17
  </attribute>
13
18
  <element name="parameters" rngui:header="Properties">
@@ -59,4 +64,4 @@
59
64
  </element>
60
65
  </element>
61
66
  </element>
62
- </element>
67
+ </element>
@@ -8,6 +8,11 @@
8
8
  <value id="sensor">Read From Sensor</value>
9
9
  <value id="human">Human Task</value>
10
10
  <value id="subprocess">Subprocess</value>
11
+ <value id="robot">Robot Task</value>
12
+ <value id="robot_subprocess">Robot Subprocess</value>
13
+ <value id="plc">PLC</value>
14
+ <value id="send">Send Message</value>
15
+ <value id="receive">Receive Message</value>
11
16
  </choice>
12
17
  </attribute>
13
18
  <element name="parameters" rngui:header="Properties">
@@ -64,4 +69,4 @@
64
69
  </element>
65
70
  </element>
66
71
  </element>
67
- </element>
72
+ </element>
@@ -241,7 +241,7 @@ function WFAdaptorManifestation(adaptor) {
241
241
  'label': function(node){
242
242
  var ret;
243
243
  if ($('> url',$(node).children('parameters').children('arguments')).length > 0) {
244
- ret = [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') + ' <a target="blank_" href="' + $('> url',$(node).children('parameters').children('arguments')).text() + '"></a>' } ];
244
+ ret = [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') + ' <a target="_blank" href="' + $('> url',$(node).children('parameters').children('arguments')).text() + '"></a>' } ];
245
245
  } else {
246
246
  ret = [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') } ];
247
247
  }
@@ -1,7 +1,4 @@
1
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="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
2
  <attribute name="overrun" rngui:label="Interval duration overrun">
6
3
  <choice>
7
4
  <value>wait</value>
@@ -26,6 +23,9 @@
26
23
  </element>
27
24
  </element>
28
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
29
  <element name="_expected" rngui:header="Values Expected to Change">
30
30
  <zeroOrMore rngui:label="Add Value">
31
31
  <element name="value" rngui:label="Value">
@@ -35,6 +35,9 @@
35
35
  </element>
36
36
  </element>
37
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>
38
41
  <element name="_expected" rngui:header="Values Expected to Change">
39
42
  <zeroOrMore rngui:label="Add Value">
40
43
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="value" rngui:label="Value">
@@ -1,7 +1,4 @@
1
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="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
2
  <attribute name="overrun" rngui:label="Interval duration overrun">
6
3
  <choice>
7
4
  <value>wait</value>
@@ -26,6 +23,9 @@
26
23
  </element>
27
24
  </element>
28
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
29
  <element name="_expected" rngui:header="Values Expected to Change">
30
30
  <zeroOrMore rngui:label="Add Value">
31
31
  <element name="value" rngui:label="Value">
@@ -35,6 +35,9 @@
35
35
  </element>
36
36
  </element>
37
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>
38
41
  <element name="_expected" rngui:header="Values Expected to Change">
39
42
  <zeroOrMore rngui:label="Add Value">
40
43
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="change">
@@ -1,4 +1,7 @@
1
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>
2
5
  <element name="_expected" rngui:header="Values Expected to Change">
3
6
  <zeroOrMore rngui:label="Add Value">
4
7
  <element name="value" rngui:label="Value">
@@ -217,7 +217,7 @@ function WFAdaptorManifestation(adaptor) {
217
217
  self.adaptor.illustrator.get_elements().removeClass('selected');
218
218
  self.adaptor.illustrator.get_labels().removeClass('selected');
219
219
 
220
- if (e && e.ctrlKey) {
220
+ if (e && (e.ctrlKey || e.metaKey)) {
221
221
  if (save['state'] != "ready" && save['state'] != "stopped") { return false; }
222
222
  var tab = $('#dat_details');
223
223
  tab.empty();
@@ -1,13 +1,13 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.0.15"
3
+ s.version = "2.0.20"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
7
7
 
8
8
  s.description = "see http://cpee.org"
9
9
 
10
- s.files = Dir['{example/**/*,server/**/*,tools/**/*,tools/archive,lib/**/*,cockpit/**/*,cockpit/themes/*/*/*,contrib/logo*,contrib/Screen*}'] - Dir['{server/instances/**/*,cockpit/js_libs/**/*}'] + %w(COPYING FEATURES.md INSTALL.md Rakefile cpee.gemspec README.md AUTHORS)
10
+ s.files = Dir['{example/**/*,server/**/*,tools/**/*,tools/archive,lib/**/*,cockpit/**/*,cockpit/themes/*/*/*,contrib/logo*,contrib/Screen*}'] - Dir['{server/instances/**/*,cockpit/js_libs/**/*,server/redis*}'] + %w(COPYING FEATURES.md INSTALL.md Rakefile cpee.gemspec README.md AUTHORS)
11
11
  s.require_path = 'lib'
12
12
  s.extra_rdoc_files = ['README.md']
13
13
  s.bindir = 'tools'