cpee 2.0.19 → 2.0.24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (317) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/model.css +2 -0
  3. data/cockpit/css/replay.css +55 -0
  4. data/cockpit/css/wfadaptor.css +17 -0
  5. data/cockpit/edit.html +1 -1
  6. data/cockpit/index.html +2 -0
  7. data/cockpit/js/instance.js +8 -20
  8. data/cockpit/js/replay.js +40 -0
  9. data/cockpit/js_libs.zip +0 -0
  10. data/cockpit/model.html +3 -1
  11. data/cockpit/replay.html +52 -0
  12. data/cockpit/templates/.CPEE.xml +8 -0
  13. data/cockpit/templates/.Signavio.xml +8 -0
  14. data/cockpit/templates/.templates.xml +13 -0
  15. data/cockpit/templates/.transformations.xml +4 -0
  16. data/cockpit/templates/instantiate.local/Take_Sub.xml +1 -1
  17. data/cockpit/themes/compact/rngs/call.rng +67 -40
  18. data/cockpit/themes/compact/rngs/callmanipulate.rng +81 -38
  19. data/cockpit/themes/control/rngs/alternative.rng +25 -0
  20. data/cockpit/themes/control/rngs/call.rng +149 -0
  21. data/cockpit/themes/control/rngs/callmanipulate.rng +188 -0
  22. data/cockpit/themes/control/rngs/choose.rng +14 -0
  23. data/cockpit/themes/control/rngs/closed_loop.rng +62 -0
  24. data/cockpit/themes/control/rngs/closed_loop_cancel.rng +5 -0
  25. data/cockpit/themes/control/rngs/closed_loop_control.rng +31 -0
  26. data/cockpit/themes/control/rngs/closed_loop_measuring.rng +12 -0
  27. data/cockpit/themes/control/rngs/critical.rng +5 -0
  28. data/cockpit/themes/control/rngs/escape.rng +1 -0
  29. data/cockpit/themes/control/rngs/group.rng +3 -0
  30. data/cockpit/themes/control/rngs/loop.rng +22 -0
  31. data/cockpit/themes/control/rngs/manipulate.rng +9 -0
  32. data/cockpit/themes/control/rngs/otherwise.rng +22 -0
  33. data/cockpit/themes/control/rngs/parallel.rng +21 -0
  34. data/cockpit/themes/control/rngs/parallel_branch.rng +8 -0
  35. data/cockpit/themes/control/rngs/scripts.rng +23 -0
  36. data/cockpit/themes/control/rngs/stop.rng +5 -0
  37. data/cockpit/themes/control/rngs/terminate.rng +1 -0
  38. data/cockpit/themes/control/symbols/alternative.svg +5 -0
  39. data/cockpit/themes/control/symbols/arrow.svg +3 -0
  40. data/cockpit/themes/control/symbols/call.svg +6 -0
  41. data/cockpit/themes/control/symbols/callmanipulate.svg +8 -0
  42. data/cockpit/themes/control/symbols/choose.svg +5 -0
  43. data/cockpit/themes/control/symbols/choose_exclusive.svg +5 -0
  44. data/cockpit/themes/control/symbols/choose_inclusive.svg +4 -0
  45. data/cockpit/themes/control/symbols/closed_loop.svg +5 -0
  46. data/cockpit/themes/control/symbols/closed_loop_cancel.svg +5 -0
  47. data/cockpit/themes/control/symbols/closed_loop_control.svg +5 -0
  48. data/cockpit/themes/control/symbols/closed_loop_measuring.svg +6 -0
  49. data/cockpit/themes/control/symbols/complex.svg +8 -0
  50. data/cockpit/themes/control/symbols/critical.svg +4 -0
  51. data/cockpit/themes/control/symbols/end.svg +3 -0
  52. data/cockpit/themes/control/symbols/escape.svg +5 -0
  53. data/cockpit/themes/control/symbols/event_end.svg +3 -0
  54. data/cockpit/themes/control/symbols/loop.svg +5 -0
  55. data/cockpit/themes/control/symbols/manipulate.svg +4 -0
  56. data/cockpit/themes/control/symbols/otherwise.svg +5 -0
  57. data/cockpit/themes/control/symbols/parallel.svg +5 -0
  58. data/cockpit/themes/control/symbols/parallel_branch.svg +5 -0
  59. data/cockpit/themes/control/symbols/parallel_branch_compact.svg +4 -0
  60. data/cockpit/themes/control/symbols/parallel_branch_event.svg +14 -0
  61. data/cockpit/themes/control/symbols/parallel_branch_normal.svg +5 -0
  62. data/cockpit/themes/control/symbols/scripts.svg +4 -0
  63. data/cockpit/themes/control/symbols/start.svg +3 -0
  64. data/cockpit/themes/control/symbols/stop.svg +5 -0
  65. data/cockpit/themes/control/symbols/terminate.svg +4 -0
  66. data/cockpit/themes/control/theme.js +1665 -0
  67. data/cockpit/themes/default/rngs/call.rng +67 -40
  68. data/cockpit/themes/default/rngs/callmanipulate.rng +81 -38
  69. data/cockpit/themes/default/theme.js +1287 -0
  70. data/cockpit/themes/diana/rngs/call.rng +67 -40
  71. data/cockpit/themes/diana/rngs/callmanipulate.rng +81 -38
  72. data/cockpit/themes/extended/rngs/call.rng +67 -40
  73. data/cockpit/themes/extended/rngs/callmanipulate.rng +81 -38
  74. data/cockpit/themes/model/rngs/call.rng +2 -1
  75. data/cockpit/themes/model/rngs/callmanipulate.rng +2 -1
  76. data/cockpit/themes/model/theme.js +1 -1
  77. data/cockpit/themes/packed/rngs/call.rng +67 -40
  78. data/cockpit/themes/packed/rngs/callmanipulate.rng +81 -38
  79. data/cockpit/themes/preset/rngs/call.rng +67 -40
  80. data/cockpit/themes/preset/rngs/callmanipulate.rng +81 -38
  81. data/cockpit/track.html +0 -7
  82. data/cpee.gemspec +2 -2
  83. data/lib/cpee/controller.rb +6 -3
  84. data/lib/cpee/implementation.rb +23 -8
  85. data/lib/cpee/implementation_notifications.rb +1 -1
  86. data/lib/cpee/persistence.rb +2 -1
  87. data/lib/cpee/redis.rb +57 -0
  88. data/server/handlerwrappers/default.rb +2 -2
  89. data/server/resources/notifications/logging/subscription.xml +6 -0
  90. data/server/routing/end.pid +1 -0
  91. data/server/routing/end.rb +16 -4
  92. data/server/routing/forward-events.pid +1 -0
  93. data/server/routing/forward-events.rb +19 -7
  94. data/server/routing/forward-votes.pid +1 -0
  95. data/server/routing/forward-votes.rb +19 -7
  96. data/server/routing/persist.pid +1 -0
  97. data/server/routing/persist.rb +26 -14
  98. data/server/server.pid +1 -0
  99. data/tools/cpee +5 -5
  100. data/tools/test/README +4 -0
  101. data/tools/test/config.json +3 -0
  102. data/tools/test/contrib/graph_example.svg +1166 -0
  103. data/tools/test/contrib/legend.svg +817 -0
  104. data/tools/test/contrib/symbols.svg +224 -0
  105. data/tools/test/contrib/transformation1.xsl +264 -0
  106. data/tools/test/contrib/transformation2.xsl +10 -0
  107. data/tools/test/contrib/tree_example.svg +788 -0
  108. data/tools/test/css/model.css +24 -0
  109. data/tools/test/css/track.css +60 -0
  110. data/tools/test/css/ui.css +214 -0
  111. data/tools/test/css/wfadaptor.css +422 -0
  112. data/tools/test/edit.html +258 -0
  113. data/tools/test/graph.html +69 -0
  114. data/tools/test/index.html +258 -0
  115. data/tools/test/js/details.js +109 -0
  116. data/tools/test/js/instance.js +1344 -0
  117. data/tools/test/js/model.js +41 -0
  118. data/tools/test/js/parameters.js +82 -0
  119. data/tools/test/js/track.js +18 -0
  120. data/tools/test/js/ui.js +104 -0
  121. data/tools/test/js/wfadaptor.js +763 -0
  122. data/tools/test/js_libs.zip +0 -0
  123. data/tools/test/js_libs/Makefile +2 -0
  124. data/tools/test/js_libs/ansi_up.js +333 -0
  125. data/tools/test/js_libs/console.js +80 -0
  126. data/tools/test/js_libs/custommenu.css +84 -0
  127. data/tools/test/js_libs/custommenu.js +104 -0
  128. data/tools/test/js_libs/experiments1/relaxngui.css +185 -0
  129. data/tools/test/js_libs/experiments1/relaxngui.js +488 -0
  130. data/tools/test/js_libs/experiments1/rngtest9.html +60 -0
  131. data/tools/test/js_libs/experiments1/rngtest9.rng +35 -0
  132. data/tools/test/js_libs/experiments1/rngtest9.xml +8 -0
  133. data/tools/test/js_libs/jquery-2.2.4.min.js +4 -0
  134. data/tools/test/js_libs/jquery-3.2.1.min.js +4 -0
  135. data/tools/test/js_libs/jquery-3.3.1.min.js +2 -0
  136. data/tools/test/js_libs/jquery.browser.js +40 -0
  137. data/tools/test/js_libs/jquery.caret.min.js +10 -0
  138. data/tools/test/js_libs/jquery.cookie.js +117 -0
  139. data/tools/test/js_libs/jquery.min.js +1 -0
  140. data/tools/test/js_libs/jquery.svg.min.js +6 -0
  141. data/tools/test/js_libs/jquery.svgdom.min.js +6 -0
  142. data/tools/test/js_libs/markdown.min.js +1 -0
  143. data/tools/test/js_libs/parsequery.js +21 -0
  144. data/tools/test/js_libs/printf.js +368 -0
  145. data/tools/test/js_libs/relaxngui.css +213 -0
  146. data/tools/test/js_libs/relaxngui.js +543 -0
  147. data/tools/test/js_libs/strftime.min.js +1 -0
  148. data/tools/test/js_libs/tests/dataelements.html +59 -0
  149. data/tools/test/js_libs/tests/dataelements.rng +8 -0
  150. data/tools/test/js_libs/tests/dataelements.xml +3 -0
  151. data/tools/test/js_libs/tests/relaxngui.css +203 -0
  152. data/tools/test/js_libs/tests/relaxngui.js +502 -0
  153. data/tools/test/js_libs/tests/rngtest1.html +66 -0
  154. data/tools/test/js_libs/tests/rngtest1.rng +147 -0
  155. data/tools/test/js_libs/tests/rngtest1.xml +13 -0
  156. data/tools/test/js_libs/tests/rngtest2.html +60 -0
  157. data/tools/test/js_libs/tests/rngtest2.rng +6 -0
  158. data/tools/test/js_libs/tests/rngtest2.xml +3 -0
  159. data/tools/test/js_libs/tests/rngtest3.html +60 -0
  160. data/tools/test/js_libs/tests/rngtest3.rng +23 -0
  161. data/tools/test/js_libs/tests/rngtest3.xml +9 -0
  162. data/tools/test/js_libs/tests/rngtest4.html +60 -0
  163. data/tools/test/js_libs/tests/rngtest4.rng +19 -0
  164. data/tools/test/js_libs/tests/rngtest4.xml +12 -0
  165. data/tools/test/js_libs/tests/rngtest5.html +60 -0
  166. data/tools/test/js_libs/tests/rngtest5.rng +75 -0
  167. data/tools/test/js_libs/tests/rngtest5.xml +40 -0
  168. data/tools/test/js_libs/tests/rngtest6.html +60 -0
  169. data/tools/test/js_libs/tests/rngtest6.rng +24 -0
  170. data/tools/test/js_libs/tests/rngtest6.xml +6 -0
  171. data/tools/test/js_libs/tests/rngtest8.html +60 -0
  172. data/tools/test/js_libs/tests/rngtest8.rng +13 -0
  173. data/tools/test/js_libs/tests/rngtest8.xml +2 -0
  174. data/tools/test/js_libs/tests/rngtest9.html +60 -0
  175. data/tools/test/js_libs/tests/rngtest9.rng +31 -0
  176. data/tools/test/js_libs/tests/rngtest9.xml +8 -0
  177. data/tools/test/js_libs/ui.css +333 -0
  178. data/tools/test/js_libs/ui.html +168 -0
  179. data/tools/test/js_libs/ui.js +177 -0
  180. data/tools/test/js_libs/underscore.min.js +27 -0
  181. data/tools/test/js_libs/util.js +81 -0
  182. data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +358 -0
  183. data/tools/test/js_libs/vkbeautify.js +1 -0
  184. data/tools/test/js_libs/webcomponents.min.js +196 -0
  185. data/tools/test/model.html +192 -0
  186. data/tools/test/rngs/attributes.rng +8 -0
  187. data/tools/test/rngs/dataelements.rng +8 -0
  188. data/tools/test/rngs/endpoints.rng +8 -0
  189. data/tools/test/templates.legacy/Async.xml +46 -0
  190. data/tools/test/templates.legacy/BCO.xml +70 -0
  191. data/tools/test/templates.legacy/BCS.xml +70 -0
  192. data/tools/test/templates.legacy/Centurio.xml +75 -0
  193. data/tools/test/templates.legacy/Concurrent.xml +40 -0
  194. data/tools/test/templates.legacy/Coopis Testset.xml +76 -0
  195. data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +30 -0
  196. data/tools/test/templates.legacy/ICSOC Testset.xml +95 -0
  197. data/tools/test/templates.legacy/Infinity.xml +28 -0
  198. data/tools/test/templates.legacy/Lego Boxer.xml +31 -0
  199. data/tools/test/templates.legacy/Lego Conveyor.xml +31 -0
  200. data/tools/test/templates.legacy/Lego Crane.xml +87 -0
  201. data/tools/test/templates.legacy/Lego Ejector.xml +55 -0
  202. data/tools/test/templates.legacy/Lego Full.xml +142 -0
  203. data/tools/test/templates.legacy/Lego Liddy.xml +40 -0
  204. data/tools/test/templates.legacy/Lego Plate.xml +31 -0
  205. data/tools/test/templates.legacy/Lego Transporter.xml +43 -0
  206. data/tools/test/templates.legacy/Lego_Part_1.xml +85 -0
  207. data/tools/test/templates.legacy/LgLinear.xml +65 -0
  208. data/tools/test/templates.legacy/Linear.xml +77 -0
  209. data/tools/test/templates.legacy/Log.xml +117 -0
  210. data/tools/test/templates.legacy/Mangler 1.xml +87 -0
  211. data/tools/test/templates.legacy/Mangler 2.xml +103 -0
  212. data/tools/test/templates.legacy/Manuel Labels.xml +55 -0
  213. data/tools/test/templates.legacy/Promise.xml +275 -0
  214. data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +83 -0
  215. data/tools/test/templates.legacy/Subprocess.xml +56 -0
  216. data/tools/test/templates.legacy/Syncing P34 1.xml +77 -0
  217. data/tools/test/templates.legacy/Syncing P34 2.xml +77 -0
  218. data/tools/test/templates.legacy/Syncing P34 3.xml +77 -0
  219. data/tools/test/templates.legacy/Syncing P34.xml +77 -0
  220. data/tools/test/templates.legacy/TEST - Bad Loop.xml +173 -0
  221. data/tools/test/templates.legacy/TEST - Wrong Positions.xml +174 -0
  222. data/tools/test/templates.legacy/Take_5.xml +48 -0
  223. data/tools/test/templates.legacy/Update.xml +32 -0
  224. data/tools/test/templates.legacy/Worklist Parallel.xml +104 -0
  225. data/tools/test/templates.legacy/Worklist Test CPEE.xml +40 -0
  226. data/tools/test/templates.legacy/Worklist Test.xml +42 -0
  227. data/tools/test/templates.legacy/Worklist Test2.xml +43 -0
  228. data/tools/test/templates.legacy/convert_cpee2.rb +15 -0
  229. data/tools/test/templates.legacy/convert_preset.rb +32 -0
  230. data/tools/test/templates.legacy/testsets.xml +37 -0
  231. data/tools/test/templates.legacy/transformations.xml +4 -0
  232. data/tools/test/templates/Coopis 2010.xml +76 -0
  233. data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
  234. data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
  235. data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
  236. data/tools/test/templates/Track Test Local.xml +82 -0
  237. data/tools/test/templates/Track Test.xml +82 -0
  238. data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +182 -0
  239. data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +203 -0
  240. data/tools/test/templates/UR-VUE 2020 Solution NN.xml +197 -0
  241. data/tools/test/templates/UR-VUE 2020 Solution View.xml +151 -0
  242. data/tools/test/templates/UR-VUE 2020.xml +26 -0
  243. data/tools/test/templates/Worklist.xml +42 -0
  244. data/tools/test/templates/instantiate.local/Take_Sub.xml +59 -0
  245. data/tools/test/templates/instantiate/Take_Perf.xml +46 -0
  246. data/tools/test/templates/instantiate/Take_Sub.xml +58 -0
  247. data/tools/test/templates/instantiate/Take_X.xml +48 -0
  248. data/tools/test/themes/compact/theme.js +1285 -0
  249. data/tools/test/themes/diana/theme.js +1650 -0
  250. data/tools/test/themes/extended/theme.js +1325 -0
  251. data/tools/test/themes/model/rngs/alternative.rng +1 -0
  252. data/tools/test/themes/model/rngs/call.rng +67 -0
  253. data/tools/test/themes/model/rngs/callmanipulate.rng +72 -0
  254. data/tools/test/themes/model/rngs/choose.rng +1 -0
  255. data/tools/test/themes/model/rngs/critical.rng +1 -0
  256. data/tools/test/themes/model/rngs/escape.rng +1 -0
  257. data/tools/test/themes/model/rngs/group.rng +1 -0
  258. data/tools/test/themes/model/rngs/loop.rng +1 -0
  259. data/tools/test/themes/model/rngs/manipulate.rng +1 -0
  260. data/tools/test/themes/model/rngs/otherwise.rng +1 -0
  261. data/tools/test/themes/model/rngs/parallel.rng +1 -0
  262. data/tools/test/themes/model/rngs/parallel_branch.rng +1 -0
  263. data/tools/test/themes/model/rngs/scripts.rng +7 -0
  264. data/tools/test/themes/model/rngs/stop.rng +1 -0
  265. data/tools/test/themes/model/rngs/terminate.rng +1 -0
  266. data/tools/test/themes/model/theme.js +1268 -0
  267. data/tools/test/themes/packed/theme.js +1286 -0
  268. data/tools/test/themes/preset/rngs/alternative.rng +25 -0
  269. data/tools/test/themes/preset/rngs/call.rng +122 -0
  270. data/tools/test/themes/preset/rngs/callmanipulate.rng +145 -0
  271. data/tools/test/themes/preset/rngs/choose.rng +14 -0
  272. data/tools/test/themes/preset/rngs/closed_loop.rng +62 -0
  273. data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +5 -0
  274. data/tools/test/themes/preset/rngs/closed_loop_control.rng +31 -0
  275. data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +12 -0
  276. data/tools/test/themes/preset/rngs/critical.rng +5 -0
  277. data/tools/test/themes/preset/rngs/escape.rng +1 -0
  278. data/tools/test/themes/preset/rngs/group.rng +3 -0
  279. data/tools/test/themes/preset/rngs/loop.rng +22 -0
  280. data/tools/test/themes/preset/rngs/manipulate.rng +9 -0
  281. data/tools/test/themes/preset/rngs/otherwise.rng +22 -0
  282. data/tools/test/themes/preset/rngs/parallel.rng +21 -0
  283. data/tools/test/themes/preset/rngs/parallel_branch.rng +8 -0
  284. data/tools/test/themes/preset/rngs/scripts.rng +23 -0
  285. data/tools/test/themes/preset/rngs/stop.rng +5 -0
  286. data/tools/test/themes/preset/rngs/terminate.rng +1 -0
  287. data/tools/test/themes/preset/symbols/alternative.svg +5 -0
  288. data/tools/test/themes/preset/symbols/arrow.svg +3 -0
  289. data/tools/test/themes/preset/symbols/call.svg +6 -0
  290. data/tools/test/themes/preset/symbols/callmanipulate.svg +8 -0
  291. data/tools/test/themes/preset/symbols/choose.svg +5 -0
  292. data/tools/test/themes/preset/symbols/choose_exclusive.svg +5 -0
  293. data/tools/test/themes/preset/symbols/choose_inclusive.svg +4 -0
  294. data/tools/test/themes/preset/symbols/closed_loop.svg +5 -0
  295. data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +5 -0
  296. data/tools/test/themes/preset/symbols/closed_loop_control.svg +5 -0
  297. data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +6 -0
  298. data/tools/test/themes/preset/symbols/complex.svg +8 -0
  299. data/tools/test/themes/preset/symbols/critical.svg +4 -0
  300. data/tools/test/themes/preset/symbols/end.svg +3 -0
  301. data/tools/test/themes/preset/symbols/escape.svg +5 -0
  302. data/tools/test/themes/preset/symbols/event_end.svg +3 -0
  303. data/tools/test/themes/preset/symbols/loop.svg +5 -0
  304. data/tools/test/themes/preset/symbols/manipulate.svg +4 -0
  305. data/tools/test/themes/preset/symbols/otherwise.svg +5 -0
  306. data/tools/test/themes/preset/symbols/parallel.svg +5 -0
  307. data/tools/test/themes/preset/symbols/parallel_branch.svg +5 -0
  308. data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +4 -0
  309. data/tools/test/themes/preset/symbols/parallel_branch_event.svg +14 -0
  310. data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +5 -0
  311. data/tools/test/themes/preset/symbols/scripts.svg +4 -0
  312. data/tools/test/themes/preset/symbols/start.svg +3 -0
  313. data/tools/test/themes/preset/symbols/stop.svg +5 -0
  314. data/tools/test/themes/preset/symbols/terminate.svg +4 -0
  315. data/tools/test/themes/preset/theme.js +1287 -0
  316. data/tools/test/track.html +142 -0
  317. metadata +282 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4e9b61672c390c5bcc5e5cf7a3e3629c7c2bc1cc03e59fe991d209e8648f3e64
