cpee 2.0.28 → 2.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (381) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/config.json +1 -1
  3. data/cockpit/config.json.example +7 -0
  4. data/cockpit/css/wfadaptor.css +11 -0
  5. data/cockpit/js/instance.js +101 -26
  6. data/cockpit/js/wfadaptor.js +2 -0
  7. data/cockpit/templates.legacy/Async.xml +12 -12
  8. data/cockpit/templates.legacy/BCO.xml +9 -11
  9. data/cockpit/templates.legacy/BCS.xml +9 -11
  10. data/cockpit/templates.legacy/Centurio.xml +7 -7
  11. data/cockpit/templates.legacy/Concurrent.xml +7 -7
  12. data/cockpit/templates.legacy/Coopis Testset.xml +7 -7
  13. data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -7
  14. data/cockpit/templates.legacy/ICSOC Testset.xml +7 -7
  15. data/cockpit/templates.legacy/Infinity.xml +7 -7
  16. data/cockpit/templates.legacy/Lego Boxer.xml +13 -13
  17. data/cockpit/templates.legacy/Lego Conveyor.xml +13 -13
  18. data/cockpit/templates.legacy/Lego Crane.xml +16 -16
  19. data/cockpit/templates.legacy/Lego Ejector.xml +16 -16
  20. data/cockpit/templates.legacy/Lego Full.xml +12 -12
  21. data/cockpit/templates.legacy/Lego Liddy.xml +13 -13
  22. data/cockpit/templates.legacy/Lego Plate.xml +13 -13
  23. data/cockpit/templates.legacy/Lego Transporter.xml +14 -14
  24. data/cockpit/templates.legacy/Lego_Part_1.xml +12 -12
  25. data/cockpit/templates.legacy/LgLinear.xml +7 -10
  26. data/cockpit/templates.legacy/Linear.xml +11 -14
  27. data/cockpit/templates.legacy/Log.xml +11 -12
  28. data/cockpit/templates.legacy/Mangler 1.xml +7 -7
  29. data/cockpit/templates.legacy/Mangler 2.xml +7 -7
  30. data/cockpit/templates.legacy/Manuel Labels.xml +11 -11
  31. data/cockpit/templates.legacy/Promise.xml +30 -30
  32. data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +7 -7
  33. data/cockpit/templates.legacy/Subprocess.xml +15 -15
  34. data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
  35. data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
  36. data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
  37. data/cockpit/templates.legacy/Syncing P34.xml +8 -11
  38. data/cockpit/templates.legacy/TEST - Bad Loop.xml +7 -7
  39. data/cockpit/templates.legacy/TEST - Wrong Positions.xml +7 -7
  40. data/cockpit/templates.legacy/Take_5.xml +14 -14
  41. data/cockpit/templates.legacy/Update.xml +11 -11
  42. data/cockpit/templates.legacy/Worklist Parallel.xml +17 -17
  43. data/cockpit/templates.legacy/Worklist Test CPEE.xml +14 -14
  44. data/cockpit/templates.legacy/Worklist Test.xml +14 -14
  45. data/cockpit/templates.legacy/Worklist Test2.xml +14 -14
  46. data/cockpit/templates/Coopis 2010.xml +19 -11
  47. data/cockpit/templates/Coopis 2010.xml.active +1 -0
  48. data/cockpit/templates/Coopis 2010.xml.active-uuid +1 -0
  49. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +13 -12
  50. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +13 -12
  51. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +13 -12
  52. data/cockpit/templates/Track Test Local.xml +3 -3
  53. data/cockpit/templates/Track Test.xml +2 -2
  54. data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +2 -2
  55. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +2 -2
  56. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +2 -2
  57. data/cockpit/templates/UR-VUE 2020 Solution View.xml +2 -2
  58. data/cockpit/templates/UR-VUE 2020.xml +4 -2
  59. data/cockpit/templates/Worklist.xml +19 -14
  60. data/cockpit/templates/instantiate.local/Take_Sub.xml +2 -2
  61. data/cockpit/templates/instantiate/Take_Perf.xml +1 -1
  62. data/cockpit/templates/instantiate/Take_Sub.xml +2 -2
  63. data/cockpit/templates/instantiate/Take_X.xml +2 -2
  64. data/cockpit/themes/compact/rngs/call.rng +17 -8
  65. data/cockpit/themes/compact/rngs/callmanipulate.rng +18 -9
  66. data/cockpit/themes/compact/rngs/parallel.rng +6 -0
  67. data/cockpit/themes/compact/rngs/start.rng +83 -0
  68. data/cockpit/themes/compact/symbols/parallel_branch_event.svg +2 -2
  69. data/cockpit/themes/compact/symbols/parallel_eventbased_exclusive.svg +9 -0
  70. data/cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg +8 -0
  71. data/cockpit/themes/compact/symbols/start.svg +1 -1
  72. data/cockpit/themes/compact/theme.js +46 -3
  73. data/cockpit/themes/control/rngs/call.rng +17 -8
  74. data/cockpit/themes/control/rngs/callmanipulate.rng +18 -9
  75. data/cockpit/themes/control/rngs/parallel.rng +6 -0
  76. data/cockpit/themes/control/rngs/start.rng +83 -0
  77. data/cockpit/themes/control/symbols/parallel_branch_event.svg +2 -2
  78. data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +9 -0
  79. data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +8 -0
  80. data/cockpit/themes/control/symbols/start.svg +1 -1
  81. data/cockpit/themes/control/theme.js +45 -2
  82. data/cockpit/themes/default/rngs/call.rng +17 -8
  83. data/cockpit/themes/default/rngs/callmanipulate.rng +18 -9
  84. data/cockpit/themes/default/rngs/parallel.rng +6 -0
  85. data/cockpit/themes/default/rngs/start.rng +83 -0
  86. data/cockpit/themes/default/symbols/parallel_branch_event.svg +2 -2
  87. data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +9 -0
  88. data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +8 -0
  89. data/cockpit/themes/default/symbols/start.svg +1 -1
  90. data/cockpit/themes/default/theme.js +46 -3
  91. data/cockpit/themes/extended/rngs/call.rng +17 -8
  92. data/cockpit/themes/extended/rngs/callmanipulate.rng +18 -9
  93. data/cockpit/themes/extended/rngs/parallel.rng +6 -0
  94. data/cockpit/themes/extended/rngs/start.rng +83 -0
  95. data/cockpit/themes/extended/symbols/parallel_branch_event.svg +2 -2
  96. data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +9 -0
  97. data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +8 -0
  98. data/cockpit/themes/extended/symbols/start.svg +1 -1
  99. data/cockpit/themes/extended/theme.js +46 -3
  100. data/cockpit/themes/model/symbols/parallel_branch_event.svg +2 -2
  101. data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +9 -0
  102. data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +8 -0
  103. data/cockpit/themes/model/symbols/start.svg +1 -1
  104. data/cockpit/themes/model/theme.js +45 -2
  105. data/cockpit/themes/packed/rngs/call.rng +17 -8
  106. data/cockpit/themes/packed/rngs/callmanipulate.rng +18 -9
  107. data/cockpit/themes/packed/rngs/parallel.rng +6 -0
  108. data/cockpit/themes/packed/rngs/start.rng +83 -0
  109. data/cockpit/themes/packed/symbols/parallel_branch_event.svg +2 -2
  110. data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +9 -0
  111. data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +8 -0
  112. data/cockpit/themes/packed/symbols/start.svg +1 -1
  113. data/cockpit/themes/packed/theme.js +46 -3
  114. data/cockpit/themes/preset/rngs/call.rng +17 -8
  115. data/cockpit/themes/preset/rngs/callmanipulate.rng +18 -9
  116. data/cockpit/themes/preset/rngs/parallel.rng +6 -0
  117. data/cockpit/themes/preset/rngs/start.rng +83 -0
  118. data/cockpit/themes/preset/symbols/parallel_branch_event.svg +2 -2
  119. data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +9 -0
  120. data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +8 -0
  121. data/cockpit/themes/preset/symbols/start.svg +1 -1
  122. data/cockpit/themes/preset/theme.js +46 -3
  123. data/cpee.gemspec +3 -3
  124. data/lib/cpee/attributes_helper.rb +14 -0
  125. data/lib/cpee/implementation.rb +10 -8
  126. data/lib/cpee/implementation_callbacks.rb +14 -0
  127. data/lib/cpee/implementation_notifications.rb +19 -5
  128. data/lib/cpee/implementation_properties.rb +128 -24
  129. data/lib/cpee/persistence.rb +0 -27
  130. data/lib/cpee/statemachine.rb +14 -0
  131. data/lib/cpee/value_helper.rb +14 -0
  132. data/lib/properties.xml +4 -4
  133. data/lib/properties/{handlerwrapper.rng → executionhandler.rng} +3 -3
  134. data/lib/properties/properties.rng +2 -2
  135. data/lib/properties/set-properties.rng +2 -2
  136. data/lib/properties/set-some-properties.rng +2 -2
  137. data/server/{resources → executionhandlers/ruby}/backend/README.md +0 -0
  138. data/server/{resources → executionhandlers/ruby}/backend/instance.template +2 -4
  139. data/server/{resources → executionhandlers/ruby}/backend/opts.yaml +2 -2
  140. data/server/executionhandlers/ruby/backend/run +37 -0
  141. data/server/{handlerwrappers/default.rb → executionhandlers/ruby/connection.rb} +3 -3
  142. data/server/executionhandlers/ruby/controller.rb +195 -0
  143. data/server/{resources/transformation_dslx.xsl → executionhandlers/ruby/dsl_to_dslx.xsl} +57 -8
  144. data/server/executionhandlers/ruby/execution.rb +81 -0
  145. data/server/resources/properties.empty +1 -1
  146. data/server/resources/properties.init +1 -1
  147. data/server/resources/topics.xml +2 -2
  148. data/server/routing/end.pid +1 -1
  149. data/server/routing/forward-events.pid +1 -1
  150. data/server/routing/forward-votes.pid +1 -1
  151. data/server/routing/persist.pid +1 -1
  152. data/server/routing/persist.rb +3 -3
  153. data/tools/cpee +16 -10
  154. data/tools/server/cpee +1 -1
  155. data/tools/server/resources/properties.init +1 -1
  156. metadata +39 -238
  157. data/cockpit/js_libs.zip +0 -0
  158. data/cockpit/templates.legacy/convert_cpee2.rb +0 -15
  159. data/lib/cpee/controller.rb +0 -199
  160. data/lib/cpee/transform.rb +0 -95
  161. data/lib/instantiation.xml +0 -125
  162. data/server/resources/backend/instance.rb +0 -23
  163. data/server/resources/backend/run +0 -33
  164. data/server/server.pid +0 -1
  165. data/tools/test/README +0 -4
  166. data/tools/test/config.json +0 -3
  167. data/tools/test/contrib/graph_example.svg +0 -1166
  168. data/tools/test/contrib/legend.svg +0 -817
  169. data/tools/test/contrib/symbols.svg +0 -224
  170. data/tools/test/contrib/transformation1.xsl +0 -264
  171. data/tools/test/contrib/transformation2.xsl +0 -10
  172. data/tools/test/contrib/tree_example.svg +0 -788
  173. data/tools/test/css/model.css +0 -24
  174. data/tools/test/css/track.css +0 -60
  175. data/tools/test/css/ui.css +0 -214
  176. data/tools/test/css/wfadaptor.css +0 -422
  177. data/tools/test/edit.html +0 -258
  178. data/tools/test/graph.html +0 -69
  179. data/tools/test/index.html +0 -258
  180. data/tools/test/js/details.js +0 -109
  181. data/tools/test/js/instance.js +0 -1344
  182. data/tools/test/js/model.js +0 -41
  183. data/tools/test/js/parameters.js +0 -82
  184. data/tools/test/js/track.js +0 -18
  185. data/tools/test/js/ui.js +0 -104
  186. data/tools/test/js/wfadaptor.js +0 -763
  187. data/tools/test/js_libs.zip +0 -0
  188. data/tools/test/js_libs/Makefile +0 -2
  189. data/tools/test/js_libs/ansi_up.js +0 -333
  190. data/tools/test/js_libs/console.js +0 -80
  191. data/tools/test/js_libs/custommenu.css +0 -84
  192. data/tools/test/js_libs/custommenu.js +0 -104
  193. data/tools/test/js_libs/experiments1/relaxngui.css +0 -185
  194. data/tools/test/js_libs/experiments1/relaxngui.js +0 -488
  195. data/tools/test/js_libs/experiments1/rngtest9.html +0 -60
  196. data/tools/test/js_libs/experiments1/rngtest9.rng +0 -35
  197. data/tools/test/js_libs/experiments1/rngtest9.xml +0 -8
  198. data/tools/test/js_libs/jquery-2.2.4.min.js +0 -4
  199. data/tools/test/js_libs/jquery-3.2.1.min.js +0 -4
  200. data/tools/test/js_libs/jquery-3.3.1.min.js +0 -2
  201. data/tools/test/js_libs/jquery.browser.js +0 -40
  202. data/tools/test/js_libs/jquery.caret.min.js +0 -10
  203. data/tools/test/js_libs/jquery.cookie.js +0 -117
  204. data/tools/test/js_libs/jquery.min.js +0 -1
  205. data/tools/test/js_libs/jquery.svg.min.js +0 -6
  206. data/tools/test/js_libs/jquery.svgdom.min.js +0 -6
  207. data/tools/test/js_libs/markdown.min.js +0 -1
  208. data/tools/test/js_libs/parsequery.js +0 -21
  209. data/tools/test/js_libs/printf.js +0 -368
  210. data/tools/test/js_libs/relaxngui.css +0 -213
  211. data/tools/test/js_libs/relaxngui.js +0 -543
  212. data/tools/test/js_libs/strftime.min.js +0 -1
  213. data/tools/test/js_libs/tests/dataelements.html +0 -59
  214. data/tools/test/js_libs/tests/dataelements.rng +0 -8
  215. data/tools/test/js_libs/tests/dataelements.xml +0 -3
  216. data/tools/test/js_libs/tests/relaxngui.css +0 -203
  217. data/tools/test/js_libs/tests/relaxngui.js +0 -502
  218. data/tools/test/js_libs/tests/rngtest1.html +0 -66
  219. data/tools/test/js_libs/tests/rngtest1.rng +0 -147
  220. data/tools/test/js_libs/tests/rngtest1.xml +0 -13
  221. data/tools/test/js_libs/tests/rngtest2.html +0 -60
  222. data/tools/test/js_libs/tests/rngtest2.rng +0 -6
  223. data/tools/test/js_libs/tests/rngtest2.xml +0 -3
  224. data/tools/test/js_libs/tests/rngtest3.html +0 -60
  225. data/tools/test/js_libs/tests/rngtest3.rng +0 -23
  226. data/tools/test/js_libs/tests/rngtest3.xml +0 -9
  227. data/tools/test/js_libs/tests/rngtest4.html +0 -60
  228. data/tools/test/js_libs/tests/rngtest4.rng +0 -19
  229. data/tools/test/js_libs/tests/rngtest4.xml +0 -12
  230. data/tools/test/js_libs/tests/rngtest5.html +0 -60
  231. data/tools/test/js_libs/tests/rngtest5.rng +0 -75
  232. data/tools/test/js_libs/tests/rngtest5.xml +0 -40
  233. data/tools/test/js_libs/tests/rngtest6.html +0 -60
  234. data/tools/test/js_libs/tests/rngtest6.rng +0 -24
  235. data/tools/test/js_libs/tests/rngtest6.xml +0 -6
  236. data/tools/test/js_libs/tests/rngtest8.html +0 -60
  237. data/tools/test/js_libs/tests/rngtest8.rng +0 -13
  238. data/tools/test/js_libs/tests/rngtest8.xml +0 -2
  239. data/tools/test/js_libs/tests/rngtest9.html +0 -60
  240. data/tools/test/js_libs/tests/rngtest9.rng +0 -31
  241. data/tools/test/js_libs/tests/rngtest9.xml +0 -8
  242. data/tools/test/js_libs/ui.css +0 -333
  243. data/tools/test/js_libs/ui.html +0 -168
  244. data/tools/test/js_libs/ui.js +0 -177
  245. data/tools/test/js_libs/underscore.min.js +0 -27
  246. data/tools/test/js_libs/util.js +0 -81
  247. data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +0 -358
  248. data/tools/test/js_libs/vkbeautify.js +0 -1
  249. data/tools/test/js_libs/webcomponents.min.js +0 -196
  250. data/tools/test/model.html +0 -192
  251. data/tools/test/rngs/attributes.rng +0 -8
  252. data/tools/test/rngs/dataelements.rng +0 -8
  253. data/tools/test/rngs/endpoints.rng +0 -8
  254. data/tools/test/templates.legacy/Async.xml +0 -46
  255. data/tools/test/templates.legacy/BCO.xml +0 -70
  256. data/tools/test/templates.legacy/BCS.xml +0 -70
  257. data/tools/test/templates.legacy/Centurio.xml +0 -75
  258. data/tools/test/templates.legacy/Concurrent.xml +0 -40
  259. data/tools/test/templates.legacy/Coopis Testset.xml +0 -76
  260. data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +0 -30
  261. data/tools/test/templates.legacy/ICSOC Testset.xml +0 -95
  262. data/tools/test/templates.legacy/Infinity.xml +0 -28
  263. data/tools/test/templates.legacy/Lego Boxer.xml +0 -31
  264. data/tools/test/templates.legacy/Lego Conveyor.xml +0 -31
  265. data/tools/test/templates.legacy/Lego Crane.xml +0 -87
  266. data/tools/test/templates.legacy/Lego Ejector.xml +0 -55
  267. data/tools/test/templates.legacy/Lego Full.xml +0 -142
  268. data/tools/test/templates.legacy/Lego Liddy.xml +0 -40
  269. data/tools/test/templates.legacy/Lego Plate.xml +0 -31
  270. data/tools/test/templates.legacy/Lego Transporter.xml +0 -43
  271. data/tools/test/templates.legacy/Lego_Part_1.xml +0 -85
  272. data/tools/test/templates.legacy/LgLinear.xml +0 -65
  273. data/tools/test/templates.legacy/Linear.xml +0 -77
  274. data/tools/test/templates.legacy/Log.xml +0 -117
  275. data/tools/test/templates.legacy/Mangler 1.xml +0 -87
  276. data/tools/test/templates.legacy/Mangler 2.xml +0 -103
  277. data/tools/test/templates.legacy/Manuel Labels.xml +0 -55
  278. data/tools/test/templates.legacy/Promise.xml +0 -275
  279. data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +0 -83
  280. data/tools/test/templates.legacy/Subprocess.xml +0 -56
  281. data/tools/test/templates.legacy/Syncing P34 1.xml +0 -77
  282. data/tools/test/templates.legacy/Syncing P34 2.xml +0 -77
  283. data/tools/test/templates.legacy/Syncing P34 3.xml +0 -77
  284. data/tools/test/templates.legacy/Syncing P34.xml +0 -77
  285. data/tools/test/templates.legacy/TEST - Bad Loop.xml +0 -173
  286. data/tools/test/templates.legacy/TEST - Wrong Positions.xml +0 -174
  287. data/tools/test/templates.legacy/Take_5.xml +0 -48
  288. data/tools/test/templates.legacy/Update.xml +0 -32
  289. data/tools/test/templates.legacy/Worklist Parallel.xml +0 -104
  290. data/tools/test/templates.legacy/Worklist Test CPEE.xml +0 -40
  291. data/tools/test/templates.legacy/Worklist Test.xml +0 -42
  292. data/tools/test/templates.legacy/Worklist Test2.xml +0 -43
  293. data/tools/test/templates.legacy/convert_cpee2.rb +0 -15
  294. data/tools/test/templates.legacy/convert_preset.rb +0 -32
  295. data/tools/test/templates.legacy/testsets.xml +0 -37
  296. data/tools/test/templates.legacy/transformations.xml +0 -4
  297. data/tools/test/templates/Coopis 2010.xml +0 -76
  298. data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +0 -77
  299. data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +0 -77
  300. data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +0 -77
  301. data/tools/test/templates/Track Test Local.xml +0 -82
  302. data/tools/test/templates/Track Test.xml +0 -82
  303. data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +0 -182
  304. data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +0 -203
  305. data/tools/test/templates/UR-VUE 2020 Solution NN.xml +0 -197
  306. data/tools/test/templates/UR-VUE 2020 Solution View.xml +0 -151
  307. data/tools/test/templates/UR-VUE 2020.xml +0 -26
  308. data/tools/test/templates/Worklist.xml +0 -42
  309. data/tools/test/templates/instantiate.local/Take_Sub.xml +0 -59
  310. data/tools/test/templates/instantiate/Take_Perf.xml +0 -46
  311. data/tools/test/templates/instantiate/Take_Sub.xml +0 -58
  312. data/tools/test/templates/instantiate/Take_X.xml +0 -48
  313. data/tools/test/themes/compact/theme.js +0 -1285
  314. data/tools/test/themes/diana/theme.js +0 -1650
  315. data/tools/test/themes/extended/theme.js +0 -1325
  316. data/tools/test/themes/model/rngs/alternative.rng +0 -1
  317. data/tools/test/themes/model/rngs/call.rng +0 -67
  318. data/tools/test/themes/model/rngs/callmanipulate.rng +0 -72
  319. data/tools/test/themes/model/rngs/choose.rng +0 -1
  320. data/tools/test/themes/model/rngs/critical.rng +0 -1
  321. data/tools/test/themes/model/rngs/escape.rng +0 -1
  322. data/tools/test/themes/model/rngs/group.rng +0 -1
  323. data/tools/test/themes/model/rngs/loop.rng +0 -1
  324. data/tools/test/themes/model/rngs/manipulate.rng +0 -1
  325. data/tools/test/themes/model/rngs/otherwise.rng +0 -1
  326. data/tools/test/themes/model/rngs/parallel.rng +0 -1
  327. data/tools/test/themes/model/rngs/parallel_branch.rng +0 -1
  328. data/tools/test/themes/model/rngs/scripts.rng +0 -7
  329. data/tools/test/themes/model/rngs/stop.rng +0 -1
  330. data/tools/test/themes/model/rngs/terminate.rng +0 -1
  331. data/tools/test/themes/model/theme.js +0 -1268
  332. data/tools/test/themes/packed/theme.js +0 -1286
  333. data/tools/test/themes/preset/rngs/alternative.rng +0 -25
  334. data/tools/test/themes/preset/rngs/call.rng +0 -122
  335. data/tools/test/themes/preset/rngs/callmanipulate.rng +0 -145
  336. data/tools/test/themes/preset/rngs/choose.rng +0 -14
  337. data/tools/test/themes/preset/rngs/closed_loop.rng +0 -62
  338. data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +0 -5
  339. data/tools/test/themes/preset/rngs/closed_loop_control.rng +0 -31
  340. data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +0 -12
  341. data/tools/test/themes/preset/rngs/critical.rng +0 -5
  342. data/tools/test/themes/preset/rngs/escape.rng +0 -1
  343. data/tools/test/themes/preset/rngs/group.rng +0 -3
  344. data/tools/test/themes/preset/rngs/loop.rng +0 -22
  345. data/tools/test/themes/preset/rngs/manipulate.rng +0 -9
  346. data/tools/test/themes/preset/rngs/otherwise.rng +0 -22
  347. data/tools/test/themes/preset/rngs/parallel.rng +0 -21
  348. data/tools/test/themes/preset/rngs/parallel_branch.rng +0 -8
  349. data/tools/test/themes/preset/rngs/scripts.rng +0 -23
  350. data/tools/test/themes/preset/rngs/stop.rng +0 -5
  351. data/tools/test/themes/preset/rngs/terminate.rng +0 -1
  352. data/tools/test/themes/preset/symbols/alternative.svg +0 -5
  353. data/tools/test/themes/preset/symbols/arrow.svg +0 -3
  354. data/tools/test/themes/preset/symbols/call.svg +0 -6
  355. data/tools/test/themes/preset/symbols/callmanipulate.svg +0 -8
  356. data/tools/test/themes/preset/symbols/choose.svg +0 -5
  357. data/tools/test/themes/preset/symbols/choose_exclusive.svg +0 -5
  358. data/tools/test/themes/preset/symbols/choose_inclusive.svg +0 -4
  359. data/tools/test/themes/preset/symbols/closed_loop.svg +0 -5
  360. data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +0 -5
  361. data/tools/test/themes/preset/symbols/closed_loop_control.svg +0 -5
  362. data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +0 -6
  363. data/tools/test/themes/preset/symbols/complex.svg +0 -8
  364. data/tools/test/themes/preset/symbols/critical.svg +0 -4
  365. data/tools/test/themes/preset/symbols/end.svg +0 -3
  366. data/tools/test/themes/preset/symbols/escape.svg +0 -5
  367. data/tools/test/themes/preset/symbols/event_end.svg +0 -3
  368. data/tools/test/themes/preset/symbols/loop.svg +0 -5
  369. data/tools/test/themes/preset/symbols/manipulate.svg +0 -4
  370. data/tools/test/themes/preset/symbols/otherwise.svg +0 -5
  371. data/tools/test/themes/preset/symbols/parallel.svg +0 -5
  372. data/tools/test/themes/preset/symbols/parallel_branch.svg +0 -5
  373. data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +0 -4
  374. data/tools/test/themes/preset/symbols/parallel_branch_event.svg +0 -14
  375. data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +0 -5
  376. data/tools/test/themes/preset/symbols/scripts.svg +0 -4
  377. data/tools/test/themes/preset/symbols/start.svg +0 -3
  378. data/tools/test/themes/preset/symbols/stop.svg +0 -5
  379. data/tools/test/themes/preset/symbols/terminate.svg +0 -4
  380. data/tools/test/themes/preset/theme.js +0 -1287
  381. data/tools/test/track.html +0 -142
