cpee 2.0.25 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (375) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/ui.css +27 -4
  3. data/cockpit/css/wfadaptor.css +11 -0
  4. data/cockpit/edit.html +10 -10
  5. data/cockpit/graph.html +3 -3
  6. data/cockpit/index.html +9 -6
  7. data/cockpit/js/details.js +0 -1
  8. data/cockpit/js/instance.js +26 -19
  9. data/cockpit/js/model.js +6 -11
  10. data/cockpit/js/parameters.js +6 -4
  11. data/cockpit/js/wfadaptor.js +2 -0
  12. data/cockpit/model.html +4 -3
  13. data/cockpit/replay.html +3 -2
  14. data/cockpit/templates.legacy/Async.xml +12 -12
  15. data/cockpit/templates.legacy/BCO.xml +9 -11
  16. data/cockpit/templates.legacy/BCS.xml +9 -11
  17. data/cockpit/templates.legacy/Centurio.xml +7 -7
  18. data/cockpit/templates.legacy/Concurrent.xml +7 -7
  19. data/cockpit/templates.legacy/Coopis Testset.xml +7 -7
  20. data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -7
  21. data/cockpit/templates.legacy/ICSOC Testset.xml +7 -7
  22. data/cockpit/templates.legacy/Infinity.xml +7 -7
  23. data/cockpit/templates.legacy/Lego Boxer.xml +13 -13
  24. data/cockpit/templates.legacy/Lego Conveyor.xml +13 -13
  25. data/cockpit/templates.legacy/Lego Crane.xml +16 -16
  26. data/cockpit/templates.legacy/Lego Ejector.xml +16 -16
  27. data/cockpit/templates.legacy/Lego Full.xml +12 -12
  28. data/cockpit/templates.legacy/Lego Liddy.xml +13 -13
  29. data/cockpit/templates.legacy/Lego Plate.xml +13 -13
  30. data/cockpit/templates.legacy/Lego Transporter.xml +14 -14
  31. data/cockpit/templates.legacy/Lego_Part_1.xml +12 -12
  32. data/cockpit/templates.legacy/LgLinear.xml +7 -10
  33. data/cockpit/templates.legacy/Linear.xml +11 -14
  34. data/cockpit/templates.legacy/Log.xml +11 -12
  35. data/cockpit/templates.legacy/Mangler 1.xml +7 -7
  36. data/cockpit/templates.legacy/Mangler 2.xml +7 -7
  37. data/cockpit/templates.legacy/Manuel Labels.xml +11 -11
  38. data/cockpit/templates.legacy/Promise.xml +30 -30
  39. data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +7 -7
  40. data/cockpit/templates.legacy/Subprocess.xml +15 -15
  41. data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
  42. data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
  43. data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
  44. data/cockpit/templates.legacy/Syncing P34.xml +8 -11
  45. data/cockpit/templates.legacy/TEST - Bad Loop.xml +7 -7
  46. data/cockpit/templates.legacy/TEST - Wrong Positions.xml +7 -7
  47. data/cockpit/templates.legacy/Take_5.xml +14 -14
  48. data/cockpit/templates.legacy/Update.xml +11 -11
  49. data/cockpit/templates.legacy/Worklist Parallel.xml +17 -17
  50. data/cockpit/templates.legacy/Worklist Test CPEE.xml +14 -14
  51. data/cockpit/templates.legacy/Worklist Test.xml +14 -14
  52. data/cockpit/templates.legacy/Worklist Test2.xml +14 -14
  53. data/cockpit/templates/Coopis 2010.xml +7 -7
  54. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +9 -12
  55. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +9 -12
  56. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +9 -12
  57. data/cockpit/templates/Track Test Local.xml +8 -4
  58. data/cockpit/templates/Track Test.xml +6 -2
  59. data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +6 -2
  60. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +9 -5
  61. data/cockpit/templates/UR-VUE 2020 Solution NN.xml +9 -5
  62. data/cockpit/templates/UR-VUE 2020 Solution View.xml +9 -5
  63. data/cockpit/templates/UR-VUE 2020.xml +9 -5
  64. data/cockpit/templates/Worklist.xml +14 -14
  65. data/cockpit/templates/instantiate.local/Take_Sub.xml +2 -2
  66. data/cockpit/templates/instantiate/Take_Perf.xml +1 -1
  67. data/cockpit/templates/instantiate/Take_Sub.xml +2 -2
  68. data/cockpit/templates/instantiate/Take_X.xml +2 -2
  69. data/cockpit/themes/compact/rngs/parallel.rng +6 -0
  70. data/cockpit/themes/compact/rngs/start.rng +83 -0
  71. data/cockpit/themes/compact/symbols/parallel_branch_event.svg +2 -2
  72. data/cockpit/themes/compact/symbols/parallel_eventbased_exclusive.svg +9 -0
  73. data/cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg +8 -0
  74. data/cockpit/themes/compact/symbols/start.svg +1 -1
  75. data/cockpit/themes/compact/theme.js +45 -2
  76. data/cockpit/themes/control/rngs/parallel.rng +6 -0
  77. data/cockpit/themes/control/rngs/start.rng +83 -0
  78. data/cockpit/themes/control/symbols/parallel_branch_event.svg +2 -2
  79. data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +9 -0
  80. data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +8 -0
  81. data/cockpit/themes/control/symbols/start.svg +1 -1
  82. data/cockpit/themes/control/theme.js +45 -2
  83. data/cockpit/themes/default/rngs/parallel.rng +6 -0
  84. data/cockpit/themes/default/rngs/start.rng +83 -0
  85. data/cockpit/themes/default/symbols/parallel_branch_event.svg +2 -2
  86. data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +9 -0
  87. data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +8 -0
  88. data/cockpit/themes/default/symbols/start.svg +1 -1
  89. data/cockpit/themes/default/theme.js +46 -3
  90. data/cockpit/themes/extended/rngs/parallel.rng +6 -0
  91. data/cockpit/themes/extended/rngs/start.rng +83 -0
  92. data/cockpit/themes/extended/symbols/parallel_branch_event.svg +2 -2
  93. data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +9 -0
  94. data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +8 -0
  95. data/cockpit/themes/extended/symbols/start.svg +1 -1
  96. data/cockpit/themes/extended/theme.js +45 -2
  97. data/cockpit/themes/model/symbols/parallel_branch_event.svg +2 -2
  98. data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +9 -0
  99. data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +8 -0
  100. data/cockpit/themes/model/symbols/start.svg +1 -1
  101. data/cockpit/themes/model/theme.js +45 -2
  102. data/cockpit/themes/packed/rngs/parallel.rng +6 -0
  103. data/cockpit/themes/packed/rngs/start.rng +83 -0
  104. data/cockpit/themes/packed/symbols/parallel_branch_event.svg +2 -2
  105. data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +9 -0
  106. data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +8 -0
  107. data/cockpit/themes/packed/symbols/start.svg +1 -1
  108. data/cockpit/themes/packed/theme.js +45 -2
  109. data/cockpit/themes/preset/rngs/parallel.rng +6 -0
  110. data/cockpit/themes/preset/rngs/start.rng +83 -0
  111. data/cockpit/themes/preset/symbols/parallel_branch_event.svg +2 -2
  112. data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +9 -0
  113. data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +8 -0
  114. data/cockpit/themes/preset/symbols/start.svg +1 -1
  115. data/cockpit/themes/preset/theme.js +46 -3
  116. data/cockpit/track.html +3 -3
  117. data/cpee.gemspec +3 -3
  118. data/lib/cpee/attributes_helper.rb +14 -0
  119. data/lib/cpee/implementation.rb +10 -8
  120. data/lib/cpee/implementation_callbacks.rb +28 -7
  121. data/lib/cpee/implementation_notifications.rb +20 -2
  122. data/lib/cpee/implementation_properties.rb +128 -24
  123. data/lib/cpee/persistence.rb +0 -27
  124. data/lib/cpee/statemachine.rb +14 -0
  125. data/lib/cpee/value_helper.rb +14 -0
  126. data/lib/properties.xml +4 -4
  127. data/lib/properties/{handlerwrapper.rng → executionhandler.rng} +2 -2
  128. data/lib/properties/properties.rng +2 -2
  129. data/lib/properties/set-properties.rng +2 -2
  130. data/lib/properties/set-some-properties.rng +2 -2
  131. data/server/{resources → executionhandlers/ruby}/backend/README.md +0 -0
  132. data/server/{resources → executionhandlers/ruby}/backend/instance.template +2 -4
  133. data/server/{resources → executionhandlers/ruby}/backend/opts.yaml +2 -2
  134. data/server/executionhandlers/ruby/backend/run +37 -0
  135. data/server/{handlerwrappers/default.rb → executionhandlers/ruby/connection.rb} +7 -3
  136. data/server/executionhandlers/ruby/controller.rb +195 -0
  137. data/server/{resources/transformation_dslx.xsl → executionhandlers/ruby/dsl_to_dslx.xsl} +57 -8
  138. data/server/executionhandlers/ruby/execution.rb +81 -0
  139. data/server/resources/properties.empty +1 -1
  140. data/server/resources/properties.init +1 -1
  141. data/server/resources/topics.xml +2 -2
  142. data/server/routing/end.rb +1 -0
  143. data/server/routing/forward-votes.rb +6 -5
  144. data/server/routing/persist.rb +4 -4
  145. data/tools/cpee +9 -3
  146. data/tools/server/cpee +1 -1
  147. data/tools/server/resources/properties.init +1 -1
  148. metadata +35 -239
  149. data/cockpit/templates.legacy/convert_cpee2.rb +0 -15
  150. data/lib/cpee/controller.rb +0 -199
  151. data/lib/cpee/transform.rb +0 -95
  152. data/server/resources/backend/instance.rb +0 -23
  153. data/server/resources/backend/run +0 -33
  154. data/server/routing/end.pid +0 -1
  155. data/server/routing/forward-events.pid +0 -1
  156. data/server/routing/forward-votes.pid +0 -1
  157. data/server/routing/persist.pid +0 -1
  158. data/server/server.pid +0 -1
  159. data/tools/test/README +0 -4
  160. data/tools/test/config.json +0 -3
  161. data/tools/test/contrib/graph_example.svg +0 -1166
  162. data/tools/test/contrib/legend.svg +0 -817
  163. data/tools/test/contrib/symbols.svg +0 -224
  164. data/tools/test/contrib/transformation1.xsl +0 -264
  165. data/tools/test/contrib/transformation2.xsl +0 -10
  166. data/tools/test/contrib/tree_example.svg +0 -788
  167. data/tools/test/css/model.css +0 -24
  168. data/tools/test/css/track.css +0 -60
  169. data/tools/test/css/ui.css +0 -214
  170. data/tools/test/css/wfadaptor.css +0 -422
  171. data/tools/test/edit.html +0 -258
  172. data/tools/test/graph.html +0 -69
  173. data/tools/test/index.html +0 -258
  174. data/tools/test/js/details.js +0 -109
  175. data/tools/test/js/instance.js +0 -1344
  176. data/tools/test/js/model.js +0 -41
  177. data/tools/test/js/parameters.js +0 -82
  178. data/tools/test/js/track.js +0 -18
  179. data/tools/test/js/ui.js +0 -104
  180. data/tools/test/js/wfadaptor.js +0 -763
  181. data/tools/test/js_libs.zip +0 -0
  182. data/tools/test/js_libs/Makefile +0 -2
  183. data/tools/test/js_libs/ansi_up.js +0 -333
  184. data/tools/test/js_libs/console.js +0 -80
  185. data/tools/test/js_libs/custommenu.css +0 -84
  186. data/tools/test/js_libs/custommenu.js +0 -104
  187. data/tools/test/js_libs/experiments1/relaxngui.css +0 -185
  188. data/tools/test/js_libs/experiments1/relaxngui.js +0 -488
  189. data/tools/test/js_libs/experiments1/rngtest9.html +0 -60
  190. data/tools/test/js_libs/experiments1/rngtest9.rng +0 -35
  191. data/tools/test/js_libs/experiments1/rngtest9.xml +0 -8
  192. data/tools/test/js_libs/jquery-2.2.4.min.js +0 -4
  193. data/tools/test/js_libs/jquery-3.2.1.min.js +0 -4
  194. data/tools/test/js_libs/jquery-3.3.1.min.js +0 -2
  195. data/tools/test/js_libs/jquery.browser.js +0 -40
  196. data/tools/test/js_libs/jquery.caret.min.js +0 -10
  197. data/tools/test/js_libs/jquery.cookie.js +0 -117
  198. data/tools/test/js_libs/jquery.min.js +0 -1
  199. data/tools/test/js_libs/jquery.svg.min.js +0 -6
  200. data/tools/test/js_libs/jquery.svgdom.min.js +0 -6
  201. data/tools/test/js_libs/markdown.min.js +0 -1
  202. data/tools/test/js_libs/parsequery.js +0 -21
  203. data/tools/test/js_libs/printf.js +0 -368
  204. data/tools/test/js_libs/relaxngui.css +0 -213
  205. data/tools/test/js_libs/relaxngui.js +0 -543
  206. data/tools/test/js_libs/strftime.min.js +0 -1
  207. data/tools/test/js_libs/tests/dataelements.html +0 -59
  208. data/tools/test/js_libs/tests/dataelements.rng +0 -8
  209. data/tools/test/js_libs/tests/dataelements.xml +0 -3
  210. data/tools/test/js_libs/tests/relaxngui.css +0 -203
  211. data/tools/test/js_libs/tests/relaxngui.js +0 -502
  212. data/tools/test/js_libs/tests/rngtest1.html +0 -66
  213. data/tools/test/js_libs/tests/rngtest1.rng +0 -147
  214. data/tools/test/js_libs/tests/rngtest1.xml +0 -13
  215. data/tools/test/js_libs/tests/rngtest2.html +0 -60
  216. data/tools/test/js_libs/tests/rngtest2.rng +0 -6
  217. data/tools/test/js_libs/tests/rngtest2.xml +0 -3
  218. data/tools/test/js_libs/tests/rngtest3.html +0 -60
  219. data/tools/test/js_libs/tests/rngtest3.rng +0 -23
  220. data/tools/test/js_libs/tests/rngtest3.xml +0 -9
  221. data/tools/test/js_libs/tests/rngtest4.html +0 -60
  222. data/tools/test/js_libs/tests/rngtest4.rng +0 -19
  223. data/tools/test/js_libs/tests/rngtest4.xml +0 -12
  224. data/tools/test/js_libs/tests/rngtest5.html +0 -60
  225. data/tools/test/js_libs/tests/rngtest5.rng +0 -75
  226. data/tools/test/js_libs/tests/rngtest5.xml +0 -40
  227. data/tools/test/js_libs/tests/rngtest6.html +0 -60
  228. data/tools/test/js_libs/tests/rngtest6.rng +0 -24
  229. data/tools/test/js_libs/tests/rngtest6.xml +0 -6
  230. data/tools/test/js_libs/tests/rngtest8.html +0 -60
  231. data/tools/test/js_libs/tests/rngtest8.rng +0 -13
  232. data/tools/test/js_libs/tests/rngtest8.xml +0 -2
  233. data/tools/test/js_libs/tests/rngtest9.html +0 -60
  234. data/tools/test/js_libs/tests/rngtest9.rng +0 -31
  235. data/tools/test/js_libs/tests/rngtest9.xml +0 -8
  236. data/tools/test/js_libs/ui.css +0 -333
  237. data/tools/test/js_libs/ui.html +0 -168
  238. data/tools/test/js_libs/ui.js +0 -177
  239. data/tools/test/js_libs/underscore.min.js +0 -27
  240. data/tools/test/js_libs/util.js +0 -81
  241. data/tools/test/js_libs/vkbeautify.0.99.00.beta.js +0 -358
  242. data/tools/test/js_libs/vkbeautify.js +0 -1
  243. data/tools/test/js_libs/webcomponents.min.js +0 -196
  244. data/tools/test/model.html +0 -192
  245. data/tools/test/rngs/attributes.rng +0 -8
  246. data/tools/test/rngs/dataelements.rng +0 -8
  247. data/tools/test/rngs/endpoints.rng +0 -8
  248. data/tools/test/templates.legacy/Async.xml +0 -46
  249. data/tools/test/templates.legacy/BCO.xml +0 -70
  250. data/tools/test/templates.legacy/BCS.xml +0 -70
  251. data/tools/test/templates.legacy/Centurio.xml +0 -75
  252. data/tools/test/templates.legacy/Concurrent.xml +0 -40
  253. data/tools/test/templates.legacy/Coopis Testset.xml +0 -76
  254. data/tools/test/templates.legacy/Endpoints and Data Manipulation.xml +0 -30
  255. data/tools/test/templates.legacy/ICSOC Testset.xml +0 -95
  256. data/tools/test/templates.legacy/Infinity.xml +0 -28
  257. data/tools/test/templates.legacy/Lego Boxer.xml +0 -31
  258. data/tools/test/templates.legacy/Lego Conveyor.xml +0 -31
  259. data/tools/test/templates.legacy/Lego Crane.xml +0 -87
  260. data/tools/test/templates.legacy/Lego Ejector.xml +0 -55
  261. data/tools/test/templates.legacy/Lego Full.xml +0 -142
  262. data/tools/test/templates.legacy/Lego Liddy.xml +0 -40
  263. data/tools/test/templates.legacy/Lego Plate.xml +0 -31
  264. data/tools/test/templates.legacy/Lego Transporter.xml +0 -43
  265. data/tools/test/templates.legacy/Lego_Part_1.xml +0 -85
  266. data/tools/test/templates.legacy/LgLinear.xml +0 -65
  267. data/tools/test/templates.legacy/Linear.xml +0 -77
  268. data/tools/test/templates.legacy/Log.xml +0 -117
  269. data/tools/test/templates.legacy/Mangler 1.xml +0 -87
  270. data/tools/test/templates.legacy/Mangler 2.xml +0 -103
  271. data/tools/test/templates.legacy/Manuel Labels.xml +0 -55
  272. data/tools/test/templates.legacy/Promise.xml +0 -275
  273. data/tools/test/templates.legacy/SOPROMO Test Sonification.xml +0 -83
  274. data/tools/test/templates.legacy/Subprocess.xml +0 -56
  275. data/tools/test/templates.legacy/Syncing P34 1.xml +0 -77
  276. data/tools/test/templates.legacy/Syncing P34 2.xml +0 -77
  277. data/tools/test/templates.legacy/Syncing P34 3.xml +0 -77
  278. data/tools/test/templates.legacy/Syncing P34.xml +0 -77
  279. data/tools/test/templates.legacy/TEST - Bad Loop.xml +0 -173
  280. data/tools/test/templates.legacy/TEST - Wrong Positions.xml +0 -174
  281. data/tools/test/templates.legacy/Take_5.xml +0 -48
  282. data/tools/test/templates.legacy/Update.xml +0 -32
  283. data/tools/test/templates.legacy/Worklist Parallel.xml +0 -104
  284. data/tools/test/templates.legacy/Worklist Test CPEE.xml +0 -40
  285. data/tools/test/templates.legacy/Worklist Test.xml +0 -42
  286. data/tools/test/templates.legacy/Worklist Test2.xml +0 -43
  287. data/tools/test/templates.legacy/convert_cpee2.rb +0 -15
  288. data/tools/test/templates.legacy/convert_preset.rb +0 -32
  289. data/tools/test/templates.legacy/testsets.xml +0 -37
  290. data/tools/test/templates.legacy/transformations.xml +0 -4
  291. data/tools/test/templates/Coopis 2010.xml +0 -76
  292. data/tools/test/templates/IUPC arXiv:1104.3609 P34 1.xml +0 -77
  293. data/tools/test/templates/IUPC arXiv:1104.3609 P34 2.xml +0 -77
  294. data/tools/test/templates/IUPC arXiv:1104.3609 P34 3.xml +0 -77
  295. data/tools/test/templates/Track Test Local.xml +0 -82
  296. data/tools/test/templates/Track Test.xml +0 -82
  297. data/tools/test/templates/UR-VUE 2020 Manual Adjust.xml +0 -182
  298. data/tools/test/templates/UR-VUE 2020 Solution Baseline.xml +0 -203
  299. data/tools/test/templates/UR-VUE 2020 Solution NN.xml +0 -197
  300. data/tools/test/templates/UR-VUE 2020 Solution View.xml +0 -151
  301. data/tools/test/templates/UR-VUE 2020.xml +0 -26
  302. data/tools/test/templates/Worklist.xml +0 -42
  303. data/tools/test/templates/instantiate.local/Take_Sub.xml +0 -59
  304. data/tools/test/templates/instantiate/Take_Perf.xml +0 -46
  305. data/tools/test/templates/instantiate/Take_Sub.xml +0 -58
  306. data/tools/test/templates/instantiate/Take_X.xml +0 -48
  307. data/tools/test/themes/compact/theme.js +0 -1285
  308. data/tools/test/themes/diana/theme.js +0 -1650
  309. data/tools/test/themes/extended/theme.js +0 -1325
  310. data/tools/test/themes/model/rngs/alternative.rng +0 -1
  311. data/tools/test/themes/model/rngs/call.rng +0 -67
  312. data/tools/test/themes/model/rngs/callmanipulate.rng +0 -72
  313. data/tools/test/themes/model/rngs/choose.rng +0 -1
  314. data/tools/test/themes/model/rngs/critical.rng +0 -1
  315. data/tools/test/themes/model/rngs/escape.rng +0 -1
  316. data/tools/test/themes/model/rngs/group.rng +0 -1
  317. data/tools/test/themes/model/rngs/loop.rng +0 -1
  318. data/tools/test/themes/model/rngs/manipulate.rng +0 -1
  319. data/tools/test/themes/model/rngs/otherwise.rng +0 -1
  320. data/tools/test/themes/model/rngs/parallel.rng +0 -1
  321. data/tools/test/themes/model/rngs/parallel_branch.rng +0 -1
  322. data/tools/test/themes/model/rngs/scripts.rng +0 -7
  323. data/tools/test/themes/model/rngs/stop.rng +0 -1
  324. data/tools/test/themes/model/rngs/terminate.rng +0 -1
  325. data/tools/test/themes/model/theme.js +0 -1268
  326. data/tools/test/themes/packed/theme.js +0 -1286
  327. data/tools/test/themes/preset/rngs/alternative.rng +0 -25
  328. data/tools/test/themes/preset/rngs/call.rng +0 -122
  329. data/tools/test/themes/preset/rngs/callmanipulate.rng +0 -145
  330. data/tools/test/themes/preset/rngs/choose.rng +0 -14
  331. data/tools/test/themes/preset/rngs/closed_loop.rng +0 -62
  332. data/tools/test/themes/preset/rngs/closed_loop_cancel.rng +0 -5
  333. data/tools/test/themes/preset/rngs/closed_loop_control.rng +0 -31
  334. data/tools/test/themes/preset/rngs/closed_loop_measuring.rng +0 -12
  335. data/tools/test/themes/preset/rngs/critical.rng +0 -5
  336. data/tools/test/themes/preset/rngs/escape.rng +0 -1
  337. data/tools/test/themes/preset/rngs/group.rng +0 -3
  338. data/tools/test/themes/preset/rngs/loop.rng +0 -22
  339. data/tools/test/themes/preset/rngs/manipulate.rng +0 -9
  340. data/tools/test/themes/preset/rngs/otherwise.rng +0 -22
  341. data/tools/test/themes/preset/rngs/parallel.rng +0 -21
  342. data/tools/test/themes/preset/rngs/parallel_branch.rng +0 -8
  343. data/tools/test/themes/preset/rngs/scripts.rng +0 -23
  344. data/tools/test/themes/preset/rngs/stop.rng +0 -5
  345. data/tools/test/themes/preset/rngs/terminate.rng +0 -1
  346. data/tools/test/themes/preset/symbols/alternative.svg +0 -5
  347. data/tools/test/themes/preset/symbols/arrow.svg +0 -3
  348. data/tools/test/themes/preset/symbols/call.svg +0 -6
  349. data/tools/test/themes/preset/symbols/callmanipulate.svg +0 -8
  350. data/tools/test/themes/preset/symbols/choose.svg +0 -5
  351. data/tools/test/themes/preset/symbols/choose_exclusive.svg +0 -5
  352. data/tools/test/themes/preset/symbols/choose_inclusive.svg +0 -4
  353. data/tools/test/themes/preset/symbols/closed_loop.svg +0 -5
  354. data/tools/test/themes/preset/symbols/closed_loop_cancel.svg +0 -5
  355. data/tools/test/themes/preset/symbols/closed_loop_control.svg +0 -5
  356. data/tools/test/themes/preset/symbols/closed_loop_measuring.svg +0 -6
  357. data/tools/test/themes/preset/symbols/complex.svg +0 -8
  358. data/tools/test/themes/preset/symbols/critical.svg +0 -4
  359. data/tools/test/themes/preset/symbols/end.svg +0 -3
  360. data/tools/test/themes/preset/symbols/escape.svg +0 -5
  361. data/tools/test/themes/preset/symbols/event_end.svg +0 -3
  362. data/tools/test/themes/preset/symbols/loop.svg +0 -5
  363. data/tools/test/themes/preset/symbols/manipulate.svg +0 -4
  364. data/tools/test/themes/preset/symbols/otherwise.svg +0 -5
  365. data/tools/test/themes/preset/symbols/parallel.svg +0 -5
  366. data/tools/test/themes/preset/symbols/parallel_branch.svg +0 -5
  367. data/tools/test/themes/preset/symbols/parallel_branch_compact.svg +0 -4
  368. data/tools/test/themes/preset/symbols/parallel_branch_event.svg +0 -14
  369. data/tools/test/themes/preset/symbols/parallel_branch_normal.svg +0 -5
  370. data/tools/test/themes/preset/symbols/scripts.svg +0 -4
  371. data/tools/test/themes/preset/symbols/start.svg +0 -3
  372. data/tools/test/themes/preset/symbols/stop.svg +0 -5
  373. data/tools/test/themes/preset/symbols/terminate.svg +0 -4
  374. data/tools/test/themes/preset/theme.js +0 -1287
  375. data/tools/test/track.html +0 -142