4
- data.tar.gz: 602b274ea26365cc8d6552be1fedd101cfe34de2cf38bf9659bc73f1856a51d8
3
+ metadata.gz: ce85aa02aabbdb513ce56fc7eb7b11878290d2253a4dbad6e4ca0f308c9e4128
4
+ data.tar.gz: bb30943c2256495cb8346d2ac7808549748deba62aa33d2f15e8582dba55447a
5
5
  SHA512:
6
- metadata.gz: 6773ee8826306305997f1d69bce0fda39bd187a12ebc9567d90de2fdb701dd7c3cbcde0e5756221dad60848b878ea6b97156ec1bf8e08985a0c5d193ab71dca6
7
- data.tar.gz: d39b5fcb092cf98ad5034da936f2fa0bb5feffe95438e825385339147cbf89cf981255e97c3ea6634bfb04789b4039905f1f9b6909db3df09cdb04ab627f832c
6
+ metadata.gz: baf7bd6776dd0be3b9c677cd69ca0ece4705550d81ab5ea4f7465ecd087280d726ee96ba9db8c8df0dc365acce52749ca660f3888f1837f92a596d14437b455f
7
+ data.tar.gz: 77adf09dc7471ff19ec4283cbe9296789085eed108e836589f34b18aed50946b32b24d9f7f9380bfd9f7adc19eab33652af4ef022c8785ae88fd19d07903184d
@@ -22,3 +22,5 @@
22
22
 
