cpee 1.3.105 → 1.3.106

Sign up to get free protection for your applications and to get access to all the features.
Files changed (500) hide show
  1. checksums.yaml +4 -4
  2. data/cpee.gemspec +1 -1
  3. data/lib/cpee/controller.rb +11 -11
  4. data/server/instances/1/notifications/topics.xml +39 -0
  5. data/server/instances/1/properties.xml +16 -200
  6. data/server/instances/10/notifications/0ad4ba057d8029cb7baf5080b4defda2/consumer-secret +1 -0
  7. data/server/instances/10/notifications/0ad4ba057d8029cb7baf5080b4defda2/producer-secret +1 -0
  8. data/server/instances/{1/notifications/0010e92c718702beba99b049a92e584d → 10/notifications/0ad4ba057d8029cb7baf5080b4defda2}/subscription.xml +0 -0
  9. data/server/instances/10/notifications/478f55276b76ae33b22591d350253ca1/consumer-secret +1 -0
  10. data/server/instances/10/notifications/478f55276b76ae33b22591d350253ca1/producer-secret +1 -0
  11. data/server/instances/{1/notifications/157078b54cf38e4d9451156da3860adb → 10/notifications/478f55276b76ae33b22591d350253ca1}/subscription.xml +0 -0
  12. data/server/instances/10/notifications/topics.xml +39 -0
  13. data/server/instances/10/properties.xml +106 -36
  14. data/server/instances/11/notifications/553000a7664a07a74655e8c53162f47b/consumer-secret +1 -0
  15. data/server/instances/11/notifications/553000a7664a07a74655e8c53162f47b/producer-secret +1 -0
  16. data/server/instances/{1/notifications/1918856047a1c6b18a7610e44a89a01b → 11/notifications/553000a7664a07a74655e8c53162f47b}/subscription.xml +0 -0
  17. data/server/instances/11/notifications/ddc7f734e58e8cbf3dbd0eb13dbbb3ab/consumer-secret +1 -0
  18. data/server/instances/11/notifications/ddc7f734e58e8cbf3dbd0eb13dbbb3ab/producer-secret +1 -0
  19. data/server/instances/{1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd → 11/notifications/ddc7f734e58e8cbf3dbd0eb13dbbb3ab}/subscription.xml +0 -0
  20. data/server/instances/11/notifications/topics.xml +39 -0
  21. data/server/instances/11/properties.xml +1611 -151
  22. data/server/instances/12/notifications/72b0aa58804826bbbccc6232b458e438/consumer-secret +1 -0
  23. data/server/instances/12/notifications/72b0aa58804826bbbccc6232b458e438/producer-secret +1 -0
  24. data/server/instances/{1/notifications/1d67171cffc19ef276c6422466a37a93 → 12/notifications/72b0aa58804826bbbccc6232b458e438}/subscription.xml +0 -0
  25. data/server/instances/12/notifications/f85e429bbd680bb8fbe9e3141eb712de/consumer-secret +1 -0
  26. data/server/instances/12/notifications/f85e429bbd680bb8fbe9e3141eb712de/producer-secret +1 -0
  27. data/server/instances/12/notifications/f85e429bbd680bb8fbe9e3141eb712de/subscription.xml +5 -0
  28. data/server/instances/12/notifications/topics.xml +39 -0
  29. data/server/instances/12/properties.xml +107 -169
  30. data/server/instances/13/notifications/0db5243cacbb67f6b9f2796b6e9e1390/consumer-secret +1 -0
  31. data/server/instances/13/notifications/0db5243cacbb67f6b9f2796b6e9e1390/producer-secret +1 -0
  32. data/server/instances/{1/notifications/21409c12c1e724205b543b96c00ccb6a → 13/notifications/0db5243cacbb67f6b9f2796b6e9e1390}/subscription.xml +0 -0
  33. data/server/instances/13/notifications/topics.xml +39 -0
  34. data/server/instances/13/properties.xml +1641 -36
  35. data/server/instances/14/notifications/f2740798ebfb900dbdae5f45915aca3f/consumer-secret +1 -0
  36. data/server/instances/14/notifications/f2740798ebfb900dbdae5f45915aca3f/producer-secret +1 -0
  37. data/server/instances/{1/notifications/2c11156c72dbd2f67356e3c05b93b8d1 → 14/notifications/f2740798ebfb900dbdae5f45915aca3f}/subscription.xml +0 -0
  38. data/server/instances/14/notifications/topics.xml +39 -0
  39. data/server/instances/14/properties.xml +1952 -0
  40. data/server/instances/15/notifications/8d3a1995549bd39b611a290bd83f8bdd/consumer-secret +1 -0
  41. data/server/instances/15/notifications/8d3a1995549bd39b611a290bd83f8bdd/producer-secret +1 -0
  42. data/server/instances/{1/notifications/66ad546f13c6c7c84f36215c24dd2e6e → 15/notifications/8d3a1995549bd39b611a290bd83f8bdd}/subscription.xml +0 -0
  43. data/server/instances/15/notifications/topics.xml +39 -0
  44. data/server/instances/15/properties.xml +1989 -0
  45. data/server/instances/16/notifications/329d3891fbf27e0c206d19f09395b74a/consumer-secret +1 -0
  46. data/server/instances/16/notifications/329d3891fbf27e0c206d19f09395b74a/producer-secret +1 -0
  47. data/server/instances/{1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb → 16/notifications/329d3891fbf27e0c206d19f09395b74a}/subscription.xml +0 -0
  48. data/server/instances/16/notifications/topics.xml +39 -0
  49. data/server/instances/16/properties.xml +362 -0
  50. data/server/instances/17/notifications/26557f82ecd701a2b3b5d295085f78b8/consumer-secret +1 -0
  51. data/server/instances/17/notifications/26557f82ecd701a2b3b5d295085f78b8/producer-secret +1 -0
  52. data/server/instances/{1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf → 17/notifications/26557f82ecd701a2b3b5d295085f78b8}/subscription.xml +0 -0
  53. data/server/instances/17/notifications/topics.xml +39 -0
  54. data/server/instances/17/properties.xml +1989 -0
  55. data/server/instances/18/notifications/07c4879f809677265232520a8e27aef1/consumer-secret +1 -0
  56. data/server/instances/18/notifications/07c4879f809677265232520a8e27aef1/producer-secret +1 -0
  57. data/server/instances/{1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db → 18/notifications/07c4879f809677265232520a8e27aef1}/subscription.xml +0 -0
  58. data/server/instances/18/notifications/topics.xml +39 -0
  59. data/server/instances/18/properties.xml +1448 -0
  60. data/server/instances/19/notifications/01d8db23c7f31c03f6bef07d56969c20/consumer-secret +1 -0
  61. data/server/instances/19/notifications/01d8db23c7f31c03f6bef07d56969c20/producer-secret +1 -0
  62. data/server/instances/{1/notifications/92a147faaa1c31c6dc4cf000897f2e18 → 19/notifications/01d8db23c7f31c03f6bef07d56969c20}/subscription.xml +0 -0
  63. data/server/instances/19/notifications/025e6e7a8afc2da12d55892c7b5e5da9/consumer-secret +1 -0
  64. data/server/instances/19/notifications/025e6e7a8afc2da12d55892c7b5e5da9/producer-secret +1 -0
  65. data/server/instances/{1/notifications/9f23b768395a19cc1dd6c2d2a243c78e → 19/notifications/025e6e7a8afc2da12d55892c7b5e5da9}/subscription.xml +0 -0
  66. data/server/instances/19/notifications/073c4d8dea552666408f93edd0c8053b/consumer-secret +1 -0
  67. data/server/instances/19/notifications/073c4d8dea552666408f93edd0c8053b/producer-secret +1 -0
  68. data/server/instances/{1/notifications/c1a285ed17c5d283478cc5fc6cfc628c → 19/notifications/073c4d8dea552666408f93edd0c8053b}/subscription.xml +0 -0
  69. data/server/instances/19/notifications/0968164702074c2c04e185ec74e9aec1/consumer-secret +1 -0
  70. data/server/instances/19/notifications/0968164702074c2c04e185ec74e9aec1/producer-secret +1 -0
  71. data/server/instances/{1/notifications/d705b78256ff1dc5818d20994f16fada → 19/notifications/0968164702074c2c04e185ec74e9aec1}/subscription.xml +0 -0
  72. data/server/instances/19/notifications/12fb1b6fc23e8cc59fc56d2f2c2db4ac/consumer-secret +1 -0
  73. data/server/instances/19/notifications/12fb1b6fc23e8cc59fc56d2f2c2db4ac/producer-secret +1 -0
  74. data/server/instances/{1/notifications/e4e2495e44235851b958ac6938a08140 → 19/notifications/12fb1b6fc23e8cc59fc56d2f2c2db4ac}/subscription.xml +0 -0
  75. data/server/instances/19/notifications/2fe0c6322f193588872058ffac82492d/consumer-secret +1 -0
  76. data/server/instances/19/notifications/2fe0c6322f193588872058ffac82492d/producer-secret +1 -0
  77. data/server/instances/{1/notifications/f81368a6d30d4a07eedb1db5c5cde084 → 19/notifications/2fe0c6322f193588872058ffac82492d}/subscription.xml +0 -0
  78. data/server/instances/19/notifications/3136bfa5955a8cb5f6563785a8edc318/consumer-secret +1 -0
  79. data/server/instances/19/notifications/3136bfa5955a8cb5f6563785a8edc318/producer-secret +1 -0
  80. data/server/instances/{10/notifications/0867c4a937f882af259137e36d331261 → 19/notifications/3136bfa5955a8cb5f6563785a8edc318}/subscription.xml +0 -0
  81. data/server/instances/19/notifications/3706a8b351d6392ac07d20179c254f55/consumer-secret +1 -0
  82. data/server/instances/19/notifications/3706a8b351d6392ac07d20179c254f55/producer-secret +1 -0
  83. data/server/instances/{10/notifications/28acb605c56588ec8e47431c1fcf0b20 → 19/notifications/3706a8b351d6392ac07d20179c254f55}/subscription.xml +0 -0
  84. data/server/instances/19/notifications/3cc0b91bed7457ac07b9ae0e673ef55a/consumer-secret +1 -0
  85. data/server/instances/19/notifications/3cc0b91bed7457ac07b9ae0e673ef55a/producer-secret +1 -0
  86. data/server/instances/{10/notifications/31d3f699def1d1e86dc18ef421f718ad → 19/notifications/3cc0b91bed7457ac07b9ae0e673ef55a}/subscription.xml +0 -0
  87. data/server/instances/19/notifications/458b06a79f956e42eb3fe79ffa12fd63/consumer-secret +1 -0
  88. data/server/instances/19/notifications/458b06a79f956e42eb3fe79ffa12fd63/producer-secret +1 -0
  89. data/server/instances/{10/notifications/380b57220000c45342fc56a1ed8e9e3f → 19/notifications/458b06a79f956e42eb3fe79ffa12fd63}/subscription.xml +0 -0
  90. data/server/instances/19/notifications/49417e6e473f568397240d2b606e1b04/consumer-secret +1 -0
  91. data/server/instances/19/notifications/49417e6e473f568397240d2b606e1b04/producer-secret +1 -0
  92. data/server/instances/{10/notifications/41eeb5d90b513781fb4b440cb97ca7f1 → 19/notifications/49417e6e473f568397240d2b606e1b04}/subscription.xml +0 -0
  93. data/server/instances/19/notifications/5307f0fe49c899b3a03ec728aa987796/consumer-secret +1 -0
  94. data/server/instances/19/notifications/5307f0fe49c899b3a03ec728aa987796/producer-secret +1 -0
  95. data/server/instances/{10/notifications/4d8c1b3a8dfdacac98144fad072c46d8 → 19/notifications/5307f0fe49c899b3a03ec728aa987796}/subscription.xml +0 -0
  96. data/server/instances/19/notifications/606911cd8ee90d60031db353ed22bdf8/consumer-secret +1 -0
  97. data/server/instances/19/notifications/606911cd8ee90d60031db353ed22bdf8/producer-secret +1 -0
  98. data/server/instances/{10/notifications/4dde696cfb001e00a7efbd8e86ba227d → 19/notifications/606911cd8ee90d60031db353ed22bdf8}/subscription.xml +0 -0
  99. data/server/instances/19/notifications/6129250b57b70d658b5286f688f319eb/consumer-secret +1 -0
  100. data/server/instances/19/notifications/6129250b57b70d658b5286f688f319eb/producer-secret +1 -0
  101. data/server/instances/{10/notifications/4e1c0065dd95f7c175bbccb874f0baea → 19/notifications/6129250b57b70d658b5286f688f319eb}/subscription.xml +0 -0
  102. data/server/instances/19/notifications/636f948cce52233117dc65bcfa493f24/consumer-secret +1 -0
  103. data/server/instances/19/notifications/636f948cce52233117dc65bcfa493f24/producer-secret +1 -0
  104. data/server/instances/{10/notifications/6198fb7d6a8249f7820e3e57eeefa8af → 19/notifications/636f948cce52233117dc65bcfa493f24}/subscription.xml +0 -0
  105. data/server/instances/19/notifications/69df7e66b7b840435ff262401e76947f/consumer-secret +1 -0
  106. data/server/instances/19/notifications/69df7e66b7b840435ff262401e76947f/producer-secret +1 -0
  107. data/server/instances/{10/notifications/6aeb90da52abc150f0f0135d8ba2dbac → 19/notifications/69df7e66b7b840435ff262401e76947f}/subscription.xml +0 -0
  108. data/server/instances/19/notifications/6b47eedbc9fa7876a67b0089d9ae22a9/consumer-secret +1 -0
  109. data/server/instances/19/notifications/6b47eedbc9fa7876a67b0089d9ae22a9/producer-secret +1 -0
  110. data/server/instances/{10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a → 19/notifications/6b47eedbc9fa7876a67b0089d9ae22a9}/subscription.xml +0 -0
  111. data/server/instances/19/notifications/6d7ccf9e66baa7742b5a4ce8ddd4b3c1/consumer-secret +1 -0
  112. data/server/instances/19/notifications/6d7ccf9e66baa7742b5a4ce8ddd4b3c1/producer-secret +1 -0
  113. data/server/instances/{10/notifications/7092411a6bb6822f651798fdcd3c4787 → 19/notifications/6d7ccf9e66baa7742b5a4ce8ddd4b3c1}/subscription.xml +0 -0
  114. data/server/instances/19/notifications/78d645b46a63a16f1fe83c7f58de8765/consumer-secret +1 -0
  115. data/server/instances/19/notifications/78d645b46a63a16f1fe83c7f58de8765/producer-secret +1 -0
  116. data/server/instances/{10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3 → 19/notifications/78d645b46a63a16f1fe83c7f58de8765}/subscription.xml +0 -0
  117. data/server/instances/19/notifications/81339ee147ce8dea48dece1d9298503a/consumer-secret +1 -0
  118. data/server/instances/19/notifications/81339ee147ce8dea48dece1d9298503a/producer-secret +1 -0
  119. data/server/instances/{10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2 → 19/notifications/81339ee147ce8dea48dece1d9298503a}/subscription.xml +0 -0
  120. data/server/instances/19/notifications/94d46212b220e994d9fa6cf5558b1eb3/consumer-secret +1 -0
  121. data/server/instances/19/notifications/94d46212b220e994d9fa6cf5558b1eb3/producer-secret +1 -0
  122. data/server/instances/{10/notifications/85760dad8f7abbd73ae1dd44140dabf1 → 19/notifications/94d46212b220e994d9fa6cf5558b1eb3}/subscription.xml +0 -0
  123. data/server/instances/19/notifications/ad0a548dfd9ba6b9aab8ba11dd67ff9e/consumer-secret +1 -0
  124. data/server/instances/19/notifications/ad0a548dfd9ba6b9aab8ba11dd67ff9e/producer-secret +1 -0
  125. data/server/instances/{10/notifications/8b9a96d109d44a1fc22858006c0f0e16 → 19/notifications/ad0a548dfd9ba6b9aab8ba11dd67ff9e}/subscription.xml +0 -0
  126. data/server/instances/19/notifications/ad87f3e3e0405b707b797d71ee96b0b3/consumer-secret +1 -0
  127. data/server/instances/19/notifications/ad87f3e3e0405b707b797d71ee96b0b3/producer-secret +1 -0
  128. data/server/instances/{10/notifications/9120a477e64d7debae2cda964a9948a0 → 19/notifications/ad87f3e3e0405b707b797d71ee96b0b3}/subscription.xml +0 -0
  129. data/server/instances/19/notifications/c00616b96be83f9765d5d9eb2da0fddb/consumer-secret +1 -0
  130. data/server/instances/19/notifications/c00616b96be83f9765d5d9eb2da0fddb/producer-secret +1 -0
  131. data/server/instances/19/notifications/c00616b96be83f9765d5d9eb2da0fddb/subscription.xml +6 -0
  132. data/server/instances/19/notifications/c1ca00b2faa342b72fa0c05c6f1389fa/consumer-secret +1 -0
  133. data/server/instances/19/notifications/c1ca00b2faa342b72fa0c05c6f1389fa/producer-secret +1 -0
  134. data/server/instances/{10/notifications/93c5a5ab72a745c0f9fffe2fe58db205 → 19/notifications/c1ca00b2faa342b72fa0c05c6f1389fa}/subscription.xml +0 -0
  135. data/server/instances/19/notifications/d2010a88f6612f1377e21544c9e88758/consumer-secret +1 -0
  136. data/server/instances/19/notifications/d2010a88f6612f1377e21544c9e88758/producer-secret +1 -0
  137. data/server/instances/{10/notifications/a8db1498388588bddf518878263fd898 → 19/notifications/d2010a88f6612f1377e21544c9e88758}/subscription.xml +0 -0
  138. data/server/instances/19/notifications/d276ebce5c305f46f8e72fe8c87f81ba/consumer-secret +1 -0
  139. data/server/instances/19/notifications/d276ebce5c305f46f8e72fe8c87f81ba/producer-secret +1 -0
  140. data/server/instances/{10/notifications/b534f057c1c97f65e68f59427958e78d → 19/notifications/d276ebce5c305f46f8e72fe8c87f81ba}/subscription.xml +0 -0
  141. data/server/instances/19/notifications/d62cbaaf58d06c84f59cf16fab21587f/consumer-secret +1 -0
  142. data/server/instances/19/notifications/d62cbaaf58d06c84f59cf16fab21587f/producer-secret +1 -0
  143. data/server/instances/{10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4 → 19/notifications/d62cbaaf58d06c84f59cf16fab21587f}/subscription.xml +0 -0
  144. data/server/instances/19/notifications/dd3dae13d8173f5534872b5eea75251d/consumer-secret +1 -0
  145. data/server/instances/19/notifications/dd3dae13d8173f5534872b5eea75251d/producer-secret +1 -0
  146. data/server/instances/{10/notifications/bc597391804363834987804436b8b63b → 19/notifications/dd3dae13d8173f5534872b5eea75251d}/subscription.xml +0 -0
  147. data/server/instances/19/notifications/eb02040474c60246db5616dc7330f20d/consumer-secret +1 -0
  148. data/server/instances/19/notifications/eb02040474c60246db5616dc7330f20d/producer-secret +1 -0
  149. data/server/instances/{10/notifications/bf2f6599eebcd9a08e47bdafd4a67660 → 19/notifications/eb02040474c60246db5616dc7330f20d}/subscription.xml +0 -0
  150. data/server/instances/19/notifications/ec6797efe5554a38ff6008649dfca18d/consumer-secret +1 -0
  151. data/server/instances/19/notifications/ec6797efe5554a38ff6008649dfca18d/producer-secret +1 -0
  152. data/server/instances/{10/notifications/db9cf0ae80bd61e6124c382b992a1550 → 19/notifications/ec6797efe5554a38ff6008649dfca18d}/subscription.xml +0 -0
  153. data/server/instances/19/notifications/ec80b03a1271529a846c148a7deb50bc/consumer-secret +1 -0
  154. data/server/instances/19/notifications/ec80b03a1271529a846c148a7deb50bc/producer-secret +1 -0
  155. data/server/instances/{10/notifications/e528089610c991500eb2e8b094f6f169 → 19/notifications/ec80b03a1271529a846c148a7deb50bc}/subscription.xml +0 -0
  156. data/server/instances/19/notifications/f347fe875a00ca7248a1edc5d2ee3dab/consumer-secret +1 -0
  157. data/server/instances/19/notifications/f347fe875a00ca7248a1edc5d2ee3dab/producer-secret +1 -0
  158. data/server/instances/{10/notifications/e7d3ca382d26b5f5eba00c40c29827da → 19/notifications/f347fe875a00ca7248a1edc5d2ee3dab}/subscription.xml +0 -0
  159. data/server/instances/19/notifications/f811663bd43b80d8b2439cdaf8c11edf/consumer-secret +1 -0
  160. data/server/instances/19/notifications/f811663bd43b80d8b2439cdaf8c11edf/producer-secret +1 -0
  161. data/server/instances/{10/notifications/ebdc914fde6fe299143ae4601c142738 → 19/notifications/f811663bd43b80d8b2439cdaf8c11edf}/subscription.xml +0 -0
  162. data/server/instances/19/notifications/topics.xml +39 -0
  163. data/server/instances/19/properties.xml +414 -0
  164. data/server/instances/2/notifications/6700a633221b71df4781a62d5116f823/consumer-secret +1 -0
  165. data/server/instances/2/notifications/6700a633221b71df4781a62d5116f823/producer-secret +1 -0
  166. data/server/instances/{10/notifications/f26b2b9efc10b9259647cf1a2b934694 → 2/notifications/6700a633221b71df4781a62d5116f823}/subscription.xml +0 -0
  167. data/server/instances/2/notifications/80dbaaeb7d56eb1e4d99094f4ac7f088/consumer-secret +1 -0
  168. data/server/instances/2/notifications/80dbaaeb7d56eb1e4d99094f4ac7f088/producer-secret +1 -0
  169. data/server/instances/{10/notifications/f4e1d7808171fe7c5fab4a99145ea185 → 2/notifications/80dbaaeb7d56eb1e4d99094f4ac7f088}/subscription.xml +0 -0
  170. data/server/instances/2/notifications/def05a48b306acf06c2bd6e4afe91e93/consumer-secret +1 -0
  171. data/server/instances/2/notifications/def05a48b306acf06c2bd6e4afe91e93/producer-secret +1 -0
  172. data/server/instances/{10/notifications/f7e947a1b4b32f3dad5debd44fc3236b → 2/notifications/def05a48b306acf06c2bd6e4afe91e93}/subscription.xml +0 -0
  173. data/server/instances/2/notifications/topics.xml +39 -0
  174. data/server/instances/2/properties.xml +449 -154
  175. data/server/instances/20/notifications/7b56c2397dd09134e9f5141387136ba0/consumer-secret +1 -0
  176. data/server/instances/20/notifications/7b56c2397dd09134e9f5141387136ba0/producer-secret +1 -0
  177. data/server/instances/{10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6 → 20/notifications/7b56c2397dd09134e9f5141387136ba0}/subscription.xml +0 -0
  178. data/server/instances/20/notifications/topics.xml +39 -0
  179. data/server/instances/20/properties.xml +1664 -0
  180. data/server/instances/21/notifications/03a3029b2b3f1465a0033cd247ae9b18/consumer-secret +1 -0
  181. data/server/instances/21/notifications/03a3029b2b3f1465a0033cd247ae9b18/producer-secret +1 -0
  182. data/server/instances/{11/notifications/134c18da209261bc409ccd137b2e46d3 → 21/notifications/03a3029b2b3f1465a0033cd247ae9b18}/subscription.xml +0 -0
  183. data/server/instances/21/notifications/0a797188e3e82ec753e601c26ab605f6/consumer-secret +1 -0
  184. data/server/instances/21/notifications/0a797188e3e82ec753e601c26ab605f6/producer-secret +1 -0
  185. data/server/instances/{1/notifications/fa690a88cc565dfa53b13ced355cd039 → 21/notifications/0a797188e3e82ec753e601c26ab605f6}/subscription.xml +0 -0
  186. data/server/instances/21/notifications/0ecf3c7a58e94c6aa4841eb61906276b/consumer-secret +1 -0
  187. data/server/instances/21/notifications/0ecf3c7a58e94c6aa4841eb61906276b/producer-secret +1 -0
  188. data/server/instances/{12/notifications/917f3f3d4e339ecbdfcb3626c73a6460 → 21/notifications/0ecf3c7a58e94c6aa4841eb61906276b}/subscription.xml +0 -0
  189. data/server/instances/21/notifications/1628b9524616b4df4fa069d78ceb0d26/consumer-secret +1 -0
  190. data/server/instances/21/notifications/1628b9524616b4df4fa069d78ceb0d26/producer-secret +1 -0
  191. data/server/instances/{13/notifications/bab68e2d01b9136571ecb2e1a5e9d736 → 21/notifications/1628b9524616b4df4fa069d78ceb0d26}/subscription.xml +0 -0
  192. data/server/instances/21/notifications/224e3da9513bd44d8477f29f6deaa2f5/consumer-secret +1 -0
  193. data/server/instances/21/notifications/224e3da9513bd44d8477f29f6deaa2f5/producer-secret +1 -0
  194. data/server/instances/{2/notifications/0bbfabbebf46b850383b4e1d7bd926e3 → 21/notifications/224e3da9513bd44d8477f29f6deaa2f5}/subscription.xml +0 -0
  195. data/server/instances/21/notifications/2aa12d755b5a3588394a34898d57048e/consumer-secret +1 -0
  196. data/server/instances/21/notifications/2aa12d755b5a3588394a34898d57048e/producer-secret +1 -0
  197. data/server/instances/{2/notifications/1d426895d19caa1471c713e80cc3c845 → 21/notifications/2aa12d755b5a3588394a34898d57048e}/subscription.xml +0 -0
  198. data/server/instances/21/notifications/39564e45c1008e1e73836d36b4afc7bc/consumer-secret +1 -0
  199. data/server/instances/21/notifications/39564e45c1008e1e73836d36b4afc7bc/producer-secret +1 -0
  200. data/server/instances/{2/notifications/292c8983aa798f0c5ced5ddc4b58abe4 → 21/notifications/39564e45c1008e1e73836d36b4afc7bc}/subscription.xml +0 -0
  201. data/server/instances/21/notifications/3b4a2ffb88a9a29b61e9c63e52c3430c/consumer-secret +1 -0
  202. data/server/instances/21/notifications/3b4a2ffb88a9a29b61e9c63e52c3430c/producer-secret +1 -0
  203. data/server/instances/{2/notifications/332c3026c8ad3075b092bd7e7a2b4f71 → 21/notifications/3b4a2ffb88a9a29b61e9c63e52c3430c}/subscription.xml +0 -0
  204. data/server/instances/21/notifications/45c82ecaf6566cf3873a13552120524f/consumer-secret +1 -0
  205. data/server/instances/21/notifications/45c82ecaf6566cf3873a13552120524f/producer-secret +1 -0
  206. data/server/instances/{2/notifications/d377446918808d23d03291fc1140883c → 21/notifications/45c82ecaf6566cf3873a13552120524f}/subscription.xml +0 -0
  207. data/server/instances/21/notifications/56d6362782e3acc7ea253a672facb1da/consumer-secret +1 -0
  208. data/server/instances/21/notifications/56d6362782e3acc7ea253a672facb1da/producer-secret +1 -0
  209. data/server/instances/{2/notifications/d5b65c7cbff5d259e4ee8405190ec558 → 21/notifications/56d6362782e3acc7ea253a672facb1da}/subscription.xml +0 -0
  210. data/server/instances/21/notifications/669fd84fe3c99e7a9af95bb3b95c0ec6/consumer-secret +1 -0
  211. data/server/instances/21/notifications/669fd84fe3c99e7a9af95bb3b95c0ec6/producer-secret +1 -0
  212. data/server/instances/{3/notifications/6cec45935d78709a4aa6622491006f4b → 21/notifications/669fd84fe3c99e7a9af95bb3b95c0ec6}/subscription.xml +0 -0
  213. data/server/instances/21/notifications/67b19bd42e3d88a3664cca39166efc98/consumer-secret +1 -0
  214. data/server/instances/21/notifications/67b19bd42e3d88a3664cca39166efc98/producer-secret +1 -0
  215. data/server/instances/{3/notifications/755542b2fb8d0c8fb9add29e012ec707 → 21/notifications/67b19bd42e3d88a3664cca39166efc98}/subscription.xml +0 -0
  216. data/server/instances/21/notifications/7418c1c58bd65dd067fd65ebdad110a2/consumer-secret +1 -0
  217. data/server/instances/21/notifications/7418c1c58bd65dd067fd65ebdad110a2/producer-secret +1 -0
  218. data/server/instances/{4/notifications/a89df398fcc088c067c39ae3974ec57f → 21/notifications/7418c1c58bd65dd067fd65ebdad110a2}/subscription.xml +0 -0
  219. data/server/instances/21/notifications/74781f6686f75c5ac11008645aa472a5/consumer-secret +1 -0
  220. data/server/instances/21/notifications/74781f6686f75c5ac11008645aa472a5/producer-secret +1 -0
  221. data/server/instances/{5/notifications/02ebbf888bd3efd11924f4c416d784e4 → 21/notifications/74781f6686f75c5ac11008645aa472a5}/subscription.xml +0 -0
  222. data/server/instances/21/notifications/75abcf13e693ceb476114967edb98e94/consumer-secret +1 -0
  223. data/server/instances/21/notifications/75abcf13e693ceb476114967edb98e94/producer-secret +1 -0
  224. data/server/instances/{6/notifications/282e7077e9c5b9972413cc92a6dcffc3 → 21/notifications/75abcf13e693ceb476114967edb98e94}/subscription.xml +0 -0
  225. data/server/instances/21/notifications/7b92a846f5ff6d4bf8f47fa03c6c0638/consumer-secret +1 -0
  226. data/server/instances/21/notifications/7b92a846f5ff6d4bf8f47fa03c6c0638/producer-secret +1 -0
  227. data/server/instances/{6/notifications/7e57d7438db8210766eab6873124dc02 → 21/notifications/7b92a846f5ff6d4bf8f47fa03c6c0638}/subscription.xml +0 -0
  228. data/server/instances/21/notifications/7d95a5e6b349c7087103e919cb274442/consumer-secret +1 -0
  229. data/server/instances/21/notifications/7d95a5e6b349c7087103e919cb274442/producer-secret +1 -0
  230. data/server/instances/{7/notifications/7276b795b5ed2f6638473526d9b1b1e1 → 21/notifications/7d95a5e6b349c7087103e919cb274442}/subscription.xml +0 -0
  231. data/server/instances/21/notifications/8468988ef8de34938584a4165252881b/consumer-secret +1 -0
  232. data/server/instances/21/notifications/8468988ef8de34938584a4165252881b/producer-secret +1 -0
  233. data/server/instances/{8/notifications/2854ed5a8f97a33d31f908f67544ec62 → 21/notifications/8468988ef8de34938584a4165252881b}/subscription.xml +0 -0
  234. data/server/instances/21/notifications/86b37af6d2dae8403a2c881a8ed77b69/consumer-secret +1 -0
  235. data/server/instances/21/notifications/86b37af6d2dae8403a2c881a8ed77b69/producer-secret +1 -0
  236. data/server/instances/{9/notifications/5debc1fd138fdc80940cd5647003ed45 → 21/notifications/86b37af6d2dae8403a2c881a8ed77b69}/subscription.xml +0 -0
  237. data/server/instances/21/notifications/8f3bf73bda94452898a58a01f0949e99/consumer-secret +1 -0
  238. data/server/instances/21/notifications/8f3bf73bda94452898a58a01f0949e99/producer-secret +1 -0
  239. data/server/instances/21/notifications/8f3bf73bda94452898a58a01f0949e99/subscription.xml +27 -0
  240. data/server/instances/21/notifications/92282e004189f5dbd07ce7ef168f443d/consumer-secret +1 -0
  241. data/server/instances/21/notifications/92282e004189f5dbd07ce7ef168f443d/producer-secret +1 -0
  242. data/server/instances/21/notifications/92282e004189f5dbd07ce7ef168f443d/subscription.xml +27 -0
  243. data/server/instances/21/notifications/93dbd996b4ffc9f25d7321d6489b8600/consumer-secret +1 -0
  244. data/server/instances/21/notifications/93dbd996b4ffc9f25d7321d6489b8600/producer-secret +1 -0
  245. data/server/instances/21/notifications/93dbd996b4ffc9f25d7321d6489b8600/subscription.xml +27 -0
  246. data/server/instances/21/notifications/987a7a439d737aa026ebb9d527d13e85/consumer-secret +1 -0
  247. data/server/instances/21/notifications/987a7a439d737aa026ebb9d527d13e85/producer-secret +1 -0
  248. data/server/instances/21/notifications/987a7a439d737aa026ebb9d527d13e85/subscription.xml +27 -0
  249. data/server/instances/21/notifications/9c741aaa40026b347248199a2aee3148/consumer-secret +1 -0
  250. data/server/instances/21/notifications/9c741aaa40026b347248199a2aee3148/producer-secret +1 -0
  251. data/server/instances/21/notifications/9c741aaa40026b347248199a2aee3148/subscription.xml +27 -0
  252. data/server/instances/21/notifications/9e4789de221ad5bef21d84657298f93d/consumer-secret +1 -0
  253. data/server/instances/21/notifications/9e4789de221ad5bef21d84657298f93d/producer-secret +1 -0
  254. data/server/instances/21/notifications/9e4789de221ad5bef21d84657298f93d/subscription.xml +27 -0
  255. data/server/instances/21/notifications/a415ca2509c92f139fa4f0a7ec5eb131/consumer-secret +1 -0
  256. data/server/instances/21/notifications/a415ca2509c92f139fa4f0a7ec5eb131/producer-secret +1 -0
  257. data/server/instances/21/notifications/a415ca2509c92f139fa4f0a7ec5eb131/subscription.xml +27 -0
  258. data/server/instances/21/notifications/a8f312fd9e805baa3f28dbee6b359b86/consumer-secret +1 -0
  259. data/server/instances/21/notifications/a8f312fd9e805baa3f28dbee6b359b86/producer-secret +1 -0
  260. data/server/instances/21/notifications/a8f312fd9e805baa3f28dbee6b359b86/subscription.xml +27 -0
  261. data/server/instances/21/notifications/b39c41364627e4eea703d59219b67926/consumer-secret +1 -0
  262. data/server/instances/21/notifications/b39c41364627e4eea703d59219b67926/producer-secret +1 -0
  263. data/server/instances/21/notifications/b39c41364627e4eea703d59219b67926/subscription.xml +27 -0
  264. data/server/instances/21/notifications/b7b350f6cb83c347ecd275ee45459ccf/consumer-secret +1 -0
  265. data/server/instances/21/notifications/b7b350f6cb83c347ecd275ee45459ccf/producer-secret +1 -0
  266. data/server/instances/21/notifications/b7b350f6cb83c347ecd275ee45459ccf/subscription.xml +27 -0
  267. data/server/instances/21/notifications/ba2779b8feb5aaaf7208af8b7b943cb7/consumer-secret +1 -0
  268. data/server/instances/21/notifications/ba2779b8feb5aaaf7208af8b7b943cb7/producer-secret +1 -0
  269. data/server/instances/21/notifications/ba2779b8feb5aaaf7208af8b7b943cb7/subscription.xml +27 -0
  270. data/server/instances/21/notifications/c80313b80fcbbbcf12831cfd508da32b/consumer-secret +1 -0
  271. data/server/instances/21/notifications/c80313b80fcbbbcf12831cfd508da32b/producer-secret +1 -0
  272. data/server/instances/21/notifications/c80313b80fcbbbcf12831cfd508da32b/subscription.xml +27 -0
  273. data/server/instances/21/notifications/cb367fadd433d4b58a3b47021c39d50e/consumer-secret +1 -0
  274. data/server/instances/21/notifications/cb367fadd433d4b58a3b47021c39d50e/producer-secret +1 -0
  275. data/server/instances/21/notifications/cb367fadd433d4b58a3b47021c39d50e/subscription.xml +27 -0
  276. data/server/instances/21/notifications/d2c402e3dc828076a5e48e4e17097323/consumer-secret +1 -0
  277. data/server/instances/21/notifications/d2c402e3dc828076a5e48e4e17097323/producer-secret +1 -0
  278. data/server/instances/21/notifications/d2c402e3dc828076a5e48e4e17097323/subscription.xml +27 -0
  279. data/server/instances/21/notifications/ead63912ac2ab239abd54a611de516a5/consumer-secret +1 -0
  280. data/server/instances/21/notifications/ead63912ac2ab239abd54a611de516a5/producer-secret +1 -0
  281. data/server/instances/21/notifications/ead63912ac2ab239abd54a611de516a5/subscription.xml +27 -0
  282. data/server/instances/21/notifications/f43836933512d363fcac2677d934fe3c/consumer-secret +1 -0
  283. data/server/instances/21/notifications/f43836933512d363fcac2677d934fe3c/producer-secret +1 -0
  284. data/server/instances/21/notifications/f43836933512d363fcac2677d934fe3c/subscription.xml +27 -0
  285. data/server/instances/21/notifications/f9609d92ca84e26ca035ed9f6b6e3349/consumer-secret +1 -0
  286. data/server/instances/21/notifications/f9609d92ca84e26ca035ed9f6b6e3349/producer-secret +1 -0
  287. data/server/instances/21/notifications/f9609d92ca84e26ca035ed9f6b6e3349/subscription.xml +27 -0
  288. data/server/instances/21/notifications/f9f8bcf712b3dfdeec995e0593ec8335/consumer-secret +1 -0
  289. data/server/instances/21/notifications/f9f8bcf712b3dfdeec995e0593ec8335/producer-secret +1 -0
  290. data/server/instances/21/notifications/f9f8bcf712b3dfdeec995e0593ec8335/subscription.xml +27 -0
  291. data/server/instances/21/notifications/fcf673d782ad2d982f8b25a096ab9759/consumer-secret +1 -0
  292. data/server/instances/21/notifications/fcf673d782ad2d982f8b25a096ab9759/producer-secret +1 -0
  293. data/server/instances/21/notifications/fcf673d782ad2d982f8b25a096ab9759/subscription.xml +27 -0
  294. data/server/instances/21/notifications/ffb0b7159cb48fa69b0452402f942316/consumer-secret +1 -0
  295. data/server/instances/21/notifications/ffb0b7159cb48fa69b0452402f942316/producer-secret +1 -0
  296. data/server/instances/21/notifications/ffb0b7159cb48fa69b0452402f942316/subscription.xml +27 -0
  297. data/server/instances/21/properties.xml +418 -0
  298. data/server/instances/3/notifications/68205c573b98dc5d54150c1ff14e9dad/consumer-secret +1 -0
  299. data/server/instances/3/notifications/68205c573b98dc5d54150c1ff14e9dad/producer-secret +1 -0
  300. data/server/instances/3/notifications/68205c573b98dc5d54150c1ff14e9dad/subscription.xml +27 -0
  301. data/server/instances/3/notifications/837a31442eb4951bf219c33663bd627d/consumer-secret +1 -0
  302. data/server/instances/3/notifications/837a31442eb4951bf219c33663bd627d/producer-secret +1 -0
  303. data/server/instances/3/notifications/837a31442eb4951bf219c33663bd627d/subscription.xml +27 -0
  304. data/server/instances/3/notifications/topics.xml +39 -0
  305. data/server/instances/3/properties.xml +449 -154
  306. data/server/instances/4/notifications/9fc26db7dd4dbca648ec26ebd5ae0f47/consumer-secret +1 -0
  307. data/server/instances/4/notifications/9fc26db7dd4dbca648ec26ebd5ae0f47/producer-secret +1 -0
  308. data/server/instances/4/notifications/9fc26db7dd4dbca648ec26ebd5ae0f47/subscription.xml +27 -0
  309. data/server/instances/4/notifications/topics.xml +39 -0
  310. data/server/instances/4/properties.xml +15 -194
  311. data/server/instances/5/notifications/1f75042065e30b503b7a1bb0e0444ab5/consumer-secret +1 -0
  312. data/server/instances/5/notifications/1f75042065e30b503b7a1bb0e0444ab5/producer-secret +1 -0
  313. data/server/instances/5/notifications/1f75042065e30b503b7a1bb0e0444ab5/subscription.xml +27 -0
  314. data/server/instances/5/notifications/topics.xml +39 -0
  315. data/server/instances/5/properties.xml +449 -154
  316. data/server/instances/6/notifications/09a807510d6896c8008009a1b64dcd0b/consumer-secret +1 -0
  317. data/server/instances/6/notifications/09a807510d6896c8008009a1b64dcd0b/producer-secret +1 -0
  318. data/server/instances/6/notifications/09a807510d6896c8008009a1b64dcd0b/subscription.xml +27 -0
  319. data/server/instances/6/notifications/topics.xml +39 -0
  320. data/server/instances/6/properties.xml +449 -154
  321. data/server/instances/7/notifications/72f4df3441d43cc1d6b1f3839edea8ef/consumer-secret +1 -0
  322. data/server/instances/7/notifications/72f4df3441d43cc1d6b1f3839edea8ef/producer-secret +1 -0
  323. data/server/instances/7/notifications/72f4df3441d43cc1d6b1f3839edea8ef/subscription.xml +27 -0
  324. data/server/instances/7/notifications/topics.xml +39 -0
  325. data/server/instances/7/properties.xml +449 -154
  326. data/server/instances/8/notifications/37d217a9e1fa5fe8ec2c8f38c9e1e869/consumer-secret +1 -0
  327. data/server/instances/8/notifications/37d217a9e1fa5fe8ec2c8f38c9e1e869/producer-secret +1 -0
  328. data/server/instances/8/notifications/37d217a9e1fa5fe8ec2c8f38c9e1e869/subscription.xml +27 -0
  329. data/server/instances/8/notifications/f7a6b8d16a43c5214f5273233d505a5f/consumer-secret +1 -0
  330. data/server/instances/8/notifications/f7a6b8d16a43c5214f5273233d505a5f/producer-secret +1 -0
  331. data/server/instances/8/notifications/f7a6b8d16a43c5214f5273233d505a5f/subscription.xml +27 -0
  332. data/server/instances/8/notifications/topics.xml +39 -0
  333. data/server/instances/8/properties.xml +440 -154
  334. data/server/instances/9/notifications/90c34e012c0e25c335fd3db4cd7120a3/consumer-secret +1 -0
  335. data/server/instances/9/notifications/90c34e012c0e25c335fd3db4cd7120a3/producer-secret +1 -0
  336. data/server/instances/9/notifications/90c34e012c0e25c335fd3db4cd7120a3/subscription.xml +27 -0
  337. data/server/instances/9/notifications/topics.xml +39 -0
  338. data/server/instances/9/properties.xml +1611 -151
  339. metadata +387 -293
  340. data/server/instances/1/notifications/0010e92c718702beba99b049a92e584d/consumer-secret +0 -1
  341. data/server/instances/1/notifications/0010e92c718702beba99b049a92e584d/producer-secret +0 -1
  342. data/server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/consumer-secret +0 -1
  343. data/server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/producer-secret +0 -1
  344. data/server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/consumer-secret +0 -1
  345. data/server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/producer-secret +0 -1
  346. data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/consumer-secret +0 -1
  347. data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/producer-secret +0 -1
  348. data/server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/consumer-secret +0 -1
  349. data/server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/producer-secret +0 -1
  350. data/server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/consumer-secret +0 -1
  351. data/server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/producer-secret +0 -1
  352. data/server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/consumer-secret +0 -1
  353. data/server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/producer-secret +0 -1
  354. data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/consumer-secret +0 -1
  355. data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/producer-secret +0 -1
  356. data/server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/consumer-secret +0 -1
  357. data/server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/producer-secret +0 -1
  358. data/server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/consumer-secret +0 -1
  359. data/server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/producer-secret +0 -1
  360. data/server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/consumer-secret +0 -1
  361. data/server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/producer-secret +0 -1
  362. data/server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/consumer-secret +0 -1
  363. data/server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/producer-secret +0 -1
  364. data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/consumer-secret +0 -1
  365. data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/producer-secret +0 -1
  366. data/server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/consumer-secret +0 -1
  367. data/server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/producer-secret +0 -1
  368. data/server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/consumer-secret +0 -1
  369. data/server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/producer-secret +0 -1
  370. data/server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/consumer-secret +0 -1
  371. data/server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/producer-secret +0 -1
  372. data/server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/consumer-secret +0 -1
  373. data/server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/producer-secret +0 -1
  374. data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/consumer-secret +0 -1
  375. data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/producer-secret +0 -1
  376. data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/consumer-secret +0 -1
  377. data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/producer-secret +0 -1
  378. data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/consumer-secret +0 -1
  379. data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/producer-secret +0 -1
  380. data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/consumer-secret +0 -1
  381. data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/producer-secret +0 -1
  382. data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/consumer-secret +0 -1
  383. data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/producer-secret +0 -1
  384. data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/consumer-secret +0 -1
  385. data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/producer-secret +0 -1
  386. data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/consumer-secret +0 -1
  387. data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/producer-secret +0 -1
  388. data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/consumer-secret +0 -1
  389. data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/producer-secret +0 -1
  390. data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/consumer-secret +0 -1
  391. data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/producer-secret +0 -1
  392. data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/consumer-secret +0 -1
  393. data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/producer-secret +0 -1
  394. data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/consumer-secret +0 -1
  395. data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/producer-secret +0 -1
  396. data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/consumer-secret +0 -1
  397. data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/producer-secret +0 -1
  398. data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/consumer-secret +0 -1
  399. data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/producer-secret +0 -1
  400. data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/consumer-secret +0 -1
  401. data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/producer-secret +0 -1
  402. data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/consumer-secret +0 -1
  403. data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/producer-secret +0 -1
  404. data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/consumer-secret +0 -1
  405. data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/producer-secret +0 -1
  406. data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/consumer-secret +0 -1
  407. data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/producer-secret +0 -1
  408. data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/consumer-secret +0 -1
  409. data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/producer-secret +0 -1
  410. data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/consumer-secret +0 -1
  411. data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/producer-secret +0 -1
  412. data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/consumer-secret +0 -1
  413. data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/producer-secret +0 -1
  414. data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/consumer-secret +0 -1
  415. data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/producer-secret +0 -1
  416. data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/consumer-secret +0 -1
  417. data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/producer-secret +0 -1
  418. data/server/instances/10/notifications/bc597391804363834987804436b8b63b/consumer-secret +0 -1
  419. data/server/instances/10/notifications/bc597391804363834987804436b8b63b/producer-secret +0 -1
  420. data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/consumer-secret +0 -1
  421. data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/producer-secret +0 -1
  422. data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/consumer-secret +0 -1
  423. data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/producer-secret +0 -1
  424. data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/consumer-secret +0 -1
  425. data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/producer-secret +0 -1
  426. data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/consumer-secret +0 -1
  427. data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/producer-secret +0 -1
  428. data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/consumer-secret +0 -1
  429. data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/producer-secret +0 -1
  430. data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/consumer-secret +0 -1
  431. data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/producer-secret +0 -1
  432. data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/consumer-secret +0 -1
  433. data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/producer-secret +0 -1
  434. data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/consumer-secret +0 -1
  435. data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/producer-secret +0 -1
  436. data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/consumer-secret +0 -1
  437. data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/producer-secret +0 -1
  438. data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/consumer-secret +0 -1
  439. data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/producer-secret +0 -1
  440. data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/consumer-secret +0 -1
  441. data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/producer-secret +0 -1
  442. data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/subscription.xml +0 -5
  443. data/server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/consumer-secret +0 -1
  444. data/server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/producer-secret +0 -1
  445. data/server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/consumer-secret +0 -1
  446. data/server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/producer-secret +0 -1
  447. data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/consumer-secret +0 -1
  448. data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/producer-secret +0 -1
  449. data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/consumer-secret +0 -1
  450. data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/producer-secret +0 -1
  451. data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/consumer-secret +0 -1
  452. data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/producer-secret +0 -1
  453. data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/consumer-secret +0 -1
  454. data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/producer-secret +0 -1
  455. data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/consumer-secret +0 -1
  456. data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/producer-secret +0 -1
  457. data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/consumer-secret +0 -1
  458. data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/producer-secret +0 -1
  459. data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/consumer-secret +0 -1
  460. data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/producer-secret +0 -1
  461. data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/subscription.xml +0 -5
  462. data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/consumer-secret +0 -1
  463. data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/producer-secret +0 -1
  464. data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/subscription.xml +0 -5
  465. data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/consumer-secret +0 -1
  466. data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/producer-secret +0 -1
  467. data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/consumer-secret +0 -1
  468. data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/producer-secret +0 -1
  469. data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/consumer-secret +0 -1
  470. data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/producer-secret +0 -1
  471. data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/subscription.xml +0 -5
  472. data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/consumer-secret +0 -1
  473. data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/producer-secret +0 -1
  474. data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/consumer-secret +0 -1
  475. data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/producer-secret +0 -1
  476. data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/consumer-secret +0 -1
  477. data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/producer-secret +0 -1
  478. data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/subscription.xml +0 -5
  479. data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/consumer-secret +0 -1
  480. data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/producer-secret +0 -1
  481. data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/subscription.xml +0 -5
  482. data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/consumer-secret +0 -1
  483. data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/producer-secret +0 -1
  484. data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/consumer-secret +0 -1
  485. data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/producer-secret +0 -1
  486. data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/consumer-secret +0 -1
  487. data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/producer-secret +0 -1
  488. data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/consumer-secret +0 -1
  489. data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/producer-secret +0 -1
  490. data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/subscription.xml +0 -5
  491. data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/consumer-secret +0 -1
  492. data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/producer-secret +0 -1
  493. data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/consumer-secret +0 -1
  494. data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/producer-secret +0 -1
  495. data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/subscription.xml +0 -5
  496. data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/consumer-secret +0 -1
  497. data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/producer-secret +0 -1
  498. data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/subscription.xml +0 -5
  499. data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/consumer-secret +0 -1
  500. data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/producer-secret +0 -1
