cpee 1.5.20 → 2.0

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/{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 -9
  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 -34
  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/resources/transformation_dslx.xsl +3 -0
  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 +126 -156
  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 -368
  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
@@ -0,0 +1,155 @@
1
+ #!/usr/bin/ruby
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
+ require 'json'
18
+ require 'redis'
19
+ require 'daemonite'
20
+ require_relative '../../lib/cpee/value_helper'
21
+
22
+ EVENTS = %w{
23
+ event:state/change
24
+ event:handlerwrapper/change
25
+ event:description/change
26
+ event:dataelements/change
27
+ event:endpoints/change
28
+ event:attributes/change
29
+ event:transformation/change
30
+ event:status/change
31
+ event:position/change
32
+ event:handler/change
33
+ callback:activity/content
34
+ }
35
+
36
+ Daemonite.new do |opts|
37
+ redis = Redis.new(path: "/tmp/redis.sock", db: 3)
38
+ pubsubredis = Redis.new(path: "/tmp/redis.sock", db: 3)
39
+
40
+ run do
41
+ pubsubredis.subscribe(EVENTS) do |on|
42
+ on.message do |what, message|
43
+ mess = JSON.parse(message[message.index(' ')+1..-1])
44
+ instance = mess.dig('instance')
45
+ case what
46
+ when 'callback:activity/content'
47
+ key = mess.dig('content','key')
48
+ redis.multi do |multi|
49
+ multi.sadd("instance:#{instance}/callbacks",key)
50
+ multi.set("instance:#{instance}/callback/#{key}/uuid",mess.dig('content','activity_uuid'))
51
+ multi.set("instance:#{instance}/callback/#{key}/label",mess.dig('content','label'))
52
+ multi.set("instance:#{instance}/callback/#{key}/position",mess.dig('content','activity'))
53
+ multi.set("instance:#{instance}/callback/#{key}/type",'callback')
54
+ end
55
+ when 'event:state/change'
56
+ redis.multi do |multi|
57
+ multi.set("instance:#{instance}/state",mess.dig('content','state'))
58
+ multi.set("instance:#{instance}/state/@changed",mess.dig('content','timestamp'))
59
+ end
60
+ when 'event:handlerwrapper/change'
61
+ redis.set("instance:#{instance}/handlerwrapper",mess.dig('content','handlerwrapper'))
62
+ when 'event:description/change'
63
+ redis.multi do |multi|
64
+ multi.set("instance:#{instance}/description",mess.dig('content','description'))
65
+ multi.set("instance:#{instance}/dslx",mess.dig('content','dslx'))
66
+ multi.set("instance:#{instance}/dsl",mess.dig('content','dsl'))
67
+ end
68
+ when 'event:dataelements/change', 'event:endpoints/change', 'event:attributes/change'
69
+ topic = mess.dig('topic')
70
+ redis.multi do |multi|
71
+ mess.dig('content','changed')&.each_with_index do |c,i|
72
+ unless what == 'event:attributes/change' && c == 'uuid'
73
+ multi.zadd("instance:#{instance}/#{topic}",i,c)
74
+ if what == 'event:dataelements/change'
75
+ multi.set("instance:#{instance}/#{topic}/#{c}",CPEE::ValueHelper::generate(mess.dig('content','values',c)))
76
+ else
77
+ multi.set("instance:#{instance}/#{topic}/#{c}",mess.dig('content','values',c))
78
+ end
79
+ end
80
+ end
81
+ mess.dig('content','deleted')&.to_a&.each do |c|
82
+ unless what == 'event:attributes/change' && c == 'uuid'
83
+ multi.zrem("instance:#{instance}/#{topic}",c)
84
+ multi.del("instance:#{instance}/#{topic}/#{c}")
85
+ end
86
+ end
87
+ end
88
+ when 'event:transformation/change'
89
+ redis.multi do |multi|
90
+ multi.set("instance:#{instance}/transformation/description/",mess.dig('content','description'))
91
+ multi.set("instance:#{instance}/transformation/description/@type",mess.dig('content','description_type'))
92
+ multi.set("instance:#{instance}/transformation/dataelements/",mess.dig('content','dataelements'))
93
+ multi.set("instance:#{instance}/transformation/dataelements/@type",mess.dig('content','dataelements_type'))
94
+ multi.set("instance:#{instance}/transformation/endpoints/",mess.dig('content','endpoints'))
95
+ multi.set("instance:#{instance}/transformation/endpoints/@type",mess.dig('content','endpoints_type'))
96
+ end
97
+ when 'event:status/change'
98
+ redis.multi do |multi|
99
+ multi.set("instance:#{instance}/status/id",mess.dig('content','id'))
100
+ multi.set("instance:#{instance}/status/message",mess.dig('content','message'))
101
+ end
102
+ when 'event:position/change'
103
+ redis.multi do |multi|
104
+ c = mess.dig('content')
105
+ c.dig('unmark')&.each do |ele|
106
+ multi.srem("instance:#{instance}/positions",ele['position'])
107
+ multi.del("instance:#{instance}/positions/#{ele['position']}")
108
+ multi.del("instance:#{instance}/positions/#{ele['position']}/@passthrough")
109
+ end
110
+ c.dig('before')&.each do |ele|
111
+ multi.sadd("instance:#{instance}/positions",ele['position'])
112
+ multi.set("instance:#{instance}/positions/#{ele['position']}",'before')
113
+ end
114
+ c.dig('at')&.each do |ele|
115
+ multi.sadd("instance:#{instance}/positions",ele['position'])
116
+ multi.set("instance:#{instance}/positions/#{ele['position']}",'at')
117
+ multi.set("instance:#{instance}/positions/#{ele['position']}/@passthrough",ele['passthrough']) if ele['passthrough']
118
+ end
119
+ c.dig('wait')&.each do |ele|
120
+ multi.sadd("instance:#{instance}/positions",ele['position'])
121
+ multi.set("instance:#{instance}/positions/#{ele['position']}",'at')
122
+ multi.set("instance:#{instance}/positions/#{ele['position']}/@passthrough",ele['passthrough']) if ele['passthrough']
123
+ end
124
+ c.dig('after')&.each do |ele|
125
+ multi.sadd("instance:#{instance}/positions",ele['position'])
126
+ multi.set("instance:#{instance}/positions/#{ele['position']}",'after')
127
+ end
128
+ end
129
+ when 'event:handler/change'
130
+ redis.multi do |multi|
131
+ mess.dig('content','changed').each do |c|
132
+ multi.sadd("instance:#{instance}/handlers",mess.dig('content','key'))
133
+ multi.sadd("instance:#{instance}/handlers/#{mess.dig('content','key')}",c)
134
+ multi.set("instance:#{instance}/handlers/#{mess.dig('content','key')}/url",mess.dig('content','url'))
135
+ multi.sadd("instance:#{instance}/handlers/#{c}",mess.dig('content','key'))
136
+ end
137
+ mess.dig('content','deleted').to_a.each do |c|
138
+ multi.srem("instance:#{instance}/handlers/#{mess.dig('content','key')}",c)
139
+ multi.srem("instance:#{instance}/handlers/#{c}",mess.dig('content','key'))
140
+ end
141
+ end
142
+ if redis.scard("instance:#{instance}/handlers/#{mess.dig('content','key')}") < 1
143
+ redis.multi do |multi|
144
+ multi.del("instance:#{instance}/handlers/#{mess.dig('content','key')}/url")
145
+ multi.srem("instance:#{instance}/handlers",mess.dig('content','key'))
146
+ end
147
+ end
148
+ end
149
+ rescue => e
150
+ puts e.message
151
+ puts e.backtrace
152
+ end
153
+ end
154
+ end
155
+ end.go!
@@ -21,6 +21,7 @@ require File.expand_path(File.dirname(__FILE__) + '/../lib/cpee/implementation')
21
21
  Riddl::Server.new(CPEE::SERVER, :port => 8298) do |opts|
22
22
  accessible_description true
23
23
  cross_site_xhr true
24
+ process_out false
24
25
 
25
26
  use CPEE::implementation(opts)
26
27
  end.loop!
data/tools/cpee CHANGED
@@ -29,7 +29,8 @@ end
29
29
 
30
30
  ARGV.options { |opt|
31
31
  opt.summary_indent = ' ' * 2
32
- opt.banner = "Usage:\n#{opt.summary_indent}#{File.basename($0)} [options] ui | cpui DIR | new DIR | archive DIR URL | abandon URL\n"
32
+ opt.summary_width = 15
33
+ opt.banner = "Usage:\n#{opt.summary_indent}#{File.basename($0)} [options] ui | cpui DIR | new DIR | archive DIR URL | start URL | delete! URL | abandon URL\n"
33
34
  opt.on("Options:")
34
35
  opt.on("--help", "-h", "This text") { puts opt; exit }
35
36
  opt.on("")
@@ -43,8 +44,6 @@ ARGV.options { |opt|
43
44
  opt.on("")
44
45
  opt.on(wrap("[new DIR] scaffolds a sample execution engine. Everything except instances can be removed for default behaviour."))
45
46
  opt.on("")
46
- opt.on(wrap("[inst DIR] scaffolds a sample instantiation service. Post a testset to a model to keep going in one operation."))
47
- opt.on("")
48
47
  opt.on(wrap("[cpui DIR] scaffolds a sample html client. New versions might require manual merging if you changed something."))
49
48
  opt.on("")
50
49
  opt.on(wrap("[ui] starts a simple static web server with the ui on http://localhost:8080. Use [cpui DIR] if you want stuff in apache or nginx."))
@@ -52,7 +51,7 @@ ARGV.options { |opt|
52
51
  }
53
52
  if (ARGV.length == 0) ||
54
53
  (ARGV.length == 1 && ARGV[0] != 'ui') ||
55
- (ARGV.length == 2 && !(%w(abandon inst start delete! cpui new).include?(ARGV[0]))) ||
54
+ (ARGV.length == 2 && !(%w(abandon start delete! cpui new).include?(ARGV[0]))) ||
56
55
  (ARGV.length == 3 && ARGV[0] != 'archive') ||
57
56
  (ARGV.length > 3)
58
57
  puts ARGV.options
@@ -100,12 +99,6 @@ elsif command == 'cpui'
100
99
  puts "Directory already exists."
101
100
  end
102
101
  end
103
- elsif command == 'inst'
104
- if !File.exists?(p1)
105
- FileUtils.cp_r("#{curpath}/instantiation/",p1)
106
- else
107
- puts 'Directory already exists.'
108
- end
109
102
  elsif command == 'archive'
110
103
  p2 = File.join(p2,'*') if p2 =~ /([a-zA-Z]|\/)$/
111
104
  base = File.dirname(p2)
@@ -181,11 +174,11 @@ elsif command == 'abandon'
181
174
  names << File.basename(p1)
182
175
  end
183
176
  names.each do |name|
184
- res = Typhoeus.get(File.join(base,name.to_s,'properties','values','state','/'))
177
+ res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
185
178
  if res.success?
186
179
  case res.response_body
187
180
  when "ready", "stopped" then
188
- Typhoeus.put(File.join(base,name.to_s,'properties','values','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
181
+ Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
189
182
  end
190
183
  end
191
184
  end
@@ -211,13 +204,13 @@ elsif command == 'start'
211
204
  names << File.basename(p1)
212
205
  end
213
206
  names.each do |name|
214
- res = Typhoeus.get(File.join(base,name.to_s,'properties','values','state','/'))
207
+ res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
215
208
  if res.success?
216
209
  case res.response_body
217
210
  when "stopped" then
218
- keep_alive = Typhoeus.get(File.join(base,name.to_s,'properties','values','attributes','keep_alive','/'))
211
+ keep_alive = Typhoeus.get(File.join(base,name.to_s,'properties','attributes','keep_alive','/'))
219
212
  if keep_alive.success?
220
- Typhoeus.put(File.join(base,name.to_s,'properties','values','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=running")
213
+ Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=running")
221
214
  end
222
215
  end
223
216
  end
@@ -230,6 +223,17 @@ elsif command == 'new'
230
223
  FileUtils.mkdir("#{p1}/instances") rescue nil
231
224
  FileUtils.mkdir("#{p1}/resources") rescue nil
232
225
  FileUtils.mkdir("#{p1}/handlerwrappers") rescue nil
226
+ Dir["#{curpath}/../systemd/*.service"].each do |f|
227
+ nam = File.basename f
228
+ cont = File.read(f)
229
+ cont.gsub!(/{CPEEUSER}/,`whoami`.strip)
230
+ cont.gsub!(/{CPEEWORKINGDIR}/,"#{File.realpath(p1)}")
231
+ cont.gsub!(/{CPEESERVER}/,"#{File.realpath(p1)}/server")
232
+ File.write("#{p1}/#{nam}",cont)
233
+ p f
234
+ p nam
235
+ p "#{p1}/#{nam}"
236
+ end
233
237
  else
234
238
  puts 'Directory already exists.'
235
239
  end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.20
4
+ version: '2.0'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  - Ralph Vigne
9
9
  - Gerhard Stuermer
10
- - Florian Stertz
11
10
  autorequire:
12
11
  bindir: tools
13
12
  cert_chain: []
14
- date: 2020-05-05 00:00:00.000000000 Z
13
+ date: 2020-10-05 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: riddl
@@ -19,14 +18,14 @@ dependencies:
19
18
  requirements:
20
19
  - - "~>"
21
20
  - !ruby/object:Gem::Version
22
- version: '0.99'
21
+ version: '0.105'
23
22
  type: :runtime
24
23
  prerelease: false
25
24
  version_requirements: !ruby/object:Gem::Requirement
26
25
  requirements:
27
26
  - - "~>"
28
27
  - !ruby/object:Gem::Version
29
- version: '0.99'
28
+ version: '0.105'
30
29
  - !ruby/object:Gem::Dependency
31
30
  name: weel
32
31
  requirement: !ruby/object:Gem::Requirement
@@ -36,7 +35,7 @@ dependencies:
36
35
  version: '1.99'
37
36
  - - ">="
38
37
  - !ruby/object:Gem::Version
39
- version: 1.99.80
38
+ version: 1.99.90
40
39
  type: :runtime
41
40
  prerelease: false
42
41
  version_requirements: !ruby/object:Gem::Requirement
@@ -46,49 +45,49 @@ dependencies:
46
45
  version: '1.99'
47
46
  - - ">="
48
47
  - !ruby/object:Gem::Version
49
- version: 1.99.80
48
+ version: 1.99.90
50
49
  - !ruby/object:Gem::Dependency
51
- name: savon
50
+ name: highline
52
51
  requirement: !ruby/object:Gem::Requirement
53
52
  requirements:
54
53
  - - "~>"
55
54
  - !ruby/object:Gem::Version
56
- version: '2'
55
+ version: '2.0'
57
56
  type: :runtime
58
57
  prerelease: false
59
58
  version_requirements: !ruby/object:Gem::Requirement
60
59
  requirements:
61
60
  - - "~>"
62
61
  - !ruby/object:Gem::Version
63
- version: '2'
62
+ version: '2.0'
64
63
  - !ruby/object:Gem::Dependency
65
- name: highline
64
+ name: json
66
65
  requirement: !ruby/object:Gem::Requirement
67
66
  requirements:
68
67
  - - "~>"
69
68
  - !ruby/object:Gem::Version
70
- version: '1.6'
69
+ version: '2.1'
71
70
  type: :runtime
72
71
  prerelease: false
73
72
  version_requirements: !ruby/object:Gem::Requirement
74
73
  requirements:
75
74
  - - "~>"
76
75
  - !ruby/object:Gem::Version
77
- version: '1.6'
76
+ version: '2.1'
78
77
  - !ruby/object:Gem::Dependency
79
- name: json
78
+ name: redis
80
79
  requirement: !ruby/object:Gem::Requirement
81
80
  requirements:
82
81
  - - "~>"
83
82
  - !ruby/object:Gem::Version
84
- version: '2.1'
83
+ version: '4.1'
85
84
  type: :runtime
86
85
  prerelease: false
87
86
  version_requirements: !ruby/object:Gem::Requirement
88
87
  requirements:
89
88
  - - "~>"
90
89
  - !ruby/object:Gem::Version
91
- version: '2.1'
90
+ version: '4.1'
92
91
  - !ruby/object:Gem::Dependency
93
92
  name: rubyzip
94
93
  requirement: !ruby/object:Gem::Requirement
@@ -109,13 +108,13 @@ executables:
109
108
  - cpee
110
109
  extensions: []
111
110
  extra_rdoc_files:
112
- - README
111
+ - README.md
113
112
  files:
114
113
  - AUTHORS
115
114
  - COPYING
116
- - FEATURES
117
- - INSTALL
118
- - README
115
+ - FEATURES.md
116
+ - INSTALL.md
117
+ - README.md
119
118
  - Rakefile
120
119
  - cockpit/README
121
120
  - cockpit/contrib/graph_example.svg
@@ -141,49 +140,60 @@ files:
141
140
  - cockpit/rngs/attributes.rng
142
141
  - cockpit/rngs/dataelements.rng
143
142
  - cockpit/rngs/endpoints.rng
144
- - cockpit/test.html
145
- - cockpit/testsets/Async.xml
146
- - cockpit/testsets/BCO.xml
147
- - cockpit/testsets/BCS.xml
148
- - cockpit/testsets/Centurio.xml
149
- - cockpit/testsets/Concurrent.xml
150
- - cockpit/testsets/Coopis Testset.xml
151
- - cockpit/testsets/Endpoints and Data Manipulation.xml
152
- - cockpit/testsets/ICSOC Testset.xml
153
- - cockpit/testsets/Infinity.xml
154
- - cockpit/testsets/Lego Boxer.xml
155
- - cockpit/testsets/Lego Conveyor.xml
156
- - cockpit/testsets/Lego Crane.xml
157
- - cockpit/testsets/Lego Ejector.xml
158
- - cockpit/testsets/Lego Full.xml
159
- - cockpit/testsets/Lego Liddy.xml
160
- - cockpit/testsets/Lego Plate.xml
161
- - cockpit/testsets/Lego Transporter.xml
162
- - cockpit/testsets/Lego_Part_1.xml
163
- - cockpit/testsets/LgLinear.xml
164
- - cockpit/testsets/Linear.xml
165
- - cockpit/testsets/Log.xml
166
- - cockpit/testsets/Mangler 1.xml
167
- - cockpit/testsets/Mangler 2.xml
168
- - cockpit/testsets/Manuel Labels.xml
169
- - cockpit/testsets/Promise.xml
170
- - cockpit/testsets/SOPROMO Test Sonification.xml
171
- - cockpit/testsets/Subprocess.xml
172
- - cockpit/testsets/Syncing P34 1.xml
173
- - cockpit/testsets/Syncing P34 2.xml
174
- - cockpit/testsets/Syncing P34 3.xml
175
- - cockpit/testsets/Syncing P34.xml
176
- - cockpit/testsets/TEST - Bad Loop.xml
177
- - cockpit/testsets/TEST - Wrong Positions.xml
178
- - cockpit/testsets/Take_5.xml
179
- - cockpit/testsets/Update.xml
180
- - cockpit/testsets/Worklist Parallel.xml
181
- - cockpit/testsets/Worklist Test CPEE.xml
182
- - cockpit/testsets/Worklist Test.xml
183
- - cockpit/testsets/Worklist Test2.xml
184
- - cockpit/testsets/convert_preset.rb
185
- - cockpit/testsets/testsets.xml
186
- - cockpit/testsets/transformations.xml
143
+ - cockpit/templates.legacy/Async.xml
144
+ - cockpit/templates.legacy/BCO.xml
145
+ - cockpit/templates.legacy/BCS.xml
146
+ - cockpit/templates.legacy/Centurio.xml
147
+ - cockpit/templates.legacy/Concurrent.xml
148
+ - cockpit/templates.legacy/Coopis Testset.xml
149
+ - cockpit/templates.legacy/Endpoints and Data Manipulation.xml
150
+ - cockpit/templates.legacy/ICSOC Testset.xml
151
+ - cockpit/templates.legacy/Infinity.xml
152
+ - cockpit/templates.legacy/Lego Boxer.xml
153
+ - cockpit/templates.legacy/Lego Conveyor.xml
154
+ - cockpit/templates.legacy/Lego Crane.xml
155
+ - cockpit/templates.legacy/Lego Ejector.xml
156
+ - cockpit/templates.legacy/Lego Full.xml
157
+ - cockpit/templates.legacy/Lego Liddy.xml
158
+ - cockpit/templates.legacy/Lego Plate.xml
159
+ - cockpit/templates.legacy/Lego Transporter.xml
160
+ - cockpit/templates.legacy/Lego_Part_1.xml
161
+ - cockpit/templates.legacy/LgLinear.xml
162
+ - cockpit/templates.legacy/Linear.xml
163
+ - cockpit/templates.legacy/Log.xml
164
+ - cockpit/templates.legacy/Mangler 1.xml
165
+ - cockpit/templates.legacy/Mangler 2.xml
166
+ - cockpit/templates.legacy/Manuel Labels.xml
167
+ - cockpit/templates.legacy/Promise.xml
168
+ - cockpit/templates.legacy/SOPROMO Test Sonification.xml
169
+ - cockpit/templates.legacy/Subprocess.xml
170
+ - cockpit/templates.legacy/Syncing P34 1.xml
171
+ - cockpit/templates.legacy/Syncing P34 2.xml
172
+ - cockpit/templates.legacy/Syncing P34 3.xml
173
+ - cockpit/templates.legacy/Syncing P34.xml
174
+ - cockpit/templates.legacy/TEST - Bad Loop.xml
175
+ - cockpit/templates.legacy/TEST - Wrong Positions.xml
176
+ - cockpit/templates.legacy/Take_5.xml
177
+ - cockpit/templates.legacy/Update.xml
178
+ - cockpit/templates.legacy/Worklist Parallel.xml
179
+ - cockpit/templates.legacy/Worklist Test CPEE.xml
180
+ - cockpit/templates.legacy/Worklist Test.xml
181
+ - cockpit/templates.legacy/Worklist Test2.xml
182
+ - cockpit/templates.legacy/convert_cpee2.rb
183
+ - cockpit/templates.legacy/convert_preset.rb
184
+ - cockpit/templates.legacy/testsets.xml
185
+ - cockpit/templates.legacy/transformations.xml
186
+ - cockpit/templates/BPM 2020 Manual Adjust.xml
187
+ - cockpit/templates/BPM 2020 Solution Baseline.xml
188
+ - cockpit/templates/BPM 2020 Solution NN.xml
189
+ - cockpit/templates/BPM 2020 Solution View.xml
190
+ - cockpit/templates/BPM 2020.xml
191
+ - cockpit/templates/Coopis 2010.xml
192
+ - cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
193
+ - cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
194
+ - cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
195
+ - cockpit/templates/Worklist.xml
196
+ - cockpit/templates/convert_cpee2.rb
187
197
  - cockpit/themes/compact/rngs/alternative.rng
188
198
  - cockpit/themes/compact/rngs/call.rng
189
199
  - cockpit/themes/compact/rngs/callmanipulate.rng
@@ -224,22 +234,22 @@ files:
224
234
  - cockpit/themes/compact/symbols/stop.svg
225
235
  - cockpit/themes/compact/symbols/terminate.svg
226
236
  - cockpit/themes/compact/theme.js
237
+ - cockpit/themes/convert_cpee2.rb
227
238
  - cockpit/themes/default/rngs/alternative.rng
228
239
  - cockpit/themes/default/rngs/call.rng
229
240
  - cockpit/themes/default/rngs/callmanipulate.rng
230
241
  - cockpit/themes/default/rngs/choose.rng
231
242
  - cockpit/themes/default/rngs/critical.rng
232
243
  - cockpit/themes/default/rngs/escape.rng
233
- - cockpit/themes/default/rngs/finalize.rng
234
244
  - cockpit/themes/default/rngs/group.rng
235
245
  - cockpit/themes/default/rngs/loop.rng
236
246
  - cockpit/themes/default/rngs/manipulate.rng
237
247
  - cockpit/themes/default/rngs/otherwise.rng
238
248
  - cockpit/themes/default/rngs/parallel.rng
239
249
  - cockpit/themes/default/rngs/parallel_branch.rng
250
+ - cockpit/themes/default/rngs/scripts.rng
240
251
  - cockpit/themes/default/rngs/stop.rng
241
252
  - cockpit/themes/default/rngs/terminate.rng
242
- - cockpit/themes/default/rngs/update.rng
243
253
  - cockpit/themes/default/symbols/alternative.svg
244
254
  - cockpit/themes/default/symbols/arrow.svg
245
255
  - cockpit/themes/default/symbols/call.svg
@@ -264,7 +274,6 @@ files:
264
274
  - cockpit/themes/default/symbols/start.svg
265
275
  - cockpit/themes/default/symbols/stop.svg
266
276
  - cockpit/themes/default/symbols/terminate.svg
267
- - cockpit/themes/default/theme.js
268
277
  - cockpit/themes/extended/rngs/alternative.rng
269
278
  - cockpit/themes/extended/rngs/call.rng
270
279
  - cockpit/themes/extended/rngs/callmanipulate.rng
@@ -305,46 +314,6 @@ files:
305
314
  - cockpit/themes/extended/symbols/stop.svg
306
315
  - cockpit/themes/extended/symbols/terminate.svg
307
316
  - cockpit/themes/extended/theme.js
308
- - cockpit/themes/labels/rngs/alternative.rng
309
- - cockpit/themes/labels/rngs/call.rng
310
- - cockpit/themes/labels/rngs/callmanipulate.rng
311
- - cockpit/themes/labels/rngs/choose.rng
312
- - cockpit/themes/labels/rngs/critical.rng
313
- - cockpit/themes/labels/rngs/escape.rng
314
- - cockpit/themes/labels/rngs/finalize.rng
315
- - cockpit/themes/labels/rngs/group.rng
316
- - cockpit/themes/labels/rngs/loop.rng
317
- - cockpit/themes/labels/rngs/manipulate.rng
318
- - cockpit/themes/labels/rngs/otherwise.rng
319
- - cockpit/themes/labels/rngs/parallel.rng
320
- - cockpit/themes/labels/rngs/parallel_branch.rng
321
- - cockpit/themes/labels/rngs/stop.rng
322
- - cockpit/themes/labels/rngs/terminate.rng
323
- - cockpit/themes/labels/rngs/update.rng
324
- - cockpit/themes/labels/symbols/alternative.svg
325
- - cockpit/themes/labels/symbols/arrow.svg
326
- - cockpit/themes/labels/symbols/call.svg
327
- - cockpit/themes/labels/symbols/callmanipulate.svg
328
- - cockpit/themes/labels/symbols/choose.svg
329
- - cockpit/themes/labels/symbols/choose_exclusive.svg
330
- - cockpit/themes/labels/symbols/choose_inclusive.svg
331
- - cockpit/themes/labels/symbols/complex.svg
332
- - cockpit/themes/labels/symbols/critical.svg
333
- - cockpit/themes/labels/symbols/end.svg
334
- - cockpit/themes/labels/symbols/escape.svg
335
- - cockpit/themes/labels/symbols/event_end.svg
336
- - cockpit/themes/labels/symbols/loop.svg
337
- - cockpit/themes/labels/symbols/manipulate.svg
338
- - cockpit/themes/labels/symbols/otherwise.svg
339
- - cockpit/themes/labels/symbols/parallel.svg
340
- - cockpit/themes/labels/symbols/parallel_branch.svg
341
- - cockpit/themes/labels/symbols/parallel_branch_compact.svg
342
- - cockpit/themes/labels/symbols/parallel_branch_event.svg
343
- - cockpit/themes/labels/symbols/parallel_branch_normal.svg
344
- - cockpit/themes/labels/symbols/scripts.svg
345
- - cockpit/themes/labels/symbols/start.svg
346
- - cockpit/themes/labels/symbols/stop.svg
347
- - cockpit/themes/labels/symbols/terminate.svg
348
317
  - cockpit/themes/model/rngs/alternative.rng
349
318
  - cockpit/themes/model/rngs/call.rng
350
319
  - cockpit/themes/model/rngs/callmanipulate.rng
@@ -473,69 +442,71 @@ files:
473
442
  - contrib/logo2a.png
474
443
  - contrib/logo2a.svg
475
444
  - cpee.gemspec
445
+ - lib/callbacks.xml
446
+ - lib/callbacks/callbacks.rng
476
447
  - lib/cpee.xml
477
- - lib/cpee/callback.rb
448
+ - lib/cpee/attributes_helper.rb
478
449
  - lib/cpee/controller.rb
479
- - lib/cpee/empty_workflow.rb
480
- - lib/cpee/handler_notifications.rb
481
- - lib/cpee/handler_properties.rb
482
450
  - lib/cpee/implementation.rb
483
- - lib/cpee/instantiation.rb
484
- - lib/cpee/processtransformation/bpel/Repository/booking.bpel
485
- - lib/cpee/processtransformation/bpel/Repository/booking.wsdl
486
- - lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl
487
- - lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl
488
- - lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl
489
- - lib/cpee/processtransformation/bpel/bpel2wee.rb
490
- - lib/cpee/processtransformation/bpel/bpelserver.ru
491
- - lib/cpee/processtransformation/bpel/bpelserver.xml
492
- - lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb
493
- - lib/cpee/processtransformation/bpmn2.rb
494
- - lib/cpee/processtransformation/cpee.rb
495
- - lib/cpee/processtransformation/structures.rb
496
- - lib/cpee/processtransformation/target.rb
451
+ - lib/cpee/implementation_callbacks.rb
452
+ - lib/cpee/implementation_notifications.rb
453
+ - lib/cpee/implementation_properties.rb
454
+ - lib/cpee/message.rb
455
+ - lib/cpee/persistence.rb
456
+ - lib/cpee/statemachine.rb
457
+ - lib/cpee/transform.rb
497
458
  - lib/cpee/value_helper.rb
498
459
  - lib/engine.xml
499
- - lib/engine/callbacks.rng
500
460
  - lib/engine/instance-info.rng
501
461
  - lib/engine/instances.rng
502
462
  - lib/instantiation.xml
503
- - log/azure.rb
504
- - log/azure_logger.rb
505
- - log/chain.xml
506
- - log/elasticsearch.rb
507
- - log/elasticsearch_logging.rb
508
- - log/legacy/test_es.rb
509
- - log/legacy/test_split.rb
510
- - log/log.xml
511
- - log/non_tamp.rb
512
- - log/sic.rb
513
- - log/template.xes_xml
514
- - log/template.xes_yaml
515
- - log/topics.xml
516
- - log/trace.yaml
517
- - log/trace_sic.yaml
518
- - log/xes_xml.rb
519
- - log/xes_yaml.rb
463
+ - lib/properties.xml
464
+ - lib/properties/arbitrary.rng
465
+ - lib/properties/attributes.rng
466
+ - lib/properties/dataelements.rng
467
+ - lib/properties/description.rng
468
+ - lib/properties/dsl.rng
469
+ - lib/properties/dslx.rng
470
+ - lib/properties/endpoints.rng
471
+ - lib/properties/handlerwrapper.rng
472
+ - lib/properties/position.rng
473
+ - lib/properties/positions.rng
474
+ - lib/properties/properties.rng
475
+ - lib/properties/set-properties.rng
476
+ - lib/properties/set-some-properties.rng
477
+ - lib/properties/simple.rng
478
+ - lib/properties/state.rng
479
+ - lib/properties/status.rng
480
+ - lib/properties/t_attributes.rng
481
+ - lib/properties/t_dataelements.rng
482
+ - lib/properties/t_endpoints.rng
483
+ - lib/properties/t_position.rng
484
+ - lib/properties/t_positions.rng
485
+ - lib/properties/t_simple.rng
486
+ - lib/properties/t_status.rng
487
+ - lib/properties/t_transformation.rng
488
+ - lib/properties/transformation.rng
520
489
  - server/dev.rb
521
490
  - server/handlerwrappers/default.rb
522
- - server/handlerwrappers/soap.rb
491
+ - server/resources/backend/README.md
492
+ - server/resources/backend/instance.rb
493
+ - server/resources/backend/instance.template
494
+ - server/resources/backend/opts.yaml
495
+ - server/resources/backend/run
523
496
  - server/resources/empty_dslx.xml
524
- - server/resources/notifications/logging/consumer-secret
525
- - server/resources/notifications/logging/producer-secret
526
497
  - server/resources/notifications/logging/subscription.xml
498
+ - server/resources/properties.empty
527
499
  - server/resources/properties.init
528
- - server/resources/properties.schema.active
529
- - server/resources/properties.schema.finished
530
- - server/resources/properties.schema.inactive
531
- - server/resources/test1.xml
532
- - server/resources/test2.xml
533
- - server/resources/test3.xml
500
+ - server/resources/states.dot
501
+ - server/resources/states.xml
534
502
  - server/resources/topics.xml
535
503
  - server/resources/transformation.xml
536
504
  - server/resources/transformation_dslx.xsl
505
+ - server/routing/end.rb
506
+ - server/routing/forward-events.rb
507
+ - server/routing/forward-votes.rb
508
+ - server/routing/persist.rb
537
509
  - server/server.rb
538
- - test/callback.rb
539
510
  - tools/cpee
540
511
  - tools/instantiation/instantiation
541
512
  - tools/server/resources/notifications/logging/consumer-secret
@@ -565,7 +536,6 @@ requirements: []
565
536
  rubygems_version: 3.1.2
566
537
  signing_key:
567
538
  specification_version: 4
568
- summary: Preliminary release of cloud process execution engine (cpee). If you just
569
- need workflow execution, without a rest/xmpp service exposing it, then use WEEL
570
- test_files:
571
- - test/callback.rb
539
+ summary: Preliminary release of cloud process execution engine (cpee.org). If you
540
+ just need workflow execution, without a rest service exposing it, then use WEEL.
541
+ test_files: []