@@ -4,24 +4,27 @@
4
4
  <xsl:strip-space elements="*"/>
5
5
  <xsl:variable name="myspacemultiplier">2</xsl:variable>
6
6
  <xsl:template match="/">
7
+ <xsl:text>control flow do</xsl:text>
8
+ <xsl:call-template name="print-newline"/>
7
9
  <xsl:apply-templates select="//d:description"/>
10
+ <xsl:text>end</xsl:text>
8
11
  </xsl:template>
9
12
  <xsl:template match="//d:description">
10
13
  <xsl:apply-templates>
11
14
  <xsl:with-param name="myspace">
12
- <xsl:value-of select="-1*$myspacemultiplier"/>
15
+ <xsl:value-of select="0*$myspacemultiplier"/>
13
16
  </xsl:with-param>
14
17
  </xsl:apply-templates>
15
18
  </xsl:template>
16
19
  <xsl:template match="*">
17
20
  <xsl:param name="myspace"/>
18
- <xsl:call-template name="print-space">
19
- <xsl:with-param name="i">1</xsl:with-param>
20
- <xsl:with-param name="count">
21
- <xsl:value-of select="$myspace+$myspacemultiplier"/>
22
- </xsl:with-param>
23
- </xsl:call-template>
24
21
  <xsl:if test="name()='call' or name()='manipulate'">
