cpee 1.5.26 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) 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 +7 -7
  7. data/cockpit/js/details.js +13 -14
  8. data/cockpit/js/instance.js +191 -284
  9. data/cockpit/js/parameters.js +13 -3
  10. data/cockpit/js/ui.js +2 -2
  11. data/cockpit/model.html +1 -0
  12. data/cockpit/rngs/attributes.rng +1 -1
  13. data/cockpit/rngs/dataelements.rng +1 -1
  14. data/cockpit/rngs/endpoints.rng +1 -1
  15. data/cockpit/templates.legacy/Async.xml +7 -7
  16. data/cockpit/templates.legacy/BCO.xml +7 -10
  17. data/cockpit/templates.legacy/BCS.xml +7 -10
  18. data/cockpit/templates.legacy/Centurio.xml +6 -6
  19. data/cockpit/templates.legacy/Concurrent.xml +6 -6
  20. data/cockpit/templates.legacy/Coopis Testset.xml +6 -6
  21. data/cockpit/templates.legacy/Endpoints and Data Manipulation.xml +6 -6
  22. data/cockpit/templates.legacy/ICSOC Testset.xml +6 -6
  23. data/cockpit/templates.legacy/Infinity.xml +3 -3
  24. data/cockpit/templates.legacy/Lego Boxer.xml +7 -7
  25. data/cockpit/templates.legacy/Lego Conveyor.xml +7 -7
  26. data/cockpit/templates.legacy/Lego Crane.xml +7 -7
  27. data/cockpit/templates.legacy/Lego Ejector.xml +7 -7
  28. data/cockpit/templates.legacy/Lego Full.xml +7 -7
  29. data/cockpit/templates.legacy/Lego Liddy.xml +7 -7
  30. data/cockpit/templates.legacy/Lego Plate.xml +7 -7
  31. data/cockpit/templates.legacy/Lego Transporter.xml +7 -7
  32. data/cockpit/templates.legacy/Lego_Part_1.xml +7 -7
  33. data/cockpit/templates.legacy/LgLinear.xml +6 -10
  34. data/cockpit/templates.legacy/Linear.xml +7 -7
  35. data/cockpit/templates.legacy/Log.xml +7 -7
  36. data/cockpit/templates.legacy/Mangler 1.xml +6 -6
  37. data/cockpit/templates.legacy/Mangler 2.xml +6 -6
  38. data/cockpit/templates.legacy/Manuel Labels.xml +7 -7
  39. data/cockpit/templates.legacy/Promise.xml +7 -7
  40. data/cockpit/templates.legacy/SOPROMO Test Sonification.xml +6 -6
  41. data/cockpit/templates.legacy/Subprocess.xml +56 -0
  42. data/cockpit/templates.legacy/Syncing P34 1.xml +8 -11
  43. data/cockpit/templates.legacy/Syncing P34 2.xml +8 -11
  44. data/cockpit/templates.legacy/Syncing P34 3.xml +8 -11
  45. data/cockpit/templates.legacy/Syncing P34.xml +8 -11
  46. data/cockpit/templates.legacy/TEST - Bad Loop.xml +6 -6
  47. data/cockpit/templates.legacy/TEST - Wrong Positions.xml +6 -6
  48. data/cockpit/templates.legacy/Take_5.xml +48 -0
  49. data/cockpit/templates.legacy/Update.xml +7 -7
  50. data/cockpit/templates.legacy/Worklist Parallel.xml +7 -7
  51. data/cockpit/templates.legacy/Worklist Test CPEE.xml +7 -7
  52. data/cockpit/templates.legacy/Worklist Test.xml +7 -7
  53. data/cockpit/templates.legacy/Worklist Test2.xml +7 -7
  54. data/cockpit/templates.legacy/convert_cpee2.rb +15 -0
  55. data/cockpit/templates.legacy/testsets.xml +1 -1
  56. data/cockpit/templates/BPM 2020 Manual Adjust.xml +18 -71
  57. data/cockpit/templates/BPM 2020 Solution Baseline.xml +17 -71
  58. data/cockpit/templates/BPM 2020 Solution NN.xml +25 -71
  59. data/cockpit/templates/BPM 2020 Solution View.xml +15 -71
  60. data/cockpit/templates/BPM 2020.xml +17 -6
  61. data/cockpit/templates/Coopis 2010.xml +7 -7
  62. data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +7 -10
  63. data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +7 -10
  64. data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +7 -10
  65. data/cockpit/templates/Worklist.xml +7 -7
  66. data/cockpit/templates/convert_cpee2.rb +15 -0
  67. data/cockpit/themes/compact/rngs/alternative.rng +25 -0
  68. data/cockpit/themes/compact/rngs/call.rng +17 -17
  69. data/cockpit/themes/compact/rngs/callmanipulate.rng +26 -26
  70. data/cockpit/themes/compact/rngs/choose.rng +14 -0
  71. data/cockpit/themes/compact/rngs/critical.rng +5 -0
  72. data/cockpit/themes/compact/rngs/escape.rng +1 -0
  73. data/cockpit/themes/compact/rngs/group.rng +3 -0
  74. data/cockpit/themes/compact/rngs/loop.rng +22 -0
  75. data/cockpit/themes/compact/rngs/manipulate.rng +9 -0
  76. data/cockpit/themes/compact/rngs/otherwise.rng +22 -0
  77. data/cockpit/themes/compact/rngs/parallel.rng +21 -0
  78. data/cockpit/themes/compact/rngs/parallel_branch.rng +8 -0
  79. data/cockpit/themes/compact/rngs/scripts.rng +10 -11
  80. data/cockpit/themes/compact/rngs/stop.rng +5 -0
  81. data/cockpit/themes/compact/rngs/terminate.rng +1 -0
  82. data/cockpit/themes/convert_cpee2.rb +8 -0
  83. data/cockpit/themes/default/rngs/alternative.rng +8 -8
  84. data/cockpit/themes/default/rngs/call.rng +84 -48
  85. data/cockpit/themes/default/rngs/callmanipulate.rng +103 -64
  86. data/cockpit/themes/default/rngs/choose.rng +5 -3
  87. data/cockpit/themes/default/rngs/critical.rng +2 -2
  88. data/cockpit/themes/default/rngs/escape.rng +1 -1
  89. data/cockpit/themes/default/rngs/group.rng +3 -3
  90. data/cockpit/themes/default/rngs/loop.rng +8 -8
  91. data/cockpit/themes/default/rngs/manipulate.rng +3 -3
  92. data/cockpit/themes/default/rngs/otherwise.rng +8 -8
  93. data/cockpit/themes/default/rngs/parallel.rng +14 -6
  94. data/cockpit/themes/default/rngs/parallel_branch.rng +2 -2
  95. data/cockpit/themes/default/rngs/scripts.rng +23 -0
  96. data/cockpit/themes/default/rngs/stop.rng +2 -2
  97. data/cockpit/themes/default/rngs/terminate.rng +1 -1
  98. data/cockpit/themes/extended/rngs/alternative.rng +25 -0
  99. data/cockpit/themes/extended/rngs/call.rng +17 -17
  100. data/cockpit/themes/extended/rngs/callmanipulate.rng +26 -26
  101. data/cockpit/themes/extended/rngs/choose.rng +14 -0
  102. data/cockpit/themes/extended/rngs/critical.rng +5 -0
  103. data/cockpit/themes/extended/rngs/escape.rng +1 -0
  104. data/cockpit/themes/extended/rngs/group.rng +3 -0
  105. data/cockpit/themes/extended/rngs/loop.rng +22 -0
  106. data/cockpit/themes/extended/rngs/manipulate.rng +9 -0
  107. data/cockpit/themes/extended/rngs/otherwise.rng +22 -0
  108. data/cockpit/themes/extended/rngs/parallel.rng +21 -0
  109. data/cockpit/themes/extended/rngs/parallel_branch.rng +8 -0
  110. data/cockpit/themes/extended/rngs/scripts.rng +10 -11
  111. data/cockpit/themes/extended/rngs/stop.rng +5 -0
  112. data/cockpit/themes/extended/rngs/terminate.rng +1 -0
  113. data/cockpit/themes/extended/theme.js +7 -6
  114. data/cockpit/themes/model/rngs/alternative.rng +1 -1
  115. data/cockpit/themes/model/rngs/call.rng +16 -16
  116. data/cockpit/themes/model/rngs/callmanipulate.rng +17 -17
  117. data/cockpit/themes/model/rngs/choose.rng +1 -1
  118. data/cockpit/themes/model/rngs/critical.rng +1 -1
  119. data/cockpit/themes/model/rngs/escape.rng +1 -1
  120. data/cockpit/themes/model/rngs/group.rng +1 -1
  121. data/cockpit/themes/model/rngs/loop.rng +1 -1
  122. data/cockpit/themes/model/rngs/manipulate.rng +1 -1
  123. data/cockpit/themes/model/rngs/otherwise.rng +1 -1
  124. data/cockpit/themes/model/rngs/parallel.rng +1 -1
  125. data/cockpit/themes/model/rngs/parallel_branch.rng +1 -1
  126. data/cockpit/themes/model/rngs/scripts.rng +3 -4
  127. data/cockpit/themes/model/rngs/stop.rng +1 -1
  128. data/cockpit/themes/model/rngs/terminate.rng +1 -1
  129. data/cockpit/themes/model/theme.js +7 -6
  130. data/cockpit/themes/packed/rngs/alternative.rng +25 -0
  131. data/cockpit/themes/packed/rngs/call.rng +17 -17
  132. data/cockpit/themes/packed/rngs/callmanipulate.rng +26 -26
  133. data/cockpit/themes/packed/rngs/choose.rng +14 -0
  134. data/cockpit/themes/packed/rngs/critical.rng +5 -0
  135. data/cockpit/themes/packed/rngs/escape.rng +1 -0
  136. data/cockpit/themes/packed/rngs/group.rng +3 -0
  137. data/cockpit/themes/packed/rngs/loop.rng +22 -0
  138. data/cockpit/themes/packed/rngs/manipulate.rng +9 -0
  139. data/cockpit/themes/packed/rngs/otherwise.rng +22 -0
  140. data/cockpit/themes/packed/rngs/parallel.rng +21 -0
  141. data/cockpit/themes/packed/rngs/parallel_branch.rng +8 -0
  142. data/cockpit/themes/packed/rngs/scripts.rng +10 -11
  143. data/cockpit/themes/packed/rngs/stop.rng +5 -0
  144. data/cockpit/themes/packed/rngs/terminate.rng +1 -0
  145. data/cockpit/themes/packed/theme.js +7 -6
  146. data/cockpit/themes/preset/rngs/alternative.rng +25 -0
  147. data/cockpit/themes/preset/rngs/call.rng +17 -17
  148. data/cockpit/themes/preset/rngs/callmanipulate.rng +26 -26
  149. data/cockpit/themes/preset/rngs/choose.rng +14 -0
  150. data/cockpit/themes/preset/rngs/critical.rng +5 -0
  151. data/cockpit/themes/preset/rngs/escape.rng +1 -0
  152. data/cockpit/themes/preset/rngs/group.rng +3 -0
  153. data/cockpit/themes/preset/rngs/loop.rng +22 -0
  154. data/cockpit/themes/preset/rngs/manipulate.rng +9 -0
  155. data/cockpit/themes/preset/rngs/otherwise.rng +22 -0
  156. data/cockpit/themes/preset/rngs/parallel.rng +21 -0
  157. data/cockpit/themes/preset/rngs/parallel_branch.rng +8 -0
  158. data/cockpit/themes/preset/rngs/scripts.rng +10 -11
  159. data/cockpit/themes/preset/rngs/stop.rng +5 -0
  160. data/cockpit/themes/preset/rngs/terminate.rng +1 -0
  161. data/cockpit/themes/preset/theme.js +7 -6
  162. data/cpee.gemspec +10 -11
  163. data/{log/topics.xml → lib/callbacks.xml} +16 -6
  164. data/lib/{engine → callbacks}/callbacks.rng +2 -8
  165. data/lib/cpee.xml +10 -4
  166. data/lib/cpee/attributes_helper.rb +27 -0
  167. data/lib/cpee/controller.rb +113 -596
  168. data/lib/cpee/implementation.rb +167 -191
  169. data/lib/cpee/implementation_callbacks.rb +77 -0
  170. data/lib/cpee/implementation_notifications.rb +189 -0
  171. data/lib/cpee/implementation_properties.rb +714 -0
  172. data/lib/cpee/{callback.rb → message.rb} +20 -18
  173. data/lib/cpee/persistence.rb +135 -0
  174. data/lib/cpee/statemachine.rb +20 -0
  175. data/lib/cpee/transform.rb +95 -0
  176. data/lib/engine.xml +1 -59
  177. data/lib/properties.xml +236 -0
  178. data/lib/properties/arbitrary.rng +26 -0
  179. data/lib/properties/attributes.rng +10 -0
  180. data/lib/properties/dataelements.rng +10 -0
  181. data/lib/properties/description.rng +8 -0
  182. data/lib/properties/dsl.rng +7 -0
  183. data/lib/properties/dslx.rng +8 -0
  184. data/lib/properties/endpoints.rng +10 -0
  185. data/lib/properties/handlerwrapper.rng +9 -0
  186. data/lib/properties/position.rng +15 -0
  187. data/lib/properties/positions.rng +10 -0
  188. data/lib/properties/properties.rng +29 -0
  189. data/lib/properties/set-properties.rng +25 -0
  190. data/lib/properties/set-some-properties.rng +45 -0
  191. data/lib/properties/simple.rng +8 -0
  192. data/lib/properties/state.rng +33 -0
  193. data/lib/properties/status.rng +12 -0
  194. data/lib/properties/t_attributes.rng +7 -0
  195. data/lib/properties/t_dataelements.rng +7 -0
  196. data/lib/properties/t_endpoints.rng +7 -0
  197. data/lib/properties/t_position.rng +7 -0
  198. data/lib/properties/t_positions.rng +7 -0
  199. data/lib/properties/t_simple.rng +7 -0
  200. data/lib/properties/t_status.rng +7 -0
  201. data/lib/properties/t_transformation.rng +7 -0
  202. data/lib/properties/transformation.rng +40 -0
  203. data/server/dev.rb +1 -0
  204. data/server/handlerwrappers/default.rb +40 -38
  205. data/server/resources/backend/README.md +17 -0
  206. data/server/resources/backend/instance.rb +23 -0
  207. data/server/resources/backend/instance.template +19 -0
  208. data/server/resources/backend/opts.yaml +6 -0
  209. data/server/resources/backend/run +33 -0
  210. data/server/resources/notifications/logging/subscription.xml +19 -0
  211. data/server/resources/properties.empty +38 -0
  212. data/server/resources/properties.init +11 -11
  213. data/server/resources/states.dot +19 -0
  214. data/server/resources/states.xml +49 -0
  215. data/server/resources/transformation_dslx.xsl +12 -3
  216. data/server/routing/end.rb +44 -0
  217. data/server/routing/forward-events.rb +59 -0
  218. data/server/routing/forward-votes.rb +108 -0
  219. data/server/routing/persist.rb +155 -0
  220. data/server/server.rb +1 -0
  221. data/tools/cpee +46 -15
  222. data/tools/instantiation/instantiation +0 -1
  223. data/tools/server/server.rb +0 -1
  224. metadata +78 -132
  225. data/INSTALL +0 -23
  226. data/cockpit/templates/convert_preset.rb +0 -32
  227. data/cockpit/templates/testsets.xml +0 -11
  228. data/cockpit/templates/transformations.xml +0 -4
  229. data/cockpit/themes/compact/rngs/alternative.rng +0 -1
  230. data/cockpit/themes/compact/rngs/choose.rng +0 -1
  231. data/cockpit/themes/compact/rngs/critical.rng +0 -1
  232. data/cockpit/themes/compact/rngs/escape.rng +0 -1
  233. data/cockpit/themes/compact/rngs/group.rng +0 -1
  234. data/cockpit/themes/compact/rngs/loop.rng +0 -1
  235. data/cockpit/themes/compact/rngs/manipulate.rng +0 -1
  236. data/cockpit/themes/compact/rngs/otherwise.rng +0 -1
  237. data/cockpit/themes/compact/rngs/parallel.rng +0 -1
  238. data/cockpit/themes/compact/rngs/parallel_branch.rng +0 -1
  239. data/cockpit/themes/compact/rngs/stop.rng +0 -1
  240. data/cockpit/themes/compact/rngs/terminate.rng +0 -1
  241. data/cockpit/themes/default/rngs/finalize.rng +0 -6
  242. data/cockpit/themes/default/rngs/update.rng +0 -6
  243. data/cockpit/themes/default/theme.js +0 -1286
  244. data/cockpit/themes/extended/rngs/alternative.rng +0 -1
  245. data/cockpit/themes/extended/rngs/choose.rng +0 -1
  246. data/cockpit/themes/extended/rngs/critical.rng +0 -1
  247. data/cockpit/themes/extended/rngs/escape.rng +0 -1
  248. data/cockpit/themes/extended/rngs/group.rng +0 -1
  249. data/cockpit/themes/extended/rngs/loop.rng +0 -1
  250. data/cockpit/themes/extended/rngs/manipulate.rng +0 -1
  251. data/cockpit/themes/extended/rngs/otherwise.rng +0 -1
  252. data/cockpit/themes/extended/rngs/parallel.rng +0 -1
  253. data/cockpit/themes/extended/rngs/parallel_branch.rng +0 -1
  254. data/cockpit/themes/extended/rngs/stop.rng +0 -1
  255. data/cockpit/themes/extended/rngs/terminate.rng +0 -1
  256. data/cockpit/themes/labels/rngs/alternative.rng +0 -25
  257. data/cockpit/themes/labels/rngs/call.rng +0 -81
  258. data/cockpit/themes/labels/rngs/callmanipulate.rng +0 -101
  259. data/cockpit/themes/labels/rngs/choose.rng +0 -12
  260. data/cockpit/themes/labels/rngs/critical.rng +0 -5
  261. data/cockpit/themes/labels/rngs/escape.rng +0 -1
  262. data/cockpit/themes/labels/rngs/finalize.rng +0 -6
  263. data/cockpit/themes/labels/rngs/group.rng +0 -3
  264. data/cockpit/themes/labels/rngs/loop.rng +0 -22
  265. data/cockpit/themes/labels/rngs/manipulate.rng +0 -9
  266. data/cockpit/themes/labels/rngs/otherwise.rng +0 -22
  267. data/cockpit/themes/labels/rngs/parallel.rng +0 -13
  268. data/cockpit/themes/labels/rngs/parallel_branch.rng +0 -8
  269. data/cockpit/themes/labels/rngs/stop.rng +0 -5
  270. data/cockpit/themes/labels/rngs/terminate.rng +0 -1
  271. data/cockpit/themes/labels/rngs/update.rng +0 -6
  272. data/cockpit/themes/labels/symbols/alternative.svg +0 -5
  273. data/cockpit/themes/labels/symbols/arrow.svg +0 -3
  274. data/cockpit/themes/labels/symbols/call.svg +0 -6
  275. data/cockpit/themes/labels/symbols/callmanipulate.svg +0 -8
  276. data/cockpit/themes/labels/symbols/choose.svg +0 -5
  277. data/cockpit/themes/labels/symbols/choose_exclusive.svg +0 -5
  278. data/cockpit/themes/labels/symbols/choose_inclusive.svg +0 -4
  279. data/cockpit/themes/labels/symbols/complex.svg +0 -8
  280. data/cockpit/themes/labels/symbols/critical.svg +0 -4
  281. data/cockpit/themes/labels/symbols/end.svg +0 -3
  282. data/cockpit/themes/labels/symbols/escape.svg +0 -5
  283. data/cockpit/themes/labels/symbols/event_end.svg +0 -3
  284. data/cockpit/themes/labels/symbols/loop.svg +0 -5
  285. data/cockpit/themes/labels/symbols/manipulate.svg +0 -4
  286. data/cockpit/themes/labels/symbols/otherwise.svg +0 -5
  287. data/cockpit/themes/labels/symbols/parallel.svg +0 -5
  288. data/cockpit/themes/labels/symbols/parallel_branch.svg +0 -5
  289. data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +0 -4
  290. data/cockpit/themes/labels/symbols/parallel_branch_event.svg +0 -14
  291. data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +0 -5
  292. data/cockpit/themes/labels/symbols/scripts.svg +0 -4
  293. data/cockpit/themes/labels/symbols/start.svg +0 -3
  294. data/cockpit/themes/labels/symbols/stop.svg +0 -5
  295. data/cockpit/themes/labels/symbols/terminate.svg +0 -4
  296. data/cockpit/themes/packed/rngs/alternative.rng +0 -1
  297. data/cockpit/themes/packed/rngs/choose.rng +0 -1
  298. data/cockpit/themes/packed/rngs/critical.rng +0 -1
  299. data/cockpit/themes/packed/rngs/escape.rng +0 -1
  300. data/cockpit/themes/packed/rngs/group.rng +0 -1
  301. data/cockpit/themes/packed/rngs/loop.rng +0 -1
  302. data/cockpit/themes/packed/rngs/manipulate.rng +0 -1
  303. data/cockpit/themes/packed/rngs/otherwise.rng +0 -1
  304. data/cockpit/themes/packed/rngs/parallel.rng +0 -1
  305. data/cockpit/themes/packed/rngs/parallel_branch.rng +0 -1
  306. data/cockpit/themes/packed/rngs/stop.rng +0 -1
  307. data/cockpit/themes/packed/rngs/terminate.rng +0 -1
  308. data/cockpit/themes/preset/rngs/alternative.rng +0 -1
  309. data/cockpit/themes/preset/rngs/choose.rng +0 -1
  310. data/cockpit/themes/preset/rngs/critical.rng +0 -1
  311. data/cockpit/themes/preset/rngs/escape.rng +0 -1
  312. data/cockpit/themes/preset/rngs/group.rng +0 -1
  313. data/cockpit/themes/preset/rngs/loop.rng +0 -1
  314. data/cockpit/themes/preset/rngs/manipulate.rng +0 -1
  315. data/cockpit/themes/preset/rngs/otherwise.rng +0 -1
  316. data/cockpit/themes/preset/rngs/parallel.rng +0 -1
  317. data/cockpit/themes/preset/rngs/parallel_branch.rng +0 -1
  318. data/cockpit/themes/preset/rngs/stop.rng +0 -1
  319. data/cockpit/themes/preset/rngs/terminate.rng +0 -1
  320. data/lib/cpee/empty_workflow.rb +0 -28
  321. data/lib/cpee/handler_notifications.rb +0 -47
  322. data/lib/cpee/handler_properties.rb +0 -50
  323. data/lib/cpee/instantiation.rb +0 -369
  324. data/lib/cpee/processtransformation/bpel/Repository/booking.bpel +0 -125
  325. data/lib/cpee/processtransformation/bpel/Repository/booking.wsdl +0 -72
  326. data/lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl +0 -71
  327. data/lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl +0 -64
  328. data/lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl +0 -71
  329. data/lib/cpee/processtransformation/bpel/bpel2wee.rb +0 -34
  330. data/lib/cpee/processtransformation/bpel/bpelserver.ru +0 -64
  331. data/lib/cpee/processtransformation/bpel/bpelserver.xml +0 -70
  332. data/lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb +0 -367
  333. data/lib/cpee/processtransformation/bpmn2.rb +0 -297
  334. data/lib/cpee/processtransformation/cpee.rb +0 -119
  335. data/lib/cpee/processtransformation/structures.rb +0 -465
  336. data/lib/cpee/processtransformation/target.rb +0 -50
  337. data/log/azure.rb +0 -10
  338. data/log/azure_logger.rb +0 -136
  339. data/log/chain.xml +0 -27
  340. data/log/elasticsearch.rb +0 -15
  341. data/log/elasticsearch_logging.rb +0 -377
  342. data/log/legacy/test_es.rb +0 -26
  343. data/log/legacy/test_split.rb +0 -211
  344. data/log/log.xml +0 -13
  345. data/log/non_tamp.rb +0 -156
  346. data/log/sic.rb +0 -64
  347. data/log/template.xes_xml +0 -23
  348. data/log/template.xes_yaml +0 -28
  349. data/log/trace.yaml +0 -17717
  350. data/log/trace_sic.yaml +0 -18343
  351. data/log/xes_xml.rb +0 -121
  352. data/log/xes_yaml.rb +0 -96
  353. data/server/handlerwrappers/soap.rb +0 -146
  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/test/callback.rb +0 -9
