cpee 1.5.24 → 2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (359) hide show
  1. checksums.yaml +4 -4
  2. data/{FEATURES → FEATURES.md} +7 -6
  3. data/INSTALL.md +1 -0
  4. data/{README → README.md} +3 -3
  5. data/Rakefile +1 -0
  6. data/cockpit/index.html +8 -8
  7. data/cockpit/js/details.js +13 -14
  8. data/cockpit/js/instance.js +192 -290
  9. data/cockpit/js/parameters.js +13 -3
  10. data/cockpit/js/ui.js +2 -2
  11. data/cockpit/rngs/attributes.rng +3 -3
  12. data/cockpit/rngs/dataelements.rng +3 -3
  13. data/cockpit/rngs/endpoints.rng +3 -3
  14. data/cockpit/{testsets → templates.legacy}/Async.xml +7 -7
  15. data/cockpit/{testsets → templates.legacy}/BCO.xml +7 -10
  16. data/cockpit/{testsets → templates.legacy}/BCS.xml +7 -10
  17. data/cockpit/{testsets → templates.legacy}/Centurio.xml +6 -6
  18. data/cockpit/{testsets → templates.legacy}/Concurrent.xml +6 -6
  19. data/cockpit/{testsets → templates.legacy}/Coopis Testset.xml +6 -6
  20. data/cockpit/{testsets → templates.legacy}/Endpoints and Data Manipulation.xml +6 -6
  21. data/cockpit/{testsets → templates.legacy}/ICSOC Testset.xml +6 -6
  22. data/cockpit/{testsets → templates.legacy}/Infinity.xml +3 -3
  23. data/cockpit/{testsets → templates.legacy}/Lego Boxer.xml +7 -7
  24. data/cockpit/{testsets → templates.legacy}/Lego Conveyor.xml +7 -7
  25. data/cockpit/{testsets → templates.legacy}/Lego Crane.xml +7 -7
  26. data/cockpit/{testsets → templates.legacy}/Lego Ejector.xml +7 -7
  27. data/cockpit/{testsets → templates.legacy}/Lego Full.xml +7 -7
  28. data/cockpit/{testsets → templates.legacy}/Lego Liddy.xml +7 -7
  29. data/cockpit/{testsets → templates.legacy}/Lego Plate.xml +7 -7
  30. data/cockpit/{testsets → templates.legacy}/Lego Transporter.xml +7 -7
  31. data/cockpit/{testsets → templates.legacy}/Lego_Part_1.xml +7 -7
  32. data/cockpit/{testsets → templates.legacy}/LgLinear.xml +6 -10
  33. data/cockpit/{testsets → templates.legacy}/Linear.xml +7 -7
  34. data/cockpit/{testsets → templates.legacy}/Log.xml +7 -7
  35. data/cockpit/{testsets → templates.legacy}/Mangler 1.xml +6 -6
  36. data/cockpit/{testsets → templates.legacy}/Mangler 2.xml +6 -6
  37. data/cockpit/{testsets → templates.legacy}/Manuel Labels.xml +7 -7
  38. data/cockpit/{testsets → templates.legacy}/Promise.xml +7 -7
  39. data/cockpit/{testsets → templates.legacy}/SOPROMO Test Sonification.xml +6 -6
  40. data/cockpit/{testsets → templates.legacy}/Subprocess.xml +7 -7
  41. data/cockpit/{testsets → templates.legacy}/Syncing P34 1.xml +8 -11
  42. data/cockpit/{testsets → templates.legacy}/Syncing P34 2.xml +8 -11
  43. data/cockpit/{testsets → templates.legacy}/Syncing P34 3.xml +8 -11
  44. data/cockpit/{testsets → templates.legacy}/Syncing P34.xml +8 -11
  45. data/cockpit/{testsets → templates.legacy}/TEST - Bad Loop.xml +6 -6
  46. data/cockpit/{testsets → templates.legacy}/TEST - Wrong Positions.xml +6 -6
  47. data/cockpit/{testsets → templates.legacy}/Take_5.xml +7 -7
  48. data/cockpit/{testsets → templates.legacy}/Update.xml +7 -7
  49. data/cockpit/{testsets → templates.legacy}/Worklist Parallel.xml +7 -7
  50. data/cockpit/{testsets → templates.legacy}/Worklist Test CPEE.xml +7 -7
  51. data/cockpit/{testsets → templates.legacy}/Worklist Test.xml +7 -7
  52. data/cockpit/{testsets → templates.legacy}/Worklist Test2.xml +7 -7
  53. data/cockpit/templates.legacy/convert_cpee2.rb +15 -0
  54. data/cockpit/{testsets → templates.legacy}/convert_preset.rb +0 -0
  55. data/cockpit/{testsets → templates.legacy}/testsets.xml +1 -1
  56. data/cockpit/{testsets → templates.legacy}/transformations.xml +0 -0
  57. data/cockpit/templates/BPM 2020 Manual Adjust.xml +182 -0
  58. data/cockpit/templates/BPM 2020 Solution Baseline.xml +196 -0
  59. data/cockpit/templates/BPM 2020 Solution NN.xml +197 -0
  60. data/cockpit/templates/BPM 2020 Solution View.xml +144 -0
  61. data/cockpit/templates/BPM 2020.xml +26 -0
  62. data/cockpit/templates/Coopis 2010.xml +85 -0
  63. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +77 -0
  64. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +77 -0
  65. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +77 -0
  66. data/cockpit/templates/Worklist.xml +42 -0
  67. data/cockpit/templates/convert_cpee2.rb +15 -0
  68. data/cockpit/themes/compact/rngs/alternative.rng +25 -0
  69. data/cockpit/themes/compact/rngs/call.rng +20 -14
  70. data/cockpit/themes/compact/rngs/callmanipulate.rng +28 -22
  71. data/cockpit/themes/compact/rngs/choose.rng +14 -0
  72. data/cockpit/themes/compact/rngs/critical.rng +5 -0
  73. data/cockpit/themes/compact/rngs/escape.rng +1 -0
  74. data/cockpit/themes/compact/rngs/group.rng +3 -0
  75. data/cockpit/themes/compact/rngs/loop.rng +22 -0
  76. data/cockpit/themes/compact/rngs/manipulate.rng +9 -0
  77. data/cockpit/themes/compact/rngs/otherwise.rng +22 -0
  78. data/cockpit/themes/compact/rngs/parallel.rng +21 -0
  79. data/cockpit/themes/compact/rngs/parallel_branch.rng +8 -0
  80. data/cockpit/themes/compact/rngs/scripts.rng +10 -11
  81. data/cockpit/themes/compact/rngs/stop.rng +5 -0
  82. data/cockpit/themes/compact/rngs/terminate.rng +1 -0
  83. data/cockpit/themes/compact/theme.js +1 -1
  84. data/cockpit/themes/convert_cpee2.rb +8 -0
  85. data/cockpit/themes/default/rngs/alternative.rng +8 -8
  86. data/cockpit/themes/default/rngs/call.rng +85 -49
  87. data/cockpit/themes/default/rngs/callmanipulate.rng +103 -64
  88. data/cockpit/themes/default/rngs/choose.rng +5 -3
  89. data/cockpit/themes/default/rngs/critical.rng +2 -2
  90. data/cockpit/themes/default/rngs/escape.rng +1 -1
  91. data/cockpit/themes/default/rngs/group.rng +3 -3
  92. data/cockpit/themes/default/rngs/loop.rng +8 -8
  93. data/cockpit/themes/default/rngs/manipulate.rng +3 -3
  94. data/cockpit/themes/default/rngs/otherwise.rng +8 -8
  95. data/cockpit/themes/default/rngs/parallel.rng +14 -6
  96. data/cockpit/themes/default/rngs/parallel_branch.rng +2 -2
  97. data/cockpit/themes/default/rngs/scripts.rng +23 -0
  98. data/cockpit/themes/default/rngs/stop.rng +2 -2
  99. data/cockpit/themes/default/rngs/terminate.rng +1 -1
  100. data/cockpit/themes/extended/rngs/alternative.rng +25 -0
  101. data/cockpit/themes/extended/rngs/call.rng +20 -14
  102. data/cockpit/themes/extended/rngs/callmanipulate.rng +28 -22
  103. data/cockpit/themes/extended/rngs/choose.rng +14 -0
  104. data/cockpit/themes/extended/rngs/critical.rng +5 -0
  105. data/cockpit/themes/extended/rngs/escape.rng +1 -0
  106. data/cockpit/themes/extended/rngs/group.rng +3 -0
  107. data/cockpit/themes/extended/rngs/loop.rng +22 -0
  108. data/cockpit/themes/extended/rngs/manipulate.rng +9 -0
  109. data/cockpit/themes/extended/rngs/otherwise.rng +22 -0
  110. data/cockpit/themes/extended/rngs/parallel.rng +21 -0
  111. data/cockpit/themes/extended/rngs/parallel_branch.rng +8 -0
  112. data/cockpit/themes/extended/rngs/scripts.rng +10 -11
  113. data/cockpit/themes/extended/rngs/stop.rng +5 -0
  114. data/cockpit/themes/extended/rngs/terminate.rng +1 -0
  115. data/cockpit/themes/extended/theme.js +14 -28
  116. data/cockpit/themes/model/rngs/alternative.rng +1 -1
  117. data/cockpit/themes/model/rngs/call.rng +16 -16
  118. data/cockpit/themes/model/rngs/callmanipulate.rng +17 -17
  119. data/cockpit/themes/model/rngs/choose.rng +1 -1
  120. data/cockpit/themes/model/rngs/critical.rng +1 -1
  121. data/cockpit/themes/model/rngs/escape.rng +1 -1
  122. data/cockpit/themes/model/rngs/group.rng +1 -1
  123. data/cockpit/themes/model/rngs/loop.rng +1 -1
  124. data/cockpit/themes/model/rngs/manipulate.rng +1 -1
  125. data/cockpit/themes/model/rngs/otherwise.rng +1 -1
  126. data/cockpit/themes/model/rngs/parallel.rng +1 -1
  127. data/cockpit/themes/model/rngs/parallel_branch.rng +1 -1
  128. data/cockpit/themes/model/rngs/scripts.rng +3 -4
  129. data/cockpit/themes/model/rngs/stop.rng +1 -1
  130. data/cockpit/themes/model/rngs/terminate.rng +1 -1
  131. data/cockpit/themes/model/theme.js +8 -7
  132. data/cockpit/themes/packed/rngs/alternative.rng +25 -0
  133. data/cockpit/themes/packed/rngs/call.rng +20 -14
  134. data/cockpit/themes/packed/rngs/callmanipulate.rng +28 -22
  135. data/cockpit/themes/packed/rngs/choose.rng +14 -0
  136. data/cockpit/themes/packed/rngs/critical.rng +5 -0
  137. data/cockpit/themes/packed/rngs/escape.rng +1 -0
  138. data/cockpit/themes/packed/rngs/group.rng +3 -0
  139. data/cockpit/themes/packed/rngs/loop.rng +22 -0
  140. data/cockpit/themes/packed/rngs/manipulate.rng +9 -0
  141. data/cockpit/themes/packed/rngs/otherwise.rng +22 -0
  142. data/cockpit/themes/packed/rngs/parallel.rng +21 -0
  143. data/cockpit/themes/packed/rngs/parallel_branch.rng +8 -0
  144. data/cockpit/themes/packed/rngs/scripts.rng +10 -11
  145. data/cockpit/themes/packed/rngs/stop.rng +5 -0
  146. data/cockpit/themes/packed/rngs/terminate.rng +1 -0
  147. data/cockpit/themes/packed/theme.js +8 -7
  148. data/cockpit/themes/preset/rngs/alternative.rng +25 -0
  149. data/cockpit/themes/preset/rngs/call.rng +20 -14
  150. data/cockpit/themes/preset/rngs/callmanipulate.rng +28 -22
  151. data/cockpit/themes/preset/rngs/choose.rng +14 -0
  152. data/cockpit/themes/preset/rngs/critical.rng +5 -0
  153. data/cockpit/themes/preset/rngs/escape.rng +1 -0
  154. data/cockpit/themes/preset/rngs/group.rng +3 -0
  155. data/cockpit/themes/preset/rngs/loop.rng +22 -0
  156. data/cockpit/themes/preset/rngs/manipulate.rng +9 -0
  157. data/cockpit/themes/preset/rngs/otherwise.rng +22 -0
  158. data/cockpit/themes/preset/rngs/parallel.rng +21 -0
  159. data/cockpit/themes/preset/rngs/parallel_branch.rng +8 -0
  160. data/cockpit/themes/preset/rngs/scripts.rng +10 -11
  161. data/cockpit/themes/preset/rngs/stop.rng +5 -0
  162. data/cockpit/themes/preset/rngs/terminate.rng +1 -0
  163. data/cockpit/themes/preset/theme.js +8 -7
  164. data/cpee.gemspec +9 -10
  165. data/{log/topics.xml → lib/callbacks.xml} +16 -6
  166. data/lib/{engine → callbacks}/callbacks.rng +2 -8
  167. data/lib/cpee.xml +10 -4
  168. data/lib/cpee/attributes_helper.rb +27 -0
  169. data/lib/cpee/controller.rb +113 -596
  170. data/lib/cpee/implementation.rb +152 -191
  171. data/lib/cpee/implementation_callbacks.rb +77 -0
  172. data/lib/cpee/implementation_notifications.rb +189 -0
  173. data/lib/cpee/implementation_properties.rb +707 -0
  174. data/lib/cpee/{callback.rb → message.rb} +20 -18
  175. data/lib/cpee/persistence.rb +135 -0
  176. data/lib/cpee/statemachine.rb +20 -0
  177. data/lib/cpee/transform.rb +95 -0
  178. data/lib/engine.xml +1 -59
  179. data/lib/properties.xml +236 -0
  180. data/lib/properties/arbitrary.rng +26 -0
  181. data/lib/properties/attributes.rng +10 -0
  182. data/lib/properties/dataelements.rng +10 -0
  183. data/lib/properties/description.rng +8 -0
  184. data/lib/properties/dsl.rng +7 -0
  185. data/lib/properties/dslx.rng +8 -0
  186. data/lib/properties/endpoints.rng +10 -0
  187. data/lib/properties/handlerwrapper.rng +9 -0
  188. data/lib/properties/position.rng +15 -0
  189. data/lib/properties/positions.rng +10 -0
  190. data/lib/properties/properties.rng +29 -0
  191. data/lib/properties/set-properties.rng +25 -0
  192. data/lib/properties/set-some-properties.rng +45 -0
  193. data/lib/properties/simple.rng +8 -0
  194. data/lib/properties/state.rng +33 -0
  195. data/lib/properties/status.rng +12 -0
  196. data/lib/properties/t_attributes.rng +7 -0
  197. data/lib/properties/t_dataelements.rng +7 -0
  198. data/lib/properties/t_endpoints.rng +7 -0
  199. data/lib/properties/t_position.rng +7 -0
  200. data/lib/properties/t_positions.rng +7 -0
  201. data/lib/properties/t_simple.rng +7 -0
  202. data/lib/properties/t_status.rng +7 -0
  203. data/lib/properties/t_transformation.rng +7 -0
  204. data/lib/properties/transformation.rng +40 -0
  205. data/server/dev.rb +1 -0
  206. data/server/handlerwrappers/default.rb +40 -38
  207. data/server/resources/backend/README.md +17 -0
  208. data/server/resources/backend/instance.rb +23 -0
  209. data/server/resources/backend/instance.template +19 -0
  210. data/server/resources/backend/opts.yaml +6 -0
  211. data/server/resources/backend/run +29 -0
  212. data/server/resources/notifications/logging/subscription.xml +1 -1
  213. data/server/resources/properties.empty +38 -0
  214. data/server/resources/properties.init +11 -11
  215. data/server/resources/states.dot +19 -0
  216. data/server/resources/states.xml +49 -0
  217. data/server/routing/end.rb +44 -0
  218. data/server/routing/forward-events.rb +59 -0
  219. data/server/routing/forward-votes.rb +108 -0
  220. data/server/routing/persist.rb +155 -0
  221. data/server/server.rb +1 -0
  222. data/tools/cpee +19 -15
  223. metadata +126 -176
  224. data/INSTALL +0 -23
  225. data/cockpit/test.html +0 -40
  226. data/cockpit/themes/compact/rngs/alternative.rng +0 -1
  227. data/cockpit/themes/compact/rngs/choose.rng +0 -1
  228. data/cockpit/themes/compact/rngs/critical.rng +0 -1
  229. data/cockpit/themes/compact/rngs/escape.rng +0 -1
  230. data/cockpit/themes/compact/rngs/group.rng +0 -1
  231. data/cockpit/themes/compact/rngs/loop.rng +0 -1
  232. data/cockpit/themes/compact/rngs/manipulate.rng +0 -1
  233. data/cockpit/themes/compact/rngs/otherwise.rng +0 -1
  234. data/cockpit/themes/compact/rngs/parallel.rng +0 -1
  235. data/cockpit/themes/compact/rngs/parallel_branch.rng +0 -1
  236. data/cockpit/themes/compact/rngs/stop.rng +0 -1
  237. data/cockpit/themes/compact/rngs/terminate.rng +0 -1
  238. data/cockpit/themes/default/rngs/finalize.rng +0 -6
  239. data/cockpit/themes/default/rngs/update.rng +0 -6
  240. data/cockpit/themes/default/theme.js +0 -1286
  241. data/cockpit/themes/extended/rngs/alternative.rng +0 -1
  242. data/cockpit/themes/extended/rngs/choose.rng +0 -1
  243. data/cockpit/themes/extended/rngs/critical.rng +0 -1
  244. data/cockpit/themes/extended/rngs/escape.rng +0 -1
  245. data/cockpit/themes/extended/rngs/group.rng +0 -1
  246. data/cockpit/themes/extended/rngs/loop.rng +0 -1
  247. data/cockpit/themes/extended/rngs/manipulate.rng +0 -1
  248. data/cockpit/themes/extended/rngs/otherwise.rng +0 -1
  249. data/cockpit/themes/extended/rngs/parallel.rng +0 -1
  250. data/cockpit/themes/extended/rngs/parallel_branch.rng +0 -1
  251. data/cockpit/themes/extended/rngs/stop.rng +0 -1
  252. data/cockpit/themes/extended/rngs/terminate.rng +0 -1
  253. data/cockpit/themes/labels/rngs/alternative.rng +0 -25
  254. data/cockpit/themes/labels/rngs/call.rng +0 -81
  255. data/cockpit/themes/labels/rngs/callmanipulate.rng +0 -101
  256. data/cockpit/themes/labels/rngs/choose.rng +0 -12
  257. data/cockpit/themes/labels/rngs/critical.rng +0 -5
  258. data/cockpit/themes/labels/rngs/escape.rng +0 -1
  259. data/cockpit/themes/labels/rngs/finalize.rng +0 -6
  260. data/cockpit/themes/labels/rngs/group.rng +0 -3
  261. data/cockpit/themes/labels/rngs/loop.rng +0 -22
  262. data/cockpit/themes/labels/rngs/manipulate.rng +0 -9
  263. data/cockpit/themes/labels/rngs/otherwise.rng +0 -22
  264. data/cockpit/themes/labels/rngs/parallel.rng +0 -13
  265. data/cockpit/themes/labels/rngs/parallel_branch.rng +0 -8
  266. data/cockpit/themes/labels/rngs/stop.rng +0 -5
  267. data/cockpit/themes/labels/rngs/terminate.rng +0 -1
  268. data/cockpit/themes/labels/rngs/update.rng +0 -6
  269. data/cockpit/themes/labels/symbols/alternative.svg +0 -5
  270. data/cockpit/themes/labels/symbols/arrow.svg +0 -3
  271. data/cockpit/themes/labels/symbols/call.svg +0 -6
  272. data/cockpit/themes/labels/symbols/callmanipulate.svg +0 -8
  273. data/cockpit/themes/labels/symbols/choose.svg +0 -5
  274. data/cockpit/themes/labels/symbols/choose_exclusive.svg +0 -5
  275. data/cockpit/themes/labels/symbols/choose_inclusive.svg +0 -4
  276. data/cockpit/themes/labels/symbols/complex.svg +0 -8
  277. data/cockpit/themes/labels/symbols/critical.svg +0 -4
  278. data/cockpit/themes/labels/symbols/end.svg +0 -3
  279. data/cockpit/themes/labels/symbols/escape.svg +0 -5
  280. data/cockpit/themes/labels/symbols/event_end.svg +0 -3
  281. data/cockpit/themes/labels/symbols/loop.svg +0 -5
  282. data/cockpit/themes/labels/symbols/manipulate.svg +0 -4
  283. data/cockpit/themes/labels/symbols/otherwise.svg +0 -5
  284. data/cockpit/themes/labels/symbols/parallel.svg +0 -5
  285. data/cockpit/themes/labels/symbols/parallel_branch.svg +0 -5
  286. data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +0 -4
  287. data/cockpit/themes/labels/symbols/parallel_branch_event.svg +0 -14
  288. data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +0 -5
  289. data/cockpit/themes/labels/symbols/scripts.svg +0 -4
  290. data/cockpit/themes/labels/symbols/start.svg +0 -3
  291. data/cockpit/themes/labels/symbols/stop.svg +0 -5
  292. data/cockpit/themes/labels/symbols/terminate.svg +0 -4
  293. data/cockpit/themes/packed/rngs/alternative.rng +0 -1
  294. data/cockpit/themes/packed/rngs/choose.rng +0 -1
  295. data/cockpit/themes/packed/rngs/critical.rng +0 -1
  296. data/cockpit/themes/packed/rngs/escape.rng +0 -1
  297. data/cockpit/themes/packed/rngs/group.rng +0 -1
  298. data/cockpit/themes/packed/rngs/loop.rng +0 -1
  299. data/cockpit/themes/packed/rngs/manipulate.rng +0 -1
  300. data/cockpit/themes/packed/rngs/otherwise.rng +0 -1
  301. data/cockpit/themes/packed/rngs/parallel.rng +0 -1
  302. data/cockpit/themes/packed/rngs/parallel_branch.rng +0 -1
  303. data/cockpit/themes/packed/rngs/stop.rng +0 -1
  304. data/cockpit/themes/packed/rngs/terminate.rng +0 -1
  305. data/cockpit/themes/preset/rngs/alternative.rng +0 -1
  306. data/cockpit/themes/preset/rngs/choose.rng +0 -1
  307. data/cockpit/themes/preset/rngs/critical.rng +0 -1
  308. data/cockpit/themes/preset/rngs/escape.rng +0 -1
  309. data/cockpit/themes/preset/rngs/group.rng +0 -1
  310. data/cockpit/themes/preset/rngs/loop.rng +0 -1
  311. data/cockpit/themes/preset/rngs/manipulate.rng +0 -1
  312. data/cockpit/themes/preset/rngs/otherwise.rng +0 -1
  313. data/cockpit/themes/preset/rngs/parallel.rng +0 -1
  314. data/cockpit/themes/preset/rngs/parallel_branch.rng +0 -1
  315. data/cockpit/themes/preset/rngs/stop.rng +0 -1
  316. data/cockpit/themes/preset/rngs/terminate.rng +0 -1
  317. data/lib/cpee/empty_workflow.rb +0 -28
  318. data/lib/cpee/handler_notifications.rb +0 -47
  319. data/lib/cpee/handler_properties.rb +0 -50
  320. data/lib/cpee/instantiation.rb +0 -369
  321. data/lib/cpee/processtransformation/bpel/Repository/booking.bpel +0 -125
  322. data/lib/cpee/processtransformation/bpel/Repository/booking.wsdl +0 -72
  323. data/lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl +0 -71
  324. data/lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl +0 -64
  325. data/lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl +0 -71
  326. data/lib/cpee/processtransformation/bpel/bpel2wee.rb +0 -34
  327. data/lib/cpee/processtransformation/bpel/bpelserver.ru +0 -64
  328. data/lib/cpee/processtransformation/bpel/bpelserver.xml +0 -70
  329. data/lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb +0 -367
  330. data/lib/cpee/processtransformation/bpmn2.rb +0 -297
  331. data/lib/cpee/processtransformation/cpee.rb +0 -119
  332. data/lib/cpee/processtransformation/structures.rb +0 -465
  333. data/lib/cpee/processtransformation/target.rb +0 -50
  334. data/log/azure.rb +0 -10
  335. data/log/azure_logger.rb +0 -136
  336. data/log/chain.xml +0 -27
  337. data/log/elasticsearch.rb +0 -15
  338. data/log/elasticsearch_logging.rb +0 -377
  339. data/log/legacy/test_es.rb +0 -26
  340. data/log/legacy/test_split.rb +0 -211
  341. data/log/log.xml +0 -13
  342. data/log/non_tamp.rb +0 -156
  343. data/log/sic.rb +0 -63
  344. data/log/template.xes_xml +0 -23
  345. data/log/template.xes_yaml +0 -28
  346. data/log/trace.yaml +0 -17717
  347. data/log/trace_sic.yaml +0 -18343
  348. data/log/xes_xml.rb +0 -121
  349. data/log/xes_yaml.rb +0 -96
  350. data/server/handlerwrappers/soap.rb +0 -146
  351. data/server/resources/notifications/logging/consumer-secret +0 -1
  352. data/server/resources/notifications/logging/producer-secret +0 -1
  353. data/server/resources/properties.schema.active +0 -139
  354. data/server/resources/properties.schema.finished +0 -139
  355. data/server/resources/properties.schema.inactive +0 -136
  356. data/server/resources/test1.xml +0 -58
  357. data/server/resources/test2.xml +0 -60
  358. data/server/resources/test3.xml +0 -217
  359. data/test/callback.rb +0 -9