22
+ <xsl:call-template name="print-space">
23
+ <xsl:with-param name="i">1</xsl:with-param>
24
+ <xsl:with-param name="count">
25
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
26
+ </xsl:with-param>
27
+ </xsl:call-template>
25
28
  <xsl:value-of select="name()"/>
26
29
  <xsl:text> :</xsl:text>
27
30
  <xsl:value-of select="@id"/>
@@ -94,26 +97,54 @@
94
97
  <xsl:value-of select="$myspace"/>
95
98
  </xsl:with-param>
96
99
  </xsl:call-template>
97
- <xsl:call-template name="print-newline"/>
100
+ <xsl:call-template name="print-newline"></xsl:call-template>
98
101
  </xsl:if>
99
102
  <xsl:if test="name()='terminate'">
103
+ <xsl:call-template name="print-space">
104
+ <xsl:with-param name="i">1</xsl:with-param>
105
+ <xsl:with-param name="count">
106
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
107
+ </xsl:with-param>
108
+ </xsl:call-template>
100
109
  <xsl:text>terminate</xsl:text>
101
110
  <xsl:call-template name="print-newline"/>
102
111
  </xsl:if>
103
112
  <xsl:if test="name()='stop'">
113
+ <xsl:call-template name="print-space">
114
+ <xsl:with-param name="i">1</xsl:with-param>
115
+ <xsl:with-param name="count">
116
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
117
+ </xsl:with-param>
118
+ </xsl:call-template>
104
119
  <xsl:text>stop :</xsl:text>