@@ -1,125 +0,0 @@
1
- <bpel:process
2
- xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
3
- xmlns:ns1="uri:company/booking"
4
- xmlns:ns2="uri:air/booking"
5
- xmlns:ns3="uri:hotel/booking"
6
- xmlns:ns4="uri:company/report"
7
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
8
- name="book_and_report"
9
- suppressJoinFailure="yes"
10
- targetNamespace="http://cpee.org/bpel/booking.bpel">
11
-
12
- <bpel:import importType="http://www.w3.org/ns/wsdl" location="booking.wsdl" namespace="uri:company/booking"/>
13
- <bpel:import importType="http://www.w3.org/ns/wsdl" location="booking/airline.wsdl" namespace="uri:air/booking"/>
14
- <bpel:import importType="http://www.w3.org/ns/wsdl" location="booking/hotel.wsdl" namespace="uri:hotel/booking"/>
15
- <bpel:import importType="http://www.w3.org/ns/wsdl" location="booking/report.wsdl" namespace="uri:company/report"/>
16
-
17
- <bpel:partnerLinks>
18
- <bpel:partnerLink myRole="book_and_report" name="book_and_report" partnerLinkType="ns1:bookPLT"/>
19
- <bpel:partnerLink partnerRole="book_airline" name="book_airline" partnerLinkType="ns2:bookPLT"/>
20
- <bpel:partnerLink partnerRole="book_hotel" name="book_hotel" partnerLinkType="ns3:bookPLT"/>
21
- <bpel:partnerLink partnerRole="report" name="report" partnerLinkType="ns4:reportPLT"/>
22
- </bpel:partnerLinks>
23
-
24
- <bpel:variables>
25
- <bpel:variable name="input" messageType="ns1:input"/>
26
- <bpel:variable name="airlineInput" messageType="ns2:input"/>
27
- <bpel:variable name="airlineResult" messageType="ns2:output"/>
28
- <bpel:variable name="hotelInput" messageType="ns3:input"/>
29
- <bpel:variable name="hotelOutput" messageType="ns3:output"/>
30
- <bpel:variable name="reportInput" messageType="ns4:input"/>
31
- <bpel:variable name="output" messageType="ns1:output"/>
32
- </bpel:variables>
33
-
34
- <bpel:sequence>
35
- <bpel:receive createInstance="yes" operation="book_and_report" partnerLink="book_and_report" portType="ns1:BookAndReportInterface" variable="input"/>
36
-
37
- <bpel:assign name="Initialization">
38
- <bpel:copy>
39
- <bpel:from>0</bpel:from>
40
- <bpel:to part="costs" variable="output"/>
41
- </bpel:copy>
42
- <bpel:copy>
43
- <bpel:from>''</bpel:from>
44
- <bpel:to part="airline" variable="output"/>
45
- </bpel:copy>
46
- </bpel:assign>
47
-
48
- <bpel:assign name="airlineInput">
49
- <bpel:copy>
50
- <bpel:from>$input/ns1:from</bpel:from>
51
- <bpel:to part="from" variable="airlineInput"/>
52
- </bpel:copy>
53
- <bpel:copy>
54
- <bpel:from>$input/ns1:to</bpel:from>
55
- <bpel:to part="to" variable="airlineInput"/>
56
- </bpel:copy>
57
- <bpel:copy>
58
- <bpel:from>$input/ns1:persons</bpel:from>
59
- <bpel:to part="persons" variable="airlineInput"/>
60
- </bpel:copy>
61
- </bpel:assign>
62
- <bpel:invoke inputVariable="airlineInput" operation="book" outputVariable="airlineResult" partnerLink="book_airline" portType="ns2:book"/>
63
- <bpel:assign name="airlineResult">
64
- <bpel:copy>
65
- <bpel:from>$airlineResult/ns2:costs + $output/ns1:costs</bpel:from>
66
- <bpel:to part="costs" variable="output"/>
67
- </bpel:copy>
68
- <bpel:copy>
69
- <bpel:from>$airlineResult/ns1:name</bpel:from>
70
- <bpel:to>$output.airline</bpel:to>
71
- </bpel:copy>
72
- </bpel:assign>
73
-
74
- <bpel:forEach counterName="counter" parallel="yes">
75
- <bpel:startCounterValue>1</bpel:startCounterValue>
76
- <bpel:finalCounterValue>count($input/ns1:persons/ns1:item)</bpel:finalCounterValue>
77
- <bpel:scope>
78
- <bpel:sequence>
79
- <bpel:assign name="hotelInput">
80
- <bpel:copy>
81
- <bpel:from>$input/ns1:to</bpel:from>
82
- <bpel:to part="to" variable="hotelInput"/>
83
- </bpel:copy>
84
- <bpel:copy>
85
- <bpel:from>$input/ns1:persons/ns1:item[$counter]</bpel:from>
86
- <bpel:to part="person" variable="hotelInput"/>
87
- </bpel:copy>
88
- </bpel:assign>
89
- <bpel:invoke inputVariable="hotelInput" operation="book" outputVariable="hotelOutput" partnerLink="book_hotel" portType="ns3:book"/>
90
- <bpel:assign name="hotelOutput">
91
- <bpel:copy>
92
- <bpel:from>$hotelOutput/ns3:costs + $output/ns1:costs</bpel:from>
93
- <bpel:to part="costs" variable="output"/>
94
- </bpel:copy>
95
- <bpel:copy>
96
- <bpel:from>$hotelOutput/ns3:name</bpel:from>
97
- <bpel:to>$output.hotels/ns1:item[$counter]</bpel:to>
98
- </bpel:copy>
99
- </bpel:assign>
100
- </bpel:sequence>
101
- </bpel:scope>
102
- </bpel:forEach>
103
-
104
- <bpel:if>
105
- <bpel:condition>$output.costs &gt; 1000</bpel:condition>
106
- <bpel:assign name="reportInput">
107
- <bpel:copy>
108
- <bpel:from>$input/ns1:to</bpel:from>
109
- <bpel:to part="to" variable="reportInput"/>
110
- </bpel:copy>
111
- <bpel:copy>
112
- <bpel:from>$input/ns1:persons</bpel:from>
113
- <bpel:to part="persons" variable="reportInput"/>
114
- </bpel:copy>
115
- <bpel:copy>
116
- <bpel:from>$output/ns1:costs</bpel:from>
117
- <bpel:to part="costs" variable="reportInput"/>
118
- </bpel:copy>
119
- </bpel:assign>
120
- <bpel:invoke inputVariable="reportInput" operation="report" partnerLink="report" portType="ns4:report"/>
121
- </bpel:if>
122
-
123
- <bpel:reply operation="book_and_report" partnerLink="book_and_report" portType="ship:BookAndReportInterface" variable="output"/>
124
- </bpel:sequence>
125
- </bpel:process>
@@ -1,72 +0,0 @@
1
- <wsdl:description
2
- targetNamespace="http://cpee.org/wsdl/booking.wsdl"
3
- xmlns:wsdl="http://www.w3.org/ns/wsdl"
4
- xmlns:whttp="http://www.w3.org/ns/wsdl/http"
5
- xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
6
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
- xmlns:msg="http://cpee.org/wsdl/booking.wsdl/msg"
8
- xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
9
-
10
- <wsdl:types>
11
- <xs:schema
12
- targetNamespace="http://cpee.org/wsdl/booking.wsdl/msg"
13
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
14
- xmlns="http://cpee.org/wsdl/booking.wsdl/msg"
15
- xmlns:msg="http://cpee.org/wsdl/booking.wsdl/msg"
16
- elementFormDefault="qualified">
17
-
18
- <xs:element name="input" type="inputType"/>
19
- <xs:element name="output" type="outputType"/>
20
-
21
- <xs:complexType name="inputType">
22
- <xs:sequence>
23
- <xs:element name="from" type="xs:string" minOccurs="0" maxOccurs="1"/>
24
- <xs:element name="to" type="xs:string" minOccurs="0" maxOccurs="1"/>
25
- <xs:element name="persons" type="arrayType" minOccurs="0" maxOccurs="1"/>
26
- </xs:sequence>
27
- </xs:complexType>
28
-
29
- <xs:complexType name="outputType">
30
- <xs:sequence>
31
- <xs:element name="costs" type="xs:integer" minOccurs="0" maxOccurs="1"/>
32
- <xs:element name="airline" type="xs:string" minOccurs="0" maxOccurs="1"/>
33
- <xs:element name="hotels" type="arrayType" minOccurs="0" maxOccurs="1"/>
34
- </xs:sequence>
35
- </xs:complexType>
36
-
37
- <xs:complexType name="arrayType">
38
- <xs:sequence>
39
- <xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
40
- </xs:sequence>
41
- </xs:complexType>
42
-
43
- </xs:schema>
44
- </wsdl:types>
45
-
46
- <plnk:partnerLinkType name="bookPLT">
47
- <plnk:role name="book_and_report" portType="BookAndReportInterface"/>
48
- </plnk:partnerLinkType>
49
-
50
- <wsdl:interface name="BookAndReportInterface">
51
- <wsdl:operation name="book_and_report"
52
- pattern="http://www.w3.org/ns/wsdl/in-out"
53
- style="http://www.w3.org/ns/wsdl/style/iri"
54
- wsdlx:safe="true">
55
- <wsdl:input element="msg:input"/>
56
- <wsdl:output element="msg:output"/>
57
- </wsdl:operation>
58
- </wsdl:interface>
59
-
60
- <wsdl:binding name="BookAndReportHTTPBinding"
61
- type="http://www.w3.org/ns/wsdl/http"
62
- interface="BookAndReportInterface">
63
- <wsdl:operation ref="book_and_report" whttp:method="POST"/>
64
- </wsdl:binding>
65
-
66
- <wsdl:service name="BookAndReport" interface="BookAndReportInterface">
67
- <wsdl:endpoint name="BookAndReportHTTPEndpoint"
68
- binding="BookAndReportHTTPBinding"
69
- address="http://www.pri.univie.ac.at/~mangler/book_and_report/">
70
- </wsdl:endpoint>
71
- </wsdl:service>
72
- </wsdl:description>
@@ -1,71 +0,0 @@
1
- <wsdl:description
2
- targetNamespace="uri:air/booking"
3
- xmlns:wsdl="http://www.w3.org/ns/wsdl"
4
- xmlns:whttp="http://www.w3.org/ns/wsdl/http"
5
- xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
6
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
- xmlns:msg="uri:air/booking/msg"
8
- xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
9
-
10
- <wsdl:types>
11
- <xs:schema
12
- targetNamespace="uri:air/booking/msg"
13
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
14
- xmlns="uri:air/booking/msg"
15
- xmlns:msg="uri:air/booking/msg"
16
- elementFormDefault="qualified">
17
-
18
- <xs:element name="input" type="inputType"/>
19
- <xs:element name="output" type="outputType"/>
20
-
21
- <xs:complexType name="inputType">
22
- <xs:sequence>
23
- <xs:element name="from" type="xs:string" minOccurs="0" maxOccurs="1"/>
24
- <xs:element name="to" type="xs:string" minOccurs="0" maxOccurs="1"/>
25
- <xs:element name="persons" type="arrayType" minOccurs="0" maxOccurs="1"/>
26
- </xs:sequence>
27
- </xs:complexType>
28
-
29
- <xs:complexType name="outputType">
30
- <xs:sequence>
31
- <xs:element name="costs" type="xs:integer" minOccurs="0" maxOccurs="1"/>
32
- <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
33
- </xs:sequence>
34
- </xs:complexType>
35
-
36
- <xs:complexType name="arrayType">
37
- <xs:sequence>
38
- <xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
39
- </xs:sequence>
40
- </xs:complexType>
41
-
42
- </xs:schema>
43
- </wsdl:types>
44
-
45
- <plnk:partnerLinkType name="bookPLT">
46
- <plnk:role name="book_airline" portType="BookInterface"/>
47
- </plnk:partnerLinkType>
48
-
49
- <wsdl:interface name="BookInterface">
50
- <wsdl:operation name="book"
51
- pattern="http://www.w3.org/ns/wsdl/in-out"
52
- style="http://www.w3.org/ns/wsdl/style/iri"
53
- wsdlx:safe="true">
54
- <wsdl:input element="msg:input"/>
55
- <wsdl:output element="msg:output"/>
56
- </wsdl:operation>
57
- </wsdl:interface>
58
-
59
- <wsdl:binding name="BookHTTPBinding"
60
- type="http://www.w3.org/ns/wsdl/http"
61
- interface="BookInterface">
62
- <wsdl:operation ref="book" whttp:method="POST"/>
63
- </wsdl:binding>
64
-
65
- <wsdl:service name="BookAirline" interface="BookInterface">
66
- <wsdl:endpoint name="BookHTTPEndpoint"
67
- binding="BookHTTPBinding"
68
- address="http://www.pri.univie.ac.at/~mangler/book_airline/">
69
- </wsdl:endpoint>
70
- </wsdl:service>
71
- </wsdl:description>
@@ -1,64 +0,0 @@
1
- <wsdl:description
2
- targetNamespace="uri:hotel/booking"
3
- xmlns:wsdl="http://www.w3.org/ns/wsdl"
4
- xmlns:whttp="http://www.w3.org/ns/wsdl/http"
5
- xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
6
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
- xmlns:msg="uri:hotel/booking/msg"
8
- xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
9
-
10
- <wsdl:types>
11
- <xs:schema
12
- targetNamespace="uri:hotel/booking/msg"
13
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
14
- xmlns="uri:hotel/booking/msg"
15
- xmlns:msg="uri:hotel/booking/msg"
16
- elementFormDefault="qualified">
17
-
18
- <xs:element name="input" type="inputType"/>
19
- <xs:element name="output" type="outputType"/>
20
-
21
- <xs:complexType name="inputType">
22
- <xs:sequence>
23
- <xs:element name="from" type="xs:string" minOccurs="0" maxOccurs="1"/>
24
- <xs:element name="person" type="xs:string" minOccurs="0" maxOccurs="1"/>
25
- </xs:sequence>
26
- </xs:complexType>
27
-
28
- <xs:complexType name="outputType">
29
- <xs:sequence>
30
- <xs:element name="costs" type="xs:integer" minOccurs="0" maxOccurs="1"/>
31
- <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
32
- </xs:sequence>
33
- </xs:complexType>
34
-
35
- </xs:schema>
36
- </wsdl:types>
37
-
38
- <plnk:partnerLinkType name="bookPLT">
39
- <plnk:role name="book_hotel" portType="BookInterface"/>
40
- </plnk:partnerLinkType>
41
-
42
- <wsdl:interface name="BookInterface">
43
- <wsdl:operation name="book"
44
- pattern="http://www.w3.org/ns/wsdl/in-out"
45
- style="http://www.w3.org/ns/wsdl/style/iri"
46
- wsdlx:safe="true">
47
- <wsdl:input element="msg:input"/>
48
- <wsdl:output element="msg:output"/>
49
- </wsdl:operation>
50
- </wsdl:interface>
51
-
52
- <wsdl:binding name="BookHTTPBinding"
53
- type="http://www.w3.org/ns/wsdl/http"
54
- interface="BookInterface">
55
- <wsdl:operation ref="book" whttp:method="POST"/>
56
- </wsdl:binding>
57
-
58
- <wsdl:service name="BookHotel" interface="BookInterface">
59
- <wsdl:endpoint name="BookHTTPEndpoint"
60
- binding="BookHTTPBinding"
61
- address="http://www.pri.univie.ac.at/~mangler/book_hotel/">
62
- </wsdl:endpoint>
63
- </wsdl:service>
64
- </wsdl:description>
@@ -1,71 +0,0 @@
1
- <wsdl:description
2
- targetNamespace="uri:company/report"
3
- xmlns:wsdl="http://www.w3.org/ns/wsdl"
4
- xmlns:whttp="http://www.w3.org/ns/wsdl/http"
5
- xmlns:wsdlx="http://www.w3.org/ns/wsdl-extensions"
6
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
- xmlns:msg="uri:company/report/msg"
8
- xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/">
9
-
10
- <wsdl:types>
11
- <xs:schema
12
- targetNamespace="uri:company/report/msg"
13
- xmlns:xs="http://www.w3.org/2001/XMLSchema"
14
- xmlns="uri:company/report/msg"
15
- xmlns:msg="uri:company/report/msg"
16
- elementFormDefault="qualified">
17
-
18
- <xs:element name="input" type="inputType"/>
19
- <xs:element name="output" type="outputType"/>
20
-
21
- <xs:complexType name="inputType">
22
- <xs:sequence>
23
- <xs:element name="from" type="xs:string" minOccurs="0" maxOccurs="1"/>
24
- <xs:element name="to" type="xs:string" minOccurs="0" maxOccurs="1"/>
25
- <xs:element name="persons" type="arrayType" minOccurs="0" maxOccurs="1"/>
26
- </xs:sequence>
27
- </xs:complexType>
28
-
29
- <xs:complexType name="outputType">
30
- <xs:sequence>
31
- <xs:element name="costs" type="xs:integer" minOccurs="0" maxOccurs="1"/>
32
- <xs:element name="name" type="xs:string" minOccurs="0" maxOccurs="1"/>
33
- </xs:sequence>
34
- </xs:complexType>
35
-
36
- <xs:complexType name="arrayType">
37
- <xs:sequence>
38
- <xs:element name="item" type="xs:string" minOccurs="0" maxOccurs="unbounded"/>
39
- </xs:sequence>
40
- </xs:complexType>
41
-
42
- </xs:schema>
43
- </wsdl:types>
44
-
45
- <plnk:partnerLinkType name="reportPLT">
46
- <plnk:role name="report" portType="ReportInterface"/>
47
- </plnk:partnerLinkType>
48
-
49
- <wsdl:interface name="ReportInterface">
50
- <wsdl:operation name="report"
51
- pattern="http://www.w3.org/ns/wsdl/in-out"
52
- style="http://www.w3.org/ns/wsdl/style/iri"
53
- wsdlx:safe="true">
54
- <wsdl:input element="msg:input"/>
55
- <wsdl:output element="msg:output"/>
56
- </wsdl:operation>
57
- </wsdl:interface>
58
-
59
- <wsdl:binding name="ReportHTTPBinding"
60
- type="http://www.w3.org/ns/wsdl/http"
61
- interface="ReportInterface">
62
- <wsdl:operation ref="report" whttp:method="POST"/>
63
- </wsdl:binding>
64
-
65
- <wsdl:service name="ReportAirline" interface="ReportInterface">
66
- <wsdl:endpoint name="ReportHTTPEndpoint"
67
- binding="ReportHTTPBinding"
68
- address="http://www.pri.univie.ac.at/~mangler/report/">
69
- </wsdl:endpoint>
70
- </wsdl:service>
71
- </wsdl:description>
@@ -1,34 +0,0 @@
1
- #!/usr/bin/ruby
2
- require 'optparse'
3
- require ::File.dirname(__FILE__) + '/lib/BPEL_Transform.rb'
4
-
5
- dowhat = nil
6
- ARGV.options { |opt|
7
- opt.summary_indent = ' ' * 2
8
- opt.banner = "Usage:\n#{opt.summary_indent}#{File.basename($0)} [options] [FILENAME]\nExample:\n#{opt.summary_indent}#{File.basename($0)} -d hotel.bpel\n"
9
- opt.on("Options:")
10
- opt.on("--help", "-h", "This text") { puts opt; exit }
11
- opt.on("--dsl", "-d", "For each tile visualize the resource tree and the layers.") { dowhat = "dsl" }
12
- opt.on("--dataelements", "-D", "For each tile visualize the resource tree and the resulting compositions.") { dowhat = "dataelements" }
13
- opt.on("--endpoints", "-e", "Visualize the resulting facade.") { dowhat = "endpoints" }
14
- opt.on("--invocation", "-i", "Invocation messages.") { dowhat = "invocation" }
15
- opt.on("Filename must be a BPEL file.")
16
- opt.parse!
17
- }
18
- if ARGV.length == 0 || !File.exists?(ARGV[0]) || dowhat.nil?
19
- puts ARGV.options
20
- exit
21
- end
22
- fname = ARGV[0]
23
-
24
- bt = BPEL_Transform.new(fname)
25
- case dowhat
26
- when "dsl"
27
- puts bt.transform_dsl
28
- when "endpoints"
29
- puts bt.transform_endpoints
30
- when "dataelements"
31
- puts bt.transform_data
32
- when "invocation"
33
- puts bt.transform_invocation
34
- end
@@ -1,64 +0,0 @@
1
- #\ -p 9298
2
- $url = 'http://localhost:9298'
3
- $mode = :debug # :production
4
- $0 = "cpee"
5
-
6
- use Rack::ShowStatus
7
-
8
- require 'pp'
9
- require 'fileutils'
10
- require '../../../riddl/lib/ruby/server'
11
- require '../../../riddl/lib/ruby/client'
12
- require '../../../riddl/lib/ruby/utils/notifications_producer'
13
- require '../../../riddl/lib/ruby/utils/properties'
14
- require '../../../riddl/lib/ruby/utils/fileserve'
15
- require '../../../riddl/lib/ruby/utils/declaration'
16
- require './engine/implementation'
17
-
18
- run Riddl::Server.new(::File.dirname(__FILE__) + '/declaration.xml') {
19
- accessible_description true
20
- cross_site_xhr true
21
-
22
- a_schema, a_strans = Riddl::Utils::Properties::schema(::File.dirname(__FILE__) + '/instances/properties.schema.active')
23
- i_schema, i_strans = Riddl::Utils::Properties::schema(::File.dirname(__FILE__) + '/instances/properties.schema.inactive')
24
- f_schema, f_strans = Riddl::Utils::Properties::schema(::File.dirname(__FILE__) + '/instances/properties.schema.finished')
25
- xsls = {
26
- :overview => '/xsls/overview.xsl',
27
- :subscriptions => '/xsls/subscriptions.xsl'
28
- }
29
-
30
- on resource do
31
- run Riddl::Utils::Declaration::Description, description_string if get 'riddl-description-request'
32
- run Instances if get '*'
33
- run NewInstance, $url if post 'instance-name'
34
- on resource do
35
- run Info if get
36
- run DeleteInstance if delete
37
- on resource 'properties' do |r|
38
- instance = ::File.dirname(__FILE__) + '/instances/' + r[:r][0] + '/'
39
- properties = Riddl::Utils::Properties::file(instance + 'properties.xml')
40
- schema, strans = case $controller[r[:r][0].to_i].state
41
- when :ready, :stopped; [i_schema,i_strans]
42
- when :running, :stopping; [a_schema,a_strans]
43
- when :finished; [f_schema,f_strans]
44
- end
45
- use Riddl::Utils::Properties::implementation(properties, schema, strans, PropertiesHandler, r[:match].count, $mode)
46
- end
47
- on resource 'notifications' do |r|
48
- ndir = ::File.dirname(__FILE__) + '/instances/' + r[:r][0] + '/notifications/'
49
- use Riddl::Utils::Notifications::Producer::implementation(ndir,xsls, NotificationsHandler, $mode)
50
- end
51
- on resource 'callbacks' do
52
- run Callbacks, $mode if get
53
- on resource do
54
- run ExCallback if get || put || post || delete
55
- end
56
- end
57
- end
58
- on resource 'xsls' do
59
- on resource do
60
- run Riddl::Utils::FileServe, "xsls" if get
61
- end
62
- end
63
- end
64
- }