@@ -0,0 +1,39 @@
1
+ <topics xmlns='http://riddl.org/ns/common-patterns/notifications-producer/1.0'>
2
+ <topic id='running'>
3
+ <event>activity_calling</event>
4
+ <event>activity_failed</event>
5
+ <event>activity_manipulating</event>
6
+ <event>activity_done</event>
7
+ <vote>syncing_before</vote>
8
+ <vote>syncing_after</vote>
9
+ </topic>
10
+ <topic id='properties/position'>
11
+ <event>change</event>
12
+ </topic>
13
+ <topic id='properties/description'>
14
+ <event>change</event>
15
+ <event>error</event>
16
+ </topic>
17
+ <topic id='properties/state'>
18
+ <event>change</event>
19
+ <vote>change</vote>
20
+ </topic>
21
+ <topic id='properties/status'>
22
+ <event>change</event>
23
+ </topic>
24
+ <topic id='properties/dataelements'>
25
+ <event>change</event>
26
+ </topic>
27
+ <topic id='properties/endpoints'>
28
+ <event>change</event>
29
+ </topic>
30
+ <topic id='properties/handlerwrapper'>
31
+ <event>change</event>
32
+ </topic>
33
+ <topic id='properties/handlers'>
34
+ <event>change</event>
35
+ <event>error</event>
36
+ <event>debug</event>
37
+ <event>info</event>
38
+ </topic>
39
+ </topics>
@@ -0,0 +1,1664 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <name>asdasd</name>
3
+ <state>stopped</state>
4
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
+ <positions>
6
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__preparations>after</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__preparations>
7
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__FilmInfo>at</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__FilmInfo>
8
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__preparations>after</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__preparations>
9
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__preparations>after</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__preparations>
10
+ </positions>
11
+ <dataelements>
12
+ <selected_title>""</selected_title>
13
+ <title>"Trek"</title>
14
+ <starting_time>""</starting_time>
15
+ <date>"2013-05-18"</date>
16
+ <selected_cinema>null</selected_cinema>
17
+ <selected_date>null</selected_date>
18
+ <city>"Vienna"</city>
19
+ <hall>null</hall>
20
+ <reservation_number>null</reservation_number>
21
+ <zip>1100</zip>
22
+ <result_use_repo_cinemas>{"properties":{"call_find":{"perform_search":{"http://localhost:9290/groups/Cinemas//REST/DonauPlexx":{"address":{"street":"Wagramerstraße 79","zip":"1220","city":"Vienna","state":"Austria"},"vendor":{"name":"Cineplexx Doanuplex","phone":"+43-1-2033322","url":"http://www.cineplexx.at/content/kinos/kinodetails.aspx","mail":"village.donauplex@villagekinos.at"}},"http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino":{"address":{"street":"Gablenzgasse 1-3","zip":"1150","city":"Vienna","state":"Austria"},"vendor":{"name":"Lugner City Kino","phone":"+43-0810-584637","url":"http://www.lugnerkinocity.at/","mail":"office@lugnerkinocity.at"}},"http://localhost:9290/groups/Cinemas//REST/AugeGottes":{"address":{"street":"Nußdorfer Straße 73","zip":"1090","city":"Vienna","state":"Austria"},"vendor":{"name":"Das Auge Gottes Center Wien","phone":"+43-1-3176344","url":"http://www.cineplexx.at/content/kinos/kinodetails.aspx","mail":"village.wienmitte@villagekinos.at"}},"http://localhost:9290/groups/Cinemas//REST/Apollo":{"address":{"street":"Gumpendorferstraße 63","zip":"1060","city":"Vienna","state":"Austria"},"vendor":{"name":"Apollo - Das Kino Wien","phone":"+43-1-5879651","url":"http://www.cineplexx.at/content/kinos/kinodetails.aspx","mail":"village.apollo@villagekinos.at"}}}},"call_book":{}}}</result_use_repo_cinemas>
23
+ <use_repo_cinemas__show_id>""</use_repo_cinemas__show_id>
24
+ <use_repo_cinemas__list>""</use_repo_cinemas__list>
25
+ <use_repo_cinemas__res>""</use_repo_cinemas__res>
26
+ <use_repo_cinemas__list_merge>""</use_repo_cinemas__list_merge>
27
+ <use_repo_cinemas__number_of_shows>""</use_repo_cinemas__number_of_shows>
28
+ <use_repo_cinemas__endpoint>""</use_repo_cinemas__endpoint>
29
+ <result_use_repo_cinemas__call_find>{"http://localhost:9290/groups/Cinemas//REST/DonauPlexx":{},"http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino":{},"http://localhost:9290/groups/Cinemas//REST/AugeGottes":{},"http://localhost:9290/groups/Cinemas//REST/Apollo":{}}</result_use_repo_cinemas__call_find>
30
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response>""</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response>
31
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum>"18.05.2013"</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum>
32
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response>[]</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response>
33
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml>[]</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml>
34
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids>[]</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids>
35
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id>""</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id>
36
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2>""</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2>
37
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status>""</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status>
38
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response>""</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response>
39
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum>"18.05.2013"</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum>
40
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response>""</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response>
41
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum>"18.05.2013"</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum>
42
+ </dataelements>
43
+ <endpoints>
44
+ <services>http://localhost:9290/groups/Cinemas/</services>
45
+ <injection_handler>http://localhost:9291/</injection_handler>
46
+ <select>http://localhost:9293/pgwl</select>
47
+ <use_repo_cinemas__selected_cinema/>
48
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service>http://www.cineplexx.at/content/kinos/kinoprogramm.aspx</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service>
49
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl>http://tickets.lugnerkinocity.at/sinema/service.asmx?WSDL</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl>
50
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service>http://tickets.lugnerkinocity.at/sinema/service.asmx</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service>
51
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service>http://www.cineplexx.at/content/kinos/kinoprogramm.aspx</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service>
52
+ <use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service>http://www.cineplexx.at/content/kinos/kinoprogramm.aspx</use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service>
53
+ </endpoints>
54
+ <dsl>activity :collect_input, :call, :select, :method =&gt; "post", :info =&gt; "true", :templates =&gt; [ { :uri =&gt; 'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl' }, { :name =&gt; 'Cinemas-Input' }, { :lang =&gt; 'EN' } ] do |result|
55
+
56
+ data.title = result.data.value('title')
57
+ data.date = result.data.value('date')
58
+ data.city = result.data.value('city')
59
+
60
+ end
61
+ activity :use_repo_cinemas, :call, :services, :info =&gt; "true", :service =&gt; [ { :serviceoperation =&gt; "search_and_book" }, { :injection_handler =&gt; endpoints.injection_handler } ], :additional_endpoints =&gt; [ { :selector_service =&gt; "select" } ], :parameters =&gt; [ { :title =&gt; data.title }, { :date =&gt; data.date } ]
62
+ activity :create_objects_for_use_repo_cinemas, :manipulate do
63
+ data.result_use_repo_cinemas = RescueHash.new
64
+ data.result_use_repo_cinemas['properties'] = RescueHash.new
65
+ data.result_use_repo_cinemas['properties']["call_find"] = RescueHash.new
66
+ data.result_use_repo_cinemas['properties']["call_book"] = RescueHash.new
67
+ endpoints.use_repo_cinemas__selected_cinema = ""
68
+ data.use_repo_cinemas__show_id = ''
69
+ data.use_repo_cinemas__list = ''
70
+ data.use_repo_cinemas__res = ''
71
+ data.use_repo_cinemas__list_merge = ''
72
+ data.use_repo_cinemas__number_of_shows = ''
73
+ data.use_repo_cinemas__endpoint = ''
74
+
75
+ end
76
+ activity :use_repo_cinemas__call_find, :call, :services, :service =&gt; [ { :serviceoperation =&gt; "search" }, { :injection_handler =&gt; endpoints.injection_handler } ], :parameters =&gt; [ { :title =&gt; data.title }, { :date =&gt; data.date } ], :'call-oid' =&gt; 'call_find'
77
+ activity :create_objects_for_use_repo_cinemas__call_find, :manipulate do
78
+ data.result_use_repo_cinemas__call_find = RescueHash.new
79
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"] = RescueHash.new
80
+
81
+ end
82
+ activity :use_repo_cinemas__call_find__perform_search, :call, :services, :service =&gt; [ { :serviceoperation =&gt; "search" }, { :injection_handler =&gt; endpoints.injection_handler } ], :parameters =&gt; [ { :title =&gt; data.title }, { :date =&gt; data.date } ], :'call-oid' =&gt; 'perform_search'
83
+ parallel do
84
+ parallel_branch do
85
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_Apollo, :manipulate do
86
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
87
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
88
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = ''
89
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = ''
90
+ # Filling the properties-object of the service
91
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
92
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"] = RescueHash.new
93
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["street"] = "Gumpendorferstraße 63"
94
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["zip"] = "1060"
95
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["city"] = "Vienna"
96
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["state"] = "Austria"
97
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"] = RescueHash.new
98
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["name"] = "Apollo - Das Kino Wien"
99
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["phone"] = "+43-1-5879651"
100
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["url"] = "http://www.cineplexx.at/content/kinos/kinodetails.aspx"
101
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["mail"] = "village.apollo@villagekinos.at"
102
+
103
+ end
104
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__preparations, :manipulate do
105
+ datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum
106
+
107
+ d = data.date
108
+ date = Time.parse(d)
109
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
110
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = datum
111
+
112
+ end
113
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__Programm, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service, :method =&gt; "get", :parameters =&gt; [ { :id =&gt; 1 }, { :datum =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum }, { :uhrzeit =&gt; "00:00:00" }, { :version =&gt; "" } ], :'call-oid' =&gt; '' do |result|
114
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
115
+ result[0] = RescueHash.new_from_obj(result[0])
116
+ end
117
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = result[0].value('').read
118
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['status'] = result[1]
119
+
120
+
121
+ end
122
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__parse_programm, :manipulate do
123
+ response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response
124
+
125
+ date = data.date
126
+ title = data.title
127
+ date = Date.parse(date)
128
+ str = CGI::unescapeHTML(response)
129
+ str.gsub!('&amp;','--amp--')
130
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
131
+ offset = str.index("value=\"", offset)
132
+ d = str[offset+7..offset+16]
133
+
134
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
135
+ count = 1
136
+ offset = 0
137
+ while (count != 0) do
138
+ offset = str.index("div", offset+1)
139
+ count = count+1 if str[offset-1].chr == "&lt;"
140
+ count = count-1 if str[offset-1].chr == "/"
141
+ end
142
+ str = str[0..offset-3]
143
+ resp = XML::Smart.string(str)
144
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
145
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
146
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
147
+ show_date = Date.parse(d)
148
+ if show_date.eql?(date)
149
+ b.find("child::tr/td[3]/div/table").each do |show|
150
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
151
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
152
+ show = list.root.add("show")
153
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/Apollo")
154
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
155
+ show.add("title", show_title)
156
+ show.add("date", show_date.to_s)
157
+ show.add("time", s.text)
158
+ show.add("hall", show_hall)
159
+ end
160
+ end
161
+ end
162
+ end
163
+ list = list.root.dump
164
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = response
165
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['list'] = list
166
+
167
+ end
168
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_Apollo, :manipulate do
169
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service")
170
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response")
171
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum")
172
+
173
+ end
174
+ end
175
+ parallel_branch do
176
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_AugeGottes, :manipulate do
177
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
178
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
179
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = ''
180
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = ''
181
+ # Filling the properties-object of the service
182
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
183
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"] = RescueHash.new
184
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["street"] = "Nußdorfer Straße 73"
185
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["zip"] = "1090"
186
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["city"] = "Vienna"
187
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["state"] = "Austria"
188
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"] = RescueHash.new
189
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["name"] = "Das Auge Gottes Center Wien"
190
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["phone"] = "+43-1-3176344"
191
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["url"] = "http://www.cineplexx.at/content/kinos/kinodetails.aspx"
192
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["mail"] = "village.wienmitte@villagekinos.at"
193
+
194
+ end
195
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__preparations, :manipulate do
196
+ datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum
197
+
198
+ d = data.date
199
+ date = Time.parse(d)
200
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
201
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = datum
202
+
203
+ end
204
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__Programm, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service, :method =&gt; "get", :parameters =&gt; [ { :id =&gt; 6 }, { :datum =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum }, { :uhrzeit =&gt; "00:00:00" }, { :version =&gt; "" } ], :'call-oid' =&gt; '' do |result|
205
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
206
+ result[0] = RescueHash.new_from_obj(result[0])
207
+ end
208
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = result[0].value('').read
209
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['status'] = result[1]
210
+
211
+
212
+ end
213
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__parse_programm, :manipulate do
214
+ response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response
215
+
216
+ date = data.date
217
+ title = data.title
218
+ date = Date.parse(date)
219
+ str = CGI::unescapeHTML(response)
220
+ str.gsub!('&amp;','--amp--')
221
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
222
+ offset = str.index("value=\"", offset)
223
+ d = str[offset+7..offset+16]
224
+
225
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
226
+ count = 1
227
+ offset = 0
228
+ while (count != 0) do
229
+ offset = str.index("div", offset+1)
230
+ count = count+1 if str[offset-1].chr == "&lt;"
231
+ count = count-1 if str[offset-1].chr == "/"
232
+ end
233
+ str = str[0..offset-3]
234
+ resp = XML::Smart.string(str)
235
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
236
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
237
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
238
+ show_date = Date.parse(d)
239
+ if show_date.eql?(date)
240
+ b.find("child::tr/td[3]/div/table").each do |show|
241
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
242
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
243
+ show = list.root.add("show")
244
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/AugeGottes")
245
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
246
+ show.add("title", show_title)
247
+ show.add("date", show_date.to_s)
248
+ show.add("time", s.text)
249
+ show.add("hall", show_hall)
250
+ end
251
+ end
252
+ end
253
+ end
254
+ list = list.root.dump
255
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = response
256
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['list'] = list
257
+
258
+ end
259
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_AugeGottes, :manipulate do
260
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service")
261
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response")
262
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum")
263
+
264
+ end
265
+ end
266
+ parallel_branch do
267
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_DonauPlexx, :manipulate do
268
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
269
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
270
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = ''
271
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = ''
272
+ # Filling the properties-object of the service
273
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
274
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"] = RescueHash.new
275
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["street"] = "Wagramerstraße 79"
276
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["zip"] = "1220"
277
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["city"] = "Vienna"
278
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["state"] = "Austria"
279
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"] = RescueHash.new
280
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["name"] = "Cineplexx Doanuplex"
281
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["phone"] = "+43-1-2033322"
282
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["url"] = "http://www.cineplexx.at/content/kinos/kinodetails.aspx"
283
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["mail"] = "village.donauplex@villagekinos.at"
284
+
285
+ end
286
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__preparations, :manipulate do
287
+ datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum
288
+
289
+ d = data.date
290
+ date = Time.parse(d)
291
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
292
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = datum
293
+
294
+ end
295
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__Programm, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service, :method =&gt; "get", :parameters =&gt; [ { :id =&gt; 346 }, { :datum =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum }, { :uhrzeit =&gt; "00:00:00" }, { :version =&gt; "" } ], :'call-oid' =&gt; '' do |result|
296
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
297
+ result[0] = RescueHash.new_from_obj(result[0])
298
+ end
299
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = result[0].value('').read
300
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['status'] = result[1]
301
+
302
+
303
+ end
304
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__parse_programm, :manipulate do
305
+ response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response
306
+
307
+ date = data.date
308
+ title = data.title
309
+ date = Date.parse(date)
310
+ str = CGI::unescapeHTML(response)
311
+ str.gsub!('&amp;','--amp--')
312
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
313
+ offset = str.index("value=\"", offset)
314
+ d = str[offset+7..offset+16]
315
+
316
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
317
+ count = 1
318
+ offset = 0
319
+ while (count != 0) do
320
+ offset = str.index("div", offset+1)
321
+ count = count+1 if str[offset-1].chr == "&lt;"
322
+ count = count-1 if str[offset-1].chr == "/"
323
+ end
324
+ str = str[0..offset-3]
325
+ resp = XML::Smart.string(str)
326
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
327
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
328
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
329
+ show_date = Date.parse(d)
330
+ if show_date.eql?(date)
331
+ b.find("child::tr/td[3]/div/table").each do |show|
332
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
333
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
334
+ show = list.root.add("show")
335
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/DonauPlexx")
336
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
337
+ show.add("title", show_title)
338
+ show.add("date", show_date.to_s)
339
+ show.add("time", s.text)
340
+ show.add("hall", show_hall)
341
+ end
342
+ end
343
+ end
344
+ end
345
+ list = list.root.dump
346
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = response
347
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['list'] = list
348
+
349
+ end
350
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_DonauPlexx, :manipulate do
351
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service")
352
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response")
353
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum")
354
+
355
+ end
356
+ end
357
+ parallel_branch do
358
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino, :manipulate do
359
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"] = RescueHash.new
360
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl = "http://tickets.lugnerkinocity.at/sinema/service.asmx?WSDL"
361
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service = "http://tickets.lugnerkinocity.at/sinema/service.asmx"
362
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = ''
363
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml = Array.new
364
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids = Array.new
365
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id = ''
366
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2 = ''
367
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status = ''
368
+ # Filling the properties-object of the service
369
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"] = RescueHash.new
370
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"] = RescueHash.new
371
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["street"] = "Gablenzgasse 1-3"
372
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["zip"] = "1150"
373
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["city"] = "Vienna"
374
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["state"] = "Austria"
375
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"] = RescueHash.new
376
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["name"] = "Lugner City Kino"
377
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["phone"] = "+43-0810-584637"
378
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["url"] = "http://www.lugnerkinocity.at/"
379
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["mail"] = "office@lugnerkinocity.at"
380
+
381
+ end
382
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__FilmInfo, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service, :soap_operation =&gt; "FilmInfo", :wsdl =&gt; endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl, :parameters =&gt; [ { :SearchItem =&gt; data.title } ], :'call-oid' =&gt; '' do |result|
383
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
384
+ result[0] = RescueHash.new_from_obj(result[0])
385
+ end
386
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = Array.new
387
+ result[0].register_namespace 'tns', 'http://sitec.at/Service' if result[:status] == 200
388
+ result[0].find('descendant::tns:FilmInfoResult').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response &lt;&lt; "#{n.dump}"} if result[:status] == 200
389
+
390
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status = result[1]
391
+
392
+
393
+ end
394
+ choose do
395
+ alternative (data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status.==(200)) do
396
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__pares_response, :manipulate do
397
+ soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
398
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids
399
+ to = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2
400
+
401
+ from = data.date
402
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
403
+ resp.find("//film/ID").each do |id|
404
+ ids &lt;&lt; id.text
405
+ end
406
+ to = from
407
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = soap
408
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids = ids
409
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2 = to
410
+
411
+ end
412
+ loop pre_test{(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids.length.&gt;(0))} do
413
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__get_film_id, :manipulate do
414
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids
415
+ id = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id
416
+
417
+ id = ids.pop
418
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids = ids
419
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id = id
420
+
421
+ end
422
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__Schedule, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service, :soap_operation =&gt; "Schedule", :wsdl =&gt; endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl, :parameters =&gt; [ { :FilmID =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id }, { :dTo =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2 }, { :dFrom =&gt; data.date } ], :'call-oid' =&gt; '' do |result|
423
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
424
+ result[0] = RescueHash.new_from_obj(result[0])
425
+ end
426
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = Array.new
427
+ result[0].register_namespace 'tns', 'http://sitec.at/Service' if result[:status] == 200
428
+ result[0].find('descendant::tns:ScheduleResponse').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response &lt;&lt; "#{n.dump}"} if result[:status] == 200
429
+
430
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status = result[1]
431
+
432
+
433
+ end
434
+ choose do
435
+ alternative (data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status.==(200)) do
436
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__search_shows, :manipulate do
437
+ soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
438
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml
439
+
440
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
441
+ resp.register_namespace 'tns', "http://sitec.at/Service"
442
+ resp.find("descendant::tns:show").each do |show|
443
+ xml &lt;&lt; show.dump
444
+ end
445
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = soap
446
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml = xml
447
+
448
+ end
449
+ end
450
+ otherwise do
451
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__Schedule_Error, :manipulate do
452
+ error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
453
+
454
+ puts "An error occured in Schedule_Error"
455
+ puts error
456
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = error
457
+
458
+ end
459
+ end
460
+ end
461
+ end
462
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__generate_output, :manipulate do
463
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml
464
+
465
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
466
+ xml.each do |e|
467
+ res = XML::Smart.string(e)
468
+ node = list.root.add("show")
469
+ node.add("cinema_uri", "http://localhost:9290/groups/Cinemas/Soap/LugnerCityKino")
470
+ node.add("show_id", res.find("//id").first.text)
471
+ node.add("title", res.find("//filmname").first.text)
472
+ node.add("date", res.find("//date").first.text)
473
+ node.add("time", res.find("//time").first.text)
474
+ node.add("hall", res.find("//hall").first.text)
475
+ end
476
+ list = list.root.dump
477
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml = xml
478
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino']['list'] = list
479
+
480
+ end
481
+ end
482
+ otherwise do
483
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__FilmInfo_Error, :manipulate do
484
+ error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
485
+
486
+ puts "An error occured in FilmInfo_Error"
487
+ puts '=' * 80
488
+ puts error
489
+ puts '=' * 80
490
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = error
491
+
492
+ end
493
+ end
494
+ end
495
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino, :manipulate do
496
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl")
497
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service")
498
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response")
499
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml")
500
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids")
501
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id")
502
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2")
503
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status")
504
+
505
+ end
506
+ end
507
+ end
508
+
509
+ activity :manipulate_from_use_repo_cinemas__call_find__perform_search, :manipulate, nil,data.result_use_repo_cinemas__call_find do |result|
510
+ properties = data.result_use_repo_cinemas['properties']["call_find"]
511
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
512
+ result[0] = RescueHash.new_from_obj(result[0])
513
+ end
514
+ data.result_use_repo_cinemas__call_find['list_shows'] = result[0].value('list')
515
+
516
+ end
517
+
518
+ activity :manipulate_from_use_repo_cinemas__call_find, :manipulate, nil,data.result_use_repo_cinemas__call_find do |result|
519
+ properties = data.result_use_repo_cinemas['properties']
520
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
521
+ result[0] = RescueHash.new_from_obj(result[0])
522
+ end
523
+ data.use_repo_cinemas__list = result[0].value('list')
524
+
525
+ end
526
+ activity :remove_objects_of_use_repo_cinemas__call_find, :manipulate do
527
+ data.delete(:"result_use_repo_cinemas__call_find")
528
+
529
+ end
530
+ activity :use_repo_cinemas__merge_result, :manipulate do
531
+ list = data.use_repo_cinemas__list
532
+ m_list = data.use_repo_cinemas__list_merge
533
+ nos = data.use_repo_cinemas__number_of_shows
534
+
535
+ title = data.title
536
+ date = data.date
537
+ xml = XML::Smart.string("&lt;list_of_shows/&gt;")
538
+ if list.class == Array
539
+ list.each do |v|
540
+ l = XML::Smart.string(v)
541
+ xml.root.add(l.find("//show"))
542
+ end
543
+ elsif list.class == String
544
+ l = XML::Smart.string(list)
545
+ xml.root.add(l.find("//show"))
546
+ else
547
+ raise "Unexpected class of return-value - class: #{list.class}"
548
+ end
549
+ m_list = xml.root.dump
550
+ nos = xml.root.children.length
551
+ data.use_repo_cinemas__list = list
552
+ data.use_repo_cinemas__list_merge = m_list
553
+ data.use_repo_cinemas__number_of_shows = nos
554
+
555
+ end
556
+ choose do
557
+ alternative (data.use_repo_cinemas__number_of_shows.&gt;(0)) do
558
+ activity :use_repo_cinemas__perform_select, :call, :select, :templates =&gt; [ { :uri =&gt; 'http://localhost:9290/groups/Cinemas//operations/search_and_book/templates/perform_select' }, { :name =&gt; 'Select_Show' }, { :lang =&gt; 'EN' } ], :method =&gt; "post", :info =&gt; "true", :parameters =&gt; [ { :data =&gt; data.use_repo_cinemas__list_merge } ], :'call-oid' =&gt; 'perform_select' do |result|
559
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
560
+ result[0] = RescueHash.new_from_obj(result[0])
561
+ end
562
+ data.use_repo_cinemas__show_id = result[0].value('show_id')
563
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
564
+ result[0] = RescueHash.new_from_obj(result[0])
565
+ end
566
+ data.use_repo_cinemas__endpoint = result[0].value('target')
567
+ data.result_use_repo_cinemas['status'] = result[1]
568
+
569
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
570
+ result[0] = RescueHash.new_from_obj(result[0])
571
+ end
572
+ data.result_use_repo_cinemas['movie_title'] = result[0].value('movie_title')
573
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
574
+ result[0] = RescueHash.new_from_obj(result[0])
575
+ end
576
+ data.result_use_repo_cinemas['selected_date'] = result[0].value('date')
577
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
578
+ result[0] = RescueHash.new_from_obj(result[0])
579
+ end
580
+ data.result_use_repo_cinemas['starting_time'] = result[0].value('starting_time')
581
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
582
+ result[0] = RescueHash.new_from_obj(result[0])
583
+ end
584
+ data.result_use_repo_cinemas['hall'] = result[0].value('hall')
585
+
586
+ end
587
+ activity :use_repo_cinemas__set_selected_endpoint, :manipulate do
588
+ ep = data.use_repo_cinemas__endpoint
589
+ selected = endpoints.use_repo_cinemas__selected_cinema
590
+
591
+ selected = ep
592
+ data.use_repo_cinemas__endpoint = ep
593
+ endpoints.use_repo_cinemas__selected_cinema = selected
594
+
595
+ end
596
+ activity :use_repo_cinemas__call_book, :call, :use_repo_cinemas__selected_cinema, :service =&gt; [ { :serviceoperation =&gt; "book" }, { :injection_handler =&gt; endpoints.injection_handler } ], :parameters =&gt; [ { :show_id =&gt; data.use_repo_cinemas__show_id } ], :'call-oid' =&gt; 'call_book' do |result|
597
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
598
+ result[0] = RescueHash.new_from_obj(result[0])
599
+ end
600
+ data.result_use_repo_cinemas['reservation_id'] = result[0].value('reservation_number')
601
+
602
+ end
603
+ activity :use_repo_cinemas__set_status_success, :manipulate do
604
+
605
+ status = 200
606
+ data.result_use_repo_cinemas['status'] = status
607
+
608
+ end
609
+ end
610
+ otherwise do
611
+ activity :use_repo_cinemas__set_status_failed, :manipulate do
612
+
613
+ status = 404
614
+ data.result_use_repo_cinemas['status'] = status
615
+
616
+ end
617
+ end
618
+ end
619
+
620
+ activity :manipulate_from_use_repo_cinemas, :manipulate, nil,data.result_use_repo_cinemas do |result|
621
+ properties = data.result_use_repo_cinemas['properties']
622
+
623
+ res = result[0]
624
+ if res['status'] == 200
625
+ # Computing service responses
626
+ data.reservation_number = res['reservation_id']
627
+ data.starting_time = res['starting_time']
628
+ data.selected_title = res['movie_title']
629
+ data.selected_date = res['selected_date']
630
+ data.hall = res['hall']
631
+ # Computing properties of executed services
632
+ perf_book = properties['call_book']['perform_book']
633
+ data.selected_cinema = " #{perf_book.values[0]['vendor']['name']}\n#{perf_book.values[0]['address']['street']}\n#{perf_book.values[0]['address']['zip']} #{perf_book.values[0]['address']['city']}"
634
+ end
635
+
636
+ end
637
+ activity :remove_objects_of_use_repo_cinemas, :manipulate do
638
+ data.delete(:"result_use_repo_cinemas")
639
+ data.delete(:"properties_use_repo_cinemas")
640
+ endpoints.delete(:"use_repo_cinemas__selected_cinema")
641
+ data.delete(:"use_repo_cinemas__show_id")
642
+ data.delete(:"use_repo_cinemas__list")
643
+ data.delete(:"use_repo_cinemas__res")
644
+ data.delete(:"use_repo_cinemas__list_merge")
645
+ data.delete(:"use_repo_cinemas__number_of_shows")
646
+ data.delete(:"use_repo_cinemas__endpoint")
647
+
648
+ end
649
+ activity :confirm, :call, :select, :method =&gt; "post", :info =&gt; "true", :templates =&gt; [ { :uri =&gt; 'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl' }, { :name =&gt; 'Cinemas-Output' }, { :lang =&gt; 'EN' } ], :parameters =&gt; [ { :title =&gt; data.selected_title }, { :date =&gt; data.selected_date }, { :time =&gt; data.starting_time }, { :hall =&gt; data.hall }, { :res_nr =&gt; data.reservation_number }, { :cinema =&gt; data.selected_cinema } ]
650
+ </dsl>
651
+ <status>
652
+ <id>0</id>
653
+ <message>undefined</message>
654
+ </status>
655
+ <description>
656
+ <description xmlns="http://cpee.org/ns/description/1.0">
657
+ <call id="collect_input" endpoint="select">
658
+ <parameters>
659
+ <method>post</method>
660
+ <info>true</info>
661
+ <templates>
662
+ <uri>'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl'</uri>
663
+ <name>'Cinemas-Input'</name>
664
+ <lang>'EN'</lang>
665
+ </templates>
666
+ </parameters>
667
+ <manipulate output="result">
668
+ data.title = result.data.value('title')
669
+ data.date = result.data.value('date')
670
+ data.city = result.data.value('city')
671
+ </manipulate>
672
+ </call>
673
+ <call id="use_repo_cinemas" endpoint="services">
674
+ <constraints>
675
+ <constraint xpath="address/city" comparator="==" variable="city"/>
676
+ </constraints>
677
+ <parameters>
678
+ <!--{{{-->
679
+ <info>true</info>
680
+ <service>
681
+ <serviceoperation>"search_and_book"</serviceoperation>
682
+ <injection_handler>endpoints.injection_handler</injection_handler>
683
+ </service>
684
+ <additional_endpoints>
685
+ <selector_service>"select"</selector_service>
686
+ </additional_endpoints>
687
+ <parameters>
688
+ <title>data.title</title>
689
+ <date>data.date</date>
690
+ </parameters>
691
+ </parameters>
692
+ <!--}}}-->
693
+ </call>
694
+ <group type="injection" source="use_repo_cinemas" serviceoperation="&quot;search_and_book&quot;" result="data.result_use_repo_cinemas" properties="data.result_use_repo_cinemas['properties']">
695
+ <manipulate id="create_objects_for_use_repo_cinemas" generated="true"> data.result_use_repo_cinemas = RescueHash.new
696
+ data.result_use_repo_cinemas['properties'] = RescueHash.new
697
+ data.result_use_repo_cinemas['properties']["call_find"] = RescueHash.new
698
+ data.result_use_repo_cinemas['properties']["call_book"] = RescueHash.new
699
+ endpoints.use_repo_cinemas__selected_cinema = ""
700
+ data.use_repo_cinemas__show_id = ''
701
+ data.use_repo_cinemas__list = ''
702
+ data.use_repo_cinemas__res = ''
703
+ data.use_repo_cinemas__list_merge = ''
704
+ data.use_repo_cinemas__number_of_shows = ''
705
+ data.use_repo_cinemas__endpoint = ''
706
+ </manipulate>
707
+ <constraints>
708
+ <constraint xpath="address/city" comparator="==" variable="city"/>
709
+ </constraints>
710
+ <call id="use_repo_cinemas__call_find" endpoint="services" oid="call_find">
711
+ <parameters>
712
+ <service>
713
+ <serviceoperation>"search"</serviceoperation>
714
+ <injection_handler>endpoints.injection_handler</injection_handler>
715
+ </service>
716
+ <parameters>
717
+ <title>data.title</title>
718
+ <date>data.date</date>
719
+ </parameters>
720
+ </parameters>
721
+ </call>
722
+ <group type="injection" source="use_repo_cinemas__call_find" serviceoperation="&quot;search&quot;" result="data.result_use_repo_cinemas__call_find" properties="data.result_use_repo_cinemas['properties'][&quot;call_find&quot;]">
723
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find" generated="true"> data.result_use_repo_cinemas__call_find = RescueHash.new
724
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"] = RescueHash.new
725
+ </manipulate>
726
+ <call id="use_repo_cinemas__call_find__perform_search" endpoint="services" oid="perform_search">
727
+ <parameters>
728
+ <service>
729
+ <serviceoperation>"search"</serviceoperation>
730
+ <injection_handler>endpoints.injection_handler</injection_handler>
731
+ </service>
732
+ <parameters>
733
+ <title>data.title</title>
734
+ <date>data.date</date>
735
+ </parameters>
736
+ </parameters>
737
+ </call>
738
+ <group type="injection" source="use_repo_cinemas__call_find__perform_search" serviceoperation="&quot;search&quot;" properties="data.result_use_repo_cinemas['properties'][&quot;call_find&quot;][&quot;perform_search&quot;]">
739
+ <parallel generated="true">
740
+ <parallel_branch generated="true">
741
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_Apollo" generated="true"> data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
742
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
743
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = ''
744
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = ''
745
+ # Filling the properties-object of the service
746
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
747
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"] = RescueHash.new
748
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["street"] = "Gumpendorferstraße 63"
749
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["zip"] = "1060"
750
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["city"] = "Vienna"
751
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["state"] = "Austria"
752
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"] = RescueHash.new
753
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["name"] = "Apollo - Das Kino Wien"
754
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["phone"] = "+43-1-5879651"
755
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["url"] = "http://www.cineplexx.at/content/kinos/kinodetails.aspx"
756
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["mail"] = "village.apollo@villagekinos.at"
757
+ </manipulate>
758
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__preparations">datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum
759
+
760
+ d = data.date
761
+ date = Time.parse(d)
762
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
763
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = datum
764
+ </manipulate>
765
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__Programm" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service" oid="">
766
+ <parameters>
767
+ <method>get</method>
768
+ <parameters>
769
+ <id>1</id>
770
+ <datum>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum</datum>
771
+ <uhrzeit>"00:00:00"</uhrzeit>
772
+ <version>""</version>
773
+ </parameters>
774
+ </parameters>
775
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
776
+ result[0] = RescueHash.new_from_obj(result[0])
777
+ end
778
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = result[0].value('').read
779
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['status'] = result[1]
780
+
781
+ </manipulate>
782
+ </call>
783
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__parse_programm">response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response
784
+
785
+ date = data.date
786
+ title = data.title
787
+ date = Date.parse(date)
788
+ str = CGI::unescapeHTML(response)
789
+ str.gsub!('&amp;','--amp--')
790
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
791
+ offset = str.index("value=\"", offset)
792
+ d = str[offset+7..offset+16]
793
+
794
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
795
+ count = 1
796
+ offset = 0
797
+ while (count != 0) do
798
+ offset = str.index("div", offset+1)
799
+ count = count+1 if str[offset-1].chr == "&lt;"
800
+ count = count-1 if str[offset-1].chr == "/"
801
+ end
802
+ str = str[0..offset-3]
803
+ resp = XML::Smart.string(str)
804
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
805
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
806
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
807
+ show_date = Date.parse(d)
808
+ if show_date.eql?(date)
809
+ b.find("child::tr/td[3]/div/table").each do |show|
810
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
811
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
812
+ show = list.root.add("show")
813
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/Apollo")
814
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
815
+ show.add("title", show_title)
816
+ show.add("date", show_date.to_s)
817
+ show.add("time", s.text)
818
+ show.add("hall", show_hall)
819
+ end
820
+ end
821
+ end
822
+ end
823
+ list = list.root.dump
824
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = response
825
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['list'] = list
826
+ </manipulate>
827
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_Apollo" generated="true"> endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service")
828
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response")
829
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum")
830
+ </manipulate>
831
+ </parallel_branch>
832
+ <parallel_branch generated="true">
833
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_AugeGottes" generated="true"> data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
834
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
835
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = ''
836
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = ''
837
+ # Filling the properties-object of the service
838
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
839
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"] = RescueHash.new
840
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["street"] = "Nußdorfer Straße 73"
841
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["zip"] = "1090"
842
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["city"] = "Vienna"
843
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["state"] = "Austria"
844
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"] = RescueHash.new
845
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["name"] = "Das Auge Gottes Center Wien"
846
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["phone"] = "+43-1-3176344"
847
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["url"] = "http://www.cineplexx.at/content/kinos/kinodetails.aspx"
848
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["mail"] = "village.wienmitte@villagekinos.at"
849
+ </manipulate>
850
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__preparations">datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum
851
+
852
+ d = data.date
853
+ date = Time.parse(d)
854
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
855
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = datum
856
+ </manipulate>
857
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__Programm" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service" oid="">
858
+ <parameters>
859
+ <method>get</method>
860
+ <parameters>
861
+ <id>6</id>
862
+ <datum>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum</datum>
863
+ <uhrzeit>"00:00:00"</uhrzeit>
864
+ <version>""</version>
865
+ </parameters>
866
+ </parameters>
867
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
868
+ result[0] = RescueHash.new_from_obj(result[0])
869
+ end
870
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = result[0].value('').read
871
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['status'] = result[1]
872
+
873
+ </manipulate>
874
+ </call>
875
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__parse_programm">response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response
876
+
877
+ date = data.date
878
+ title = data.title
879
+ date = Date.parse(date)
880
+ str = CGI::unescapeHTML(response)
881
+ str.gsub!('&amp;','--amp--')
882
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
883
+ offset = str.index("value=\"", offset)
884
+ d = str[offset+7..offset+16]
885
+
886
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
887
+ count = 1
888
+ offset = 0
889
+ while (count != 0) do
890
+ offset = str.index("div", offset+1)
891
+ count = count+1 if str[offset-1].chr == "&lt;"
892
+ count = count-1 if str[offset-1].chr == "/"
893
+ end
894
+ str = str[0..offset-3]
895
+ resp = XML::Smart.string(str)
896
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
897
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
898
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
899
+ show_date = Date.parse(d)
900
+ if show_date.eql?(date)
901
+ b.find("child::tr/td[3]/div/table").each do |show|
902
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
903
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
904
+ show = list.root.add("show")
905
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/AugeGottes")
906
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
907
+ show.add("title", show_title)
908
+ show.add("date", show_date.to_s)
909
+ show.add("time", s.text)
910
+ show.add("hall", show_hall)
911
+ end
912
+ end
913
+ end
914
+ end
915
+ list = list.root.dump
916
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = response
917
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['list'] = list
918
+ </manipulate>
919
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_AugeGottes" generated="true"> endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service")
920
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response")
921
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum")
922
+ </manipulate>
923
+ </parallel_branch>
924
+ <parallel_branch generated="true">
925
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_DonauPlexx" generated="true"> data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
926
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
927
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = ''
928
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = ''
929
+ # Filling the properties-object of the service
930
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
931
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"] = RescueHash.new
932
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["street"] = "Wagramerstraße 79"
933
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["zip"] = "1220"
934
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["city"] = "Vienna"
935
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["state"] = "Austria"
936
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"] = RescueHash.new
937
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["name"] = "Cineplexx Doanuplex"
938
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["phone"] = "+43-1-2033322"
939
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["url"] = "http://www.cineplexx.at/content/kinos/kinodetails.aspx"
940
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["mail"] = "village.donauplex@villagekinos.at"
941
+ </manipulate>
942
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__preparations">datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum
943
+
944
+ d = data.date
945
+ date = Time.parse(d)
946
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
947
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = datum
948
+ </manipulate>
949
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__Programm" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service" oid="">
950
+ <parameters>
951
+ <method>get</method>
952
+ <parameters>
953
+ <id>346</id>
954
+ <datum>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum</datum>
955
+ <uhrzeit>"00:00:00"</uhrzeit>
956
+ <version>""</version>
957
+ </parameters>
958
+ </parameters>
959
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
960
+ result[0] = RescueHash.new_from_obj(result[0])
961
+ end
962
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = result[0].value('').read
963
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['status'] = result[1]
964
+
965
+ </manipulate>
966
+ </call>
967
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__parse_programm">response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response
968
+
969
+ date = data.date
970
+ title = data.title
971
+ date = Date.parse(date)
972
+ str = CGI::unescapeHTML(response)
973
+ str.gsub!('&amp;','--amp--')
974
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
975
+ offset = str.index("value=\"", offset)
976
+ d = str[offset+7..offset+16]
977
+
978
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
979
+ count = 1
980
+ offset = 0
981
+ while (count != 0) do
982
+ offset = str.index("div", offset+1)
983
+ count = count+1 if str[offset-1].chr == "&lt;"
984
+ count = count-1 if str[offset-1].chr == "/"
985
+ end
986
+ str = str[0..offset-3]
987
+ resp = XML::Smart.string(str)
988
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
989
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
990
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
991
+ show_date = Date.parse(d)
992
+ if show_date.eql?(date)
993
+ b.find("child::tr/td[3]/div/table").each do |show|
994
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
995
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
996
+ show = list.root.add("show")
997
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/DonauPlexx")
998
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
999
+ show.add("title", show_title)
1000
+ show.add("date", show_date.to_s)
1001
+ show.add("time", s.text)
1002
+ show.add("hall", show_hall)
1003
+ end
1004
+ end
1005
+ end
1006
+ end
1007
+ list = list.root.dump
1008
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = response
1009
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['list'] = list
1010
+ </manipulate>
1011
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_DonauPlexx" generated="true"> endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service")
1012
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response")
1013
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum")
1014
+ </manipulate>
1015
+ </parallel_branch>
1016
+ <parallel_branch generated="true">
1017
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino" generated="true"> data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"] = RescueHash.new
1018
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl = "http://tickets.lugnerkinocity.at/sinema/service.asmx?WSDL"
1019
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service = "http://tickets.lugnerkinocity.at/sinema/service.asmx"
1020
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = ''
1021
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml = Array.new
1022
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids = Array.new
1023
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id = ''
1024
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2 = ''
1025
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status = ''
1026
+ # Filling the properties-object of the service
1027
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"] = RescueHash.new
1028
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"] = RescueHash.new
1029
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["street"] = "Gablenzgasse 1-3"
1030
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["zip"] = "1150"
1031
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["city"] = "Vienna"
1032
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["address"]["state"] = "Austria"
1033
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"] = RescueHash.new
1034
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["name"] = "Lugner City Kino"
1035
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["phone"] = "+43-0810-584637"
1036
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["url"] = "http://www.lugnerkinocity.at/"
1037
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino"]["vendor"]["mail"] = "office@lugnerkinocity.at"
1038
+ </manipulate>
1039
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__FilmInfo" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service" oid="">
1040
+ <parameters>
1041
+ <soap_operation>FilmInfo</soap_operation>
1042
+ <wsdl type="symbolic">endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl</wsdl>
1043
+ <parameters>
1044
+ <SearchItem>data.title</SearchItem>
1045
+ </parameters>
1046
+ </parameters>
1047
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1048
+ result[0] = RescueHash.new_from_obj(result[0])
1049
+ end
1050
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = Array.new
1051
+ result[0].register_namespace 'tns', 'http://sitec.at/Service' if result[:status] == 200
1052
+ result[0].find('descendant::tns:FilmInfoResult').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response &lt;&lt; "#{n.dump}"} if result[:status] == 200
1053
+
1054
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status = result[1]
1055
+
1056
+ </manipulate>
1057
+ </call>
1058
+ <choose>
1059
+ <alternative condition="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status.==(200))">
1060
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__pares_response">soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
1061
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids
1062
+ to = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2
1063
+
1064
+ from = data.date
1065
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
1066
+ resp.find("//film/ID").each do |id|
1067
+ ids &lt;&lt; id.text
1068
+ end
1069
+ to = from
1070
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = soap
1071
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids = ids
1072
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2 = to
1073
+ </manipulate>
1074
+ <loop pre_test="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids.length.&gt;(0))">
1075
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__get_film_id">ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids
1076
+ id = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id
1077
+
1078
+ id = ids.pop
1079
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids = ids
1080
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id = id
1081
+ </manipulate>
1082
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__Schedule" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service" oid="">
1083
+ <parameters>
1084
+ <soap_operation>Schedule</soap_operation>
1085
+ <wsdl type="symbolic">endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl</wsdl>
1086
+ <parameters>
1087
+ <FilmID>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id</FilmID>
1088
+ <dTo>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2</dTo>
1089
+ <dFrom>data.date</dFrom>
1090
+ </parameters>
1091
+ </parameters>
1092
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1093
+ result[0] = RescueHash.new_from_obj(result[0])
1094
+ end
1095
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = Array.new
1096
+ result[0].register_namespace 'tns', 'http://sitec.at/Service' if result[:status] == 200
1097
+ result[0].find('descendant::tns:ScheduleResponse').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response &lt;&lt; "#{n.dump}"} if result[:status] == 200
1098
+
1099
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status = result[1]
1100
+
1101
+ </manipulate>
1102
+ </call>
1103
+ <choose>
1104
+ <alternative condition="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status.==(200))">
1105
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__search_shows">soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
1106
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml
1107
+
1108
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
1109
+ resp.register_namespace 'tns', "http://sitec.at/Service"
1110
+ resp.find("descendant::tns:show").each do |show|
1111
+ xml &lt;&lt; show.dump
1112
+ end
1113
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = soap
1114
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml = xml
1115
+ </manipulate>
1116
+ </alternative>
1117
+ <otherwise>
1118
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__Schedule_Error">error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
1119
+
1120
+ puts "An error occured in Schedule_Error"
1121
+ puts error
1122
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = error
1123
+ </manipulate>
1124
+ </otherwise>
1125
+ </choose>
1126
+ </loop>
1127
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__generate_output">xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml
1128
+
1129
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
1130
+ xml.each do |e|
1131
+ res = XML::Smart.string(e)
1132
+ node = list.root.add("show")
1133
+ node.add("cinema_uri", "http://localhost:9290/groups/Cinemas/Soap/LugnerCityKino")
1134
+ node.add("show_id", res.find("//id").first.text)
1135
+ node.add("title", res.find("//filmname").first.text)
1136
+ node.add("date", res.find("//date").first.text)
1137
+ node.add("time", res.find("//time").first.text)
1138
+ node.add("hall", res.find("//hall").first.text)
1139
+ end
1140
+ list = list.root.dump
1141
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml = xml
1142
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//SOAP/LugnerCityKino']['list'] = list
1143
+ </manipulate>
1144
+ </alternative>
1145
+ <otherwise>
1146
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__FilmInfo_Error">error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response
1147
+
1148
+ puts "An error occured in FilmInfo_Error"
1149
+ puts '=' * 80
1150
+ puts error
1151
+ puts '=' * 80
1152
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response = error
1153
+ </manipulate>
1154
+ </otherwise>
1155
+ </choose>
1156
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino" generated="true"> endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__wsdl")
1157
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_service")
1158
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__soap_response")
1159
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__xml")
1160
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_ids")
1161
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__film_id")
1162
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__date2")
1163
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__SOAP_LugnerCityKino__status")
1164
+ </manipulate>
1165
+ </parallel_branch>
1166
+ </parallel>
1167
+ </group>
1168
+ <manipulate output="result" id="manipulate_from_use_repo_cinemas__call_find__perform_search" data="data.result_use_repo_cinemas__call_find" properties="data.result_use_repo_cinemas['properties'][&quot;call_find&quot;]">properties = data.result_use_repo_cinemas['properties']["call_find"]
1169
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1170
+ result[0] = RescueHash.new_from_obj(result[0])
1171
+ end
1172
+ data.result_use_repo_cinemas__call_find['list_shows'] = result[0].value('list')
1173
+ </manipulate>
1174
+ </group>
1175
+ <manipulate output="result" id="manipulate_from_use_repo_cinemas__call_find" data="data.result_use_repo_cinemas__call_find" properties="data.result_use_repo_cinemas['properties']">properties = data.result_use_repo_cinemas['properties']
1176
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1177
+ result[0] = RescueHash.new_from_obj(result[0])
1178
+ end
1179
+ data.use_repo_cinemas__list = result[0].value('list')
1180
+ </manipulate>
1181
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find" generated="true"> data.delete(:"result_use_repo_cinemas__call_find")
1182
+ </manipulate>
1183
+ <manipulate id="use_repo_cinemas__merge_result" oid="merge_result">list = data.use_repo_cinemas__list
1184
+ m_list = data.use_repo_cinemas__list_merge
1185
+ nos = data.use_repo_cinemas__number_of_shows
1186
+
1187
+ title = data.title
1188
+ date = data.date
1189
+ xml = XML::Smart.string("&lt;list_of_shows/&gt;")
1190
+ if list.class == Array
1191
+ list.each do |v|
1192
+ l = XML::Smart.string(v)
1193
+ xml.root.add(l.find("//show"))
1194
+ end
1195
+ elsif list.class == String
1196
+ l = XML::Smart.string(list)
1197
+ xml.root.add(l.find("//show"))
1198
+ else
1199
+ raise "Unexpected class of return-value - class: #{list.class}"
1200
+ end
1201
+ m_list = xml.root.dump
1202
+ nos = xml.root.children.length
1203
+ data.use_repo_cinemas__list = list
1204
+ data.use_repo_cinemas__list_merge = m_list
1205
+ data.use_repo_cinemas__number_of_shows = nos
1206
+ </manipulate>
1207
+ <choose>
1208
+ <alternative condition="(data.use_repo_cinemas__number_of_shows.&gt;(0))">
1209
+ <call id="use_repo_cinemas__perform_select" endpoint="select" oid="perform_select">
1210
+ <parameters>
1211
+ <templates>
1212
+ <uri>'http://localhost:9290/groups/Cinemas//operations/search_and_book/templates/perform_select'</uri>
1213
+ <name>'Select_Show'</name>
1214
+ <lang>'EN'</lang>
1215
+ </templates>
1216
+ <method>post</method>
1217
+ <info>true</info>
1218
+ <parameters>
1219
+ <data>data.use_repo_cinemas__list_merge</data>
1220
+ </parameters>
1221
+ </parameters>
1222
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1223
+ result[0] = RescueHash.new_from_obj(result[0])
1224
+ end
1225
+ data.use_repo_cinemas__show_id = result[0].value('show_id')
1226
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1227
+ result[0] = RescueHash.new_from_obj(result[0])
1228
+ end
1229
+ data.use_repo_cinemas__endpoint = result[0].value('target')
1230
+ data.result_use_repo_cinemas['status'] = result[1]
1231
+
1232
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1233
+ result[0] = RescueHash.new_from_obj(result[0])
1234
+ end
1235
+ data.result_use_repo_cinemas['movie_title'] = result[0].value('movie_title')
1236
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1237
+ result[0] = RescueHash.new_from_obj(result[0])
1238
+ end
1239
+ data.result_use_repo_cinemas['selected_date'] = result[0].value('date')
1240
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1241
+ result[0] = RescueHash.new_from_obj(result[0])
1242
+ end
1243
+ data.result_use_repo_cinemas['starting_time'] = result[0].value('starting_time')
1244
+ if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1245
+ result[0] = RescueHash.new_from_obj(result[0])
1246
+ end
1247
+ data.result_use_repo_cinemas['hall'] = result[0].value('hall')
1248
+ </manipulate>
1249
+ </call>
1250
+ <manipulate id="use_repo_cinemas__set_selected_endpoint" oid="set_selected_endpoint">ep = data.use_repo_cinemas__endpoint
1251
+ selected = endpoints.use_repo_cinemas__selected_cinema
1252
+
1253
+ selected = ep
1254
+ data.use_repo_cinemas__endpoint = ep
1255
+ endpoints.use_repo_cinemas__selected_cinema = selected
1256
+ </manipulate>
1257
+ <call id="use_repo_cinemas__call_book" endpoint="use_repo_cinemas__selected_cinema" oid="call_book">
1258
+ <parameters>
1259
+ <service>
1260
+ <serviceoperation>"book"</serviceoperation>
1261
+ <injection_handler>endpoints.injection_handler</injection_handler>
1262
+ </service>
1263
+ <parameters>
1264
+ <show_id>data.use_repo_cinemas__show_id</show_id>
1265
+ </parameters>
1266
+ </parameters>
1267
+ <manipulate output="result">if result[0].class.to_s == "Hash" # to allows access to nested Hash-Keys
1268
+ result[0] = RescueHash.new_from_obj(result[0])
1269
+ end
1270
+ data.result_use_repo_cinemas['reservation_id'] = result[0].value('reservation_number')
1271
+ </manipulate>
1272
+ </call>
1273
+ <manipulate id="use_repo_cinemas__set_status_success" oid="set_status_success">
1274
+ status = 200
1275
+ data.result_use_repo_cinemas['status'] = status
1276
+ </manipulate>
1277
+ </alternative>
1278
+ <otherwise>
1279
+ <manipulate id="use_repo_cinemas__set_status_failed" oid="set_status_failed">
1280
+ status = 404
1281
+ data.result_use_repo_cinemas['status'] = status
1282
+ </manipulate>
1283
+ </otherwise>
1284
+ </choose>
1285
+ </group>
1286
+ <manipulate output="result" id="manipulate_from_use_repo_cinemas" data="data.result_use_repo_cinemas" properties="data.result_use_repo_cinemas['properties']">properties = data.result_use_repo_cinemas['properties']
1287
+
1288
+ res = result[0]
1289
+ if res['status'] == 200
1290
+ # Computing service responses
1291
+ data.reservation_number = res['reservation_id']
1292
+ data.starting_time = res['starting_time']
1293
+ data.selected_title = res['movie_title']
1294
+ data.selected_date = res['selected_date']
1295
+ data.hall = res['hall']
1296
+ # Computing properties of executed services
1297
+ perf_book = properties['call_book']['perform_book']
1298
+ data.selected_cinema = " #{perf_book.values[0]['vendor']['name']}\n#{perf_book.values[0]['address']['street']}\n#{perf_book.values[0]['address']['zip']} #{perf_book.values[0]['address']['city']}"
1299
+ end
1300
+ </manipulate>
1301
+ <manipulate id="remove_objects_of_use_repo_cinemas" generated="true"> data.delete(:"result_use_repo_cinemas")
1302
+ data.delete(:"properties_use_repo_cinemas")
1303
+ endpoints.delete(:"use_repo_cinemas__selected_cinema")
1304
+ data.delete(:"use_repo_cinemas__show_id")
1305
+ data.delete(:"use_repo_cinemas__list")
1306
+ data.delete(:"use_repo_cinemas__res")
1307
+ data.delete(:"use_repo_cinemas__list_merge")
1308
+ data.delete(:"use_repo_cinemas__number_of_shows")
1309
+ data.delete(:"use_repo_cinemas__endpoint")
1310
+ </manipulate>
1311
+ <call id="confirm" endpoint="select">
1312
+ <parameters>
1313
+ <method>post</method>
1314
+ <info>true</info>
1315
+ <templates>
1316
+ <uri>'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl'</uri>
1317
+ <!-- uri>'http://gus.lan/input-forms/cinemas.xsl'</uri -->
1318
+ <name>'Cinemas-Output'</name>
1319
+ <lang>'EN'</lang>
1320
+ </templates>
1321
+ <parameters>
1322
+ <title>data.selected_title</title>
1323
+ <date>data.selected_date</date>
1324
+ <time>data.starting_time</time>
1325
+ <hall>data.hall</hall>
1326
+ <res_nr>data.reservation_number</res_nr>
1327
+ <cinema>data.selected_cinema</cinema>
1328
+ </parameters>
1329
+ </parameters>
1330
+ </call>
1331
+ </description>
1332
+ </description>
1333
+ <transformation>
1334
+ <!--{{{-->
1335
+ <!--}}}-->
1336
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0" version="1.0">
1337
+ <xsl:output method="text"/>
1338
+ <xsl:strip-space elements="*"/>
1339
+ <xsl:variable name="myspacemultiplier">2</xsl:variable>
1340
+ <xsl:template match="/">
1341
+ <xsl:apply-templates select="//d:description"/>
1342
+ </xsl:template>
1343
+ <xsl:template match="//d:description">
1344
+ <xsl:apply-templates>
1345
+ <xsl:with-param name="myspace">
1346
+ <xsl:value-of select="-1*$myspacemultiplier"/>
1347
+ </xsl:with-param>
1348
+ </xsl:apply-templates>
1349
+ </xsl:template>
1350
+ <xsl:template match="*">
1351
+ <xsl:param name="myspace"/>
1352
+ <xsl:call-template name="print-space">
1353
+ <xsl:with-param name="i">1</xsl:with-param>
1354
+ <xsl:with-param name="count">
1355
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1356
+ </xsl:with-param>
1357
+ </xsl:call-template>
1358
+ <xsl:if test="name()='call' or name()='manipulate'">
1359
+ <xsl:text>activity :</xsl:text>
1360
+ <xsl:value-of select="@id"/>
1361
+ </xsl:if>
1362
+ <xsl:if test="name()='call'">
1363
+ <xsl:text>, :call, :</xsl:text>
1364
+ <xsl:value-of select="@endpoint"/>
1365
+ <xsl:apply-templates select="d:parameters"/>
1366
+ <xsl:if test="@oid">
1367
+ <xsl:text>, :'call-oid' =&gt; '</xsl:text>
1368
+ <xsl:value-of select="@oid"/>
1369
+ <xsl:text>'</xsl:text>
1370
+ </xsl:if>
1371
+ <xsl:apply-templates select="d:manipulate" mode="part-of-call">
1372
+ <xsl:with-param name="myspace">
1373
+ <xsl:value-of select="$myspace"/>
1374
+ </xsl:with-param>
1375
+ </xsl:apply-templates>
1376
+ <xsl:call-template name="print-newline"/>
1377
+ </xsl:if>
1378
+ <xsl:if test="name()='manipulate'">
1379
+ <xsl:text>, :manipulate</xsl:text>
1380
+ <!-- RESCUE: manipulate with dataelement as result object -->
1381
+ <xsl:if test="@data">
1382
+ <xsl:text>, nil,</xsl:text>
1383
+ <xsl:value-of select="@data"/>
1384
+ </xsl:if>
1385
+ <!-- RESCUE -->
1386
+ <xsl:call-template name="print-content">
1387
+ <xsl:with-param name="myspace">
1388
+ <xsl:value-of select="$myspace"/>
1389
+ </xsl:with-param>
1390
+ </xsl:call-template>
1391
+ <xsl:call-template name="print-newline"/>
1392
+ </xsl:if>
1393
+ <xsl:if test="name()='parallel'">
1394
+ <xsl:text>parallel</xsl:text>
1395
+ <xsl:if test="@wait">
1396
+ <xsl:text> :wait =&gt; </xsl:text>
1397
+ <xsl:value-of select="@wait"/>
1398
+ </xsl:if>
1399
+ <xsl:text> do</xsl:text>
1400
+ <xsl:call-template name="print-newline"/>
1401
+ <xsl:apply-templates>
1402
+ <xsl:with-param name="myspace">
1403
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1404
+ </xsl:with-param>
1405
+ </xsl:apply-templates>
1406
+ <xsl:call-template name="print-space">
1407
+ <xsl:with-param name="i">1</xsl:with-param>
1408
+ <xsl:with-param name="count">
1409
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1410
+ </xsl:with-param>
1411
+ </xsl:call-template>
1412
+ <xsl:text>end</xsl:text>
1413
+ <xsl:call-template name="print-newline"/>
1414
+ </xsl:if>
1415
+ <xsl:if test="name()='loop'">
1416
+ <xsl:text>loop </xsl:text>
1417
+ <xsl:if test="@pre_test">
1418
+ <xsl:text>pre_test{</xsl:text>
1419
+ <xsl:value-of select="@pre_test"/>
1420
+ <xsl:text>} </xsl:text>
1421
+ </xsl:if>
1422
+ <xsl:if test="@post_test">
1423
+ <xsl:text>post_test{</xsl:text>
1424
+ <xsl:value-of select="@post_test"/>
1425
+ <xsl:text>} </xsl:text>
1426
+ </xsl:if>
1427
+ <xsl:text>do</xsl:text>
1428
+ <xsl:call-template name="print-newline"/>
1429
+ <xsl:apply-templates>
1430
+ <xsl:with-param name="myspace">
1431
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1432
+ </xsl:with-param>
1433
+ </xsl:apply-templates>
1434
+ <xsl:call-template name="print-space">
1435
+ <xsl:with-param name="i">1</xsl:with-param>
1436
+ <xsl:with-param name="count">
1437
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1438
+ </xsl:with-param>
1439
+ </xsl:call-template>
1440
+ <xsl:text>end</xsl:text>
1441
+ <xsl:call-template name="print-newline"/>
1442
+ </xsl:if>
1443
+ <xsl:if test="name()='choose'">
1444
+ <xsl:text>choose do</xsl:text>
1445
+ <xsl:call-template name="print-newline"/>
1446
+ <xsl:apply-templates>
1447
+ <xsl:with-param name="myspace">
1448
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1449
+ </xsl:with-param>
1450
+ </xsl:apply-templates>
1451
+ <xsl:call-template name="print-space">
1452
+ <xsl:with-param name="i">1</xsl:with-param>
1453
+ <xsl:with-param name="count">
1454
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1455
+ </xsl:with-param>
1456
+ </xsl:call-template>
1457
+ <xsl:text>end</xsl:text>
1458
+ <xsl:call-template name="print-newline"/>
1459
+ </xsl:if>
1460
+ <xsl:if test="name()='group'">
1461
+ <xsl:apply-templates>
1462
+ <xsl:with-param name="myspace">
1463
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1464
+ </xsl:with-param>
1465
+ </xsl:apply-templates>
1466
+ <xsl:call-template name="print-newline"/>
1467
+ </xsl:if>
1468
+ <xsl:if test="name()='critical'">
1469
+ <xsl:text>critical :</xsl:text>
1470
+ <xsl:value-of select="@sid"/>
1471
+ <xsl:text> do</xsl:text>
1472
+ <xsl:call-template name="print-newline"/>
1473
+ <xsl:apply-templates>
1474
+ <xsl:with-param name="myspace">
1475
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1476
+ </xsl:with-param>
1477
+ </xsl:apply-templates>
1478
+ <xsl:call-template name="print-space">
1479
+ <xsl:with-param name="i">1</xsl:with-param>
1480
+ <xsl:with-param name="count">
1481
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1482
+ </xsl:with-param>
1483
+ </xsl:call-template>
1484
+ <xsl:text>end</xsl:text>
1485
+ <xsl:call-template name="print-newline"/>
1486
+ </xsl:if>
1487
+ </xsl:template>
1488
+ <xsl:template match="d:alternative">
1489
+ <xsl:param name="myspace"/>
1490
+ <xsl:call-template name="print-space">
1491
+ <xsl:with-param name="i">1</xsl:with-param>
1492
+ <xsl:with-param name="count">
1493
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1494
+ </xsl:with-param>
1495
+ </xsl:call-template>
1496
+ <xsl:text>alternative </xsl:text>
1497
+ <xsl:value-of select="@condition"/>
1498
+ <xsl:text> do</xsl:text>
1499
+ <xsl:call-template name="print-newline"/>
1500
+ <xsl:apply-templates>
1501
+ <xsl:with-param name="myspace">
1502
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1503
+ </xsl:with-param>
1504
+ </xsl:apply-templates>
1505
+ <xsl:call-template name="print-space">
1506
+ <xsl:with-param name="i">1</xsl:with-param>
1507
+ <xsl:with-param name="count">
1508
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1509
+ </xsl:with-param>
1510
+ </xsl:call-template>
1511
+ <xsl:text>end</xsl:text>
1512
+ <xsl:call-template name="print-newline"/>
1513
+ </xsl:template>
1514
+ <xsl:template match="d:otherwise">
1515
+ <xsl:param name="myspace"/>
1516
+ <xsl:call-template name="print-space">
1517
+ <xsl:with-param name="i">1</xsl:with-param>
1518
+ <xsl:with-param name="count">
1519
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1520
+ </xsl:with-param>
1521
+ </xsl:call-template>
1522
+ <xsl:text>otherwise do</xsl:text>
1523
+ <xsl:call-template name="print-newline"/>
1524
+ <xsl:apply-templates>
1525
+ <xsl:with-param name="myspace">
1526
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1527
+ </xsl:with-param>
1528
+ </xsl:apply-templates>
1529
+ <xsl:call-template name="print-space">
1530
+ <xsl:with-param name="i">1</xsl:with-param>
1531
+ <xsl:with-param name="count">
1532
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1533
+ </xsl:with-param>
1534
+ </xsl:call-template>
1535
+ <xsl:text>end</xsl:text>
1536
+ <xsl:call-template name="print-newline"/>
1537
+ </xsl:template>
1538
+ <xsl:template match="d:parallel_branch">
1539
+ <xsl:param name="myspace"/>
1540
+ <xsl:call-template name="print-space">
1541
+ <xsl:with-param name="i">1</xsl:with-param>
1542
+ <xsl:with-param name="count">
1543
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1544
+ </xsl:with-param>
1545
+ </xsl:call-template>
1546
+ <xsl:text>parallel_branch</xsl:text>
1547
+ <xsl:if test="@pass">
1548
+ <xsl:text> </xsl:text>
1549
+ <xsl:value-of select="@pass"/>
1550
+ </xsl:if>
1551
+ <xsl:text> do</xsl:text>
1552
+ <xsl:if test="@local">
1553
+ <xsl:text> |</xsl:text>
1554
+ <xsl:value-of select="@local"/>
1555
+ <xsl:text>|</xsl:text>
1556
+ </xsl:if>
1557
+ <xsl:call-template name="print-newline"/>
1558
+ <xsl:apply-templates>
1559
+ <xsl:with-param name="myspace">
1560
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1561
+ </xsl:with-param>
1562
+ </xsl:apply-templates>
1563
+ <xsl:call-template name="print-space">
1564
+ <xsl:with-param name="i">1</xsl:with-param>
1565
+ <xsl:with-param name="count">
1566
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1567
+ </xsl:with-param>
1568
+ </xsl:call-template>
1569
+ <xsl:text>end</xsl:text>
1570
+ <xsl:call-template name="print-newline"/>
1571
+ </xsl:template>
1572
+ <xsl:template match="d:parameters">
1573
+ <xsl:apply-templates select="d:*" mode="parameter"/>
1574
+ </xsl:template>
1575
+ <xsl:template match="d:*" mode="parameter">
1576
+ <xsl:text>, :</xsl:text>
1577
+ <xsl:value-of select="name()"/>
1578
+ <xsl:text> =&gt; </xsl:text>
1579
+ <xsl:choose>
1580
+ <xsl:when test="count(*) &gt; 0">
1581
+ <xsl:text>[</xsl:text>
1582
+ <xsl:apply-templates select="d:*" mode="sub-parameter"/>
1583
+ <xsl:text>]</xsl:text>
1584
+ </xsl:when>
1585
+ <xsl:otherwise>
1586
+ <xsl:choose>
1587
+ <xsl:when test="@type = 'symbolic'">
1588
+ <xsl:value-of select="text()"/>
1589
+ </xsl:when>
1590
+ <xsl:otherwise>
1591
+ <xsl:text>"</xsl:text>
1592
+ <xsl:value-of select="text()"/>
1593
+ <xsl:text>"</xsl:text>
1594
+ </xsl:otherwise>
1595
+ </xsl:choose>
1596
+ </xsl:otherwise>
1597
+ </xsl:choose>
1598
+ </xsl:template>
1599
+ <xsl:template match="d:*" mode="sub-parameter">
1600
+ <xsl:text> { :</xsl:text>
1601
+ <xsl:value-of select="name()"/>
1602
+ <xsl:text> =&gt; </xsl:text>
1603
+ <xsl:value-of select="text()"/>
1604
+ <xsl:text> }</xsl:text>
1605
+ <xsl:choose>
1606
+ <xsl:when test="generate-id(.) = generate-id(../*[last()])">
1607
+ <xsl:text> </xsl:text>
1608
+ </xsl:when>
1609
+ <xsl:otherwise>
1610
+ <xsl:text>,</xsl:text>
1611
+ </xsl:otherwise>
1612
+ </xsl:choose>
1613
+ </xsl:template>
1614
+ <xsl:template match="d:manipulate" mode="part-of-call">
1615
+ <xsl:param name="myspace"/>
1616
+ <xsl:call-template name="print-content">
1617
+ <xsl:with-param name="myspace">
1618
+ <xsl:value-of select="$myspace"/>
1619
+ </xsl:with-param>
1620
+ </xsl:call-template>
1621
+ </xsl:template>
1622
+ <xsl:template name="print-content">
1623
+ <xsl:param name="myspace"/>
1624
+ <xsl:if test="text()">
1625
+ <xsl:text> do </xsl:text>
1626
+ <xsl:if test="@output">
1627
+ <xsl:text>|</xsl:text>
1628
+ <xsl:value-of select="@output"/>
1629
+ <xsl:text>|</xsl:text>
1630
+ </xsl:if>
1631
+ <xsl:call-template name="print-newline"/>
1632
+ <xsl:value-of select="text()"/>
1633
+ <xsl:call-template name="print-newline"/>
1634
+ <xsl:call-template name="print-space">
1635
+ <xsl:with-param name="i">1</xsl:with-param>
1636
+ <xsl:with-param name="count">
1637
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1638
+ </xsl:with-param>
1639
+ </xsl:call-template>
1640
+ <xsl:text>end</xsl:text>
1641
+ </xsl:if>
1642
+ </xsl:template>
1643
+ <xsl:template name="print-space">
1644
+ <xsl:param name="i"/>
1645
+ <xsl:param name="count"/>
1646
+ <xsl:if test="$i &lt;= $count">
1647
+ <xsl:text> </xsl:text>
1648
+ <xsl:call-template name="print-space">
1649
+ <xsl:with-param name="i">
1650
+ <xsl:value-of select="$i + 1"/>
1651
+ </xsl:with-param>
1652
+ <xsl:with-param name="count">
1653
+ <xsl:value-of select="$count"/>
1654
+ </xsl:with-param>
1655
+ </xsl:call-template>
1656
+ </xsl:if>
1657
+ </xsl:template>
1658
+ <xsl:template name="print-newline">
1659
+ <xsl:text>
1660
+ </xsl:text>
1661
+ </xsl:template>
1662
+ </xsl:stylesheet>
1663
+ </transformation>
1664
+ </properties>