105
120
  <xsl:value-of select="@id"/>
106
121
  <xsl:call-template name="print-newline"/>
107
122
  </xsl:if>
108
123
  <xsl:if test="name()='escape'">
124
+ <xsl:call-template name="print-space">
125
+ <xsl:with-param name="i">1</xsl:with-param>
126
+ <xsl:with-param name="count">
127
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
128
+ </xsl:with-param>
129
+ </xsl:call-template>
109
130
  <xsl:text>escape</xsl:text>
110
131
  <xsl:call-template name="print-newline"/>
111
132
  </xsl:if>
112
133
  <xsl:if test="name()='parallel'">
134
+ <xsl:call-template name="print-space">
135
+ <xsl:with-param name="i">1</xsl:with-param>
136
+ <xsl:with-param name="count">
137
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
138
+ </xsl:with-param>
139
+ </xsl:call-template>
113
140
  <xsl:text>parallel</xsl:text>
114
141
  <xsl:if test="@wait">
115
142
  <xsl:text> :wait =&gt; </xsl:text>
116
143
  <xsl:value-of select="@wait"/>
144
+ <xsl:if test="@cancel">
145
+ <xsl:text>, :cancel =&gt; :</xsl:text>
146
+ <xsl:value-of select="@cancel"/>
147
+ </xsl:if>
117
148
  </xsl:if>
118
149
  <xsl:text> do</xsl:text>
119
150
  <xsl:call-template name="print-newline"/>
@@ -132,6 +163,12 @@
132
163
  <xsl:call-template name="print-newline"/>
133
164
  </xsl:if>
134
165
  <xsl:if test="name()='loop'">
166
+ <xsl:call-template name="print-space">
167
+ <xsl:with-param name="i">1</xsl:with-param>
168
+ <xsl:with-param name="count">
169
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
170
+ </xsl:with-param>
171
+ </xsl:call-template>
135
172
  <xsl:text>loop </xsl:text>
136
173
  <xsl:if test="@mode='pre_test'">
137
174
  <xsl:choose>
@@ -185,6 +222,12 @@
185
222
  <xsl:call-template name="print-newline"/>
186
223
  </xsl:if>
187
224
  <xsl:if test="name()='choose'">
225
+ <xsl:call-template name="print-space">
226
+ <xsl:with-param name="i">1</xsl:with-param>
227
+ <xsl:with-param name="count">
228
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
229
+ </xsl:with-param>
230
+ </xsl:call-template>
188
231
  <xsl:text>choose </xsl:text>
189
232
  <xsl:choose>
190
233
  <xsl:when test="@mode='exclusive'">
@@ -219,6 +262,12 @@
219
262
  <xsl:call-template name="print-newline"/>
220
263
  </xsl:if>
221
264
  <xsl:if test="name()='critical'">
265
+ <xsl:call-template name="print-space">
266
+ <xsl:with-param name="i">1</xsl:with-param>
267
+ <xsl:with-param name="count">
268
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
269
+ </xsl:with-param>
270
+ </xsl:call-template>
222
271
  <xsl:text>critical :</xsl:text>
223
272
  <xsl:value-of select="@sid"/>
224
273
  <xsl:text> do</xsl:text>