23
23
  #areamodel div.section:nth-child(4) div { white-space: normal; vertical-align: middle; margin: 0; padding: 0; }
24
24
  #areamodel div.section:nth-child(4) button[name=loadmodeltype] { white-space: normal; width: 10em; height: 2em; }
25
+
26
+ #model ui-content { height: 6em; }
@@ -0,0 +1,55 @@
1
+ body {
2
+ -webkit-user-select: none;
3
+ -moz-user-select: -moz-none;
4
+ -ms-user-select: none;
5
+ user-select: none;
6
+ font-family: sans-serif;
7
+ font-size: 1em;
8
+ padding: 0;
9
+ margin: 0;
10
+ }
11
+
12
+ #replayer {
13
+ display: flex;
14
+ flex-direction: column;
15
+ flex-wrap: nowrap;
16
+ align-items: stretch;
17
+ height: 100vh;
18
+ }
19
+
20
+ #replay {
21
+ width: 100%;
22
+ display: flex;
23
+ flex-direction: row;
24
+ flex-wrap: nowrap;
25
+ align-items: stretch;
26
+ padding: 1em 0;
27
+ flex: 0 0 auto;
28
+ }
29
+
30
+ #replay span {
31
+ flex: 0 0 auto;
32
+ margin-left: 1em;
33
+ align-self: center;
34
+ }
35
+ #replay input {
36
+ margin: 0em 1em;
37
+ flex: 1 1 auto;
38
+ }
39
+ #replay button {
40
+ margin-right: 1em;
41
+ flex: 0 0 auto;
42
+ }
43
+
44
+ #content {
45
+ width: 100%;
46
+ align-self: center;
47
+ flex: 1 1 auto;
48
+ }
49
+
50
+ iframe {
51
+ border: 0 none;
52
+ padding: 0;
53
+ margin: 0;
54
+ overflow: scroll;
55
+ }
@@ -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;
@@ -1 +1 @@
1
- cockpit/index.html
1
+ ./index.html
@@ -54,6 +54,7 @@
54
54
  <script type="text/javascript" src="js/details.js"></script>
