cpee 1.5.24 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (360) 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/templates.legacy/Syncing P34 1.xml +77 -0
  42. data/cockpit/templates.legacy/Syncing P34 2.xml +77 -0
  43. data/cockpit/templates.legacy/Syncing P34 3.xml +77 -0
  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 +76 -0
  63. data/cockpit/{testsets/Syncing P34 1.xml → templates/IUPC arXiv:1104.3609 P34 1.xml } +7 -10
  64. data/cockpit/{testsets/Syncing P34 2.xml → templates/IUPC arXiv:1104.3609 P34 2.xml } +7 -10
  65. data/cockpit/{testsets/Syncing P34 3.xml → templates/IUPC arXiv:1104.3609 P34 3.xml } +7 -10
  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 +19 -13
  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 +84 -48
  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 +19 -13
  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 +19 -13
  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 +19 -13
  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 +10 -11
  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 +166 -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 +711 -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 +33 -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/resources/transformation_dslx.xsl +12 -3
  218. data/server/routing/end.rb +44 -0
  219. data/server/routing/forward-events.rb +59 -0
  220. data/server/routing/forward-votes.rb +108 -0
  221. data/server/routing/persist.rb +155 -0
  222. data/server/server.rb +1 -0
  223. data/tools/cpee +19 -15
  224. metadata +127 -177
  225. data/INSTALL +0 -23
  226. data/cockpit/test.html +0 -40
  227. data/cockpit/themes/compact/rngs/alternative.rng +0 -1
  228. data/cockpit/themes/compact/rngs/choose.rng +0 -1
  229. data/cockpit/themes/compact/rngs/critical.rng +0 -1
  230. data/cockpit/themes/compact/rngs/escape.rng +0 -1
  231. data/cockpit/themes/compact/rngs/group.rng +0 -1
  232. data/cockpit/themes/compact/rngs/loop.rng +0 -1
  233. data/cockpit/themes/compact/rngs/manipulate.rng +0 -1
  234. data/cockpit/themes/compact/rngs/otherwise.rng +0 -1
  235. data/cockpit/themes/compact/rngs/parallel.rng +0 -1
  236. data/cockpit/themes/compact/rngs/parallel_branch.rng +0 -1
  237. data/cockpit/themes/compact/rngs/stop.rng +0 -1
  238. data/cockpit/themes/compact/rngs/terminate.rng +0 -1
  239. data/cockpit/themes/default/rngs/finalize.rng +0 -6
  240. data/cockpit/themes/default/rngs/update.rng +0 -6
  241. data/cockpit/themes/default/theme.js +0 -1286
  242. data/cockpit/themes/extended/rngs/alternative.rng +0 -1
  243. data/cockpit/themes/extended/rngs/choose.rng +0 -1
  244. data/cockpit/themes/extended/rngs/critical.rng +0 -1
  245. data/cockpit/themes/extended/rngs/escape.rng +0 -1
  246. data/cockpit/themes/extended/rngs/group.rng +0 -1
  247. data/cockpit/themes/extended/rngs/loop.rng +0 -1
  248. data/cockpit/themes/extended/rngs/manipulate.rng +0 -1
  249. data/cockpit/themes/extended/rngs/otherwise.rng +0 -1
  250. data/cockpit/themes/extended/rngs/parallel.rng +0 -1
  251. data/cockpit/themes/extended/rngs/parallel_branch.rng +0 -1
  252. data/cockpit/themes/extended/rngs/stop.rng +0 -1
  253. data/cockpit/themes/extended/rngs/terminate.rng +0 -1
  254. data/cockpit/themes/labels/rngs/alternative.rng +0 -25
  255. data/cockpit/themes/labels/rngs/call.rng +0 -81
  256. data/cockpit/themes/labels/rngs/callmanipulate.rng +0 -101
  257. data/cockpit/themes/labels/rngs/choose.rng +0 -12
  258. data/cockpit/themes/labels/rngs/critical.rng +0 -5
  259. data/cockpit/themes/labels/rngs/escape.rng +0 -1
  260. data/cockpit/themes/labels/rngs/finalize.rng +0 -6
  261. data/cockpit/themes/labels/rngs/group.rng +0 -3
  262. data/cockpit/themes/labels/rngs/loop.rng +0 -22
  263. data/cockpit/themes/labels/rngs/manipulate.rng +0 -9
  264. data/cockpit/themes/labels/rngs/otherwise.rng +0 -22
  265. data/cockpit/themes/labels/rngs/parallel.rng +0 -13
  266. data/cockpit/themes/labels/rngs/parallel_branch.rng +0 -8
  267. data/cockpit/themes/labels/rngs/stop.rng +0 -5
  268. data/cockpit/themes/labels/rngs/terminate.rng +0 -1
  269. data/cockpit/themes/labels/rngs/update.rng +0 -6
  270. data/cockpit/themes/labels/symbols/alternative.svg +0 -5
  271. data/cockpit/themes/labels/symbols/arrow.svg +0 -3
  272. data/cockpit/themes/labels/symbols/call.svg +0 -6
  273. data/cockpit/themes/labels/symbols/callmanipulate.svg +0 -8
  274. data/cockpit/themes/labels/symbols/choose.svg +0 -5
  275. data/cockpit/themes/labels/symbols/choose_exclusive.svg +0 -5
  276. data/cockpit/themes/labels/symbols/choose_inclusive.svg +0 -4
  277. data/cockpit/themes/labels/symbols/complex.svg +0 -8
  278. data/cockpit/themes/labels/symbols/critical.svg +0 -4
  279. data/cockpit/themes/labels/symbols/end.svg +0 -3
  280. data/cockpit/themes/labels/symbols/escape.svg +0 -5
  281. data/cockpit/themes/labels/symbols/event_end.svg +0 -3
  282. data/cockpit/themes/labels/symbols/loop.svg +0 -5
  283. data/cockpit/themes/labels/symbols/manipulate.svg +0 -4
  284. data/cockpit/themes/labels/symbols/otherwise.svg +0 -5
  285. data/cockpit/themes/labels/symbols/parallel.svg +0 -5
  286. data/cockpit/themes/labels/symbols/parallel_branch.svg +0 -5
  287. data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +0 -4
  288. data/cockpit/themes/labels/symbols/parallel_branch_event.svg +0 -14
  289. data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +0 -5
  290. data/cockpit/themes/labels/symbols/scripts.svg +0 -4
  291. data/cockpit/themes/labels/symbols/start.svg +0 -3
  292. data/cockpit/themes/labels/symbols/stop.svg +0 -5
  293. data/cockpit/themes/labels/symbols/terminate.svg +0 -4
  294. data/cockpit/themes/packed/rngs/alternative.rng +0 -1
  295. data/cockpit/themes/packed/rngs/choose.rng +0 -1
  296. data/cockpit/themes/packed/rngs/critical.rng +0 -1
  297. data/cockpit/themes/packed/rngs/escape.rng +0 -1
  298. data/cockpit/themes/packed/rngs/group.rng +0 -1
  299. data/cockpit/themes/packed/rngs/loop.rng +0 -1
  300. data/cockpit/themes/packed/rngs/manipulate.rng +0 -1
  301. data/cockpit/themes/packed/rngs/otherwise.rng +0 -1
  302. data/cockpit/themes/packed/rngs/parallel.rng +0 -1
  303. data/cockpit/themes/packed/rngs/parallel_branch.rng +0 -1
  304. data/cockpit/themes/packed/rngs/stop.rng +0 -1
  305. data/cockpit/themes/packed/rngs/terminate.rng +0 -1
  306. data/cockpit/themes/preset/rngs/alternative.rng +0 -1
  307. data/cockpit/themes/preset/rngs/choose.rng +0 -1
  308. data/cockpit/themes/preset/rngs/critical.rng +0 -1
  309. data/cockpit/themes/preset/rngs/escape.rng +0 -1
  310. data/cockpit/themes/preset/rngs/group.rng +0 -1
  311. data/cockpit/themes/preset/rngs/loop.rng +0 -1
  312. data/cockpit/themes/preset/rngs/manipulate.rng +0 -1
  313. data/cockpit/themes/preset/rngs/otherwise.rng +0 -1
  314. data/cockpit/themes/preset/rngs/parallel.rng +0 -1
  315. data/cockpit/themes/preset/rngs/parallel_branch.rng +0 -1
  316. data/cockpit/themes/preset/rngs/stop.rng +0 -1
  317. data/cockpit/themes/preset/rngs/terminate.rng +0 -1
  318. data/lib/cpee/empty_workflow.rb +0 -28
  319. data/lib/cpee/handler_notifications.rb +0 -47
  320. data/lib/cpee/handler_properties.rb +0 -50
  321. data/lib/cpee/instantiation.rb +0 -369
  322. data/lib/cpee/processtransformation/bpel/Repository/booking.bpel +0 -125
  323. data/lib/cpee/processtransformation/bpel/Repository/booking.wsdl +0 -72
  324. data/lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl +0 -71
  325. data/lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl +0 -64
  326. data/lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl +0 -71
  327. data/lib/cpee/processtransformation/bpel/bpel2wee.rb +0 -34
  328. data/lib/cpee/processtransformation/bpel/bpelserver.ru +0 -64
  329. data/lib/cpee/processtransformation/bpel/bpelserver.xml +0 -70
  330. data/lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb +0 -367
  331. data/lib/cpee/processtransformation/bpmn2.rb +0 -297
  332. data/lib/cpee/processtransformation/cpee.rb +0 -119
  333. data/lib/cpee/processtransformation/structures.rb +0 -465
  334. data/lib/cpee/processtransformation/target.rb +0 -50
  335. data/log/azure.rb +0 -10
  336. data/log/azure_logger.rb +0 -136
  337. data/log/chain.xml +0 -27
  338. data/log/elasticsearch.rb +0 -15
  339. data/log/elasticsearch_logging.rb +0 -377
  340. data/log/legacy/test_es.rb +0 -26
  341. data/log/legacy/test_split.rb +0 -211
  342. data/log/log.xml +0 -13
  343. data/log/non_tamp.rb +0 -156
  344. data/log/sic.rb +0 -63
  345. data/log/template.xes_xml +0 -23
  346. data/log/template.xes_yaml +0 -28
  347. data/log/trace.yaml +0 -17717
  348. data/log/trace_sic.yaml +0 -18343
  349. data/log/xes_xml.rb +0 -121
  350. data/log/xes_yaml.rb +0 -96
  351. data/server/handlerwrappers/soap.rb +0 -146
  352. data/server/resources/notifications/logging/consumer-secret +0 -1
  353. data/server/resources/notifications/logging/producer-secret +0 -1
  354. data/server/resources/properties.schema.active +0 -139
  355. data/server/resources/properties.schema.finished +0 -139
  356. data/server/resources/properties.schema.inactive +0 -136
  357. data/server/resources/test1.xml +0 -58
  358. data/server/resources/test2.xml +0 -60
  359. data/server/resources/test3.xml +0 -217
  360. data/test/callback.rb +0 -9