@@ -0,0 +1,81 @@
1
+ # This file is part of CPEE.
2
+ #
3
+ # CPEE is free software: you can redistribute it and/or modify it under the terms
4
+ # of the GNU General Public License as published by the Free Software Foundation,
5
+ # either version 3 of the License, or (at your option) any later version.
6
+ #
7
+ # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
8
+ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
9
+ # PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ #
11
+ # You should have received a copy of the GNU General Public License along with
12
+ # CPEE (file COPYING in the main directory). If not, see
13
+ # <http://www.gnu.org/licenses/>.
14
+
15
+ module CPEE
16
+
17
+ module ExecutionHandler
18
+
19
+ module Ruby
20
+ BACKEND_INSTANCE = 'instance.rb'
21
+ BACKEND_OPTS = 'opts.yaml'
22
+ DSL_TO_DSLX_XSL = File.expand_path(File.join(__dir__,'dsl_to_dslx.xsl'))
23
+ BACKEND_RUN = File.expand_path(File.join(__dir__,'backend','run'))
24
+ BACKEND_TEMPLATE = File.expand_path(File.join(__dir__,'backend','instance.template'))
25
+
26
+ def self::dslx_to_dsl(dslx) # transpile
27
+ trans = XML::Smart::open_unprotected(ExecutionHandler::Ruby::DSL_TO_DSLX_XSL)
28
+ dslx.transform_with(trans).to_s
29
+ end
30
+
31
+ def self::prepare(id,opts) # write result to disk
32
+ Dir.mkdir(File.join(opts[:instances],id.to_s)) rescue nil
33
+ FileUtils.copy(ExecutionHandler::Ruby::BACKEND_RUN,File.join(opts[:instances],id.to_s))
34
+ dsl = CPEE::Persistence::extract_item(id,opts,'dsl')
35
+ hw = CPEE::Persistence::extract_item(id,opts,'executionhandler')
36
+ endpoints = CPEE::Persistence::extract_list(id,opts,'endpoints')
37
+ dataelements = CPEE::Persistence::extract_list(id,opts,'dataelements')
38
+ positions = CPEE::Persistence::extract_set(id,opts,'positions')
39
+ positions.map! do |k, v|
40
+ [ k, v, CPEE::Persistence::extract_item(id,opts,File.join('positions',k,'@passthrough')) ]
41
+ end
42
+ File.open(File.join(opts[:instances],id.to_s,ExecutionHandler::Ruby::BACKEND_OPTS),'w') do |f|
43
+ YAML::dump({
44
+ :host => opts[:host],
45
+ :url => opts[:url],
46
+ :redis_url => opts[:redis_url],
47
+ :redis_path => File.join(opts[:basepath],opts[:redis_path]),
48
+ :redis_db => opts[:redis_db],
49
+ :global_executionhandlers => opts[:global_executionhandlers],
50
+ :executionhandlers => opts[:executionhandlers],
51
+ :executionhandler => hw
52
+ },f)
53
+ end
54
+ template = ERB.new(File.read(ExecutionHandler::Ruby::BACKEND_TEMPLATE), trim_mode: '-')
55
+ res = template.result_with_hash(dsl: dsl, dataelements: dataelements, endpoints: endpoints, positions: positions)
56
+ File.write(File.join(opts[:instances],id.to_s,ExecutionHandler::Ruby::BACKEND_INSTANCE),res)
57
+ end
58
+
59
+ def self::run(id,opts)
60
+ exe = File.join(opts[:instances],id.to_s,File.basename(ExecutionHandler::Ruby::BACKEND_RUN))
61
+ pid = Kernel.spawn(exe , :pgroup => true, :in => '/dev/null', :out => exe + '.out', :err => exe + '.err')
62
+ Process.detach pid
63
+ File.write(exe + '.pid',pid)
64
+ end
65
+
66
+ def self::stop(id,opts) ### return: bool to tell if manually changing redis is necessary
67
+ exe = File.join(opts[:instances],id.to_s,File.basename(ExecutionHandler::Ruby::BACKEND_RUN))
68
+ pid = File.read(exe + '.pid') rescue nil
69
+ if pid && (Process.kill(0, pid.to_i) rescue false)
70
+ Process.kill('HUP', pid.to_i) rescue nil
71
+ false
72
+ else # its not running, so clean up
73
+ File.unlink(exe + '.pid') rescue nil
74
+ true
75
+ end
76
+ end
77
+ end
78
+
79
+ end
80
+
81
+ end
@@ -22,7 +22,7 @@
22
22
  <id>0</id>
23
23
  <message>undefined</message>
24
24
  </status>
25
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
25
+ <executionhandler>ruby</executionhandler>
26
26
  <positions/>
27
27
  <dataelements/>
28
28
  <endpoints/>
@@ -22,7 +22,7 @@
22
22
  <id>0</id>
23
23
  <message>undefined</message>
24
24
  </status>
25
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
25
+ <executionhandler>ruby</executionhandler>
26
26
  <positions/>
27
27
  <dataelements/>
28
28
  <endpoints>
@@ -52,9 +52,9 @@
52
52
  <topic id='attributes'>
53
53
  <event>change</event>
54
54
  </topic>
55
- <topic id='handlerwrapper'>
56
- <event>error</event>
55
+ <topic id='executionhandler'>
57
56
  <event>change</event>
57
+ <event>error</event>
58
58
  </topic>
59
59
  <topic id='transformation'>
60
60
  <event>change</event>
@@ -1 +1 @@
1
- 592867
1
+ 430947
@@ -1 +1 @@
1
- 592855
1
+ 430935
@@ -1 +1 @@
1
- 592859
1
+ 430939
@@ -1 +1 @@
1
- 592863
1
+ 430943
@@ -22,7 +22,7 @@ require_relative '../../lib/cpee/redis'
22
22
 