@@ -0,0 +1,197 @@
1
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <dataelements>
3
+ <places>[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2],[0,3],[1,3],[0,4],[1,4],[0,5],[1,5]]</places>
4
+ </dataelements>
5
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
6
+ <handlers>
7
+ <handler url="http://tango.wst.univie.ac.at:9332">
8
+ <votes topic='state'>change</votes>
9
+ <events topic='state'>change</events>
10
+ <events topic='task'>instantiation</events>
11
+ </handler>
12
+ </handlers>
13
+ <endpoints>
14
+ <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
15
+ <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
16
+ <move_camera>http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
17
+ <get_items_base>http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
18
+ <get_items_neural>http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
19
+ <get_offset_base>http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
20
+ <get_offset_neural>http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
21
+ <grip_and_place>http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
22
+ </endpoints>
23
+ <description>
24
+ <description xmlns="http://cpee.org/ns/description/1.0">
25
+ <loop mode="pre_test" condition="data.places.length &gt; 0">
26
+ <_probability>
27
+ <_probability_min/>
28
+ <_probability_max/>
29
+ <_probability_avg/>
30
+ </_probability>
31
+ <manipulate id="a2" label="Next Place">data.place = data.places.shift</manipulate>
32
+ <call id="a1" endpoint="overview">
33
+ <parameters>
34
+ <label>Move to overview position</label>
35
+ <arguments/>
36
+ <stream>
37
+ <sensors/>
38
+ <aggregators/>
39
+ <costs/>
40
+ </stream>
41
+ </parameters>
42
+ <annotations>
43
+ <_timing>
44
+ <_timing_wait/>
45
+ <_timing_threshold/>
46
+ <_timing_min/>
47
+ <_timing_max/>
48
+ <_timing_avg/>
49
+ </_timing>
50
+ <_notes>
51
+ <_notes_general/>
52
+ </_notes>
53
+ </annotations>
54
+ </call>
55
+ <call id="a3" endpoint="get_items_neural">
56
+ <parameters>
57
+ <label>Get item positions</label>
58
+ <arguments/>
59
+ <stream>
60
+ <sensors/>
61
+ <aggregators/>
62
+ <costs/>
63
+ </stream>
64
+ </parameters>
65
+ <code>
66
+ <prepare/>
67
+ <finalize output="result">data.items = result
68
+ data.item = result[0]</finalize>
69
+ <update output="result"/>
70
+ <rescue output="result"/>
71
+ </code>
72
+ <annotations>
73
+ <_timing>
74
+ <_timing_wait/>
75
+ <_timing_threshold/>
76
+ <_timing_min/>
77
+ <_timing_max/>
78
+ <_timing_avg/>
79
+ </_timing>
80
+ <_notes>
81
+ <_notes_general/>
82
+ </_notes>
83
+ </annotations>
84
+ </call>
85
+ <choose mode="exclusive">
86
+ <alternative condition="data.items.length &gt; 0">
87
+ <call id="a5" endpoint="move_camera">
88
+ <parameters>
89
+ <label>Inspect first item</label>
90
+ <arguments>
91
+ <x>!data.item['x']</x>
92
+ <y>!data.item['y']</y>
93
+ </arguments>
94
+ <stream>
95
+ <sensors/>
96
+ <aggregators/>
97
+ <costs/>
98
+ </stream>
99
+ </parameters>
100
+ <annotations>
101
+ <_timing>
102
+ <_timing_wait/>
103
+ <_timing_threshold/>
104
+ <_timing_min/>
105
+ <_timing_max/>
106
+ <_timing_avg/>
107
+ </_timing>
108
+ <_notes>
109
+ <_notes_general/>
110
+ </_notes>
111
+ </annotations>
112
+ </call>
113
+ <call id="a6" endpoint="get_offset_neural">
114
+ <parameters>
115
+ <label>Get item offset</label>
116
+ <arguments/>
117
+ <stream>
118
+ <sensors/>
119
+ <aggregators/>
120
+ <costs/>
121
+ </stream>
122
+ </parameters>
123
+ <code>
124
+ <prepare/>
125
+ <finalize output="result">data.adjusted = {
126
+ 'x' =&gt; data.item['x'] + result['dir_x'],
127
+ 'y' =&gt; data.item['y'] + result['dir_y']
128
+ }</finalize>
129
+ <update output="result"/>
130
+ <rescue output="result"/>
131
+ </code>
132
+ <annotations>
133
+ <_timing>
134
+ <_timing_wait/>
135
+ <_timing_threshold/>
136
+ <_timing_min/>
137
+ <_timing_max/>
138
+ <_timing_avg/>
139
+ </_timing>
140
+ <_notes>
141
+ <_notes_general/>
142
+ </_notes>
143
+ </annotations>
144
+ </call>
145
+ <call id="a8" endpoint="grip_and_place">
146
+ <parameters>
147
+ <label>Grip and Place</label>
148
+ <arguments>
149
+ <x>!data.adjusted['x'].round(0)</x>
150
+ <y>!data.adjusted['y'].round(0)</y>
151
+ <place_x>!data.place[0]</place_x>
152
+ <place_y>!data.place[1]</place_y>
153
+ </arguments>
154
+ <stream>
155
+ <sensors/>
156
+ <aggregators/>
157
+ <costs/>
158
+ </stream>
159
+ </parameters>
160
+ <annotations>
161
+ <_timing>
162
+ <_timing_wait/>
163
+ <_timing_threshold/>
164
+ <_timing_min/>
165
+ <_timing_max/>
166
+ <_timing_avg/>
167
+ </_timing>
168
+ <_notes>
169
+ <_notes_general/>
170
+ </_notes>
171
+ </annotations>
172
+ </call>
173
+ <_probability>
174
+ <_probability_min/>
175
+ <_probability_max/>
176
+ <_probability_avg/>
177
+ </_probability>
178
+ </alternative>
179
+ <otherwise>
180
+ <terminate/>
181
+ </otherwise>
182
+ </choose>
183
+ </loop>
184
+ </description>
185
+ </description>
186
+ <transformation>
187
+ <description type="copy"/>
188
+ <dataelements type="none"/>
189
+ <endpoints type="none"/>
190
+ </transformation>
191
+ <attributes>
192
+ <info>BPM 2020 Solution NN</info>
193
+ <modeltype>CPEE</modeltype>
194
+ <theme>preset</theme>
195
+ <resource>ur51</resource>
196
+ </attributes>
197
+ </testset>
@@ -0,0 +1,144 @@
1
+ <testset xmlns="http://cpee.org/ns/properties/2.0">
2
+ <dataelements/>
3
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
4
+ <endpoints>
5
+ <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
6
+ <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
7
+ <move_camera>http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
8
+ <get_items_base>http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
9
+ <get_items_neural>http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
10
+ <get_offset_base>http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
11
+ <get_offset_neural>http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
12
+ </endpoints>
13
+ <description>
14
+ <description xmlns="http://cpee.org/ns/description/1.0">
15
+ <loop mode="pre_test" condition="true">
16
+ <_probability>
17
+ <_probability_min/>
18
+ <_probability_max/>
19
+ <_probability_avg/>
20
+ </_probability>
21
+ <call id="a1" endpoint="overview">
22
+ <parameters>
23
+ <label>Move to overview position</label>
24
+ <arguments/>
25
+ <stream>
26
+ <sensors/>
27
+ <aggregators/>
28
+ <costs/>
29
+ </stream>
30
+ </parameters>
31
+ <annotations>
32
+ <_timing>
33
+ <_timing_wait/>
34
+ <_timing_threshold/>
35
+ <_timing_min/>
36
+ <_timing_max/>
37
+ <_timing_avg/>
38
+ </_timing>
39
+ <_notes>
40
+ <_notes_general/>
41
+ </_notes>
42
+ </annotations>
43
+ </call>
44
+ <call id="a3" endpoint="get_items_base">
45
+ <parameters>
46
+ <label>Get item positions</label>
47
+ <arguments/>
48
+ <stream>
49
+ <sensors/>
50
+ <aggregators/>
51
+ <costs/>
52
+ </stream>
53
+ </parameters>
54
+ <code>
55
+ <prepare/>
56
+ <finalize output="result">data.items = result
57
+ data.item = result[0]</finalize>
58
+ <update output="result"/>
59
+ <rescue output="result"/>
60
+ </code>
61
+ <annotations>
62
+ <_timing>
63
+ <_timing_wait/>
64
+ <_timing_threshold/>
65
+ <_timing_min/>
66
+ <_timing_max/>
67
+ <_timing_avg/>
68
+ </_timing>
69
+ <_notes>
70
+ <_notes_general/>
71
+ </_notes>
72
+ </annotations>
73
+ </call>
74
+ <call id="a5" endpoint="move_camera">
75
+ <parameters>
76
+ <label>Inspect first item</label>
77
+ <arguments>
78
+ <x>!data.item['x']</x>
79
+ <y>!data.item['y']</y>
80
+ </arguments>
81
+ <stream>
82
+ <sensors/>
83
+ <aggregators/>
84
+ <costs/>
85
+ </stream>
86
+ </parameters>
87
+ <annotations>
88
+ <_timing>
89
+ <_timing_wait/>
90
+ <_timing_threshold/>
91
+ <_timing_min/>
92
+ <_timing_max/>
93
+ <_timing_avg/>
94
+ </_timing>
95
+ <_notes>
96
+ <_notes_general/>
97
+ </_notes>
98
+ </annotations>
99
+ </call>
100
+ <call id="a6" endpoint="get_offset_base">
101
+ <parameters>
102
+ <label>Get item offset</label>
103
+ <arguments/>
104
+ <stream>
105
+ <sensors/>
106
+ <aggregators/>
107
+ <costs/>
108
+ </stream>
109
+ </parameters>
110
+ <code>
111
+ <prepare/>
112
+ <finalize output="result">data.adjusted = result</finalize>
113
+ <update output="result"/>
114
+ <rescue output="result"/>
115
+ </code>
116
+ <annotations>
117
+ <_timing>
118
+ <_timing_wait/>
119
+ <_timing_threshold/>
120
+ <_timing_min/>
121
+ <_timing_max/>
122
+ <_timing_avg/>
123
+ </_timing>
124
+ <_notes>
125
+ <_notes_general/>
126
+ </_notes>
127
+ </annotations>
128
+ </call>
129
+ <stop id="a2"/>
130
+ </loop>
131
+ </description>
132
+ </description>
133
+ <transformation>
134
+ <description type="copy"/>
135
+ <dataelements type="none"/>
136
+ <endpoints type="none"/>
137
+ </transformation>
138
+ <attributes>
139
+ <info>BPM 2020 Solution View</info>
140
+ <modeltype>CPEE</modeltype>
141
+ <theme>preset</theme>
142
+ <resource>ur51</resource>
143
+ </attributes>
144
+ </testset>
@@ -0,0 +1,26 @@
1
+ <testset>
2
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
3
+ <handlers>
4
+ <handler url="http://tango.wst.univie.ac.at:9332">
5
+ <votes topic='state'>change</votes>
6
+ <events topic='state'>change</events>
7
+ <events topic='task'>instantiation</events>
8
+ </handler>
9
+ </handlers>
10
+ <endpoints>
11
+ <overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
12
+ <move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
13
+ <move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
14
+ <get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
15
+ <get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
16
+ <get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
17
+ <get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
18
+ <wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
19
+ <grip_and_place xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
20
+ <subprocess xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9296/url/</subprocess>
21
+ <adjust xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/cpee-cockpit/templates/BPM%202020%20Manual%20Adjust.xml</adjust>
22
+ </endpoints>
23
+ <attributes>
24
+ <resource xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ur51</resource>
25
+ </attributes>
26
+ </testset>
@@ -0,0 +1,85 @@
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
+ <handlers>
5
+ <handler url="http://localhost:9299/">
6
+ <events topic="activity">calling,receiving,done</events>
7
+ <events topic="dataelements">change</events>
8
+ <events topic="endpoints">change</events>
9
+ <events topic="attributes">change</events>
10
+ <events topic="task">instantiation</events>
11
+ </handler>
12
+ </handlers>
13
+ <dataelements xmlns="http://cpee.org/ns/properties/2.0">
14
+ <persons>3</persons>
15
+ <card>Visa_12345</card>
16
+ <airline>null</airline>
17
+ <hotels>[]</hotels>
18
+ <from>Vienna</from>
19
+ <to>Prague</to>
20
+ <costs>0</costs>
21
+ </dataelements>
22
+ <endpoints xmlns="http://cpee.org/ns/properties/2.0">
23
+ <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
24
+ <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
25
+ <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
26
+ </endpoints>
27
+ <description xmlns="http://cpee.org/ns/properties/2.0">
28
+ <description xmlns="http://cpee.org/ns/description/1.0">
29
+ <call id="a1" endpoint="bookAir">
30
+ <parameters>
31
+ <label>Book Airline</label>
32
+ <method>:post</method>
33
+ <arguments>
34
+ <from>data.from</from>
35
+ <to>data.to</to>
36
+ <persons>data.persons</persons>
37
+ </arguments>
38
+ </parameters>
39
+ <code>
40
+ <finalize output="result">data.airline = result.value('id')
41
+ data.costs += result.value('costs').to_f
42
+ status.update 1, 'Hotel'</finalize>
43
+ </code>
44
+ </call>
45
+ <parallel>
46
+ <loop mode="pre_test" condition="data.persons &gt; 0">
47
+ <parallel_branch pass="data.persons" local="p">
48
+ <call id="a2" endpoint="bookHotel">
49
+ <parameters>
50
+ <label>Book Hotel</label>
51
+ <method>:post</method>
52
+ <arguments>
53
+ <to>data.to</to>
54
+ </arguments>
55
+ </parameters>
56
+ <code>
57
+ <finalize output="result">data.hotels &lt;&lt; result.value('id')
58
+ data.costs += result.value('costs').to_f</finalize>
59
+ </code>
60
+ </call>
61
+ </parallel_branch>
62
+ <manipulate id="a3">data.persons -= 1</manipulate>
63
+ </loop>
64
+ </parallel>
65
+ <choose mode="inclusive">
66
+ <alternative condition="data.costs &gt; 700">
67
+ <call id="a4" endpoint="approve">
68
+ <parameters>
69
+ <label>Approve Hotel</label>
70
+ <method>:post</method>
71
+ <arguments>
72
+ <costs>data.costs</costs>
73
+ </arguments>
74
+ </parameters>
75
+ </call>
76
+ </alternative>
77
+ </choose>
78
+ </description>
79
+ </description>
80
+ <transformation xmlns="http://cpee.org/ns/properties/2.0">
81
+ <description type="copy"/>
82
+ <dataelements type="rest"/>
83
+ <endpoints type="rest"/>
84
+ </transformation>
85
+ </testset>