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,1952 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <name>RESCUE - Book Movie - Local</name>
3
+ <state>stopped</state>
4
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
+ <positions>
6
+ <use_repo_cinemas__call_find__perform_search>after</use_repo_cinemas__call_find__perform_search>
7
+ </positions>
8
+ <dataelements>
9
+ <title>"Hobbit"</title>
10
+ <date>"2013-01-16"</date>
11
+ <starting_time>""</starting_time>
12
+ <selected_title>""</selected_title>
13
+ <selected_date>null</selected_date>
14
+ <hall>null</hall>
15
+ <zip>1100</zip>
16
+ <selected_cinema>null</selected_cinema>
17
+ <city>"Vienna"</city>
18
+ <reservation_number>null</reservation_number>
19
+ <result_use_repo_cinemas>{"properties":{"call_find":{"perform_search":{}},"call_book":{}}}</result_use_repo_cinemas>
20
+ <use_repo_cinemas__show_id>""</use_repo_cinemas__show_id>
21
+ <use_repo_cinemas__list>""</use_repo_cinemas__list>
22
+ <use_repo_cinemas__res>""</use_repo_cinemas__res>
23
+ <use_repo_cinemas__list_merge>""</use_repo_cinemas__list_merge>
24
+ <use_repo_cinemas__number_of_shows>""</use_repo_cinemas__number_of_shows>
25
+ <use_repo_cinemas__endpoint>""</use_repo_cinemas__endpoint>
26
+ <result_use_repo_cinemas__call_find>{}</result_use_repo_cinemas__call_find>
27
+ </dataelements>
28
+ <endpoints>
29
+ <services>http://localhost:9290/groups/Cinemas/</services>
30
+ <injection_handler>http://localhost:9291/</injection_handler>
31
+ <select>http://localhost:9293/pgwl</select>
32
+ <use_repo_cinemas__selected_cinema/>
33
+ </endpoints>
34
+ <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|
35
+
36
+ data.title = result.data.value('title')
37
+ data.date = result.data.value('date')
38
+ data.city = result.data.value('city')
39
+
40
+ end
41
+ 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 } ]
42
+ activity :create_objects_for_use_repo_cinemas, :manipulate do
43
+ data.result_use_repo_cinemas = RescueHash.new
44
+ data.result_use_repo_cinemas['properties'] = RescueHash.new
45
+ data.result_use_repo_cinemas['properties']["call_find"] = RescueHash.new
46
+ data.result_use_repo_cinemas['properties']["call_book"] = RescueHash.new
47
+ endpoints.use_repo_cinemas__selected_cinema = ""
48
+ data.use_repo_cinemas__show_id = ''
49
+ data.use_repo_cinemas__list = ''
50
+ data.use_repo_cinemas__res = ''
51
+ data.use_repo_cinemas__list_merge = ''
52
+ data.use_repo_cinemas__number_of_shows = ''
53
+ data.use_repo_cinemas__endpoint = ''
54
+
55
+ end
56
+ 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'
57
+ activity :create_objects_for_use_repo_cinemas__call_find, :manipulate do
58
+ data.result_use_repo_cinemas__call_find = RescueHash.new
59
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"] = RescueHash.new
60
+
61
+ end
62
+ 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'
63
+ parallel do
64
+ parallel_branch do
65
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_Apollo, :manipulate do
66
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
67
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
68
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = ''
69
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = ''
70
+ # Filling the properties-object of the service
71
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
72
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"] = RescueHash.new
73
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["street"] = "Gumpendorferstraße 63"
74
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["zip"] = "1060"
75
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["city"] = "Vienna"
76
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["state"] = "Austria"
77
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"] = RescueHash.new
78
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["name"] = "Apollo - Das Kino Wien"
79
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["phone"] = "+43-1-5879651"
80
+ 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"
81
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["mail"] = "village.apollo@villagekinos.at"
82
+
83
+ end
84
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__preparations, :manipulate do
85
+ datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum
86
+
87
+ d = data.date
88
+ date = Time.parse(d)
89
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
90
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = datum
91
+
92
+ end
93
+ 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|
94
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
95
+ if result[0].class.to_s == "Hash"
96
+ result[0] = RescueHash.new_from_obj(result[0])
97
+ end
98
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = result[0].value('').read
99
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['status'] = result[1]
100
+
101
+
102
+ end
103
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__parse_programm, :manipulate do
104
+ response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response
105
+
106
+ date = data.date
107
+ title = data.title
108
+ date = Date.parse(date)
109
+ str = CGI::unescapeHTML(response)
110
+ str.gsub!('&amp;','--amp--')
111
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
112
+ offset = str.index("value=\"", offset)
113
+ d = str[offset+7..offset+16]
114
+
115
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
116
+ count = 1
117
+ offset = 0
118
+ while (count != 0) do
119
+ offset = str.index("div", offset+1)
120
+ count = count+1 if str[offset-1].chr == "&lt;"
121
+ count = count-1 if str[offset-1].chr == "/"
122
+ end
123
+ str = str[0..offset-3]
124
+ resp = XML::Smart.string(str)
125
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
126
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
127
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
128
+ show_date = Date.parse(d)
129
+ if show_date.eql?(date)
130
+ b.find("child::tr/td[3]/div/table").each do |show|
131
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
132
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
133
+ show = list.root.add("show")
134
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/Apollo")
135
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
136
+ show.add("title", show_title)
137
+ show.add("date", show_date.to_s)
138
+ show.add("time", s.text)
139
+ show.add("hall", show_hall)
140
+ end
141
+ end
142
+ end
143
+ end
144
+ list = list.root.dump
145
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = response
146
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['list'] = list
147
+
148
+ end
149
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_Apollo, :manipulate do
150
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service")
151
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response")
152
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum")
153
+
154
+ end
155
+ end
156
+ parallel_branch do
157
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_AugeGottes, :manipulate do
158
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
159
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
160
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = ''
161
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = ''
162
+ # Filling the properties-object of the service
163
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
164
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"] = RescueHash.new
165
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["street"] = "Nußdorfer Straße 73"
166
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["zip"] = "1090"
167
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["city"] = "Vienna"
168
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["state"] = "Austria"
169
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"] = RescueHash.new
170
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["name"] = "Das Auge Gottes Center Wien"
171
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["phone"] = "+43-1-3176344"
172
+ 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"
173
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["mail"] = "village.wienmitte@villagekinos.at"
174
+
175
+ end
176
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__preparations, :manipulate do
177
+ datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum
178
+
179
+ d = data.date
180
+ date = Time.parse(d)
181
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
182
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = datum
183
+
184
+ end
185
+ 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|
186
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
187
+ if result[0].class.to_s == "Hash"
188
+ result[0] = RescueHash.new_from_obj(result[0])
189
+ end
190
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = result[0].value('').read
191
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['status'] = result[1]
192
+
193
+
194
+ end
195
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__parse_programm, :manipulate do
196
+ response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response
197
+
198
+ date = data.date
199
+ title = data.title
200
+ date = Date.parse(date)
201
+ str = CGI::unescapeHTML(response)
202
+ str.gsub!('&amp;','--amp--')
203
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
204
+ offset = str.index("value=\"", offset)
205
+ d = str[offset+7..offset+16]
206
+
207
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
208
+ count = 1
209
+ offset = 0
210
+ while (count != 0) do
211
+ offset = str.index("div", offset+1)
212
+ count = count+1 if str[offset-1].chr == "&lt;"
213
+ count = count-1 if str[offset-1].chr == "/"
214
+ end
215
+ str = str[0..offset-3]
216
+ resp = XML::Smart.string(str)
217
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
218
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
219
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
220
+ show_date = Date.parse(d)
221
+ if show_date.eql?(date)
222
+ b.find("child::tr/td[3]/div/table").each do |show|
223
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
224
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
225
+ show = list.root.add("show")
226
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/AugeGottes")
227
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
228
+ show.add("title", show_title)
229
+ show.add("date", show_date.to_s)
230
+ show.add("time", s.text)
231
+ show.add("hall", show_hall)
232
+ end
233
+ end
234
+ end
235
+ end
236
+ list = list.root.dump
237
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = response
238
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['list'] = list
239
+
240
+ end
241
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_AugeGottes, :manipulate do
242
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service")
243
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response")
244
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum")
245
+
246
+ end
247
+ end
248
+ parallel_branch do
249
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_DonauPlexx, :manipulate do
250
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
251
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
252
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = ''
253
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = ''
254
+ # Filling the properties-object of the service
255
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
256
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"] = RescueHash.new
257
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["street"] = "Wagramerstraße 79"
258
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["zip"] = "1220"
259
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["city"] = "Vienna"
260
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["state"] = "Austria"
261
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"] = RescueHash.new
262
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["name"] = "Cineplexx Doanuplex"
263
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["phone"] = "+43-1-2033322"
264
+ 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"
265
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["mail"] = "village.donauplex@villagekinos.at"
266
+
267
+ end
268
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__preparations, :manipulate do
269
+ datum = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum
270
+
271
+ d = data.date
272
+ date = Time.parse(d)
273
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
274
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = datum
275
+
276
+ end
277
+ 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|
278
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
279
+ if result[0].class.to_s == "Hash"
280
+ result[0] = RescueHash.new_from_obj(result[0])
281
+ end
282
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = result[0].value('').read
283
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['status'] = result[1]
284
+
285
+
286
+ end
287
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__parse_programm, :manipulate do
288
+ response = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response
289
+
290
+ date = data.date
291
+ title = data.title
292
+ date = Date.parse(date)
293
+ str = CGI::unescapeHTML(response)
294
+ str.gsub!('&amp;','--amp--')
295
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
296
+ offset = str.index("value=\"", offset)
297
+ d = str[offset+7..offset+16]
298
+
299
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
300
+ count = 1
301
+ offset = 0
302
+ while (count != 0) do
303
+ offset = str.index("div", offset+1)
304
+ count = count+1 if str[offset-1].chr == "&lt;"
305
+ count = count-1 if str[offset-1].chr == "/"
306
+ end
307
+ str = str[0..offset-3]
308
+ resp = XML::Smart.string(str)
309
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
310
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
311
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
312
+ show_date = Date.parse(d)
313
+ if show_date.eql?(date)
314
+ b.find("child::tr/td[3]/div/table").each do |show|
315
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
316
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
317
+ show = list.root.add("show")
318
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/DonauPlexx")
319
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
320
+ show.add("title", show_title)
321
+ show.add("date", show_date.to_s)
322
+ show.add("time", s.text)
323
+ show.add("hall", show_hall)
324
+ end
325
+ end
326
+ end
327
+ end
328
+ list = list.root.dump
329
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = response
330
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['list'] = list
331
+
332
+ end
333
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__REST_DonauPlexx, :manipulate do
334
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service")
335
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response")
336
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum")
337
+
338
+ end
339
+ end
340
+ parallel_branch do
341
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino, :manipulate do
342
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"] = RescueHash.new
343
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__wsdl = "http://tickets.lugnerkinocity.at/sinema/service.asmx?WSDL"
344
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_service = "http://tickets.lugnerkinocity.at/sinema/service.asmx"
345
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = ''
346
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml = Array.new
347
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids = Array.new
348
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id = ''
349
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2 = ''
350
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status = ''
351
+ # Filling the properties-object of the service
352
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"] = RescueHash.new
353
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"] = RescueHash.new
354
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["street"] = "Gablenzgasse 1-3"
355
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["zip"] = "1150"
356
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["city"] = "Vienna"
357
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["state"] = "Austria"
358
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"] = RescueHash.new
359
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["name"] = "Lugner City Kino"
360
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["phone"] = "+43-0810-584637"
361
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["url"] = "http://www.lugnerkinocity.at/"
362
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["mail"] = "office@lugnerkinocity.at"
363
+
364
+ end
365
+ 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|
366
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
367
+ if result[0].class.to_s == "Hash"
368
+ result[0] = RescueHash.new_from_obj(result[0])
369
+ end
370
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = Array.new
371
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'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}"}
372
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status = result[1]
373
+
374
+
375
+ end
376
+ choose do
377
+ alternative (data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status.==(200)) do
378
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__pares_response, :manipulate do
379
+ soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response
380
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids
381
+ to = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2
382
+
383
+ from = data.date
384
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
385
+ resp.find("//film/ID").each do |id|
386
+ ids &lt;&lt; id.text
387
+ end
388
+ to = from
389
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = soap
390
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids = ids
391
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2 = to
392
+
393
+ end
394
+ loop pre_test{(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids.length.&gt;(0))} do
395
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__get_film_id, :manipulate do
396
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids
397
+ id = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id
398
+
399
+ id = ids.pop
400
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids = ids
401
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id = id
402
+
403
+ end
404
+ 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|
405
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
406
+ if result[0].class.to_s == "Hash"
407
+ result[0] = RescueHash.new_from_obj(result[0])
408
+ end
409
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = Array.new
410
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'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}"}
411
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status = result[1]
412
+
413
+
414
+ end
415
+ choose do
416
+ alternative (data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status.==(200)) do
417
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__search_shows, :manipulate do
418
+ soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response
419
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml
420
+
421
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
422
+ resp.register_namespace 'tns', "http://sitec.at/Service"
423
+ resp.find("descendant::tns:show").each do |show|
424
+ xml &lt;&lt; show.dump
425
+ end
426
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = soap
427
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml = xml
428
+
429
+ end
430
+ end
431
+ otherwise do
432
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__Schedule_Error, :manipulate do
433
+ error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response
434
+
435
+ puts "An error occured in Schedule_Error"
436
+ puts error
437
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = error
438
+
439
+ end
440
+ end
441
+ end
442
+ end
443
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__generate_output, :manipulate do
444
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml
445
+
446
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
447
+ xml.each do |e|
448
+ res = XML::Smart.string(e)
449
+ node = list.root.add("show")
450
+ node.add("cinema_uri", "http://localhost:9290/groups/Cinemas/Soap/LugnerCityKino")
451
+ node.add("show_id", res.find("//id").first.text)
452
+ node.add("title", res.find("//filmname").first.text)
453
+ node.add("date", res.find("//date").first.text)
454
+ node.add("time", res.find("//time").first.text)
455
+ node.add("hall", res.find("//hall").first.text)
456
+ end
457
+ list = list.root.dump
458
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml = xml
459
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino']['list'] = list
460
+
461
+ end
462
+ end
463
+ otherwise do
464
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__FilmInfo_Error, :manipulate do
465
+ error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response
466
+
467
+ puts "An eror occured in FilmInfo_Error"
468
+ puts error
469
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = error
470
+
471
+ end
472
+ end
473
+ end
474
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino, :manipulate do
475
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__wsdl")
476
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_service")
477
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response")
478
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml")
479
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids")
480
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id")
481
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2")
482
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status")
483
+
484
+ end
485
+ end
486
+ parallel_branch do
487
+ activity :create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__Soap_SCNHollywood, :manipulate do
488
+ data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"] = RescueHash.new
489
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl = "http://scn.hollywood-megaplex.at/sinemaweb/service.asmx?WSDL"
490
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service = "http://scn.hollywood-megaplex.at/sinemaweb/service.asmx"
491
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = ''
492
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml = Array.new
493
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids = Array.new
494
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id = ''
495
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2 = ''
496
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status = ''
497
+ # Filling the properties-object of the service
498
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"] = RescueHash.new
499
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"] = RescueHash.new
500
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["street"] = "Ignaz Köck-Straße 1"
501
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["zip"] = "1210"
502
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["city"] = "Vienna"
503
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["state"] = "Austria"
504
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"] = RescueHash.new
505
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["name"] = "SCN HollywoodMegaplex"
506
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["phone"] = "+43-1-27166790"
507
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["url"] = "http://www.hollywood-megaplex.at/scn/index.html"
508
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["mail"] = "office@hollywood-megaplex.at"
509
+
510
+ end
511
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__FilmInfo, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service, :soap_operation =&gt; "FilmInfo", :wsdl =&gt; endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl, :parameters =&gt; [ { :SearchItem =&gt; data.title } ], :'call-oid' =&gt; '' do |result|
512
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
513
+ if result[0].class.to_s == "Hash"
514
+ result[0] = RescueHash.new_from_obj(result[0])
515
+ end
516
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = Array.new
517
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'result[0].find('descendant::tns:FilmInfoResult').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response &lt;&lt; "#{n.dump}"}
518
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status = result[1]
519
+
520
+
521
+ end
522
+ choose do
523
+ alternative (data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status.==(200)) do
524
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__pares_response, :manipulate do
525
+ soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
526
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids
527
+ to = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2
528
+
529
+ from = data.date
530
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
531
+ resp.find("//film/ID").each do |id|
532
+ ids &lt;&lt; id.text
533
+ end
534
+ to = from
535
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = soap
536
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids = ids
537
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2 = to
538
+
539
+ end
540
+ loop pre_test{(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids.length.&gt;(0))} do
541
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__get_film_id, :manipulate do
542
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids
543
+ id = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id
544
+
545
+ id = ids.pop
546
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids = ids
547
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id = id
548
+
549
+ end
550
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__Schedule, :call, :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service, :soap_operation =&gt; "Schedule", :wsdl =&gt; endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl, :parameters =&gt; [ { :FilmID =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id }, { :dTo =&gt; data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2 }, { :dFrom =&gt; data.date } ], :'call-oid' =&gt; '' do |result|
551
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
552
+ if result[0].class.to_s == "Hash"
553
+ result[0] = RescueHash.new_from_obj(result[0])
554
+ end
555
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = Array.new
556
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'result[0].find('descendant::tns:ScheduleResponse').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response &lt;&lt; "#{n.dump}"}
557
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status = result[1]
558
+
559
+
560
+ end
561
+ choose do
562
+ alternative (data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status.==(200)) do
563
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__search_shows, :manipulate do
564
+ soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
565
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml
566
+
567
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
568
+ resp.register_namespace 'tns', "http://sitec.at/Service"
569
+ resp.find("descendant::tns:show").each do |show|
570
+ xml &lt;&lt; show.dump
571
+ end
572
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = soap
573
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml = xml
574
+
575
+ end
576
+ end
577
+ otherwise do
578
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__Schedule_Error, :manipulate do
579
+ error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
580
+
581
+ puts "An error occured in Schedule_Error"
582
+ puts error
583
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = error
584
+
585
+ end
586
+ end
587
+ end
588
+ end
589
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__generate_output, :manipulate do
590
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml
591
+
592
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
593
+ xml.each do |e|
594
+ res = XML::Smart.string(e)
595
+ node = list.root.add("show")
596
+ node.add("cinema_uri", "http://localhost:9290/groups/Cinemas/Soap/SCNHollywood")
597
+ node.add("show_id", res.find("//id").first.text)
598
+ node.add("title", res.find("//filmname").first.text)
599
+ node.add("date", res.find("//date").first.text)
600
+ node.add("time", res.find("//time").first.text)
601
+ node.add("hall", res.find("//hall").first.text)
602
+ end
603
+ list = list.root.dump
604
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml = xml
605
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//Soap/SCNHollywood']['list'] = list
606
+
607
+ end
608
+ end
609
+ otherwise do
610
+ activity :use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__FilmInfo_Error, :manipulate do
611
+ error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
612
+
613
+ puts "An eror occured in FilmInfo_Error"
614
+ puts error
615
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = error
616
+
617
+ end
618
+ end
619
+ end
620
+ activity :remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__Soap_SCNHollywood, :manipulate do
621
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl")
622
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service")
623
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response")
624
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml")
625
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids")
626
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id")
627
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2")
628
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status")
629
+
630
+ end
631
+ end
632
+ end
633
+
634
+ activity :manipulate_from_use_repo_cinemas__call_find__perform_search, :manipulate, nil,data.result_use_repo_cinemas__call_find do |result|
635
+ properties = data.result_use_repo_cinemas['properties']["call_find"]
636
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
637
+ if result[0].class.to_s == "Hash"
638
+ result[0] = RescueHash.new_from_obj(result[0])
639
+ end
640
+ data.result_use_repo_cinemas__call_find['list_shows'] = result[0].value('list')
641
+
642
+ end
643
+
644
+ activity :manipulate_from_use_repo_cinemas__call_find, :manipulate, nil,data.result_use_repo_cinemas__call_find do |result|
645
+ properties = data.result_use_repo_cinemas['properties']
646
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
647
+ if result[0].class.to_s == "Hash"
648
+ result[0] = RescueHash.new_from_obj(result[0])
649
+ end
650
+ data.use_repo_cinemas__list = result[0].value('list')
651
+
652
+ end
653
+ activity :remove_objects_of_use_repo_cinemas__call_find, :manipulate do
654
+ data.delete(:"result_use_repo_cinemas__call_find")
655
+
656
+ end
657
+ activity :use_repo_cinemas__merge_result, :manipulate do
658
+ list = data.use_repo_cinemas__list
659
+ m_list = data.use_repo_cinemas__list_merge
660
+ nos = data.use_repo_cinemas__number_of_shows
661
+
662
+ title = data.title
663
+ date = data.date
664
+ xml = XML::Smart.string("&lt;list_of_shows/&gt;")
665
+ if list.class == Array
666
+ list.each do |v|
667
+ l = XML::Smart.string(v)
668
+ xml.root.add(l.find("//show"))
669
+ end
670
+ elsif list.class == String
671
+ l = XML::Smart.string(list)
672
+ xml.root.add(l.find("//show"))
673
+ else
674
+ raise "Unexpected class of return-value - class: #{list.class}"
675
+ end
676
+ m_list = xml.root.dump
677
+ nos = xml.root.children.length
678
+ data.use_repo_cinemas__list = list
679
+ data.use_repo_cinemas__list_merge = m_list
680
+ data.use_repo_cinemas__number_of_shows = nos
681
+
682
+ end
683
+ choose do
684
+ alternative (data.use_repo_cinemas__number_of_shows.&gt;(0)) do
685
+ 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|
686
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
687
+ if result[0].class.to_s == "Hash"
688
+ result[0] = RescueHash.new_from_obj(result[0])
689
+ end
690
+ data.use_repo_cinemas__show_id = result[0].value('show_id')
691
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
692
+ if result[0].class.to_s == "Hash"
693
+ result[0] = RescueHash.new_from_obj(result[0])
694
+ end
695
+ data.use_repo_cinemas__endpoint = result[0].value('target')
696
+ data.result_use_repo_cinemas['status'] = result[1]
697
+
698
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
699
+ if result[0].class.to_s == "Hash"
700
+ result[0] = RescueHash.new_from_obj(result[0])
701
+ end
702
+ data.result_use_repo_cinemas['movie_title'] = result[0].value('movie_title')
703
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
704
+ if result[0].class.to_s == "Hash"
705
+ result[0] = RescueHash.new_from_obj(result[0])
706
+ end
707
+ data.result_use_repo_cinemas['selected_date'] = result[0].value('date')
708
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
709
+ if result[0].class.to_s == "Hash"
710
+ result[0] = RescueHash.new_from_obj(result[0])
711
+ end
712
+ data.result_use_repo_cinemas['starting_time'] = result[0].value('starting_time')
713
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
714
+ if result[0].class.to_s == "Hash"
715
+ result[0] = RescueHash.new_from_obj(result[0])
716
+ end
717
+ data.result_use_repo_cinemas['hall'] = result[0].value('hall')
718
+
719
+ end
720
+ activity :use_repo_cinemas__set_selected_endpoint, :manipulate do
721
+ ep = data.use_repo_cinemas__endpoint
722
+ selected = endpoints.use_repo_cinemas__selected_cinema
723
+
724
+ selected = ep
725
+ data.use_repo_cinemas__endpoint = ep
726
+ endpoints.use_repo_cinemas__selected_cinema = selected
727
+
728
+ end
729
+ 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|
730
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
731
+ if result[0].class.to_s == "Hash"
732
+ result[0] = RescueHash.new_from_obj(result[0])
733
+ end
734
+ data.result_use_repo_cinemas['reservation_id'] = result[0].value('reservation_number')
735
+
736
+ end
737
+ activity :use_repo_cinemas__set_status_success, :manipulate do
738
+
739
+ status = 200
740
+ data.result_use_repo_cinemas['status'] = status
741
+
742
+ end
743
+ end
744
+ otherwise do
745
+ activity :use_repo_cinemas__set_status_failed, :manipulate do
746
+
747
+ status = 404
748
+ data.result_use_repo_cinemas['status'] = status
749
+
750
+ end
751
+ end
752
+ end
753
+
754
+ activity :manipulate_from_use_repo_cinemas, :manipulate, nil,data.result_use_repo_cinemas do |result|
755
+ properties = data.result_use_repo_cinemas['properties']
756
+
757
+ res = result[0]
758
+ if res['status'] == 200
759
+ # Computing service responses
760
+ data.reservation_number = res['reservation_id']
761
+ data.starting_time = res['starting_time']
762
+ data.selected_title = res['movie_title']
763
+ data.selected_date = res['selected_date']
764
+ data.hall = res['hall']
765
+ # Computing properties of executed services
766
+ perf_book = properties['call_book']['perform_book']
767
+ 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']}"
768
+ end
769
+
770
+ end
771
+ activity :remove_objects_of_use_repo_cinemas, :manipulate do
772
+ data.delete(:"result_use_repo_cinemas")
773
+ data.delete(:"properties_use_repo_cinemas")
774
+ endpoints.delete(:"use_repo_cinemas__selected_cinema")
775
+ data.delete(:"use_repo_cinemas__show_id")
776
+ data.delete(:"use_repo_cinemas__list")
777
+ data.delete(:"use_repo_cinemas__res")
778
+ data.delete(:"use_repo_cinemas__list_merge")
779
+ data.delete(:"use_repo_cinemas__number_of_shows")
780
+ data.delete(:"use_repo_cinemas__endpoint")
781
+
782
+ end
783
+ 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 } ]
784
+ </dsl>
785
+ <status>
786
+ <id>0</id>
787
+ <message>undefined</message>
788
+ </status>
789
+ <description>
790
+ <description xmlns="http://cpee.org/ns/description/1.0">
791
+ <call id="collect_input" endpoint="select">
792
+ <parameters>
793
+ <method>post</method>
794
+ <info>true</info>
795
+ <templates>
796
+ <uri>'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl'</uri>
797
+ <name>'Cinemas-Input'</name>
798
+ <lang>'EN'</lang>
799
+ </templates>
800
+ </parameters>
801
+ <manipulate output="result">
802
+ data.title = result.data.value('title')
803
+ data.date = result.data.value('date')
804
+ data.city = result.data.value('city')
805
+ </manipulate>
806
+ </call>
807
+ <call id="use_repo_cinemas" endpoint="services">
808
+ <constraints>
809
+ <constraint xpath="address/city" comparator="==" variable="city"/>
810
+ </constraints>
811
+ <parameters>
812
+ <!--{{{-->
813
+ <info>true</info>
814
+ <service>
815
+ <serviceoperation>"search_and_book"</serviceoperation>
816
+ <injection_handler>endpoints.injection_handler</injection_handler>
817
+ </service>
818
+ <additional_endpoints>
819
+ <selector_service>"select"</selector_service>
820
+ </additional_endpoints>
821
+ <parameters>
822
+ <title>data.title</title>
823
+ <date>data.date</date>
824
+ </parameters>
825
+ </parameters>
826
+ <!--}}}-->
827
+ </call>
828
+ <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']">
829
+ <manipulate id="create_objects_for_use_repo_cinemas" generated="true"> data.result_use_repo_cinemas = RescueHash.new
830
+ data.result_use_repo_cinemas['properties'] = RescueHash.new
831
+ data.result_use_repo_cinemas['properties']["call_find"] = RescueHash.new
832
+ data.result_use_repo_cinemas['properties']["call_book"] = RescueHash.new
833
+ endpoints.use_repo_cinemas__selected_cinema = ""
834
+ data.use_repo_cinemas__show_id = ''
835
+ data.use_repo_cinemas__list = ''
836
+ data.use_repo_cinemas__res = ''
837
+ data.use_repo_cinemas__list_merge = ''
838
+ data.use_repo_cinemas__number_of_shows = ''
839
+ data.use_repo_cinemas__endpoint = ''
840
+ </manipulate>
841
+ <constraints>
842
+ <constraint xpath="address/city" comparator="==" variable="city"/>
843
+ </constraints>
844
+ <call id="use_repo_cinemas__call_find" endpoint="services" oid="call_find">
845
+ <parameters>
846
+ <service>
847
+ <serviceoperation>"search"</serviceoperation>
848
+ <injection_handler>endpoints.injection_handler</injection_handler>
849
+ </service>
850
+ <parameters>
851
+ <title>data.title</title>
852
+ <date>data.date</date>
853
+ </parameters>
854
+ </parameters>
855
+ </call>
856
+ <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;]">
857
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find" generated="true"> data.result_use_repo_cinemas__call_find = RescueHash.new
858
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"] = RescueHash.new
859
+ </manipulate>
860
+ <call id="use_repo_cinemas__call_find__perform_search" endpoint="services" oid="perform_search">
861
+ <parameters>
862
+ <service>
863
+ <serviceoperation>"search"</serviceoperation>
864
+ <injection_handler>endpoints.injection_handler</injection_handler>
865
+ </service>
866
+ <parameters>
867
+ <title>data.title</title>
868
+ <date>data.date</date>
869
+ </parameters>
870
+ </parameters>
871
+ </call>
872
+ <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;]">
873
+ <parallel generated="true">
874
+ <parallel_branch generated="true">
875
+ <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
876
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
877
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = ''
878
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = ''
879
+ # Filling the properties-object of the service
880
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"] = RescueHash.new
881
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"] = RescueHash.new
882
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["street"] = "Gumpendorferstraße 63"
883
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["zip"] = "1060"
884
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["city"] = "Vienna"
885
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["address"]["state"] = "Austria"
886
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"] = RescueHash.new
887
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["name"] = "Apollo - Das Kino Wien"
888
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["phone"] = "+43-1-5879651"
889
+ 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"
890
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/Apollo"]["vendor"]["mail"] = "village.apollo@villagekinos.at"
891
+ </manipulate>
892
+ <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
893
+
894
+ d = data.date
895
+ date = Time.parse(d)
896
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
897
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum = datum
898
+ </manipulate>
899
+ <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="">
900
+ <parameters>
901
+ <method>get</method>
902
+ <parameters>
903
+ <id>1</id>
904
+ <datum>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum</datum>
905
+ <uhrzeit>"00:00:00"</uhrzeit>
906
+ <version>""</version>
907
+ </parameters>
908
+ </parameters>
909
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
910
+ if result[0].class.to_s == "Hash"
911
+ result[0] = RescueHash.new_from_obj(result[0])
912
+ end
913
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = result[0].value('').read
914
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['status'] = result[1]
915
+
916
+ </manipulate>
917
+ </call>
918
+ <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
919
+
920
+ date = data.date
921
+ title = data.title
922
+ date = Date.parse(date)
923
+ str = CGI::unescapeHTML(response)
924
+ str.gsub!('&amp;','--amp--')
925
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
926
+ offset = str.index("value=\"", offset)
927
+ d = str[offset+7..offset+16]
928
+
929
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
930
+ count = 1
931
+ offset = 0
932
+ while (count != 0) do
933
+ offset = str.index("div", offset+1)
934
+ count = count+1 if str[offset-1].chr == "&lt;"
935
+ count = count-1 if str[offset-1].chr == "/"
936
+ end
937
+ str = str[0..offset-3]
938
+ resp = XML::Smart.string(str)
939
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
940
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
941
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
942
+ show_date = Date.parse(d)
943
+ if show_date.eql?(date)
944
+ b.find("child::tr/td[3]/div/table").each do |show|
945
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
946
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
947
+ show = list.root.add("show")
948
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/Apollo")
949
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
950
+ show.add("title", show_title)
951
+ show.add("date", show_date.to_s)
952
+ show.add("time", s.text)
953
+ show.add("hall", show_hall)
954
+ end
955
+ end
956
+ end
957
+ end
958
+ list = list.root.dump
959
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response = response
960
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/Apollo']['list'] = list
961
+ </manipulate>
962
+ <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")
963
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__response")
964
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_Apollo__datum")
965
+ </manipulate>
966
+ </parallel_branch>
967
+ <parallel_branch generated="true">
968
+ <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
969
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
970
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = ''
971
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = ''
972
+ # Filling the properties-object of the service
973
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"] = RescueHash.new
974
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"] = RescueHash.new
975
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["street"] = "Nußdorfer Straße 73"
976
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["zip"] = "1090"
977
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["city"] = "Vienna"
978
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["address"]["state"] = "Austria"
979
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"] = RescueHash.new
980
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["name"] = "Das Auge Gottes Center Wien"
981
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["phone"] = "+43-1-3176344"
982
+ 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"
983
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/AugeGottes"]["vendor"]["mail"] = "village.wienmitte@villagekinos.at"
984
+ </manipulate>
985
+ <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
986
+
987
+ d = data.date
988
+ date = Time.parse(d)
989
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
990
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum = datum
991
+ </manipulate>
992
+ <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="">
993
+ <parameters>
994
+ <method>get</method>
995
+ <parameters>
996
+ <id>6</id>
997
+ <datum>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum</datum>
998
+ <uhrzeit>"00:00:00"</uhrzeit>
999
+ <version>""</version>
1000
+ </parameters>
1001
+ </parameters>
1002
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1003
+ if result[0].class.to_s == "Hash"
1004
+ result[0] = RescueHash.new_from_obj(result[0])
1005
+ end
1006
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = result[0].value('').read
1007
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['status'] = result[1]
1008
+
1009
+ </manipulate>
1010
+ </call>
1011
+ <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
1012
+
1013
+ date = data.date
1014
+ title = data.title
1015
+ date = Date.parse(date)
1016
+ str = CGI::unescapeHTML(response)
1017
+ str.gsub!('&amp;','--amp--')
1018
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
1019
+ offset = str.index("value=\"", offset)
1020
+ d = str[offset+7..offset+16]
1021
+
1022
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
1023
+ count = 1
1024
+ offset = 0
1025
+ while (count != 0) do
1026
+ offset = str.index("div", offset+1)
1027
+ count = count+1 if str[offset-1].chr == "&lt;"
1028
+ count = count-1 if str[offset-1].chr == "/"
1029
+ end
1030
+ str = str[0..offset-3]
1031
+ resp = XML::Smart.string(str)
1032
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
1033
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
1034
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
1035
+ show_date = Date.parse(d)
1036
+ if show_date.eql?(date)
1037
+ b.find("child::tr/td[3]/div/table").each do |show|
1038
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
1039
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
1040
+ show = list.root.add("show")
1041
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/AugeGottes")
1042
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
1043
+ show.add("title", show_title)
1044
+ show.add("date", show_date.to_s)
1045
+ show.add("time", s.text)
1046
+ show.add("hall", show_hall)
1047
+ end
1048
+ end
1049
+ end
1050
+ end
1051
+ list = list.root.dump
1052
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response = response
1053
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/AugeGottes']['list'] = list
1054
+ </manipulate>
1055
+ <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")
1056
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__response")
1057
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_AugeGottes__datum")
1058
+ </manipulate>
1059
+ </parallel_branch>
1060
+ <parallel_branch generated="true">
1061
+ <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
1062
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__service = "http://www.cineplexx.at/content/kinos/kinoprogramm.aspx"
1063
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = ''
1064
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = ''
1065
+ # Filling the properties-object of the service
1066
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"] = RescueHash.new
1067
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"] = RescueHash.new
1068
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["street"] = "Wagramerstraße 79"
1069
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["zip"] = "1220"
1070
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["city"] = "Vienna"
1071
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["address"]["state"] = "Austria"
1072
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"] = RescueHash.new
1073
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["name"] = "Cineplexx Doanuplex"
1074
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["phone"] = "+43-1-2033322"
1075
+ 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"
1076
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//REST/DonauPlexx"]["vendor"]["mail"] = "village.donauplex@villagekinos.at"
1077
+ </manipulate>
1078
+ <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
1079
+
1080
+ d = data.date
1081
+ date = Time.parse(d)
1082
+ datum = "#{date.mday &lt; 10 ? "0#{date.mday}" : date.mday}.#{date.mon &lt; 10 ? "0#{date.mon}" : date.mon}.#{date.year}"
1083
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum = datum
1084
+ </manipulate>
1085
+ <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="">
1086
+ <parameters>
1087
+ <method>get</method>
1088
+ <parameters>
1089
+ <id>346</id>
1090
+ <datum>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum</datum>
1091
+ <uhrzeit>"00:00:00"</uhrzeit>
1092
+ <version>""</version>
1093
+ </parameters>
1094
+ </parameters>
1095
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1096
+ if result[0].class.to_s == "Hash"
1097
+ result[0] = RescueHash.new_from_obj(result[0])
1098
+ end
1099
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = result[0].value('').read
1100
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['status'] = result[1]
1101
+
1102
+ </manipulate>
1103
+ </call>
1104
+ <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
1105
+
1106
+ date = data.date
1107
+ title = data.title
1108
+ date = Date.parse(date)
1109
+ str = CGI::unescapeHTML(response)
1110
+ str.gsub!('&amp;','--amp--')
1111
+ offset = str.index("selected=\"selected\"", str.index("uclKinoprogramm$DDL_Datum"))
1112
+ offset = str.index("value=\"", offset)
1113
+ d = str[offset+7..offset+16]
1114
+
1115
+ str = str[str.index("&lt;div id=\"uclKinoprogramm_P_Filme\"&gt;")..-1]
1116
+ count = 1
1117
+ offset = 0
1118
+ while (count != 0) do
1119
+ offset = str.index("div", offset+1)
1120
+ count = count+1 if str[offset-1].chr == "&lt;"
1121
+ count = count-1 if str[offset-1].chr == "/"
1122
+ end
1123
+ str = str[0..offset-3]
1124
+ resp = XML::Smart.string(str)
1125
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
1126
+ resp.find("//table[descendant::td/a[contains(text(),'#{title}')]]").each do |b|
1127
+ show_title = b.find("child::tr/td[1]/a").first.text.strip
1128
+ show_date = Date.parse(d)
1129
+ if show_date.eql?(date)
1130
+ b.find("child::tr/td[3]/div/table").each do |show|
1131
+ show_hall = show.find("child::tr/td[1]/h4/span").first.text.strip
1132
+ show.find("child::tr/td[2]/span/a[text()]").each do |s|
1133
+ show = list.root.add("show")
1134
+ show.add("cinema_uri", "http://localhost:9290/groups/Cinemas/REST/DonauPlexx")
1135
+ show.add("show_id", s.attributes['href'].gsub('--amp--','&amp;'))
1136
+ show.add("title", show_title)
1137
+ show.add("date", show_date.to_s)
1138
+ show.add("time", s.text)
1139
+ show.add("hall", show_hall)
1140
+ end
1141
+ end
1142
+ end
1143
+ end
1144
+ list = list.root.dump
1145
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response = response
1146
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//REST/DonauPlexx']['list'] = list
1147
+ </manipulate>
1148
+ <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")
1149
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__response")
1150
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__REST_DonauPlexx__datum")
1151
+ </manipulate>
1152
+ </parallel_branch>
1153
+ <parallel_branch generated="true">
1154
+ <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
1155
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__wsdl = "http://tickets.lugnerkinocity.at/sinema/service.asmx?WSDL"
1156
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_service = "http://tickets.lugnerkinocity.at/sinema/service.asmx"
1157
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = ''
1158
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml = Array.new
1159
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids = Array.new
1160
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id = ''
1161
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2 = ''
1162
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status = ''
1163
+ # Filling the properties-object of the service
1164
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"] = RescueHash.new
1165
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"] = RescueHash.new
1166
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["street"] = "Gablenzgasse 1-3"
1167
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["zip"] = "1150"
1168
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["city"] = "Vienna"
1169
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["address"]["state"] = "Austria"
1170
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"] = RescueHash.new
1171
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["name"] = "Lugner City Kino"
1172
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["phone"] = "+43-0810-584637"
1173
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["url"] = "http://www.lugnerkinocity.at/"
1174
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino"]["vendor"]["mail"] = "office@lugnerkinocity.at"
1175
+ </manipulate>
1176
+ <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="">
1177
+ <parameters>
1178
+ <soap_operation>FilmInfo</soap_operation>
1179
+ <wsdl type="symbolic">endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__wsdl</wsdl>
1180
+ <parameters>
1181
+ <SearchItem>data.title</SearchItem>
1182
+ </parameters>
1183
+ </parameters>
1184
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1185
+ if result[0].class.to_s == "Hash"
1186
+ result[0] = RescueHash.new_from_obj(result[0])
1187
+ end
1188
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = Array.new
1189
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'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}"}
1190
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status = result[1]
1191
+
1192
+ </manipulate>
1193
+ </call>
1194
+ <choose>
1195
+ <alternative condition="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status.==(200))">
1196
+ <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
1197
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids
1198
+ to = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2
1199
+
1200
+ from = data.date
1201
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
1202
+ resp.find("//film/ID").each do |id|
1203
+ ids &lt;&lt; id.text
1204
+ end
1205
+ to = from
1206
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = soap
1207
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids = ids
1208
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2 = to
1209
+ </manipulate>
1210
+ <loop pre_test="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids.length.&gt;(0))">
1211
+ <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
1212
+ id = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id
1213
+
1214
+ id = ids.pop
1215
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids = ids
1216
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id = id
1217
+ </manipulate>
1218
+ <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="">
1219
+ <parameters>
1220
+ <soap_operation>Schedule</soap_operation>
1221
+ <wsdl type="symbolic">endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__wsdl</wsdl>
1222
+ <parameters>
1223
+ <FilmID>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id</FilmID>
1224
+ <dTo>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2</dTo>
1225
+ <dFrom>data.date</dFrom>
1226
+ </parameters>
1227
+ </parameters>
1228
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1229
+ if result[0].class.to_s == "Hash"
1230
+ result[0] = RescueHash.new_from_obj(result[0])
1231
+ end
1232
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = Array.new
1233
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'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}"}
1234
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status = result[1]
1235
+
1236
+ </manipulate>
1237
+ </call>
1238
+ <choose>
1239
+ <alternative condition="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status.==(200))">
1240
+ <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
1241
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml
1242
+
1243
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
1244
+ resp.register_namespace 'tns', "http://sitec.at/Service"
1245
+ resp.find("descendant::tns:show").each do |show|
1246
+ xml &lt;&lt; show.dump
1247
+ end
1248
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = soap
1249
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml = xml
1250
+ </manipulate>
1251
+ </alternative>
1252
+ <otherwise>
1253
+ <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
1254
+
1255
+ puts "An error occured in Schedule_Error"
1256
+ puts error
1257
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = error
1258
+ </manipulate>
1259
+ </otherwise>
1260
+ </choose>
1261
+ </loop>
1262
+ <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
1263
+
1264
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
1265
+ xml.each do |e|
1266
+ res = XML::Smart.string(e)
1267
+ node = list.root.add("show")
1268
+ node.add("cinema_uri", "http://localhost:9290/groups/Cinemas/Soap/LugnerCityKino")
1269
+ node.add("show_id", res.find("//id").first.text)
1270
+ node.add("title", res.find("//filmname").first.text)
1271
+ node.add("date", res.find("//date").first.text)
1272
+ node.add("time", res.find("//time").first.text)
1273
+ node.add("hall", res.find("//hall").first.text)
1274
+ end
1275
+ list = list.root.dump
1276
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml = xml
1277
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//Soap/LugnerCityKino']['list'] = list
1278
+ </manipulate>
1279
+ </alternative>
1280
+ <otherwise>
1281
+ <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
1282
+
1283
+ puts "An eror occured in FilmInfo_Error"
1284
+ puts error
1285
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response = error
1286
+ </manipulate>
1287
+ </otherwise>
1288
+ </choose>
1289
+ <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")
1290
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_service")
1291
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__soap_response")
1292
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__xml")
1293
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_ids")
1294
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__film_id")
1295
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__date2")
1296
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_LugnerCityKino__status")
1297
+ </manipulate>
1298
+ </parallel_branch>
1299
+ <parallel_branch generated="true">
1300
+ <manipulate id="create_objects_for_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__Soap_SCNHollywood" generated="true"> data.result_use_repo_cinemas__call_find["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"] = RescueHash.new
1301
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl = "http://scn.hollywood-megaplex.at/sinemaweb/service.asmx?WSDL"
1302
+ endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service = "http://scn.hollywood-megaplex.at/sinemaweb/service.asmx"
1303
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = ''
1304
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml = Array.new
1305
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids = Array.new
1306
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id = ''
1307
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2 = ''
1308
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status = ''
1309
+ # Filling the properties-object of the service
1310
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"] = RescueHash.new
1311
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"] = RescueHash.new
1312
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["street"] = "Ignaz Köck-Straße 1"
1313
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["zip"] = "1210"
1314
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["city"] = "Vienna"
1315
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["address"]["state"] = "Austria"
1316
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"] = RescueHash.new
1317
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["name"] = "SCN HollywoodMegaplex"
1318
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["phone"] = "+43-1-27166790"
1319
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["url"] = "http://www.hollywood-megaplex.at/scn/index.html"
1320
+ data.result_use_repo_cinemas['properties']["call_find"]["perform_search"]["http://localhost:9290/groups/Cinemas//Soap/SCNHollywood"]["vendor"]["mail"] = "office@hollywood-megaplex.at"
1321
+ </manipulate>
1322
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__FilmInfo" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service" oid="">
1323
+ <parameters>
1324
+ <soap_operation>FilmInfo</soap_operation>
1325
+ <wsdl type="symbolic">endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl</wsdl>
1326
+ <parameters>
1327
+ <SearchItem>data.title</SearchItem>
1328
+ </parameters>
1329
+ </parameters>
1330
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1331
+ if result[0].class.to_s == "Hash"
1332
+ result[0] = RescueHash.new_from_obj(result[0])
1333
+ end
1334
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = Array.new
1335
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'result[0].find('descendant::tns:FilmInfoResult').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response &lt;&lt; "#{n.dump}"}
1336
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status = result[1]
1337
+
1338
+ </manipulate>
1339
+ </call>
1340
+ <choose>
1341
+ <alternative condition="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status.==(200))">
1342
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__pares_response">soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
1343
+ ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids
1344
+ to = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2
1345
+
1346
+ from = data.date
1347
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
1348
+ resp.find("//film/ID").each do |id|
1349
+ ids &lt;&lt; id.text
1350
+ end
1351
+ to = from
1352
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = soap
1353
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids = ids
1354
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2 = to
1355
+ </manipulate>
1356
+ <loop pre_test="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids.length.&gt;(0))">
1357
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__get_film_id">ids = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids
1358
+ id = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id
1359
+
1360
+ id = ids.pop
1361
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids = ids
1362
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id = id
1363
+ </manipulate>
1364
+ <call id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__Schedule" endpoint="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service" oid="">
1365
+ <parameters>
1366
+ <soap_operation>Schedule</soap_operation>
1367
+ <wsdl type="symbolic">endpoints.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl</wsdl>
1368
+ <parameters>
1369
+ <FilmID>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id</FilmID>
1370
+ <dTo>data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2</dTo>
1371
+ <dFrom>data.date</dFrom>
1372
+ </parameters>
1373
+ </parameters>
1374
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1375
+ if result[0].class.to_s == "Hash"
1376
+ result[0] = RescueHash.new_from_obj(result[0])
1377
+ end
1378
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = Array.new
1379
+ result[0].register_namespace 'tns'=&gt;'http://sitec.at/Service'result[0].find('descendant::tns:ScheduleResponse').each {|n| data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response &lt;&lt; "#{n.dump}"}
1380
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status = result[1]
1381
+
1382
+ </manipulate>
1383
+ </call>
1384
+ <choose>
1385
+ <alternative condition="(data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status.==(200))">
1386
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__search_shows">soap = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
1387
+ xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml
1388
+
1389
+ resp = XML::Smart.string(CGI::unescapeHTML(soap[0]))
1390
+ resp.register_namespace 'tns', "http://sitec.at/Service"
1391
+ resp.find("descendant::tns:show").each do |show|
1392
+ xml &lt;&lt; show.dump
1393
+ end
1394
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = soap
1395
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml = xml
1396
+ </manipulate>
1397
+ </alternative>
1398
+ <otherwise>
1399
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__Schedule_Error">error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
1400
+
1401
+ puts "An error occured in Schedule_Error"
1402
+ puts error
1403
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = error
1404
+ </manipulate>
1405
+ </otherwise>
1406
+ </choose>
1407
+ </loop>
1408
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__generate_output">xml = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml
1409
+
1410
+ list = XML::Smart.string("&lt;list_of_shows/&gt;")
1411
+ xml.each do |e|
1412
+ res = XML::Smart.string(e)
1413
+ node = list.root.add("show")
1414
+ node.add("cinema_uri", "http://localhost:9290/groups/Cinemas/Soap/SCNHollywood")
1415
+ node.add("show_id", res.find("//id").first.text)
1416
+ node.add("title", res.find("//filmname").first.text)
1417
+ node.add("date", res.find("//date").first.text)
1418
+ node.add("time", res.find("//time").first.text)
1419
+ node.add("hall", res.find("//hall").first.text)
1420
+ end
1421
+ list = list.root.dump
1422
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml = xml
1423
+ data.result_use_repo_cinemas__call_find['http://localhost:9290/groups/Cinemas//Soap/SCNHollywood']['list'] = list
1424
+ </manipulate>
1425
+ </alternative>
1426
+ <otherwise>
1427
+ <manipulate id="use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__FilmInfo_Error">error = data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response
1428
+
1429
+ puts "An eror occured in FilmInfo_Error"
1430
+ puts error
1431
+ data.use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response = error
1432
+ </manipulate>
1433
+ </otherwise>
1434
+ </choose>
1435
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find__perform_search_service_http___localhost_9290_groups_Cinemas__Soap_SCNHollywood" generated="true"> endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__wsdl")
1436
+ endpoints.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_service")
1437
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__soap_response")
1438
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__xml")
1439
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_ids")
1440
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__film_id")
1441
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__date2")
1442
+ data.delete(:"use_repo_cinemas__call_find__perform_search__http___localhost_9290_groups_Cinemas__Soap_SCNHollywood__status")
1443
+ </manipulate>
1444
+ </parallel_branch>
1445
+ </parallel>
1446
+ </group>
1447
+ <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"]
1448
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1449
+ if result[0].class.to_s == "Hash"
1450
+ result[0] = RescueHash.new_from_obj(result[0])
1451
+ end
1452
+ data.result_use_repo_cinemas__call_find['list_shows'] = result[0].value('list')
1453
+ </manipulate>
1454
+ </group>
1455
+ <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']
1456
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1457
+ if result[0].class.to_s == "Hash"
1458
+ result[0] = RescueHash.new_from_obj(result[0])
1459
+ end
1460
+ data.use_repo_cinemas__list = result[0].value('list')
1461
+ </manipulate>
1462
+ <manipulate id="remove_objects_of_use_repo_cinemas__call_find" generated="true"> data.delete(:"result_use_repo_cinemas__call_find")
1463
+ </manipulate>
1464
+ <manipulate id="use_repo_cinemas__merge_result" oid="merge_result">list = data.use_repo_cinemas__list
1465
+ m_list = data.use_repo_cinemas__list_merge
1466
+ nos = data.use_repo_cinemas__number_of_shows
1467
+
1468
+ title = data.title
1469
+ date = data.date
1470
+ xml = XML::Smart.string("&lt;list_of_shows/&gt;")
1471
+ if list.class == Array
1472
+ list.each do |v|
1473
+ l = XML::Smart.string(v)
1474
+ xml.root.add(l.find("//show"))
1475
+ end
1476
+ elsif list.class == String
1477
+ l = XML::Smart.string(list)
1478
+ xml.root.add(l.find("//show"))
1479
+ else
1480
+ raise "Unexpected class of return-value - class: #{list.class}"
1481
+ end
1482
+ m_list = xml.root.dump
1483
+ nos = xml.root.children.length
1484
+ data.use_repo_cinemas__list = list
1485
+ data.use_repo_cinemas__list_merge = m_list
1486
+ data.use_repo_cinemas__number_of_shows = nos
1487
+ </manipulate>
1488
+ <choose>
1489
+ <alternative condition="(data.use_repo_cinemas__number_of_shows.&gt;(0))">
1490
+ <call id="use_repo_cinemas__perform_select" endpoint="select" oid="perform_select">
1491
+ <parameters>
1492
+ <templates>
1493
+ <uri>'http://localhost:9290/groups/Cinemas//operations/search_and_book/templates/perform_select'</uri>
1494
+ <name>'Select_Show'</name>
1495
+ <lang>'EN'</lang>
1496
+ </templates>
1497
+ <method>post</method>
1498
+ <info>true</info>
1499
+ <parameters>
1500
+ <data>data.use_repo_cinemas__list_merge</data>
1501
+ </parameters>
1502
+ </parameters>
1503
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1504
+ if result[0].class.to_s == "Hash"
1505
+ result[0] = RescueHash.new_from_obj(result[0])
1506
+ end
1507
+ data.use_repo_cinemas__show_id = result[0].value('show_id')
1508
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1509
+ if result[0].class.to_s == "Hash"
1510
+ result[0] = RescueHash.new_from_obj(result[0])
1511
+ end
1512
+ data.use_repo_cinemas__endpoint = result[0].value('target')
1513
+ data.result_use_repo_cinemas['status'] = result[1]
1514
+
1515
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1516
+ if result[0].class.to_s == "Hash"
1517
+ result[0] = RescueHash.new_from_obj(result[0])
1518
+ end
1519
+ data.result_use_repo_cinemas['movie_title'] = result[0].value('movie_title')
1520
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1521
+ if result[0].class.to_s == "Hash"
1522
+ result[0] = RescueHash.new_from_obj(result[0])
1523
+ end
1524
+ data.result_use_repo_cinemas['selected_date'] = result[0].value('date')
1525
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1526
+ if result[0].class.to_s == "Hash"
1527
+ result[0] = RescueHash.new_from_obj(result[0])
1528
+ end
1529
+ data.result_use_repo_cinemas['starting_time'] = result[0].value('starting_time')
1530
+ # Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1531
+ if result[0].class.to_s == "Hash"
1532
+ result[0] = RescueHash.new_from_obj(result[0])
1533
+ end
1534
+ data.result_use_repo_cinemas['hall'] = result[0].value('hall')
1535
+ </manipulate>
1536
+ </call>
1537
+ <manipulate id="use_repo_cinemas__set_selected_endpoint" oid="set_selected_endpoint">ep = data.use_repo_cinemas__endpoint
1538
+ selected = endpoints.use_repo_cinemas__selected_cinema
1539
+
1540
+ selected = ep
1541
+ data.use_repo_cinemas__endpoint = ep
1542
+ endpoints.use_repo_cinemas__selected_cinema = selected
1543
+ </manipulate>
1544
+ <call id="use_repo_cinemas__call_book" endpoint="use_repo_cinemas__selected_cinema" oid="call_book">
1545
+ <parameters>
1546
+ <service>
1547
+ <serviceoperation>"book"</serviceoperation>
1548
+ <injection_handler>endpoints.injection_handler</injection_handler>
1549
+ </service>
1550
+ <parameters>
1551
+ <show_id>data.use_repo_cinemas__show_id</show_id>
1552
+ </parameters>
1553
+ </parameters>
1554
+ <manipulate output="result"># Dirty, Dirty, Dirty Monkey-Hacking, but I coudln't figure out the JSON Problem with this Object
1555
+ if result[0].class.to_s == "Hash"
1556
+ result[0] = RescueHash.new_from_obj(result[0])
1557
+ end
1558
+ data.result_use_repo_cinemas['reservation_id'] = result[0].value('reservation_number')
1559
+ </manipulate>
1560
+ </call>
1561
+ <manipulate id="use_repo_cinemas__set_status_success" oid="set_status_success">
1562
+ status = 200
1563
+ data.result_use_repo_cinemas['status'] = status
1564
+ </manipulate>
1565
+ </alternative>
1566
+ <otherwise>
1567
+ <manipulate id="use_repo_cinemas__set_status_failed" oid="set_status_failed">
1568
+ status = 404
1569
+ data.result_use_repo_cinemas['status'] = status
1570
+ </manipulate>
1571
+ </otherwise>
1572
+ </choose>
1573
+ </group>
1574
+ <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']
1575
+
1576
+ res = result[0]
1577
+ if res['status'] == 200
1578
+ # Computing service responses
1579
+ data.reservation_number = res['reservation_id']
1580
+ data.starting_time = res['starting_time']
1581
+ data.selected_title = res['movie_title']
1582
+ data.selected_date = res['selected_date']
1583
+ data.hall = res['hall']
1584
+ # Computing properties of executed services
1585
+ perf_book = properties['call_book']['perform_book']
1586
+ 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']}"
1587
+ end
1588
+ </manipulate>
1589
+ <manipulate id="remove_objects_of_use_repo_cinemas" generated="true"> data.delete(:"result_use_repo_cinemas")
1590
+ data.delete(:"properties_use_repo_cinemas")
1591
+ endpoints.delete(:"use_repo_cinemas__selected_cinema")
1592
+ data.delete(:"use_repo_cinemas__show_id")
1593
+ data.delete(:"use_repo_cinemas__list")
1594
+ data.delete(:"use_repo_cinemas__res")
1595
+ data.delete(:"use_repo_cinemas__list_merge")
1596
+ data.delete(:"use_repo_cinemas__number_of_shows")
1597
+ data.delete(:"use_repo_cinemas__endpoint")
1598
+ </manipulate>
1599
+ <call id="confirm" endpoint="select">
1600
+ <parameters>
1601
+ <method>post</method>
1602
+ <info>true</info>
1603
+ <templates>
1604
+ <uri>'http://gruppe.wst.univie.ac.at/~ralph/input-forms/cinemas.xsl'</uri>
1605
+ <!-- uri>'http://gus.lan/input-forms/cinemas.xsl'</uri -->
1606
+ <name>'Cinemas-Output'</name>
1607
+ <lang>'EN'</lang>
1608
+ </templates>
1609
+ <parameters>
1610
+ <title>data.selected_title</title>
1611
+ <date>data.selected_date</date>
1612
+ <time>data.starting_time</time>
1613
+ <hall>data.hall</hall>
1614
+ <res_nr>data.reservation_number</res_nr>
1615
+ <cinema>data.selected_cinema</cinema>
1616
+ </parameters>
1617
+ </parameters>
1618
+ </call>
1619
+ </description>
1620
+ </description>
1621
+ <transformation>
1622
+ <!--{{{-->
1623
+ <!--}}}-->
1624
+ <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0" version="1.0">
1625
+ <xsl:output method="text"/>
1626
+ <xsl:strip-space elements="*"/>
1627
+ <xsl:variable name="myspacemultiplier">2</xsl:variable>
1628
+ <xsl:template match="/">
1629
+ <xsl:apply-templates select="//d:description"/>
1630
+ </xsl:template>
1631
+ <xsl:template match="//d:description">
1632
+ <xsl:apply-templates>
1633
+ <xsl:with-param name="myspace">
1634
+ <xsl:value-of select="-1*$myspacemultiplier"/>
1635
+ </xsl:with-param>
1636
+ </xsl:apply-templates>
1637
+ </xsl:template>
1638
+ <xsl:template match="*">
1639
+ <xsl:param name="myspace"/>
1640
+ <xsl:call-template name="print-space">
1641
+ <xsl:with-param name="i">1</xsl:with-param>
1642
+ <xsl:with-param name="count">
1643
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1644
+ </xsl:with-param>
1645
+ </xsl:call-template>
1646
+ <xsl:if test="name()='call' or name()='manipulate'">
1647
+ <xsl:text>activity :</xsl:text>
1648
+ <xsl:value-of select="@id"/>
1649
+ </xsl:if>
1650
+ <xsl:if test="name()='call'">
1651
+ <xsl:text>, :call, :</xsl:text>
1652
+ <xsl:value-of select="@endpoint"/>
1653
+ <xsl:apply-templates select="d:parameters"/>
1654
+ <xsl:if test="@oid">
1655
+ <xsl:text>, :'call-oid' =&gt; '</xsl:text>
1656
+ <xsl:value-of select="@oid"/>
1657
+ <xsl:text>'</xsl:text>
1658
+ </xsl:if>
1659
+ <xsl:apply-templates select="d:manipulate" mode="part-of-call">
1660
+ <xsl:with-param name="myspace">
1661
+ <xsl:value-of select="$myspace"/>
1662
+ </xsl:with-param>
1663
+ </xsl:apply-templates>
1664
+ <xsl:call-template name="print-newline"/>
1665
+ </xsl:if>
1666
+ <xsl:if test="name()='manipulate'">
1667
+ <xsl:text>, :manipulate</xsl:text>
1668
+ <!-- RESCUE: manipulate with dataelement as result object -->
1669
+ <xsl:if test="@data">
1670
+ <xsl:text>, nil,</xsl:text>
1671
+ <xsl:value-of select="@data"/>
1672
+ </xsl:if>
1673
+ <!-- RESCUE -->
1674
+ <xsl:call-template name="print-content">
1675
+ <xsl:with-param name="myspace">
1676
+ <xsl:value-of select="$myspace"/>
1677
+ </xsl:with-param>
1678
+ </xsl:call-template>
1679
+ <xsl:call-template name="print-newline"/>
1680
+ </xsl:if>
1681
+ <xsl:if test="name()='parallel'">
1682
+ <xsl:text>parallel</xsl:text>
1683
+ <xsl:if test="@wait">
1684
+ <xsl:text> :wait =&gt; </xsl:text>
1685
+ <xsl:value-of select="@wait"/>
1686
+ </xsl:if>
1687
+ <xsl:text> do</xsl:text>
1688
+ <xsl:call-template name="print-newline"/>
1689
+ <xsl:apply-templates>
1690
+ <xsl:with-param name="myspace">
1691
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1692
+ </xsl:with-param>
1693
+ </xsl:apply-templates>
1694
+ <xsl:call-template name="print-space">
1695
+ <xsl:with-param name="i">1</xsl:with-param>
1696
+ <xsl:with-param name="count">
1697
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1698
+ </xsl:with-param>
1699
+ </xsl:call-template>
1700
+ <xsl:text>end</xsl:text>
1701
+ <xsl:call-template name="print-newline"/>
1702
+ </xsl:if>
1703
+ <xsl:if test="name()='loop'">
1704
+ <xsl:text>loop </xsl:text>
1705
+ <xsl:if test="@pre_test">
1706
+ <xsl:text>pre_test{</xsl:text>
1707
+ <xsl:value-of select="@pre_test"/>
1708
+ <xsl:text>} </xsl:text>
1709
+ </xsl:if>
1710
+ <xsl:if test="@post_test">
1711
+ <xsl:text>post_test{</xsl:text>
1712
+ <xsl:value-of select="@post_test"/>
1713
+ <xsl:text>} </xsl:text>
1714
+ </xsl:if>
1715
+ <xsl:text>do</xsl:text>
1716
+ <xsl:call-template name="print-newline"/>
1717
+ <xsl:apply-templates>
1718
+ <xsl:with-param name="myspace">
1719
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1720
+ </xsl:with-param>
1721
+ </xsl:apply-templates>
1722
+ <xsl:call-template name="print-space">
1723
+ <xsl:with-param name="i">1</xsl:with-param>
1724
+ <xsl:with-param name="count">
1725
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1726
+ </xsl:with-param>
1727
+ </xsl:call-template>
1728
+ <xsl:text>end</xsl:text>
1729
+ <xsl:call-template name="print-newline"/>
1730
+ </xsl:if>
1731
+ <xsl:if test="name()='choose'">
1732
+ <xsl:text>choose do</xsl:text>
1733
+ <xsl:call-template name="print-newline"/>
1734
+ <xsl:apply-templates>
1735
+ <xsl:with-param name="myspace">
1736
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1737
+ </xsl:with-param>
1738
+ </xsl:apply-templates>
1739
+ <xsl:call-template name="print-space">
1740
+ <xsl:with-param name="i">1</xsl:with-param>
1741
+ <xsl:with-param name="count">
1742
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1743
+ </xsl:with-param>
1744
+ </xsl:call-template>
1745
+ <xsl:text>end</xsl:text>
1746
+ <xsl:call-template name="print-newline"/>
1747
+ </xsl:if>
1748
+ <xsl:if test="name()='group'">
1749
+ <xsl:apply-templates>
1750
+ <xsl:with-param name="myspace">
1751
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1752
+ </xsl:with-param>
1753
+ </xsl:apply-templates>
1754
+ <xsl:call-template name="print-newline"/>
1755
+ </xsl:if>
1756
+ <xsl:if test="name()='critical'">
1757
+ <xsl:text>critical :</xsl:text>
1758
+ <xsl:value-of select="@sid"/>
1759
+ <xsl:text> do</xsl:text>
1760
+ <xsl:call-template name="print-newline"/>
1761
+ <xsl:apply-templates>
1762
+ <xsl:with-param name="myspace">
1763
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1764
+ </xsl:with-param>
1765
+ </xsl:apply-templates>
1766
+ <xsl:call-template name="print-space">
1767
+ <xsl:with-param name="i">1</xsl:with-param>
1768
+ <xsl:with-param name="count">
1769
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1770
+ </xsl:with-param>
1771
+ </xsl:call-template>
1772
+ <xsl:text>end</xsl:text>
1773
+ <xsl:call-template name="print-newline"/>
1774
+ </xsl:if>
1775
+ </xsl:template>
1776
+ <xsl:template match="d:alternative">
1777
+ <xsl:param name="myspace"/>
1778
+ <xsl:call-template name="print-space">
1779
+ <xsl:with-param name="i">1</xsl:with-param>
1780
+ <xsl:with-param name="count">
1781
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1782
+ </xsl:with-param>
1783
+ </xsl:call-template>
1784
+ <xsl:text>alternative </xsl:text>
1785
+ <xsl:value-of select="@condition"/>
1786
+ <xsl:text> do</xsl:text>
1787
+ <xsl:call-template name="print-newline"/>
1788
+ <xsl:apply-templates>
1789
+ <xsl:with-param name="myspace">
1790
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1791
+ </xsl:with-param>
1792
+ </xsl:apply-templates>
1793
+ <xsl:call-template name="print-space">
1794
+ <xsl:with-param name="i">1</xsl:with-param>
1795
+ <xsl:with-param name="count">
1796
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1797
+ </xsl:with-param>
1798
+ </xsl:call-template>
1799
+ <xsl:text>end</xsl:text>
1800
+ <xsl:call-template name="print-newline"/>
1801
+ </xsl:template>
1802
+ <xsl:template match="d:otherwise">
1803
+ <xsl:param name="myspace"/>
1804
+ <xsl:call-template name="print-space">
1805
+ <xsl:with-param name="i">1</xsl:with-param>
1806
+ <xsl:with-param name="count">
1807
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1808
+ </xsl:with-param>
1809
+ </xsl:call-template>
1810
+ <xsl:text>otherwise do</xsl:text>
1811
+ <xsl:call-template name="print-newline"/>
1812
+ <xsl:apply-templates>
1813
+ <xsl:with-param name="myspace">
1814
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1815
+ </xsl:with-param>
1816
+ </xsl:apply-templates>
1817
+ <xsl:call-template name="print-space">
1818
+ <xsl:with-param name="i">1</xsl:with-param>
1819
+ <xsl:with-param name="count">
1820
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1821
+ </xsl:with-param>
1822
+ </xsl:call-template>
1823
+ <xsl:text>end</xsl:text>
1824
+ <xsl:call-template name="print-newline"/>
1825
+ </xsl:template>
1826
+ <xsl:template match="d:parallel_branch">
1827
+ <xsl:param name="myspace"/>
1828
+ <xsl:call-template name="print-space">
1829
+ <xsl:with-param name="i">1</xsl:with-param>
1830
+ <xsl:with-param name="count">
1831
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1832
+ </xsl:with-param>
1833
+ </xsl:call-template>
1834
+ <xsl:text>parallel_branch</xsl:text>
1835
+ <xsl:if test="@pass">
1836
+ <xsl:text> </xsl:text>
1837
+ <xsl:value-of select="@pass"/>
1838
+ </xsl:if>
1839
+ <xsl:text> do</xsl:text>
1840
+ <xsl:if test="@local">
1841
+ <xsl:text> |</xsl:text>
1842
+ <xsl:value-of select="@local"/>
1843
+ <xsl:text>|</xsl:text>
1844
+ </xsl:if>
1845
+ <xsl:call-template name="print-newline"/>
1846
+ <xsl:apply-templates>
1847
+ <xsl:with-param name="myspace">
1848
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1849
+ </xsl:with-param>
1850
+ </xsl:apply-templates>
1851
+ <xsl:call-template name="print-space">
1852
+ <xsl:with-param name="i">1</xsl:with-param>
1853
+ <xsl:with-param name="count">
1854
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1855
+ </xsl:with-param>
1856
+ </xsl:call-template>
1857
+ <xsl:text>end</xsl:text>
1858
+ <xsl:call-template name="print-newline"/>
1859
+ </xsl:template>
1860
+ <xsl:template match="d:parameters">
1861
+ <xsl:apply-templates select="d:*" mode="parameter"/>
1862
+ </xsl:template>
1863
+ <xsl:template match="d:*" mode="parameter">
1864
+ <xsl:text>, :</xsl:text>
1865
+ <xsl:value-of select="name()"/>
1866
+ <xsl:text> =&gt; </xsl:text>
1867
+ <xsl:choose>
1868
+ <xsl:when test="count(*) &gt; 0">
1869
+ <xsl:text>[</xsl:text>
1870
+ <xsl:apply-templates select="d:*" mode="sub-parameter"/>
1871
+ <xsl:text>]</xsl:text>
1872
+ </xsl:when>
1873
+ <xsl:otherwise>
1874
+ <xsl:choose>
1875
+ <xsl:when test="@type = 'symbolic'">
1876
+ <xsl:value-of select="text()"/>
1877
+ </xsl:when>
1878
+ <xsl:otherwise>
1879
+ <xsl:text>"</xsl:text>
1880
+ <xsl:value-of select="text()"/>
1881
+ <xsl:text>"</xsl:text>
1882
+ </xsl:otherwise>
1883
+ </xsl:choose>
1884
+ </xsl:otherwise>
1885
+ </xsl:choose>
1886
+ </xsl:template>
1887
+ <xsl:template match="d:*" mode="sub-parameter">
1888
+ <xsl:text> { :</xsl:text>
1889
+ <xsl:value-of select="name()"/>
1890
+ <xsl:text> =&gt; </xsl:text>
1891
+ <xsl:value-of select="text()"/>
1892
+ <xsl:text> }</xsl:text>
1893
+ <xsl:choose>
1894
+ <xsl:when test="generate-id(.) = generate-id(../*[last()])">
1895
+ <xsl:text> </xsl:text>
1896
+ </xsl:when>
1897
+ <xsl:otherwise>
1898
+ <xsl:text>,</xsl:text>
1899
+ </xsl:otherwise>
1900
+ </xsl:choose>
1901
+ </xsl:template>
1902
+ <xsl:template match="d:manipulate" mode="part-of-call">
1903
+ <xsl:param name="myspace"/>
1904
+ <xsl:call-template name="print-content">
1905
+ <xsl:with-param name="myspace">
1906
+ <xsl:value-of select="$myspace"/>
1907
+ </xsl:with-param>
1908
+ </xsl:call-template>
1909
+ </xsl:template>
1910
+ <xsl:template name="print-content">
1911
+ <xsl:param name="myspace"/>
1912
+ <xsl:if test="text()">
1913
+ <xsl:text> do </xsl:text>
1914
+ <xsl:if test="@output">
1915
+ <xsl:text>|</xsl:text>
1916
+ <xsl:value-of select="@output"/>
1917
+ <xsl:text>|</xsl:text>
1918
+ </xsl:if>
1919
+ <xsl:call-template name="print-newline"/>
1920
+ <xsl:value-of select="text()"/>
1921
+ <xsl:call-template name="print-newline"/>
1922
+ <xsl:call-template name="print-space">
1923
+ <xsl:with-param name="i">1</xsl:with-param>
1924
+ <xsl:with-param name="count">
1925
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
1926
+ </xsl:with-param>
1927
+ </xsl:call-template>
1928
+ <xsl:text>end</xsl:text>
1929
+ </xsl:if>
1930
+ </xsl:template>
1931
+ <xsl:template name="print-space">
1932
+ <xsl:param name="i"/>
1933
+ <xsl:param name="count"/>
1934
+ <xsl:if test="$i &lt;= $count">
1935
+ <xsl:text> </xsl:text>
1936
+ <xsl:call-template name="print-space">
1937
+ <xsl:with-param name="i">
1938
+ <xsl:value-of select="$i + 1"/>
1939
+ </xsl:with-param>
1940
+ <xsl:with-param name="count">
1941
+ <xsl:value-of select="$count"/>
1942
+ </xsl:with-param>
1943
+ </xsl:call-template>
1944
+ </xsl:if>
1945
+ </xsl:template>
1946
+ <xsl:template name="print-newline">
1947
+ <xsl:text>
1948
+ </xsl:text>
1949
+ </xsl:template>
1950
+ </xsl:stylesheet>
1951
+ </transformation>
1952
+ </properties>