23
23
  EVENTS = %w{
24
24
  event:state/change
25
- event:handlerwrapper/change
25
+ event:executionhandler/change
26
26
  event:description/change
27
27
  event:dataelements/change
28
28
  event:endpoints/change
@@ -69,8 +69,8 @@ Daemonite.new do |opts|
69
69
  multi.set("instance:#{instance}/state",mess.dig('content','state'))
70
70
  multi.set("instance:#{instance}/state/@changed",mess.dig('timestamp'))
71
71
  end
72
- when 'event:handlerwrapper/change'
73
- opts[:redis].set("instance:#{instance}/handlerwrapper",mess.dig('content','handlerwrapper'))
72
+ when 'event:executionhandler/change'
73
+ opts[:redis].set("instance:#{instance}/executionhandler",mess.dig('content','executionhandler'))
74
74
  when 'event:description/change'
75
75
  opts[:redis].multi do |multi|
76
76
  multi.set("instance:#{instance}/description",mess.dig('content','description'))
data/tools/cpee CHANGED
@@ -94,13 +94,13 @@ if command == 'ui'
94
94
  s.start
95
95
  end
96
96
  elsif command == 'cpui'
97
- if !File.exists?(p1)
98
- FileUtils.cp_r(cockpit,p1)
99
- else
100
- FileUtils.cp_r(Dir.glob(File.join(cockpit,'*')),p1,remove_destination: true)
101
- puts "Directory already exists, updating ..."
102
- end
103
- js_libs(p1)
97
+ if !File.exists?(p1)
98
+ FileUtils.cp_r(cockpit,p1)
99
+ else
100
+ FileUtils.cp_r(Dir.glob(File.join(cockpit,'*')).delete_if{|e| e =~ /\.json/ || e=~ /legacy/ })
101
+ puts "Directory already exists, updating ..."
102
+ end
103
+ js_libs(p1)
104
104
  elsif command == 'convert'
105
105
  Dir['*.xml'].each do |f|
106
106
  XML::Smart.modify(f) do |doc|
@@ -111,11 +111,17 @@ elsif command == 'convert'
111
111
  doc.root.namespaces[nil] = 'http://cpee.org/ns/properties/2.0'
112
112
  doc.root.namespace = nil
113
113
 
114
+ doc.find('//x:handlerwrapper').each do |e|
115
+ if e.text == 'DefaultHandlerWrapper'
116
+ doc.root.prepend('x:executionhandler','ruby')
117
+ end
118
+ end rescue nil
119
+ doc.find('//x:handlerwrapper').delete_all!
114
120
  doc.find('//x:start_url').each do |e|
115
- e.text = 'https://centurio.work/flow-test/start/url/'
121
+ e.text = 'https://cpee.org/flow/start/url/'
116
122
  end rescue nil
117
123
  doc.find('//x:start_git').each do |e|
118
- e.text = 'https://centurio.work/flow-test/start/git/'
124
+ e.text = 'https://cpee.org/flow/start/git/'
119
125
  end rescue nil
120
126
  doc.find('//d:finalize | //d:update | //d:prepare | //d:rescue').each do |e|
121
127
  if e.parent.qname.name != 'code'
@@ -257,7 +263,7 @@ elsif command == 'new'
257
263
  FileUtils.mkdir("#{p1}/archive") rescue nil
258
264
  FileUtils.mkdir("#{p1}/instances") rescue nil
259
265
  FileUtils.mkdir("#{p1}/resources") rescue nil
260
- FileUtils.mkdir("#{p1}/handlerwrappers") rescue nil
266
+ FileUtils.mkdir("#{p1}/executionhandler") rescue nil
261
267
  Dir["#{curpath}/../systemd/*.service"].each do |f|
262
268
  nam = File.basename f
263
269
  cont = File.read(f)
data/tools/server/cpee CHANGED
@@ -4,7 +4,7 @@ require 'cpee/implementation'
4
4
 
5
5
  Riddl::Server.new(CPEE::SERVER, :host => 'localhost', :port => 8298) do |opts|
6
6
  opts[:instances] = File.join(__dir__,'instances')
7
- opts[:handlerwrappers] = File.join(__dir__,'handlerwrappers')
7
+ opts[:executionhandlers = File.join(__dir__,'executionhandlers')
8
8
  opts[:notifications_init] = File.join(__dir__,'resources','notifications')
9
9
  opts[:properties_init] = File.join(__dir__,'resources','properties.init')
10
10
 
@@ -22,7 +22,7 @@
22
22
  <id>0</id>
23
23
  <message>undefined</message>
24
24
  </status>
25
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
25
+ <executionhandler>ruby</executionhandler>
26
26
  <positions/>
27
27
  <dataelements/>
28
28
  <endpoints>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.28
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: tools
12
12
  cert_chain: []
13
- date: 2021-05-03 00:00:00.000000000 Z
13
+ date: 2021-06-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '0.108'
21
+ version: '0.114'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '0.108'
28
+ version: '0.114'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: weel
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -35,7 +35,7 @@ dependencies:
35
35
  version: '1.99'
36
36
  - - ">="
37
37
  - !ruby/object:Gem::Version
38
- version: 1.99.90
38
+ version: 1.99.99
39
39
  type: :runtime
40
40
  prerelease: false
41
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -45,7 +45,7 @@ dependencies:
45
45
  version: '1.99'
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 1.99.90
48
+ version: 1.99.99
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: highline
51
51
  requirement: !ruby/object:Gem::Requirement
@@ -120,6 +120,7 @@ files:
120
120
  - cockpit/README
121
121
  - cockpit/Signavio.xml
122
122
  - cockpit/config.json
123
+ - cockpit/config.json.example
123
124
  - cockpit/contrib/graph_example.svg
124
125
  - cockpit/contrib/legend.svg
125
126
  - cockpit/contrib/symbols.svg
@@ -143,7 +144,6 @@ files:
143
144
  - cockpit/js/track.js
144
145
  - cockpit/js/ui.js
145
146
  - cockpit/js/wfadaptor.js
146
- - cockpit/js_libs.zip
147
147
  - cockpit/model.html
148
148
  - cockpit/replay.html
149
149
  - cockpit/rngs/attributes.rng
@@ -188,11 +188,12 @@ files:
188
188
  - cockpit/templates.legacy/Worklist Test CPEE.xml
189
189
  - cockpit/templates.legacy/Worklist Test.xml
190
190
  - cockpit/templates.legacy/Worklist Test2.xml
191
- - cockpit/templates.legacy/convert_cpee2.rb
192
191
  - cockpit/templates.legacy/convert_preset.rb
193
192
  - cockpit/templates.legacy/testsets.xml
194
193
  - cockpit/templates.legacy/transformations.xml
195
194
  - cockpit/templates/Coopis 2010.xml
195
+ - cockpit/templates/Coopis 2010.xml.active
196
+ - cockpit/templates/Coopis 2010.xml.active-uuid
196
197
  - cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
197
198
  - cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
198
199
  - cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
@@ -225,6 +226,7 @@ files:
225
226
  - cockpit/themes/compact/rngs/parallel.rng
226
227
  - cockpit/themes/compact/rngs/parallel_branch.rng
227
228
  - cockpit/themes/compact/rngs/scripts.rng
229
+ - cockpit/themes/compact/rngs/start.rng
228
230
  - cockpit/themes/compact/rngs/stop.rng
229
231
  - cockpit/themes/compact/rngs/terminate.rng
230
232
  - cockpit/themes/compact/symbols/alternative.svg
@@ -251,6 +253,8 @@ files:
251
253
  - cockpit/themes/compact/symbols/parallel_branch_compact.svg
252
254
  - cockpit/themes/compact/symbols/parallel_branch_event.svg
253
255
  - cockpit/themes/compact/symbols/parallel_branch_normal.svg
256
+ - cockpit/themes/compact/symbols/parallel_eventbased_exclusive.svg
257
+ - cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg
254
258
  - cockpit/themes/compact/symbols/scripts.svg
255
259
  - cockpit/themes/compact/symbols/start.svg
256
260
  - cockpit/themes/compact/symbols/stop.svg
@@ -273,6 +277,7 @@ files:
273
277
  - cockpit/themes/control/rngs/parallel.rng
274
278
  - cockpit/themes/control/rngs/parallel_branch.rng
275
279
  - cockpit/themes/control/rngs/scripts.rng
280
+ - cockpit/themes/control/rngs/start.rng
276
281
  - cockpit/themes/control/rngs/stop.rng
277
282
  - cockpit/themes/control/rngs/terminate.rng
278
283
  - cockpit/themes/control/symbols/alternative.svg
@@ -299,6 +304,8 @@ files:
299
304
  - cockpit/themes/control/symbols/parallel_branch_compact.svg
300
305
  - cockpit/themes/control/symbols/parallel_branch_event.svg
301
306
  - cockpit/themes/control/symbols/parallel_branch_normal.svg
307
+ - cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg
308
+ - cockpit/themes/control/symbols/parallel_eventbased_parallel.svg
302
309
  - cockpit/themes/control/symbols/scripts.svg
303
310
  - cockpit/themes/control/symbols/start.svg
304
311
  - cockpit/themes/control/symbols/stop.svg
@@ -321,6 +328,7 @@ files:
321
328
  - cockpit/themes/default/rngs/parallel.rng
322
329
  - cockpit/themes/default/rngs/parallel_branch.rng
323
330
  - cockpit/themes/default/rngs/scripts.rng
331
+ - cockpit/themes/default/rngs/start.rng
324
332
  - cockpit/themes/default/rngs/stop.rng
325
333
  - cockpit/themes/default/rngs/terminate.rng
326
334
  - cockpit/themes/default/symbols/alternative.svg
@@ -347,6 +355,8 @@ files:
347
355
  - cockpit/themes/default/symbols/parallel_branch_compact.svg
348
356
  - cockpit/themes/default/symbols/parallel_branch_event.svg
349
357
  - cockpit/themes/default/symbols/parallel_branch_normal.svg
358
+ - cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg
359
+ - cockpit/themes/default/symbols/parallel_eventbased_parallel.svg
350
360
  - cockpit/themes/default/symbols/scripts.svg
351
361
  - cockpit/themes/default/symbols/start.svg
352
362
  - cockpit/themes/default/symbols/stop.svg
@@ -369,6 +379,7 @@ files:
369
379
  - cockpit/themes/extended/rngs/parallel.rng
370
380
  - cockpit/themes/extended/rngs/parallel_branch.rng
371
381
  - cockpit/themes/extended/rngs/scripts.rng
382
+ - cockpit/themes/extended/rngs/start.rng
372
383
  - cockpit/themes/extended/rngs/stop.rng
373
384
  - cockpit/themes/extended/rngs/terminate.rng
374
385
  - cockpit/themes/extended/symbols/alternative.svg
@@ -395,6 +406,8 @@ files:
395
406
  - cockpit/themes/extended/symbols/parallel_branch_compact.svg
396
407
  - cockpit/themes/extended/symbols/parallel_branch_event.svg
397
408
  - cockpit/themes/extended/symbols/parallel_branch_normal.svg
409
+ - cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg
410
+ - cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg
398
411
  - cockpit/themes/extended/symbols/scripts.svg
399
412
  - cockpit/themes/extended/symbols/start.svg
400
413
  - cockpit/themes/extended/symbols/stop.svg
@@ -439,6 +452,8 @@ files:
439
452
  - cockpit/themes/model/symbols/parallel_branch_compact.svg
440
453
  - cockpit/themes/model/symbols/parallel_branch_event.svg
441
454
  - cockpit/themes/model/symbols/parallel_branch_normal.svg
455
+ - cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg
456
+ - cockpit/themes/model/symbols/parallel_eventbased_parallel.svg
442
457
  - cockpit/themes/model/symbols/scripts.svg
443
458
  - cockpit/themes/model/symbols/start.svg
444
459
  - cockpit/themes/model/symbols/stop.svg
@@ -461,6 +476,7 @@ files:
461
476
  - cockpit/themes/packed/rngs/parallel.rng
462
477
  - cockpit/themes/packed/rngs/parallel_branch.rng
463
478
  - cockpit/themes/packed/rngs/scripts.rng
479
+ - cockpit/themes/packed/rngs/start.rng
464
480
  - cockpit/themes/packed/rngs/stop.rng
465
481
  - cockpit/themes/packed/rngs/terminate.rng
466
482
  - cockpit/themes/packed/symbols/alternative.svg
@@ -487,6 +503,8 @@ files:
487
503
  - cockpit/themes/packed/symbols/parallel_branch_compact.svg
488
504
  - cockpit/themes/packed/symbols/parallel_branch_event.svg
489
505
  - cockpit/themes/packed/symbols/parallel_branch_normal.svg
506
+ - cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg
507
+ - cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg
490
508
  - cockpit/themes/packed/symbols/scripts.svg
491
509
  - cockpit/themes/packed/symbols/start.svg
492
510
  - cockpit/themes/packed/symbols/stop.svg
@@ -509,6 +527,7 @@ files:
509
527
  - cockpit/themes/preset/rngs/parallel.rng
510
528
  - cockpit/themes/preset/rngs/parallel_branch.rng
511
529
  - cockpit/themes/preset/rngs/scripts.rng
530
+ - cockpit/themes/preset/rngs/start.rng
512
531
  - cockpit/themes/preset/rngs/stop.rng
513
532
  - cockpit/themes/preset/rngs/terminate.rng
514
533
  - cockpit/themes/preset/symbols/alternative.svg
@@ -535,6 +554,8 @@ files:
535
554
  - cockpit/themes/preset/symbols/parallel_branch_compact.svg
536
555
  - cockpit/themes/preset/symbols/parallel_branch_event.svg
537
556
  - cockpit/themes/preset/symbols/parallel_branch_normal.svg
557
+ - cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg
558
+ - cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg
538
559
  - cockpit/themes/preset/symbols/scripts.svg
539
560
  - cockpit/themes/preset/symbols/start.svg
540
561
  - cockpit/themes/preset/symbols/stop.svg
@@ -553,7 +574,6 @@ files:
553
574
  - lib/callbacks/callbacks.rng
554
575
  - lib/cpee.xml
555
576
  - lib/cpee/attributes_helper.rb
556
- - lib/cpee/controller.rb
557
577
  - lib/cpee/implementation.rb
558
578
  - lib/cpee/implementation_callbacks.rb
559
579
  - lib/cpee/implementation_notifications.rb
@@ -562,12 +582,10 @@ files:
562
582
  - lib/cpee/persistence.rb
563
583
  - lib/cpee/redis.rb
564
584
  - lib/cpee/statemachine.rb
565
- - lib/cpee/transform.rb
566
585
  - lib/cpee/value_helper.rb
567
586
  - lib/engine.xml
568
587
  - lib/engine/instance-info.rng
569
588
  - lib/engine/instances.rng
570
- - lib/instantiation.xml
571
589
  - lib/properties.xml
572
590
  - lib/properties/arbitrary.rng
573
591
  - lib/properties/attributes.rng
@@ -576,7 +594,7 @@ files:
576
594
  - lib/properties/dsl.rng
577
595
  - lib/properties/dslx.rng
578
596
  - lib/properties/endpoints.rng
579
- - lib/properties/handlerwrapper.rng
597
+ - lib/properties/executionhandler.rng
580
598
  - lib/properties/position.rng
581
599
  - lib/properties/positions.rng
582
600
  - lib/properties/properties.rng
@@ -595,12 +613,14 @@ files:
595
613
  - lib/properties/t_transformation.rng
596
614
  - lib/properties/transformation.rng
597
615
  - server/dev.rb
598
- - server/handlerwrappers/default.rb
599
- - server/resources/backend/README.md
600
- - server/resources/backend/instance.rb
601
- - server/resources/backend/instance.template
602
- - server/resources/backend/opts.yaml
603
- - server/resources/backend/run
616
+ - server/executionhandlers/ruby/backend/README.md
617
+ - server/executionhandlers/ruby/backend/instance.template
618
+ - server/executionhandlers/ruby/backend/opts.yaml
619
+ - server/executionhandlers/ruby/backend/run
620
+ - server/executionhandlers/ruby/connection.rb
621
+ - server/executionhandlers/ruby/controller.rb
622
+ - server/executionhandlers/ruby/dsl_to_dslx.xsl
623
+ - server/executionhandlers/ruby/execution.rb
604
624
  - server/resources/empty_dslx.xml
605
625
  - server/resources/notifications/logging/subscription.xml
606
626
  - server/resources/properties.empty
@@ -609,7 +629,6 @@ files:
609
629
  - server/resources/states.xml
610
630
  - server/resources/topics.xml
611
631
  - server/resources/transformation.xml
612
- - server/resources/transformation_dslx.xsl
613
632
  - server/routing/end.pid
614
633
  - server/routing/end.rb
615
634
  - server/routing/forward-events.pid
@@ -619,229 +638,11 @@ files:
619
638
  - server/routing/persist.pid
620
639
  - server/routing/persist.rb
621
640
  - server/server.conf
622
- - server/server.pid
623
641
  - server/server.rb
624
642
  - tools/cpee
625
643
  - tools/server/cpee
626
644
  - tools/server/resources/notifications/logging/subscription.xml
627
645
  - tools/server/resources/properties.init
628
- - tools/test/README
629
- - tools/test/config.json
630
- - tools/test/contrib/graph_example.svg
631
- - tools/test/contrib/legend.svg
632
- - tools/test/contrib/symbols.svg
633
- - tools/test/contrib/transformation1.xsl
634
- - tools/test/contrib/transformation2.xsl
635
- - tools/test/contrib/tree_example.svg
636
- - tools/test/css/model.css
637
- - tools/test/css/track.css
638
- - tools/test/css/ui.css
639
- - tools/test/css/wfadaptor.css
640
- - tools/test/edit.html
641
- - tools/test/graph.html
642
- - tools/test/index.html
643
- - tools/test/js/details.js
644
- - tools/test/js/instance.js
645
- - tools/test/js/model.js
646
- - tools/test/js/parameters.js
647
- - tools/test/js/track.js
648
- - tools/test/js/ui.js
649
- - tools/test/js/wfadaptor.js
650
- - tools/test/js_libs.zip
651
- - tools/test/js_libs/Makefile
652
- - tools/test/js_libs/ansi_up.js
653
- - tools/test/js_libs/console.js
654
- - tools/test/js_libs/custommenu.css
655
- - tools/test/js_libs/custommenu.js
656
- - tools/test/js_libs/experiments1/relaxngui.css
657
- - tools/test/js_libs/experiments1/relaxngui.js
658
- - tools/test/js_libs/experiments1/rngtest9.html
659
- - tools/test/js_libs/experiments1/rngtest9.rng
660
- - tools/test/js_libs/experiments1/rngtest9.xml
661
- - tools/test/js_libs/jquery-2.2.4.min.js
662
- - tools/test/js_libs/jquery-3.2.1.min.js
663
- - tools/test/js_libs/jquery-3.3.1.min.js
664
- - tools/test/js_libs/jquery.browser.js
665
- - tools/test/js_libs/jquery.caret.min.js
666
- - tools/test/js_libs/jquery.cookie.js
667
- - tools/test/js_libs/jquery.min.js
668
- - tools/test/js_libs/jquery.svg.min.js
669
- - tools/test/js_libs/jquery.svgdom.min.js
670
- - tools/test/js_libs/markdown.min.js
671
- - tools/test/js_libs/parsequery.js
672
- - tools/test/js_libs/printf.js
673
- - tools/test/js_libs/relaxngui.css
674
- - tools/test/js_libs/relaxngui.js
675
- - tools/test/js_libs/strftime.min.js
676
- - tools/test/js_libs/tests/dataelements.html
677
- - tools/test/js_libs/tests/dataelements.rng
678
- - tools/test/js_libs/tests/dataelements.xml
679
- - tools/test/js_libs/tests/relaxngui.css
680
- - tools/test/js_libs/tests/relaxngui.js
681
- - tools/test/js_libs/tests/rngtest1.html
682
- - tools/test/js_libs/tests/rngtest1.rng
683
- - tools/test/js_libs/tests/rngtest1.xml
684
- - tools/test/js_libs/tests/rngtest2.html
685
- - tools/test/js_libs/tests/rngtest2.rng
686
- - tools/test/js_libs/tests/rngtest2.xml
687
- - tools/test/js_libs/tests/rngtest3.html
688
- - tools/test/js_libs/tests/rngtest3.rng
689
- - tools/test/js_libs/tests/rngtest3.xml
690
- - tools/test/js_libs/tests/rngtest4.html
691
- - tools/test/js_libs/tests/rngtest4.rng
692
- - tools/test/js_libs/tests/rngtest4.xml
693
- - tools/test/js_libs/tests/rngtest5.html
694
- - tools/test/js_libs/tests/rngtest5.rng
695
- - tools/test/js_libs/tests/rngtest5.xml
696
- - tools/test/js_libs/tests/rngtest6.html
697
- - tools/test/js_libs/tests/rngtest6.rng
698
- - tools/test/js_libs/tests/rngtest6.xml
699
- - tools/test/js_libs/tests/rngtest8.html
700
- - tools/test/js_libs/tests/rngtest8.rng
701
- - tools/test/js_libs/tests/rngtest8.xml
702
- - tools/test/js_libs/tests/rngtest9.html
703
- - tools/test/js_libs/tests/rngtest9.rng
704
- - tools/test/js_libs/tests/rngtest9.xml
705
- - tools/test/js_libs/ui.css
706
- - tools/test/js_libs/ui.html
707
- - tools/test/js_libs/ui.js
708
- - tools/test/js_libs/underscore.min.js
709
- - tools/test/js_libs/util.js
710
- - tools/test/js_libs/vkbeautify.0.99.00.beta.js
711
- - tools/test/js_libs/vkbeautify.js
712
- - tools/test/js_libs/webcomponents.min.js
713
- - tools/test/model.html
714
- - tools/test/rngs/attributes.rng
715
- - tools/test/rngs/dataelements.rng
716
- - tools/test/rngs/endpoints.rng
717
- - tools/test/templates.legacy/Async.xml
718
- - tools/test/templates.legacy/BCO.xml
719
- - tools/test/templates.legacy/BCS.xml
720
- - tools/test/templates.legacy/Centurio.xml
721
- - tools/test/templates.legacy/Concurrent.xml
722
- - tools/test/templates.legacy/Coopis Testset.xml
723
- - tools/test/templates.legacy/Endpoints and Data Manipulation.xml
724
- - tools/test/templates.legacy/ICSOC Testset.xml
725
- - tools/test/templates.legacy/Infinity.xml
726
- - tools/test/templates.legacy/Lego Boxer.xml
727
- - tools/test/templates.legacy/Lego Conveyor.xml
728
- - tools/test/templates.legacy/Lego Crane.xml
729
- - tools/test/templates.legacy/Lego Ejector.xml
730
- - tools/test/templates.legacy/Lego Full.xml
731
- - tools/test/templates.legacy/Lego Liddy.xml
732
- - tools/test/templates.legacy/Lego Plate.xml
733
- - tools/test/templates.legacy/Lego Transporter.xml
734
- - tools/test/templates.legacy/Lego_Part_1.xml
735
- - tools/test/templates.legacy/LgLinear.xml
736
- - tools/test/templates.legacy/Linear.xml
737
- - tools/test/templates.legacy/Log.xml
738
- - tools/test/templates.legacy/Mangler 1.xml
739
- - tools/test/templates.legacy/Mangler 2.xml
740
- - tools/test/templates.legacy/Manuel Labels.xml
741
- - tools/test/templates.legacy/Promise.xml
742
- - tools/test/templates.legacy/SOPROMO Test Sonification.xml
743
- - tools/test/templates.legacy/Subprocess.xml
744
- - tools/test/templates.legacy/Syncing P34 1.xml
745
- - tools/test/templates.legacy/Syncing P34 2.xml
746
- - tools/test/templates.legacy/Syncing P34 3.xml
747
- - tools/test/templates.legacy/Syncing P34.xml
748
- - tools/test/templates.legacy/TEST - Bad Loop.xml
749
- - tools/test/templates.legacy/TEST - Wrong Positions.xml
750
- - tools/test/templates.legacy/Take_5.xml
751
- - tools/test/templates.legacy/Update.xml
752
- - tools/test/templates.legacy/Worklist Parallel.xml
753
- - tools/test/templates.legacy/Worklist Test CPEE.xml
754
- - tools/test/templates.legacy/Worklist Test.xml
755
- - tools/test/templates.legacy/Worklist Test2.xml
756
- - tools/test/templates.legacy/convert_cpee2.rb
757
- - tools/test/templates.legacy/convert_preset.rb
758
- - tools/test/templates.legacy/testsets.xml
759
- - tools/test/templates.legacy/transformations.xml
760
- - tools/test/templates/Coopis 2010.xml
761
- - tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml
762
- - tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml
763
- - tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml
764
- - tools/test/templates/Track Test Local.xml
765
- - tools/test/templates/Track Test.xml
766
- - tools/test/templates/UR-VUE 2020 Manual Adjust.xml
767
- - tools/test/templates/UR-VUE 2020 Solution Baseline.xml
768
- - tools/test/templates/UR-VUE 2020 Solution NN.xml
769
- - tools/test/templates/UR-VUE 2020 Solution View.xml
770
- - tools/test/templates/UR-VUE 2020.xml
771
- - tools/test/templates/Worklist.xml
772
- - tools/test/templates/instantiate.local/Take_Sub.xml
773
- - tools/test/templates/instantiate/Take_Perf.xml
774
- - tools/test/templates/instantiate/Take_Sub.xml
775
- - tools/test/templates/instantiate/Take_X.xml
776
- - tools/test/themes/compact/theme.js
777
- - tools/test/themes/diana/theme.js
778
- - tools/test/themes/extended/theme.js
779
- - tools/test/themes/model/rngs/alternative.rng
780
- - tools/test/themes/model/rngs/call.rng
781
- - tools/test/themes/model/rngs/callmanipulate.rng
782
- - tools/test/themes/model/rngs/choose.rng
783
- - tools/test/themes/model/rngs/critical.rng
784
- - tools/test/themes/model/rngs/escape.rng
785
- - tools/test/themes/model/rngs/group.rng
786
- - tools/test/themes/model/rngs/loop.rng
787
- - tools/test/themes/model/rngs/manipulate.rng
788
- - tools/test/themes/model/rngs/otherwise.rng
789
- - tools/test/themes/model/rngs/parallel.rng
790
- - tools/test/themes/model/rngs/parallel_branch.rng
791
- - tools/test/themes/model/rngs/scripts.rng
792
- - tools/test/themes/model/rngs/stop.rng
793
- - tools/test/themes/model/rngs/terminate.rng
794
- - tools/test/themes/model/theme.js
795
- - tools/test/themes/packed/theme.js
796
- - tools/test/themes/preset/rngs/alternative.rng
797
- - tools/test/themes/preset/rngs/call.rng
798
- - tools/test/themes/preset/rngs/callmanipulate.rng
799
- - tools/test/themes/preset/rngs/choose.rng
800
- - tools/test/themes/preset/rngs/closed_loop.rng
801
- - tools/test/themes/preset/rngs/closed_loop_cancel.rng
802
- - tools/test/themes/preset/rngs/closed_loop_control.rng
803
- - tools/test/themes/preset/rngs/closed_loop_measuring.rng
804
- - tools/test/themes/preset/rngs/critical.rng
805
- - tools/test/themes/preset/rngs/escape.rng
806
- - tools/test/themes/preset/rngs/group.rng
807
- - tools/test/themes/preset/rngs/loop.rng
808
- - tools/test/themes/preset/rngs/manipulate.rng
809
- - tools/test/themes/preset/rngs/otherwise.rng
810
- - tools/test/themes/preset/rngs/parallel.rng
811
- - tools/test/themes/preset/rngs/parallel_branch.rng
812
- - tools/test/themes/preset/rngs/scripts.rng
813
- - tools/test/themes/preset/rngs/stop.rng
814
- - tools/test/themes/preset/rngs/terminate.rng
815
- - tools/test/themes/preset/symbols/alternative.svg
816
- - tools/test/themes/preset/symbols/arrow.svg
817
- - tools/test/themes/preset/symbols/call.svg
818
- - tools/test/themes/preset/symbols/callmanipulate.svg
819
- - tools/test/themes/preset/symbols/choose.svg
820
- - tools/test/themes/preset/symbols/choose_exclusive.svg
821
- - tools/test/themes/preset/symbols/choose_inclusive.svg
822
- - tools/test/themes/preset/symbols/closed_loop.svg
823
- - tools/test/themes/preset/symbols/closed_loop_cancel.svg
824
- - tools/test/themes/preset/symbols/closed_loop_control.svg
825
- - tools/test/themes/preset/symbols/closed_loop_measuring.svg
826
- - tools/test/themes/preset/symbols/complex.svg
827
- - tools/test/themes/preset/symbols/critical.svg
828
- - tools/test/themes/preset/symbols/end.svg
829
- - tools/test/themes/preset/symbols/escape.svg
830
- - tools/test/themes/preset/symbols/event_end.svg
831
- - tools/test/themes/preset/symbols/loop.svg
832
- - tools/test/themes/preset/symbols/manipulate.svg
833
- - tools/test/themes/preset/symbols/otherwise.svg
834
- - tools/test/themes/preset/symbols/parallel.svg
835
- - tools/test/themes/preset/symbols/parallel_branch.svg
836
- - tools/test/themes/preset/symbols/parallel_branch_compact.svg
837
- - tools/test/themes/preset/symbols/parallel_branch_event.svg
838
- - tools/test/themes/preset/symbols/parallel_branch_normal.svg
839
- - tools/test/themes/preset/symbols/scripts.svg
840
- - tools/test/themes/preset/symbols/start.svg
841
- - tools/test/themes/preset/symbols/stop.svg
842
- - tools/test/themes/preset/symbols/terminate.svg
843
- - tools/test/themes/preset/theme.js
844
- - tools/test/track.html
845
646
  homepage: http://cpee.org/
846
647
  licenses:
847
648
  - LGPL-3.0
@@ -861,7 +662,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
861
662
  - !ruby/object:Gem::Version
862
663
  version: '0'
863
664
  requirements: []
864
- rubygems_version: 3.1.4
665
+ rubygems_version: 3.1.6
865
666
  signing_key:
866
667
  specification_version: 4
867
668
  summary: Preliminary release of cloud process execution engine (cpee.org). If you