@@ -1,139 +0,0 @@
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
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
18
- <attributes type="complex" modifiable="false" mutable="false">
19
- <zeroOrMore>
20
- <element><anyName/><text/></element>
21
- </zeroOrMore>
22
- </attributes>
23
- <handlerwrapper type="simple" modifiable="false" mutable="false">
24
- <data type="string">
25
- <param name="pattern">[A-Z][a-zA-Z]*</param>
26
- </data>
27
- </handlerwrapper>
28
- <dsl type="simple" modifiable="false" mutable="false">
29
- <text/>
30
- </dsl>
31
- <dslx type="arbitrary" modifiable="false" mutable="false"/>
32
- <description type="arbitrary" modifiable="false" mutable="false"/>
33
- <transformation type="complex" modifiable="false" mutable="false">
34
- <element name='description'>
35
- <attribute name='type'>
36
- <choice>
37
- <value>copy</value>
38
- <value>rest</value>
39
- <value>xslt</value>
40
- <value>clean</value>
41
- <value>none</value>
42
- </choice>
43
- </attribute>
44
- <data type="anyURI"/>
45
- </element>
46
- <element name='dataelements'>
47
- <attribute name='type'>
48
- <choice>
49
- <value>rest</value>
50
- <value>xslt</value>
51
- <value>clean</value>
52
- <value>none</value>
53
- </choice>
54
- </attribute>
55
- <data type="anyURI"/>
56
- </element>
57
- <element name='endpoints'>
58
- <attribute name='type'>
59
- <choice>
60
- <value>rest</value>
61
- <value>xslt</value>
62
- <value>clean</value>
63
- <value>none</value>
64
- </choice>
65
- </attribute>
66
- <data type="anyURI"/>
67
- </element>
68
- </transformation>
69
- <state type="state" modifiable="false" mutable="false">
70
- <ready>
71
- <ready putable="true"/>
72
- <running putable="true"/>
73
- <simulating putable="true"/>
74
- <replaying putable="true"/>
75
- <abandoned putable="true"/>
76
- </ready>
77
- <running>
78
- <stopping putable="true"/>
79
- <finishing putable="false"/>
80
- <finished putable="false"/>
81
- </running>
82
- <simulating>
83
- <ready putable="false"/>
84
- <stopped putable="false"/>
85
- </simulating>
86
- <replaying>
87
- <stopping putable="true"/>
88
- <finishing putable="false"/>
89
- <finished putable="false"/>
90
- </replaying>
91
- <stopping>
92
- <stopped putable="false"/>
93
- </stopping>
94
- <stopped>
95
- <abandoned putable="true"/>
96
- <stopped putable="true"/>
97
- <running putable="true"/>
98
- <simulating putable="true"/>
99
- <replaying putable="true"/>
100
- </stopped>
101
- <abandoned/>
102
- <finished/>
103
- </state>
104
- <status type="complex" modifiable="false" mutable="false">
105
- <optional>
106
- <element name='id'>
107
- <data type="integer"/>
108
- </element>
109
- <element name='message'>
110
- <data type="string"/>
111
- </element>
112
- </optional>
113
- </status>
114
- <positions type="complex" modifiable="false" mutable="false">
115
- <zeroOrMore>
116
- <element>
117
- <anyName/>
118
- <optional>
119
- <attribute name='passthrough'>
120
- <data type="string"/>
121
- </attribute>
122
- </optional>
123
- <data type="string">
124
- <param name="pattern">(at|after)(;[A-Za-z0-9]+)?</param>
125
- </data>
126
- </element>
127
- </zeroOrMore>
128
- </positions>
129
- <dataelements type="complex" modifiable="false" mutable="false">
130
- <zeroOrMore>
131
- <element><anyName/><text/></element>
132
- </zeroOrMore>
133
- </dataelements>
134
- <endpoints type="complex" modifiable="false" mutable="false">
135
- <zeroOrMore>
136
- <element><anyName/><text/></element>
137
- </zeroOrMore>
138
- </endpoints>
139
- </properties>
@@ -1,136 +0,0 @@
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
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
18
- <attributes type="complex" modifiable="true">
19
- <zeroOrMore>
20
- <element><anyName/><text/></element>
21
- </zeroOrMore>
22
- </attributes>
23
- <handlerwrapper type="simple" modifiable="true">
24
- <data type="string">
25
- <param name="pattern">[A-Z][a-zA-Z]*</param>
26
- </data>
27
- </handlerwrapper>
28
- <dsl type="simple" modifiable="false" mutable="false">
29
- <text/>
30
- </dsl>
31
- <dslx type="arbitrary" modifiable="false" mutable="false"/>
32
- <description type="arbitrary" modifiable="true"/>
33
- <transformation type="complex" modifiable="true">
34
- <element name='description'>
35
- <attribute name='type'>
36
- <choice>
37
- <value>copy</value>
38
- <value>rest</value>
39
- <value>xslt</value>
40
- <value>clean</value>
41
- <value>none</value>
42
- </choice>
43
- </attribute>
44
- <data type="anyURI"/>
45
- </element>
46
- <element name='dataelements'>
47
- <attribute name='type'>
48
- <choice>
49
- <value>rest</value>
50
- <value>xslt</value>
51
- <value>clean</value>
52
- <value>none</value>
53
- </choice>
54
- </attribute>
55
- <data type="anyURI"/>
56
- </element>
57
- <element name='endpoints'>
58
- <attribute name='type'>
59
- <choice>
60
- <value>rest</value>
61
- <value>xslt</value>
62
- <value>clean</value>
63
- <value>none</value>
64
- </choice>
65
- </attribute>
66
- <data type="anyURI"/>
67
- </element>
68
- </transformation>
69
- <state type="state" modifiable="true">
70
- <ready>
71
- <running putable="true"/>
72
- <ready putable="true"/>
73
- <simulating putable="true"/>
74
- <replaying putable="true"/>
75
- <abandoned putable="true"/>
76
- </ready>
77
- <running>
78
- <stopping putable="true"/>
79
- <finishing putable="false"/>
80
- <finished putable="false"/>
81
- </running>
82
- <simulating>
83
- <ready putable="false"/>
84
- <stopped putable="false"/>
85
- </simulating>
86
- <replaying>
87
- <stopping putable="true"/>
88
- <finishing putable="false"/>
89
- <finished putable="false"/>
90
- </replaying>
91
- <stopped>
92
- <abandoned putable="true"/>
93
- <stopped putable="true"/>
94
- <running putable="true"/>
95
- <simulating putable="true"/>
96
- <replaying putable="true"/>
97
- </stopped>
98
- <abandoned/>
99
- <finished/>
100
- </state>
101
- <status type="complex" modifiable="false" mutable="false">
102
- <optional>
103
- <element name='id'>
104
- <data type="integer"/>
105
- </element>
106
- <element name='message'>
107
- <data type="string"/>
108
- </element>
109
- </optional>
110
- </status>
111
- <positions type="complex" modifiable="true">
112
- <zeroOrMore>
113
- <element>
114
- <anyName/>
115
- <optional>
116
- <attribute name='passthrough'>
117
- <data type="string"/>
118
- </attribute>
119
- </optional>
120
- <data type="string">
121
- <param name="pattern">(at|after)(;[A-Za-z0-9]+)?</param>
122
- </data>
123
- </element>
124
- </zeroOrMore>
125
- </positions>
126
- <dataelements type="complex" modifiable="true">
127
- <zeroOrMore>
128
- <element><anyName/><text/></element>
129
- </zeroOrMore>
130
- </dataelements>
131
- <endpoints type="complex" modifiable="true">
132
- <zeroOrMore>
133
- <element><anyName/><text/></element>
134
- </zeroOrMore>
135
- </endpoints>
136
- </properties>
@@ -1,58 +0,0 @@
1
- <?xml version="1.0"?>
2
- <testset>
3
- <positions><!--{{{-->
4
- <a1>after</a1>
5
- </positions><!--}}}-->
6
- <attributes>
7
- <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
8
- <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
9
- <theme>default</theme>
10
- </attributes>
11
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
12
- <dataelements><!--{{{-->
13
- <x/>
14
- </dataelements><!--}}}-->
15
- <handlers/>
16
- <endpoints><!--{{{-->
17
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
18
- </endpoints><!--}}}-->
19
- <description>
20
- <description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
21
- <call id="a1" endpoint="timeout">
22
- <parameters><!--{{{-->
23
- <label>Step 1</label>
24
- <method>:post</method>
25
- <arguments>
26
- <timeout>2</timeout>
27
- </arguments>
28
- </parameters><!--}}}-->
29
- <finalize output="result">data.x += "a1,"</finalize>
30
- </call>
31
- <call id="a2" endpoint="timeout">
32
- <parameters><!--{{{-->
33
- <label>Step 2</label>
34
- <method>:post</method>
35
- <arguments>
36
- <timeout>4</timeout>
37
- </arguments>
38
- </parameters><!--}}}-->
39
- <finalize output="result">data.x += "a2,"</finalize>
40
- </call>
41
- <call id="a3" endpoint="timeout">
42
- <parameters><!--{{{-->
43
- <label>Step 3</label>
44
- <method>:post</method>
45
- <arguments>
46
- <timeout>4</timeout>
47
- </arguments>
48
- </parameters><!--}}}-->
49
- <finalize output="result">data.x += "a3,"</finalize>
50
- </call>
51
- </description><!--}}}-->
52
- </description>
53
- <transformation>
54
- <description type='copy'/>
55
- <dataelements type='rest'/>
56
- <endpoints type='rest'/>
57
- </transformation>
58
- </testset>
@@ -1,60 +0,0 @@
1
- <?xml version="1.0"?>
2
- <testset>
3
- <positions><!--{{{-->
4
- <a1>after</a1>
5
- </positions><!--}}}-->
6
- <attributes>
7
- <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
8
- <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
9
- <theme>default</theme>
10
- </attributes>
11
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
12
- <dataelements><!--{{{-->
13
- <x/>
14
- </dataelements><!--}}}-->
15
- <handlers/>
16
- <endpoints><!--{{{-->
17
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
18
- </endpoints><!--}}}-->
19
- <description>
20
- <description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
21
- <call id="a1" endpoint="timeout">
22
- <parameters><!--{{{-->
23
- <label>Step 1</label>
24
- <method>:post</method>
25
- <arguments>
26
- <timeout>2</timeout>
27
- </arguments>
28
- </parameters><!--}}}-->
29
- <code>
30
- <finalize output="result">data.x += "a1,"</finalize>
31
- </code>
32
- </call>
33
- <call id="a2" endpoint="timeout">
34
- <parameters><!--{{{-->
35
- <label>Step 2</label>
36
- <method>:post</method>
37
- <arguments>
38
- <timeout>4</timeout>
39
- </arguments>
40
- </parameters><!--}}}-->
41
- <finalize output="result">data.x += "a2,"</finalize>
42
- </call>
43
- <call id="a3" endpoint="timeout">
44
- <parameters><!--{{{-->
45
- <label>Step 3</label>
46
- <method>:post</method>
47
- <arguments>
48
- <timeout>4</timeout>
49
- </arguments>
50
- </parameters><!--}}}-->
51
- <finalize output="result">data.x += "a3,"</finalize>
52
- </call>
53
- </description><!--}}}-->
54
- </description>
55
- <transformation>
56
- <description type='copy'/>
57
- <dataelements type='rest'/>
58
- <endpoints type='rest'/>
59
- </transformation>
60
- </testset>
@@ -1,217 +0,0 @@
1
- <?xml version="1.0"?>
2
- <!--
3
- This file is part of CPEE.
4
-
5
- CPEE is free software: you can redistribute it and/or modify it under the terms
6
- of the GNU General Public License as published by the Free Software Foundation,
7
- either version 3 of the License, or (at your option) any later version.
8
-
9
- CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
10
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
-
13
- You should have received a copy of the GNU General Public License along with
14
- CPEE (file COPYING in the main directory). If not, see
15
- <http://www.gnu.org/licenses/>.
16
- -->
17
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
18
- <attributes>
19
- <uuid>ea33c1e0-b5b6-44d3-b1a8-24b34ebf92cc</uuid>
20
- <info>Matthias</info>
21
- <modeltype>CPEE</modeltype>
22
- <theme>preset</theme>
23
- <customer>pilotfabrik</customer>
24
- <status>development</status>
25
- </attributes>
26
- <state changed="2019-11-22T11:19:10+01:00">stopped</state>
27
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
28
- <positions>
29
- <a2 passthrough="">after</a2>
30
- </positions>
31
- <dataelements>
32
- <a>1</a>
33
- <intermediate>{"value":20}</intermediate>
34
- <last>{"value":6,"anotherValue":3}</last>
35
- </dataelements>
36
- <endpoints>
37
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php?test=12</timeout>
38
- <start_url>https://centurio.work/flow/start/url/</start_url>
39
- <ipc_send>https://centurio.work/ing/correlators/message/send/</ipc_send>
40
- <ipc_receive>https-get://centurio.work/ing/correlators/message/receive/</ipc_receive>
41
- <ipc_delete>https-delete://centurio.work/ing/correlators/message/receive/</ipc_delete>
42
- <data_creator>https://centurio.work/customers/bsm/workaroundlink/functionality/data_creator.php</data_creator>
43
- <answer_later>https://centurio.work/customers/bsm/workaroundlink/functionality/answer_later.php</answer_later>
44
- </endpoints>
45
- <dsl>loop pre_test("true") do
46
- call :a1, :data_creator, parameters: { :label =&gt; "Test", :method =&gt; :post, :arguments =&gt; [&#x2B50;(:name =&gt; :timeout, :value =&gt; -&gt;{ data.a }), &#x2B50;(:name =&gt; :test__, :value =&gt; -&gt;{ "12" })], :stream =&gt; {:sensors =&gt; "[ { \"name\": \"something\", \"extractor_url\": \"extractor.php\", \"extractor_arg\": \"{\\\"nav\\\":\\\"$.value\\\"}\", \"visualizer_url\": \"someurl.php\", \"visualizer_params\": { \"a\": \"b\", \"d\": \"c\" } }, { \"name\": \"value2\", \"extractor_url\": \"\", \"extractor_arg\": \"{\\\"nav\\\":\\\"$.anotherValue\\\"}\", \"visualizer_url\": \"\", \"visualizer_params\": \"\" } ]", :aggregators =&gt; {:aggregator =&gt; {:name =&gt; agglabel, :aggregator_url =&gt; "aggurl", :aggregator_arg =&gt; "aggarg"}}, :_cost =&gt; {:_cost_factor =&gt; {:name =&gt; "tarlabel", :target =&gt; "tarval", :vfunc_url =&gt; "viourl", :vfunc_arg =&gt; "vioarg", :vcost =&gt; "viocost"}}} }, finalize: &lt;&lt;-END, update: &lt;&lt;-END
47
- data.last=result
48
- END
49
- data.intermediate=result
50
- END
51
- stop :a2
52
- end
53
- </dsl>
54
- <dslx>
55
- <description xmlns="http://cpee.org/ns/description/1.0">
56
- <loop mode="pre_test" condition="true">
57
- <_probability>
58
- <_probability_min/>
59
- <_probability_max/>
60
- <_probability_avg/>
61
- </_probability>
62
- <call id="a1" endpoint="data_creator">
63
- <parameters>
64
- <label>Test</label>
65
- <method>:post</method>
66
- <arguments>
67
- <timeout>!data.a</timeout>
68
- <test__>12</test__>
69
- </arguments>
70
- <stream>
71
- <sensors>
72
- <sensor>
73
- <name>something</name>
74
- <extractor_url>extractor.php</extractor_url>
75
- <extractor_arg>{"nav":"$.value"}</extractor_arg>
76
- <visualizer_url>someurl.php</visualizer_url>
77
- <visualizer_params>
78
- <d>b</d>
79
- <d>c</d>
80
- </visualizer_params>
81
- </sensor>
82
- <sensor>
83
- <name>value2</name>
84
- <extractor_url/>
85
- <extractor_arg>{"nav":"$.anotherValue"}</extractor_arg>
86
- <visualizer_url/>
87
- <visualizer_params/>
88
- </sensor>
89
- </sensors>
90
- <aggregators>
91
- <aggregator>
92
- <name>agglabel</name>
93
- <aggregator_url>"aggurl"</aggregator_url>
94
- <aggregator_arg>"aggarg"</aggregator_arg>
95
- </aggregator>
96
- </aggregators>
97
- <_cost>
98
- <_cost_factor>
99
- <name>"tarlabel"</name>
100
- <target>"tarval"</target>
101
- <vfunc_url>"viourl"</vfunc_url>
102
- <vfunc_arg>"vioarg"</vfunc_arg>
103
- <vcost>"viocost"</vcost>
104
- </_cost_factor>
105
- </_cost>
106
- </stream>
107
- </parameters>
108
- <code>
109
- <prepare/>
110
- <finalize output="result">data.last=result</finalize>
111
- <update output="result">data.intermediate=result</update>
112
- <rescue output="result"/>
113
- </code>
114
- <annotations>
115
- <_timing>
116
- <_timing_min/>
117
- <_timing_max/>
118
- <_timing_avg/>
119
- </_timing>
120
- <_notes>
121
- <_notes_general/>
122
- <_notes_output/>
123
- <_attachments/>
124
- </_notes>
125
- </annotations>
126
- </call>
127
- <stop id="a2"/>
128
- </loop>
129
- </description>
130
- </dslx>
131
- <status>
132
- <id>0</id>
133
- <message>undefined</message>
134
- </status>
135
- <description>
136
- <description xmlns="http://cpee.org/ns/description/1.0">
137
- <loop mode="pre_test" condition="true">
138
- <_probability>
139
- <_probability_min/>
140
- <_probability_max/>
141
- <_probability_avg/>
142
- </_probability>
143
- <call id="a1" endpoint="data_creator">
144
- <parameters>
145
- <label>Test</label>
146
- <method>:post</method>
147
- <arguments>
148
- <timeout>!data.a</timeout>
149
- <test__>12</test__>
150
- </arguments>
151
- <stream>
152
- <sensors>
153
- <sensor>
154
- <name>something</name>
155
- <extractor_url>extractor.php</extractor_url>
156
- <extractor_arg>{"nav":"$.value"}</extractor_arg>
157
- <visualizer_url>someurl.php</visualizer_url>
158
- <visualizer_params>
159
- <a>b</a>
160
- <d>c</d>
161
- </visualizer_params>
162
- </sensor>
163
- <sensor>
164
- <name>value2</name>
165
- <extractor_url/>
166
- <extractor_arg>{"nav":"$.anotherValue"}</extractor_arg>
167
- <visualizer_url/>
168
- <visualizer_params/>
169
- </sensor>
170
- </sensors>
171
- <aggregators>
172
- <aggregator>
173
- <name>agglabel</name>
174
- <aggregator_url>"aggurl"</aggregator_url>
175
- <aggregator_arg>"aggarg"</aggregator_arg>
176
- </aggregator>
177
- </aggregators>
178
- <_cost>
179
- <_cost_factor>
180
- <name>"tarlabel"</name>
181
- <target>"tarval"</target>
182
- <vfunc_url>"viourl"</vfunc_url>
183
- <vfunc_arg>"vioarg"</vfunc_arg>
184
- <vcost>"viocost"</vcost>
185
- </_cost_factor>
186
- </_cost>
187
- </stream>
188
- </parameters>
189
- <code>
190
- <prepare/>
191
- <finalize output="result">data.last=result</finalize>
192
- <update output="result">data.intermediate=result</update>
193
- <rescue output="result"/>
194
- </code>
195
- <annotations>
196
- <_timing>
197
- <_timing_min/>
198
- <_timing_max/>
199
- <_timing_avg/>
200
- </_timing>
201
- <_notes>
202
- <_notes_general/>
203
- <_notes_output/>
204
- <_attachments/>
205
- </_notes>
206
- </annotations>
207
- </call>
208
- <stop id="a2"/>
209
- </loop>
210
- </description>
211
- </description>
212
- <transformation>
213
- <description type="copy"/>
214
- <dataelements type="none"/>
215
- <endpoints type="none"/>
216
- </transformation>
217
- </properties>