@@ -1,70 +0,0 @@
1
- <testset>
2
- <attributes xmlns="http://cpee.org/ns/properties/2.0">
3
- <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
4
- <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
5
- <theme>preset</theme>
6
- <bc>operate</bc>
7
- </attributes>
8
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
9
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
10
- <x/>
11
- </dataelements>
12
- <!--}}}-->
13
- <handlers/>
14
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
15
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
- </endpoints>
17
- <!--}}}-->
18
- <description xmlns="http://cpee.org/ns/properties/2.0">
19
- <description xmlns="http://cpee.org/ns/description/1.0">
20
- <!--{{{-->
21
- <call id="a1" endpoint="timeout">
22
- <parameters>
23
- <!--{{{-->
24
- <label>Step 1</label>
25
- <method>:post</method>
26
- <arguments>
27
- <timeout>2</timeout>
28
- </arguments>
29
- </parameters>
30
- <!--}}}-->
31
- <code>
32
- <finalize output="result">data.x += "a1,"</finalize>
33
- </code>
34
- </call>
35
- <call id="a2" endpoint="timeout">
36
- <parameters>
37
- <!--{{{-->
38
- <label>Step 2</label>
39
- <method>:post</method>
40
- <arguments>
41
- <timeout>4</timeout>
42
- </arguments>
43
- </parameters>
44
- <!--}}}-->
45
- <code>
46
- <finalize output="result">data.x += "a2,"</finalize>
47
- </code>
48
- </call>
49
- <call id="a3" endpoint="timeout">
50
- <parameters>
51
- <!--{{{-->
52
- <label>Step 3</label>
53
- <method>:post</method>
54
- <arguments>
55
- <timeout>4</timeout>
56
- </arguments>
57
- </parameters>
58
- <!--}}}-->
59
- <code>
60
- <finalize output="result">data.x += "a3,"</finalize>
61
- </code>
62
- </call>
63
- </description>
64
- </description>
65
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
66
- <description type="copy"/>
67
- <dataelements type="rest"/>
68
- <endpoints type="rest"/>
69
- </transformation>
70
- </testset>
@@ -1,70 +0,0 @@
1
- <testset>
2
- <attributes xmlns="http://cpee.org/ns/properties/2.0">
3
- <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
4
- <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
5
- <theme>preset</theme>
6
- <bc>start</bc>
7
- </attributes>
8
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
9
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
10
- <x/>
11
- </dataelements>
12
- <!--}}}-->
13
- <handlers/>
14
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
15
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
- </endpoints>
17
- <!--}}}-->
18
- <description xmlns="http://cpee.org/ns/properties/2.0">
19
- <description xmlns="http://cpee.org/ns/description/1.0">
20
- <!--{{{-->
21
- <call id="a1" endpoint="timeout">
22
- <parameters>
23
- <!--{{{-->
24
- <label>Step 1</label>
25
- <method>:post</method>
26
- <arguments>
27
- <timeout>2</timeout>
28
- </arguments>
29
- </parameters>
30
- <!--}}}-->
31
- <code>
32
- <finalize output="result">data.x += "a1,"</finalize>
33
- </code>
34
- </call>
35
- <call id="a2" endpoint="timeout">
36
- <parameters>
37
- <!--{{{-->
38
- <label>Step 2</label>
39
- <method>:post</method>
40
- <arguments>
41
- <timeout>4</timeout>
42
- </arguments>
43
- </parameters>
44
- <!--}}}-->
45
- <code>
46
- <finalize output="result">data.x += "a2,"</finalize>
47
- </code>
48
- </call>
49
- <call id="a3" endpoint="timeout">
50
- <parameters>
51
- <!--{{{-->
52
- <label>Step 3</label>
53
- <method>:post</method>
54
- <arguments>
55
- <timeout>4</timeout>
56
- </arguments>
57
- </parameters>
58
- <!--}}}-->
59
- <code>
60
- <finalize output="result">data.x += "a3,"</finalize>
61
- </code>
62
- </call>
63
- </description>
64
- </description>
65
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
66
- <description type="copy"/>
67
- <dataelements type="rest"/>
68
- <endpoints type="rest"/>
69
- </transformation>
70
- </testset>
@@ -1,75 +0,0 @@
1
- <testset>
2
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
3
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
4
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
5
- <losgroesse>3</losgroesse>
6
- <spec>12345</spec>
7
- <qualitaet>null</qualitaet>
8
- <drilled>[]</drilled>
9
- <typ>Typ A</typ>
10
- <score>0</score>
11
- </dataelements>
12
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
13
- <cut>http://gruppe.wst.univie.ac.at/~mangler/services/cut.php</cut>
14
- <drill>http://gruppe.wst.univie.ac.at/~mangler/services/drill.php</drill>
15
- <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
16
- </endpoints>
17
- <description xmlns="http://cpee.org/ns/properties/2.0">
18
- <description xmlns="http://cpee.org/ns/description/1.0">
19
- <call id="a1" endpoint="cut">
20
- <parameters>
21
- <label>Schneiden</label>
22
- <method>:post</method>
23
- <arguments>
24
- <typ>data.typ</typ>
25
- <spec>data.spec</spec>
26
- <losgroesse>data.losgroesse</losgroesse>
27
- </arguments>
28
- </parameters>
29
- <code>
30
- <finalize output="result">data.qualitaet = result.value('id')
31
- data.score += result.value('score').to_f
32
- status.update 1, 'Produziert'</finalize>
33
- </code>
34
- </call>
35
- <parallel>
36
- <loop mode="pre_test" condition="data.losgroesse &gt; 0">
37
- <parallel_branch pass="data.losgroesse" local="p">
38
- <call id="a2" endpoint="drill">
39
- <parameters>
40
- <label>Bohren</label>
41
- <method>:post</method>
42
- <arguments>
43
- <to>data.to</to>
44
- </arguments>
45
- </parameters>
46
- <code>
47
- <finalize output="result">data.drilled &lt;&lt; result.value('id')
48
- data.score += result.value('score').to_f</finalize>
49
- </code>
50
- </call>
51
- </parallel_branch>
52
- <manipulate id="a3">data.losgroesse -= 1</manipulate>
53
- </loop>
54
- </parallel>
55
- <choose>
56
- <alternative condition="data.score &gt; 700">
57
- <call id="a4" endpoint="approve">
58
- <parameters>
59
- <label>Beurteilen</label>
60
- <method>:post</method>
61
- <arguments>
62
- <score>data.score</score>
63
- </arguments>
64
- </parameters>
65
- </call>
66
- </alternative>
67
- </choose>
68
- </description>
69
- </description>
70
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
71
- <description type="copy"/>
72
- <dataelements type="rest"/>
73
- <endpoints type="rest"/>
74
- </transformation>
75
- </testset>
@@ -1,40 +0,0 @@
1
- <testset>
2
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
3
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
4
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
5
- <persons>3</persons>
6
- <hotels>[]</hotels>
7
- <costs>0</costs>
8
- </dataelements>
9
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
10
- <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
11
- </endpoints>
12
- <description xmlns="http://cpee.org/ns/properties/2.0">
13
- <description xmlns="http://cpee.org/ns/description/1.0">
14
- <parallel>
15
- <loop mode="pre_test" condition="data.persons &gt; 0">
16
- <parallel_branch pass="data.persons" local="p">
17
- <call id="a2" endpoint="bookHotel">
18
- <parameters>
19
- <method>:post</method>
20
- <arguments>
21
- <to>"Vienna"</to>
22
- </arguments>
23
- </parameters>
24
- <code>
25
- <finalize output="result">data.hotels &lt;&lt; result.value('id')
26
- data.costs += result.value('costs').to_f</finalize>
27
- </code>
28
- </call>
29
- </parallel_branch>
30
- <manipulate id="a3">data.persons -= 1</manipulate>
31
- </loop>
32
- </parallel>
33
- </description>
34
- </description>
35
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
36
- <description type="copy"/>
37
- <dataelements type="rest"/>
38
- <endpoints type="rest"/>
39
- </transformation>
40
- </testset>
@@ -1,76 +0,0 @@
1
- <testset>
2
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
3
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
4
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
5
- <persons>3</persons>
6
- <card>Visa_12345</card>
7
- <airline>null</airline>
8
- <hotels>[]</hotels>
9
- <from>Vienna</from>
10
- <to>Prague</to>
11
- <costs>0</costs>
12
- </dataelements>
13
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
14
- <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
15
- <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
16
- <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
17
- </endpoints>
18
- <description xmlns="http://cpee.org/ns/properties/2.0">
19
- <description xmlns="http://cpee.org/ns/description/1.0">
20
- <call id="a1" endpoint="bookAir">
21
- <parameters>
22
- <label>Book Airline</label>
23
- <method>:post</method>
24
- <arguments>
25
- <from>data.from</from>
26
- <to>data.to</to>
27
- <persons>data.persons</persons>
28
- </arguments>
29
- </parameters>
30
- <code>
31
- <finalize output="result">data.airline = result.value('id')
32
- data.costs += result.value('costs').to_f
33
- status.update 1, 'Hotel'</finalize>
34
- </code>
35
- </call>
36
- <parallel>
37
- <loop mode="pre_test" condition="data.persons &gt; 0">
38
- <parallel_branch pass="data.persons" local="p">
39
- <call id="a2" endpoint="bookHotel">
40
- <parameters>
41
- <label>Book Hotel</label>
42
- <method>:post</method>
43
- <arguments>
44
- <to>data.to</to>
45
- </arguments>
46
- </parameters>
47
- <code>
48
- <finalize output="result">data.hotels &lt;&lt; result.value('id')
49
- data.costs += result.value('costs').to_f</finalize>
50
- </code>
51
- </call>
52
- </parallel_branch>
53
- <manipulate id="a3">data.persons -= 1</manipulate>
54
- </loop>
55
- </parallel>
56
- <choose mode="inclusive">
57
- <alternative condition="data.costs &gt; 700">
58
- <call id="a4" endpoint="approve">
59
- <parameters>
60
- <label>Approve Hotel</label>
61
- <method>:post</method>
62
- <arguments>
63
- <costs>data.costs</costs>
64
- </arguments>
65
- </parameters>
66
- </call>
67
- </alternative>
68
- </choose>
69
- </description>
70
- </description>
71
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
72
- <description type="copy"/>
73
- <dataelements type="rest"/>
74
- <endpoints type="rest"/>
75
- </transformation>
76
- </testset>
@@ -1,30 +0,0 @@
1
- <testset>
2
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
3
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">RescueHandlerWrapper</handlerwrapper>
4
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
5
- <input>4</input>
6
- <data_stores_endpoint/>
7
- <output/>
8
- </dataelements>
9
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
10
- <ep1>Somewhere over the rainbow</ep1>
11
- </endpoints>
12
- <description xmlns="http://cpee.org/ns/properties/2.0">
13
- <description xmlns="http://cpee.org/ns/description/1.0">
14
- <manipulate id="endpoints">
15
- endpoints.a_new_one = "new Endpoint"
16
- endpoints.ep1 = "services changed"
17
- endpoints.copy_of_ep1 = endpoints.ep1
18
- data.data_stores_endpoint = endpoints.ep1
19
- </manipulate>
20
- <manipulate id="data">data.a_new_one = "new dataelement"
21
- data[:input] = "dataelement changed"
22
- data.output = data[:input]</manipulate>
23
- </description>
24
- </description>
25
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
26
- <description type="external"/>
27
- <dataelements type="external"/>
28
- <endpoints type="external"/>
29
- </transformation>
30
- </testset>
@@ -1,95 +0,0 @@
1
- <testset>
2
- <positions xmlns="http://cpee.org/ns/properties/2.0"/>
3
- <handlerwrapper xmlns="http://cpee.org/ns/properties/2.0">DefaultHandlerWrapper</handlerwrapper>
4
- <dataelements xmlns="http://cpee.org/ns/properties/2.0">
5
- <feedback>true</feedback>
6
- </dataelements>
7
- <endpoints xmlns="http://cpee.org/ns/properties/2.0">
8
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
9
- </endpoints>
10
- <description xmlns="http://cpee.org/ns/properties/2.0">
11
- <description xmlns="http://cpee.org/ns/description/1.0">
12
- <parallel>
13
- <parallel_branch>
14
- <loop mode="pre_test" condition="data.feedback">
15
- <call id="design" endpoint="timeout">
16
- <parameters>
17
- <!--{{{-->
18
- <label>Design</label>
19
- <method>:post</method>
20
- <arguments>
21
- <timeout>4</timeout>
22
- </arguments>
23
- </parameters>
24
- <!--}}}-->
25
- </call>
26
- <call id="validate" endpoint="timeout">
27
- <parameters>
28
- <!--{{{-->
29
- <label>Validate</label>
30
- <method>:post</method>
31
- <arguments>
32
- <timeout>2</timeout>
33
- </arguments>
34
- </parameters>
35
- <!--}}}-->
36
- </call>
37
- <call id="publish" endpoint="timeout">
38
- <parameters>
39
- <!--{{{-->
40
- <label>Publish</label>
41
- <method>:post</method>
42
- <arguments>
43
- <timeout>1</timeout>
44
- </arguments>
45
- </parameters>
46
- <!--}}}-->
47
- </call>
48
- </loop>
49
- </parallel_branch>
50
- <parallel_branch>
51
- <loop mode="pre_test" condition="data.feedback">
52
- <call id="prepare" endpoint="timeout">
53
- <parameters>
54
- <!--{{{-->
55
- <label>Prepare</label>
56
- <method>:post</method>
57
- <arguments>
58
- <timeout>4</timeout>
59
- </arguments>
60
- </parameters>
61
- <!--}}}-->
62
- </call>
63
- <call id="fab" endpoint="timeout">
64
- <parameters>
65
- <!--{{{-->
66
- <label>Fabricate</label>
67
- <method>:post</method>
68
- <arguments>
69
- <timeout>4</timeout>
70
- </arguments>
71
- </parameters>
72
- <!--}}}-->
73
- </call>
74
- <call id="evaluate" endpoint="timeout">
75
- <parameters>
76
- <!--{{{-->
77
- <label>Evaluate</label>
78
- <method>:post</method>
79
- <arguments>
80
- <timeout>4</timeout>
81
- </arguments>
82
- </parameters>
83
- <!--}}}-->
84
- </call>
85
- </loop>
86
- </parallel_branch>
87
- </parallel>
88
- </description>
89
- </description>
90
- <transformation xmlns="http://cpee.org/ns/properties/2.0">
91
- <description type="copy"/>
92
- <dataelements type="rest"/>
93
- <endpoints type="rest"/>
94
- </transformation>
95
- </testset>