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