55
55
  <script type="text/javascript" src="js/parameters.js"></script>
56
56
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
57
+ <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
57
58
  <style>
58
59
  /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
59
60
  /* shit balls, no elegance is left in this world */
@@ -122,6 +123,7 @@
122
123
  <ui-tab class="inactive hidden" data-tab="instance" id="tabinstance" >Instance</ui-tab>
123
124
  <ui-tab class="inactive hidden" data-tab="execution" id="tabexecution">Execution</ui-tab>
124
125
  <ui-behind ><a style='display:none' target='_blank' id='current-instance'></a><a style='display:none' target='_blank' id='current-instance-properties'>P</a><a style='display:none' target='_blank' id='current-instance-subscriptions'>S</a><a style='display:none' target='_blank' id='current-instance-callbacks'>C</a></ui-behind>
126
+ <ui-last ><a class="logo" href=".."></a></ui-last>
125
127
  </ui-tabbar>
126
128
  <ui-content>
127
129
  <ui-area data-belongs-to-tab="new" id="areanew"> <!--{{{-->
@@ -91,7 +91,6 @@ function cockpit() { //{{{
91
91
  $("button[name=savesvgfile]").click(function(){ save_svgfile(); });
92
92
  $("button[name=state_start]").click(function(){ $(this).parent().find('button').attr("disabled","disabled");start_instance(); });
93
93
  $("button[name=state_stop]").click(function(){ $(this).parent().find('button').attr("disabled","disabled");stop_instance(); });
94
- $("button[name=state_replay]").click(function(){ $(this).parent().find('button').attr("disabled","disabled");replay_instance(); });
95
94
  $("button[name=state_abandon]").click(function(){ aba_instance(); });
96
95
  $("input[name=votecontinue]").click(check_subscription);
97
96
  $("input[name=testsetfile]").change(load_testsetfile_after);
@@ -629,9 +628,11 @@ function monitor_instance_state() {// {{{
629
628
  }// }}}
630
629
  function monitor_instance_transformation() {// {{{
631
630
  var url = $('body').attr('current-instance');
631
+ console.log('hallo');
632
+ console.log(url);
632
633
  $.ajax({
633
634
  type: "GET",
634
- url: url + "/properties/attributes/modeltype",
635
+ url: url + "/properties/attributes/modeltype/",
635
636
  success: function(res){
636
637
  $("#currentmodel").text(res);
637
638
  },
@@ -699,19 +700,16 @@ function monitor_instance_state_change(notification) { //{{{
699
700
  $('#state_extended').show();
700
701
  $("button[name=state_start]").show();
701
702
  $("button[name=state_stop]").hide();
702
- $("button[name=state_replay]").show();
703
703
  $("button[name=state_abandon]").show();
704
704
  } else if (notification == "running") {
705
705
  $('#state_extended').hide();
706
706
  $("button[name=state_start]").hide();
707
707
  $("button[name=state_stop]").show();
708
- $("button[name=state_replay]").hide();
709
708
  $("button[name=state_abandon]").hide();
710
709
  } else {
711
710
  $('#state_extended').hide();
712
711
  $("button[name=state_start]").hide();
713
712
  $("button[name=state_stop]").hide();
714
- $("button[name=state_replay]").hide();
715
713
  $("button[name=state_abandon]").hide();
716
714
  }
717
715
 
@@ -774,26 +772,17 @@ function start_instance() {// {{{
774
772
  var url = $('body').attr('current-instance');
775
773
  $.ajax({
776
774
  type: "PUT",
777
- url: url + "/properties/state",
775
+ url: url + "/properties/state/",
778
776
  data: ({value: "running"}),
779
777
  error: report_failure
780
778
  });
781
779
  }// }}}
782
- function replay_instance() {// {{{
783
- var url = $('body').attr('current-instance');
784
- $.ajax({
785
- type: "PUT",
786
- url: url + "/properties/state",
787
- data: ({value: "replaying"}),
788
- error: report_failure
789
- });
790
- }// }}}
791
780
  function aba_instance() {// {{{
792
781
  monitor_instance_state_change('abandoned');
793
782
  var url = $('body').attr('current-instance');
794
783
  $.ajax({
795
784
  type: "PUT",
796
- url: url + "/properties/state",
785
+ url: url + "/properties/state/",
797
786
  data: ({value: "abandoned"}),
798
787
  error: report_failure
799
788
  });
@@ -802,7 +791,7 @@ function stop_instance() {// {{{
802
791
  var url = $('body').attr('current-instance');
803
792
  $.ajax({
804
793
  type: "PUT",
805
- url: url + "/properties/state",
794
+ url: url + "/properties/state/",
806
795
  data: ({value: "stopping"}),
807
796
  error: report_failure
808
797
  });
@@ -838,7 +827,6 @@ function get_testset(deferred) {// {{{
838
827
  $('testset > dsl',testset).remove();
839
828
  $('testset > dslx',testset).remove();
840
829
  $('testset > attributes > uuid',testset).remove();
841
- $('testset > attributes > theme',testset).remove();
842
830
  testset.append($X('<transformation xmlns="http://cpee.org/ns/properties/2.0"><description type="copy"/><dataelements type="none"/><endpoints type="none"/></transformation>'));
843
831
  var name = $('testset > attributes > info',testset).text();
844
832
  $('[xmlns]',testset).each((idx,ele) => {
@@ -952,7 +940,7 @@ async function set_testset(testset,exec) {// {{{
952
940
  success: function(res){
953
941
  $.ajax({
954
942
  type: "PUT",
955
- url: url + "/properties/state",
943
+ url: url + "/properties/state/",
956
944
  data: ({value: res}),
957
945
  error: report_failure,
958
946
  success: function(res){
@@ -1054,7 +1042,7 @@ function load_modeltype() {// {{{
1054
1042
  success: function(res){
1055
1043
  $.ajax({
1056
1044
  type: "PUT",
1057
- url: url + "/properties/attributes/modeltype",
1045
+ url: url + "/properties/attributes/modeltype/",
1058
1046
  data: ({value: name}),
1059
1047
  success: function(){
1060
1048
  set_testset(res,false);
@@ -0,0 +1,40 @@
1
+ $(document).ready(function() {
2
+ $("#replay button").click(e => {
3
+ $.ajax({
4
+ url: $('#replay input').val(),
5
+ type: 'GET',
6
+ success: function(re) {
7
+ var de;
8
+ var ep;
9
+ var at;
10
+ var desc;
11
+ try {
12
+ jsyaml.loadAll(re,e => {
13
+ if (e.event && e.event['cpee:lifecycle:transition'] == 'dataelements/change') {
14
+ de = e.event.data.data_values;
15
+ }
16
+ if (e.event && e.event['cpee:lifecycle:transition'] == 'endpoints/change') {
17
+ ep = e.event.data.data_values;
18
+ }
19
+ if (e.event && e.event['cpee:lifecycle:transition'] == 'attributes/change') {
20
+ at = e.event.data.data_values;
21
+ }
22
+ if (e.event && e.event['cpee:description']) {
23
+ desc = e.event['cpee:description'];
24
+ }
25
+ if (e.event && e.event['cpee:state'] == 'running') {
26
+ throw BreakException;
27
+ }
28
+ });
29
+ } catch(e) { /* just to break out of the iterator. what a shitty language */ }
30
+ }
31
+ });
32
+
33
+
34
+ // load log with ajax
35
+ // extract process model
36
+ // initialize process model
37
+ // set attributes
38
+ // change start button to do replay
39
+ });
40
+ });
Binary file
@@ -56,6 +56,7 @@
56
56
  <script type="text/javascript" src="js/model.js"></script>
57
57
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
58
58
  <link rel="stylesheet" href="css/model.css" type="text/css"/>
59
+ <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
59
60
  <style>
60
61
  /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
61
62
  /* shit balls, no elegance is left in this world */
@@ -119,7 +120,8 @@
119
120
  <ui-tab class="switch" ></ui-tab>
120
121
  <ui-tab class="" data-tab="model" id="tabmodel" >Model</ui-tab>
121
122
  <ui-tab class="inactive" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
122
- <ui-behind ><button title='add entry' class="hidden">New</button></ui-behind>
123
+ <ui-behind ></ui-behind>
124
+ <ui-last ><a class="logo" href=".."></a></ui-last>
123
125
  </ui-tabbar>
124
126
  <ui-content>
125
127
  <ui-area data-belongs-to-tab="model" id="areamodel"> <!--{{{-->
@@ -0,0 +1,52 @@
1
+ <!--
2
+ This file is part of CPEE.
3
+
4
+ CPEE is free software: you can redistribute it and/or modify it under the terms
5
+ of the GNU General Public License as published by the Free Software Foundation,
6
+ either version 3 of the License, or (at your option) any later version.
7
+
8
+ CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
11
+
12
+ You should have received a copy of the GNU General Public License along with
13
+ CPEE (file COPYING in the main directory). If not, see
14
+ <http://www.gnu.org/licenses/>.
15
+ -->
16
+
17
+ <!DOCTYPE html>
18
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
19
+ <head>
20
+ <meta charset="utf-8"/>
21
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
22
+ <title>CPEE Cockpit</title>
23
+
24
+ <!-- libs, do not modify. When local than load local libs. -->
25
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
26
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
27
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
28
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
29
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
30
+ <script type="text/javascript" src="/js_libs/util.js"></script>
31
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
32
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
33
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
34
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
35
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
36
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
37
+ <script type="text/javascript" src="/js_libs/js-yaml.min.js"></script>
38
+
39
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
40
+
41
+ <!-- custom stuff, play arround -->
42
+ <script type="text/javascript" src="js/replay.js"></script>
43
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
44
+ <link rel="stylesheet" href="css/replay.css" type="text/css"/>
45
+ </head>
46
+ <body is="x-ui">
47
+ <div id="replayer">
48
+ <div id="replay"><span>Replay:</span><input type="text" value="http://localhost/logs/4b92138d-1f68-4d18-b676-92fb1cbe2c78.xes.yaml"/><button>Prepare!</button></div>
49
+ <iframe id="content" src=""></iframe>
50
+ </div>
51
+ </body>
52
+ </html>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0"?>
2
+ <testset>
3
+ <transformation>
4
+ <description type='copy'/>
5
+ <dataelements type='none'/>
6
+ <endpoints type='none'/>
7
+ </transformation>
8
+ </testset>
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0"?>
2
+ <testset>
3
+ <transformation>
4
+ <description type='rest'>http://localhost:9295/bpmn2/</description>
5
+ <dataelements type='rest'>http://localhost:9295/bpmn2/</dataelements>
6
+ <endpoints type='rest'>http://localhost:9295/bpmn2/</endpoints>
7
+ </transformation>
8
+ </testset>
@@ -0,0 +1,13 @@
1
+ <testsets>
2
+ <testset>UR-VUE 2020</testset>
3
+ <testset>UR-VUE 2020 Solution View</testset>
4
+ <testset>UR-VUE 2020 Solution Baseline</testset>
5
+ <testset>UR-VUE 2020 Solution NN</testset>
6
+ <testset>Coopis 2010</testset>
7
+ <testset>IUPC arXiv:1104.3609 P34 1</testset>
8
+ <testset>IUPC arXiv:1104.3609 P34 2</testset>
9
+ <testset>IUPC arXiv:1104.3609 P34 3</testset>
10
+ <testset>Worklist</testset>
11
+ <testset>Track Test</testset>
12
+ <testset>Track Test Local</testset>
13
+ </testsets>
@@ -0,0 +1,4 @@
1
+ <transformations>
2
+ <transformation>CPEE</transformation>
3
+ <transformation>Signavio</transformation>
4
+ </transformations>
@@ -15,7 +15,7 @@
15
15
  <method>:post</method>
16
16
  <arguments>
17
17
  <behavior>wait_running</behavior>
18
- <url>https://cpee.org/flow/templates/instantiate/Take_Perf.xml</url
18
+ <url>https://cpee.org/flow/templates/instantiate/Take_Perf.xml</url>
19
19
  <init/>
20
20
  <endpoints/>
21
21
  <stream/>
@@ -26,7 +26,8 @@
26
26
  </zeroOrMore>
27
27
  </element>
28
28
  <element name="stream" rngui:header="Data Stream Handling" rngui:fold="closed">
29
- <element name="sensors" rngui:header="Sensors" rngui:fold="closed">
29
+
30
+ <element name="sensors" rngui:header="Sensor Data Streams" rngui:fold="closed">
30
31
  <zeroOrMore rngui:label="Add Sensor">
31
32
  <element name="sensor">
32
33
  <element name="name" rngui:label="Label">
@@ -35,13 +36,18 @@
35
36
  <element name="extractor_url" rngui:label="Extractor Url">
36
37
  <data type="string" rngui:label="Service Url"/>
37
38
  </element>
38
- <element name="extractor_arg" rngui:label="Extractor Argument">
39
- <data type="string" rngui:label="Value / Json"/>
39
+ <element name="extractor_params" rngui:label="Extractor Arguments:">
40
+ <zeroOrMore rngui:label="Create Extractor Argument Pairs">
41
+ <element rngui:label="Name">
42
+ <anyName/>
43
+ <data type="string" rngui:label="Value / Json"/>
44
+ </element>
45
+ </zeroOrMore>
40
46
  </element>
41
47
  <element name="visualizer_url" rngui:label="Visualizer Url">
42
48
  <data type="string" rngui:label="Service Url"/>
43
49
  </element>
44
- <element name="visualizer_params" rngui:header="Visualizer Arguments">
50
+ <element name="visualizer_params" rngui:label="Visualizer Arguments">
45
51
  <zeroOrMore rngui:label="Create Visualizer Argument Pairs">
46
52
  <element rngui:label="Name">
47
53
  <anyName/>
@@ -52,42 +58,44 @@
52
58
  </element>
53
59
  </zeroOrMore>
54
60
  </element>
55
- <element name="aggregators" rngui:header="Aggregators" rngui:fold="closed">
56
- <zeroOrMore rngui:label="Add Aggregator">
57
- <element name="aggregator">
58
- <element name="name" rngui:label="Label">
59
- <data type="string" rngui:label="Label"/>
60
- </element>
61
- <element name="aggregator_url" rngui:label="Aggregator Url">
62
- <data type="string" rngui:label="Service Url"/>
63
- </element>
64
- <element name="aggregator_arg" rngui:label="Aggregator Argument">
65
- <data type="string" rngui:label="Value / Json"/>
66
- </element>
67
- </element>
68
- </zeroOrMore>
69
- </element>
70
- <element name="costs" rngui:header="Costs" rngui:fold="closed">
71
- <zeroOrMore rngui:label="Create Cost Factor">
72
- <element name="cost_factor">
61
+
62
+ <element name="ips" rngui:header="Impact Profiles" rngui:fold="closed">
63
+ <zeroOrMore rngui:label="Add Impact Profile">
64
+ <element name="ip">
73
65
  <element name="name" rngui:label="Label">
74
66
  <data type="string" rngui:label="Label"/>
75
67
  </element>
76
68
  <element name="target" rngui:label="Target Value">
77
69
  <data type="string" rngui:label="Value"/>
78
70
  </element>
79
- <element name="vfunc_url" rngui:label="Violation Function Url">
80
- <data type="string" rngui:label="Service Url"/>
81
- </element>
82
- <element name="vfunc_arg" rngui:label="Violation Function Argument">
83
- <data type="string" rngui:label="Service Url"/>
71
+ <element name="ifs" rngui:header="Impact Factors">
72
+ <zeroOrMore rngui:label="Add Impact Factor">
73
+ <element name="if">
74
+ <element name="ivs" rngui:header="Impact Values">
75
+ <zeroOrMore rngui:label="Add Impact Value ">
76
+ <element name="iv">
77
+ <element name="extractor_url" rngui:label="Extractor Url">
78
+ <data type="string" rngui:label="Service Url + Parameters"/>
79
+ </element>
80
+ <element name="aggregator_url" rngui:label="Aggregator Url">
81
+ <data type="string" rngui:label="Service Url + Parameters"/>
82
+ </element>
83
+ </element>
84
+ </zeroOrMore>
85
+ </element>
86
+ <element name="aggregator_url" rngui:label="Impact Function Url">
87
+ <data type="string" rngui:label="Service Url + Parameters"/>
88
+ </element>
89
+ </element>
90
+ </zeroOrMore>
84
91
  </element>
85
- <element name="vcost" rngui:label="Violation Cost">
86
- <data type="string" rngui:label="Value"/>
92
+ <element name="vfunc_url" rngui:label="Violation Function Url">
93
+ <data type="string" rngui:label="Service Url + Parameters"/>
87
94
  </element>
88
95
  </element>
89
96
  </zeroOrMore>
90
97
  </element>
98
+
91
99
  </element>
92
100
  <element name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
93
101
  <element name="url" rngui:label='HTML Snippet'>
@@ -97,21 +105,40 @@
97
105
  </element>
98
106
  <element name="annotations" rngui:header="Annotations">
99
107
  <element name="_timing" rngui:header="Timing" rngui:fold="closed">
100
- <element name="_timing_wait" rngui:label="&#x3C9; - Wait">
101
- <data type="float" rngui:label="[0,1]" rngui:default="0.5"/>
102
- </element>
103
- <element name="_timing_threshold" rngui:label="&#x3BA; - Threshold">
104
- <data type="float" rngui:label="[0,3,n]" rngui:default="3"/>
105
- </element>
106
- <element name="_timing_min" rngui:label="Min in min">
107
- <data type="float" rngui:label="Minutes"/>
108
- </element>
109
- <element name="_timing_max" rngui:label="Max in min">
110
- <data type="float" rngui:label="Minutes"/>
108
+ <element name="_timing_weight" rngui:label="&#x3C9; - Weight">
109
+ <data type="float" rngui:label="[0,1]"/>
111
110
  </element>
112
111
  <element name="_timing_avg" rngui:label="Avg in min">
113
112
  <data type="float" rngui:label="Minutes"/>
114
113
  </element>
114
+ <element name="explanations" rngui:header="Explanations">
115
+ <zeroOrMore rngui:label="Add Explanation">
116
+ <element name="explanation">
117
+ <element name="type" rngui:label="Type">
118
+ <choice>
119
+ <value>&gt;</value>
120
+ <value>&lt;</value>
121
+ </choice>
122
+ </element>
123
+ <element name="deviation" rngui:label="Deviation">
124
+ <data type="float" rngui:label="Minutes"/>
125
+ </element>
126
+ <element name="behaviour" rngui:label="Behaviour">
127
+ <choice>
128
+ <value>Immediately</value>
129
+ <value>Wait until next</value>
130
+ <value>Use grace period value</value>
131
+ </choice>
132
+ </element>
133
+ <element name="grace" rngui:label="Grace Period" rngui:default="0.0">
134
+ <data type="float" rngui:label="Minutes"/>
135
+ </element>
136
+ <element name="text" rngui:label="Explanation">
137
+ <data type="string" rngui:label="Patterns"/>
138
+ </element>
139
+ </element>
140
+ </zeroOrMore>
141
+ </element>
115
142
  </element>
116
143
  <element name="_notes" rngui:header="Notes" rngui:fold="closed">
117
144
  <element name="_notes_general" rngui:label="General">