cpee 1.3.102
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +3 -0
- data/COPYING +165 -0
- data/FEATURES +28 -0
- data/INSTALL +23 -0
- data/README +7 -0
- data/Rakefile +28 -0
- data/cockpit/contrib/symbols.svg +224 -0
- data/cockpit/contrib/transformation1.xsl +264 -0
- data/cockpit/contrib/transformation2.xsl +10 -0
- data/cockpit/css/ui.css +155 -0
- data/cockpit/index.html +241 -0
- data/cockpit/js/details.js +146 -0
- data/cockpit/js/instance.js +927 -0
- data/cockpit/js/parameters.js +66 -0
- data/cockpit/js/ui.js +48 -0
- data/cockpit/js/wfadaptor.cpee.js +1082 -0
- data/cockpit/lib/contextmenu.css +72 -0
- data/cockpit/lib/contextmenu.js +63 -0
- data/cockpit/lib/jquery-ui.custom.min.js +259 -0
- data/cockpit/lib/jquery-ui.custom.min.txt +16 -0
- data/cockpit/lib/jquery.caret.min.js +10 -0
- data/cockpit/lib/jquery.min.js +4 -0
- data/cockpit/lib/jquery.svgdom.js +281 -0
- data/cockpit/lib/parsequery.js +19 -0
- data/cockpit/lib/printf.js +368 -0
- data/cockpit/lib/strftime.min.js +1 -0
- data/cockpit/lib/ui.css +270 -0
- data/cockpit/lib/ui.js +60 -0
- data/cockpit/lib/underscore.min.js +27 -0
- data/cockpit/lib/util.js +53 -0
- data/cockpit/lib/wfadaptor-doc/demo1.html +517 -0
- data/cockpit/lib/wfadaptor-doc/demo2.html +84 -0
- data/cockpit/lib/wfadaptor-doc/index.html +54 -0
- data/cockpit/lib/wfadaptor.css +217 -0
- data/cockpit/lib/wfadaptor.js +410 -0
- data/cockpit/testsets/ADVENTURE Dynamic Order.xml +353 -0
- data/cockpit/testsets/ADVENTURE Main Loop.xml +327 -0
- data/cockpit/testsets/ADVENTURE Order.xml +424 -0
- data/cockpit/testsets/ADVENTURE Performance Test 1.xml +311 -0
- data/cockpit/testsets/ADVENTURE Performance Test 2.xml +297 -0
- data/cockpit/testsets/Concurrent.xml +315 -0
- data/cockpit/testsets/Coopis Testset.xml +346 -0
- data/cockpit/testsets/Endpoints and Data Manipulation.xml +359 -0
- data/cockpit/testsets/ICSOC Testset.xml +354 -0
- data/cockpit/testsets/Linear.xml +328 -0
- data/cockpit/testsets/Mangler 1.xml +352 -0
- data/cockpit/testsets/Mangler 2.xml +372 -0
- data/cockpit/testsets/RESCUE - Book Movie - Local.xml +385 -0
- data/cockpit/testsets/RESCUE - Book Movie.xml +385 -0
- data/cockpit/testsets/RESCUE - Loop-Parallel Injection.xml +393 -0
- data/cockpit/testsets/SOPROMO Test Sonification.xml +356 -0
- data/cockpit/testsets/Syncing P34 1.xml +329 -0
- data/cockpit/testsets/Syncing P34 2.xml +329 -0
- data/cockpit/testsets/Syncing P34 3.xml +329 -0
- data/cockpit/testsets/Syncing P34.xml +329 -0
- data/cockpit/testsets/TEST - Bad Loop.xml +428 -0
- data/cockpit/testsets/TEST - Wrong Positions.xml +470 -0
- data/cockpit/testsets/index.xml +24 -0
- data/contrib/Screenshot at 2011-09-28 02:38:11.png +0 -0
- data/contrib/logo2-small.png +0 -0
- data/contrib/logo2.png +0 -0
- data/contrib/logo2.svg +7610 -0
- data/contrib/logo2a.png +0 -0
- data/contrib/logo2a.svg +367 -0
- data/cpee.gemspec +24 -0
- data/lib/cpee.xml +39 -0
- data/lib/cpee/callback.rb +40 -0
- data/lib/cpee/controller.rb +440 -0
- data/lib/cpee/empty_workflow.rb +24 -0
- data/lib/cpee/handler_notifications.rb +46 -0
- data/lib/cpee/handler_properties.rb +43 -0
- data/lib/cpee/implementation.rb +174 -0
- data/lib/engine.xml +85 -0
- data/lib/engine/callbacks.rng +41 -0
- data/lib/engine/instance-info.rng +41 -0
- data/lib/engine/instances.rng +38 -0
- data/server/handlerwrappers/default.rb +142 -0
- data/server/handlerwrappers/rescue.rb +216 -0
- data/server/handlerwrappers/soap.rb +152 -0
- data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/consumer-secret +1 -0
- data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/producer-secret +1 -0
- data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/subscription.xml +27 -0
- data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/consumer-secret +1 -0
- data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/producer-secret +1 -0
- data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/subscription.xml +27 -0
- data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/consumer-secret +1 -0
- data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/producer-secret +1 -0
- data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/subscription.xml +27 -0
- data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/consumer-secret +1 -0
- data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/producer-secret +1 -0
- data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/subscription.xml +5 -0
- data/server/instances/1/properties.xml +522 -0
- data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/consumer-secret +1 -0
- data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/producer-secret +1 -0
- data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/subscription.xml +27 -0
- data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/consumer-secret +1 -0
- data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/producer-secret +1 -0
- data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/subscription.xml +27 -0
- data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/consumer-secret +1 -0
- data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/producer-secret +1 -0
- data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/subscription.xml +27 -0
- data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/consumer-secret +1 -0
- data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/producer-secret +1 -0
- data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/subscription.xml +27 -0
- data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/consumer-secret +1 -0
- data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/producer-secret +1 -0
- data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/subscription.xml +27 -0
- data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/consumer-secret +1 -0
- data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/producer-secret +1 -0
- data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/subscription.xml +27 -0
- data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/consumer-secret +1 -0
- data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/producer-secret +1 -0
- data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/subscription.xml +27 -0
- data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/consumer-secret +1 -0
- data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/producer-secret +1 -0
- data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/subscription.xml +27 -0
- data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/consumer-secret +1 -0
- data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/producer-secret +1 -0
- data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/subscription.xml +27 -0
- data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/consumer-secret +1 -0
- data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/producer-secret +1 -0
- data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/subscription.xml +27 -0
- data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/consumer-secret +1 -0
- data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/producer-secret +1 -0
- data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/subscription.xml +27 -0
- data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/consumer-secret +1 -0
- data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/producer-secret +1 -0
- data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/subscription.xml +27 -0
- data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/consumer-secret +1 -0
- data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/producer-secret +1 -0
- data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/subscription.xml +27 -0
- data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/consumer-secret +1 -0
- data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/producer-secret +1 -0
- data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/subscription.xml +27 -0
- data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/consumer-secret +1 -0
- data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/producer-secret +1 -0
- data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/subscription.xml +27 -0
- data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/consumer-secret +1 -0
- data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/producer-secret +1 -0
- data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/subscription.xml +27 -0
- data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/consumer-secret +1 -0
- data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/producer-secret +1 -0
- data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/subscription.xml +27 -0
- data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/consumer-secret +1 -0
- data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/producer-secret +1 -0
- data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/subscription.xml +27 -0
- data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/consumer-secret +1 -0
- data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/producer-secret +1 -0
- data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/subscription.xml +27 -0
- data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/consumer-secret +1 -0
- data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/producer-secret +1 -0
- data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/subscription.xml +27 -0
- data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/consumer-secret +1 -0
- data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/producer-secret +1 -0
- data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/subscription.xml +27 -0
- data/server/instances/10/notifications/bc597391804363834987804436b8b63b/consumer-secret +1 -0
- data/server/instances/10/notifications/bc597391804363834987804436b8b63b/producer-secret +1 -0
- data/server/instances/10/notifications/bc597391804363834987804436b8b63b/subscription.xml +27 -0
- data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/consumer-secret +1 -0
- data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/producer-secret +1 -0
- data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/subscription.xml +27 -0
- data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/consumer-secret +1 -0
- data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/producer-secret +1 -0
- data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/subscription.xml +27 -0
- data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/consumer-secret +1 -0
- data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/producer-secret +1 -0
- data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/subscription.xml +27 -0
- data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/consumer-secret +1 -0
- data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/producer-secret +1 -0
- data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/subscription.xml +27 -0
- data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/consumer-secret +1 -0
- data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/producer-secret +1 -0
- data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/subscription.xml +27 -0
- data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/consumer-secret +1 -0
- data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/producer-secret +1 -0
- data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/subscription.xml +27 -0
- data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/consumer-secret +1 -0
- data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/producer-secret +1 -0
- data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/subscription.xml +27 -0
- data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/consumer-secret +1 -0
- data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/producer-secret +1 -0
- data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/subscription.xml +27 -0
- data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/consumer-secret +1 -0
- data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/producer-secret +1 -0
- data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/subscription.xml +27 -0
- data/server/instances/10/properties.xml +388 -0
- data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/consumer-secret +1 -0
- data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/producer-secret +1 -0
- data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/subscription.xml +27 -0
- data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/consumer-secret +1 -0
- data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/producer-secret +1 -0
- data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/subscription.xml +5 -0
- data/server/instances/11/properties.xml +517 -0
- data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/consumer-secret +1 -0
- data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/producer-secret +1 -0
- data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/subscription.xml +27 -0
- data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/consumer-secret +1 -0
- data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/producer-secret +1 -0
- data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/subscription.xml +27 -0
- data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/consumer-secret +1 -0
- data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/producer-secret +1 -0
- data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/subscription.xml +27 -0
- data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/consumer-secret +1 -0
- data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/producer-secret +1 -0
- data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/subscription.xml +27 -0
- data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/consumer-secret +1 -0
- data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/producer-secret +1 -0
- data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/subscription.xml +27 -0
- data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/consumer-secret +1 -0
- data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/producer-secret +1 -0
- data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/subscription.xml +27 -0
- data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/consumer-secret +1 -0
- data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/producer-secret +1 -0
- data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/subscription.xml +5 -0
- data/server/instances/2/properties.xml +517 -0
- data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/consumer-secret +1 -0
- data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/producer-secret +1 -0
- data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/subscription.xml +5 -0
- data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/consumer-secret +1 -0
- data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/producer-secret +1 -0
- data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/subscription.xml +27 -0
- data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/consumer-secret +1 -0
- data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/producer-secret +1 -0
- data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/subscription.xml +27 -0
- data/server/instances/3/properties.xml +517 -0
- data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/consumer-secret +1 -0
- data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/producer-secret +1 -0
- data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/subscription.xml +5 -0
- data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/consumer-secret +1 -0
- data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/producer-secret +1 -0
- data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/subscription.xml +27 -0
- data/server/instances/4/properties.xml +517 -0
- data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/consumer-secret +1 -0
- data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/producer-secret +1 -0
- data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/subscription.xml +27 -0
- data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/consumer-secret +1 -0
- data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/producer-secret +1 -0
- data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/subscription.xml +5 -0
- data/server/instances/5/properties.xml +517 -0
- data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/consumer-secret +1 -0
- data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/producer-secret +1 -0
- data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/subscription.xml +5 -0
- data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/consumer-secret +1 -0
- data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/producer-secret +1 -0
- data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/subscription.xml +27 -0
- data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/consumer-secret +1 -0
- data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/producer-secret +1 -0
- data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/subscription.xml +27 -0
- data/server/instances/6/properties.xml +517 -0
- data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/consumer-secret +1 -0
- data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/producer-secret +1 -0
- data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/subscription.xml +27 -0
- data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/consumer-secret +1 -0
- data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/producer-secret +1 -0
- data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/subscription.xml +5 -0
- data/server/instances/7/properties.xml +517 -0
- data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/consumer-secret +1 -0
- data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/producer-secret +1 -0
- data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/subscription.xml +27 -0
- data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/consumer-secret +1 -0
- data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/producer-secret +1 -0
- data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/subscription.xml +5 -0
- data/server/instances/8/properties.xml +517 -0
- data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/consumer-secret +1 -0
- data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/producer-secret +1 -0
- data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/subscription.xml +5 -0
- data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/consumer-secret +1 -0
- data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/producer-secret +1 -0
- data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/subscription.xml +27 -0
- data/server/instances/9/properties.xml +517 -0
- data/server/resources/properties.init +351 -0
- data/server/resources/properties.schema.active +79 -0
- data/server/resources/properties.schema.finished +79 -0
- data/server/resources/properties.schema.inactive +79 -0
- data/server/resources/topics.xml +55 -0
- data/server/server.rb +25 -0
- data/server/todo.txt +20 -0
- data/test/delete.rb +27 -0
- data/test/load.rb +55 -0
- data/test/testset.xml +297 -0
- metadata +382 -0
@@ -0,0 +1,297 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<testset>
|
3
|
+
<positions/>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
+
<dataelements><!--{{{-->
|
6
|
+
<input>""</input>
|
7
|
+
<return>"%s World"</return>
|
8
|
+
</dataelements><!--}}}-->
|
9
|
+
<handlers/>
|
10
|
+
<endpoints/>
|
11
|
+
<description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
|
12
|
+
<manipulate id="a1">data.return = data.return % data.input</manipulate>
|
13
|
+
</description><!--}}}-->
|
14
|
+
<transformation>
|
15
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
|
16
|
+
<xsl:output method="text"/>
|
17
|
+
<xsl:strip-space elements="*"/>
|
18
|
+
<xsl:variable name="myspacemultiplier">2</xsl:variable>
|
19
|
+
|
20
|
+
<xsl:template match="/">
|
21
|
+
<xsl:apply-templates select="//d:description"/>
|
22
|
+
</xsl:template>
|
23
|
+
|
24
|
+
<xsl:template match="//d:description">
|
25
|
+
<xsl:apply-templates>
|
26
|
+
<xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
|
27
|
+
</xsl:apply-templates>
|
28
|
+
</xsl:template>
|
29
|
+
|
30
|
+
<xsl:template match="*">
|
31
|
+
<xsl:param name="myspace"/>
|
32
|
+
<xsl:call-template name="print-space">
|
33
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
34
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
35
|
+
</xsl:call-template>
|
36
|
+
<xsl:if test="name()='call' or name()='manipulate'">
|
37
|
+
<xsl:text>activity :</xsl:text>
|
38
|
+
<xsl:value-of select="@id"/>
|
39
|
+
</xsl:if>
|
40
|
+
<xsl:if test="name()='call'">
|
41
|
+
<xsl:text>, :call, :</xsl:text>
|
42
|
+
<xsl:value-of select="@endpoint"/>
|
43
|
+
<xsl:apply-templates select="d:parameters"/>
|
44
|
+
<xsl:apply-templates select="d:manipulate" mode="part-of-call">
|
45
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
46
|
+
</xsl:apply-templates>
|
47
|
+
<xsl:call-template name="print-newline"/>
|
48
|
+
</xsl:if>
|
49
|
+
<xsl:if test="name()='manipulate'">
|
50
|
+
<xsl:text>, :manipulate</xsl:text>
|
51
|
+
<xsl:call-template name="print-content">
|
52
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
53
|
+
</xsl:call-template>
|
54
|
+
<xsl:call-template name="print-newline"/>
|
55
|
+
</xsl:if>
|
56
|
+
<xsl:if test="name()='parallel'">
|
57
|
+
<xsl:text>parallel</xsl:text>
|
58
|
+
<xsl:if test="@wait">
|
59
|
+
<xsl:text> :wait => </xsl:text>
|
60
|
+
<xsl:value-of select="@wait"/>
|
61
|
+
</xsl:if>
|
62
|
+
<xsl:text> do</xsl:text>
|
63
|
+
<xsl:call-template name="print-newline"/>
|
64
|
+
<xsl:apply-templates>
|
65
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
66
|
+
</xsl:apply-templates>
|
67
|
+
<xsl:call-template name="print-space">
|
68
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
69
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
70
|
+
</xsl:call-template>
|
71
|
+
<xsl:text>end</xsl:text>
|
72
|
+
<xsl:call-template name="print-newline"/>
|
73
|
+
</xsl:if>
|
74
|
+
<xsl:if test="name()='loop'">
|
75
|
+
<xsl:text>loop </xsl:text>
|
76
|
+
<xsl:if test="@pre_test">
|
77
|
+
<xsl:text>pre_test{</xsl:text>
|
78
|
+
<xsl:value-of select="@pre_test"/>
|
79
|
+
<xsl:text>} </xsl:text>
|
80
|
+
</xsl:if>
|
81
|
+
<xsl:if test="@post_test">
|
82
|
+
<xsl:text>post_test{</xsl:text>
|
83
|
+
<xsl:value-of select="@post_test"/>
|
84
|
+
<xsl:text>} </xsl:text>
|
85
|
+
</xsl:if>
|
86
|
+
<xsl:text>do</xsl:text>
|
87
|
+
<xsl:call-template name="print-newline"/>
|
88
|
+
<xsl:apply-templates>
|
89
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
90
|
+
</xsl:apply-templates>
|
91
|
+
<xsl:call-template name="print-space">
|
92
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
93
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
94
|
+
</xsl:call-template>
|
95
|
+
<xsl:text>end</xsl:text>
|
96
|
+
<xsl:call-template name="print-newline"/>
|
97
|
+
</xsl:if>
|
98
|
+
<xsl:if test="name()='choose'">
|
99
|
+
<xsl:text>choose do</xsl:text>
|
100
|
+
<xsl:call-template name="print-newline"/>
|
101
|
+
<xsl:apply-templates>
|
102
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
103
|
+
</xsl:apply-templates>
|
104
|
+
<xsl:call-template name="print-space">
|
105
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
106
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
107
|
+
</xsl:call-template>
|
108
|
+
<xsl:text>end</xsl:text>
|
109
|
+
<xsl:call-template name="print-newline"/>
|
110
|
+
</xsl:if>
|
111
|
+
<xsl:if test="name()='group'">
|
112
|
+
<xsl:apply-templates>
|
113
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
114
|
+
</xsl:apply-templates>
|
115
|
+
<xsl:call-template name="print-newline"/>
|
116
|
+
</xsl:if>
|
117
|
+
<xsl:if test="name()='critical'">
|
118
|
+
<xsl:text>critical :</xsl:text>
|
119
|
+
<xsl:value-of select="@sid"/>
|
120
|
+
<xsl:text> do</xsl:text>
|
121
|
+
<xsl:call-template name="print-newline"/>
|
122
|
+
<xsl:apply-templates>
|
123
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
124
|
+
</xsl:apply-templates>
|
125
|
+
<xsl:call-template name="print-space">
|
126
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
127
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
128
|
+
</xsl:call-template>
|
129
|
+
<xsl:text>end</xsl:text>
|
130
|
+
<xsl:call-template name="print-newline"/>
|
131
|
+
</xsl:if>
|
132
|
+
</xsl:template>
|
133
|
+
|
134
|
+
<xsl:template match="d:alternative">
|
135
|
+
<xsl:param name="myspace"/>
|
136
|
+
<xsl:call-template name="print-space">
|
137
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
138
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
139
|
+
</xsl:call-template>
|
140
|
+
<xsl:text>alternative </xsl:text>
|
141
|
+
<xsl:value-of select="@condition"/>
|
142
|
+
<xsl:text> do</xsl:text>
|
143
|
+
<xsl:call-template name="print-newline"/>
|
144
|
+
<xsl:apply-templates>
|
145
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
146
|
+
</xsl:apply-templates>
|
147
|
+
<xsl:call-template name="print-space">
|
148
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
149
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
150
|
+
</xsl:call-template>
|
151
|
+
<xsl:text>end</xsl:text>
|
152
|
+
<xsl:call-template name="print-newline"/>
|
153
|
+
</xsl:template>
|
154
|
+
|
155
|
+
<xsl:template match="d:otherwise">
|
156
|
+
<xsl:param name="myspace"/>
|
157
|
+
<xsl:call-template name="print-space">
|
158
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
159
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
160
|
+
</xsl:call-template>
|
161
|
+
<xsl:text>otherwise do</xsl:text>
|
162
|
+
<xsl:call-template name="print-newline"/>
|
163
|
+
<xsl:apply-templates>
|
164
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
165
|
+
</xsl:apply-templates>
|
166
|
+
<xsl:call-template name="print-space">
|
167
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
168
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
169
|
+
</xsl:call-template>
|
170
|
+
<xsl:text>end</xsl:text>
|
171
|
+
<xsl:call-template name="print-newline"/>
|
172
|
+
</xsl:template>
|
173
|
+
|
174
|
+
<xsl:template match="d:parallel_branch">
|
175
|
+
<xsl:param name="myspace"/>
|
176
|
+
<xsl:call-template name="print-space">
|
177
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
178
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
179
|
+
</xsl:call-template>
|
180
|
+
<xsl:text>parallel_branch</xsl:text>
|
181
|
+
<xsl:if test="@pass">
|
182
|
+
<xsl:text> </xsl:text>
|
183
|
+
<xsl:value-of select="@pass"/>
|
184
|
+
</xsl:if>
|
185
|
+
<xsl:text> do</xsl:text>
|
186
|
+
<xsl:if test="@local">
|
187
|
+
<xsl:text> |</xsl:text>
|
188
|
+
<xsl:value-of select="@local"/>
|
189
|
+
<xsl:text>|</xsl:text>
|
190
|
+
</xsl:if>
|
191
|
+
<xsl:call-template name="print-newline"/>
|
192
|
+
<xsl:apply-templates>
|
193
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
194
|
+
</xsl:apply-templates>
|
195
|
+
<xsl:call-template name="print-space">
|
196
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
197
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
198
|
+
</xsl:call-template>
|
199
|
+
<xsl:text>end</xsl:text>
|
200
|
+
<xsl:call-template name="print-newline"/>
|
201
|
+
</xsl:template>
|
202
|
+
|
203
|
+
<xsl:template match="d:parameters">
|
204
|
+
<xsl:apply-templates select="d:*" mode="parameter"/>
|
205
|
+
</xsl:template>
|
206
|
+
|
207
|
+
<xsl:template match="d:*" mode="parameter">
|
208
|
+
<xsl:text>, :</xsl:text>
|
209
|
+
<xsl:value-of select="name()"/>
|
210
|
+
<xsl:text> => </xsl:text>
|
211
|
+
<xsl:choose>
|
212
|
+
<xsl:when test="count(*) > 0">
|
213
|
+
<xsl:text>[</xsl:text>
|
214
|
+
<xsl:apply-templates select="d:*" mode="sub-parameter"/>
|
215
|
+
<xsl:text>]</xsl:text>
|
216
|
+
</xsl:when>
|
217
|
+
<xsl:otherwise>
|
218
|
+
<xsl:choose>
|
219
|
+
<xsl:when test="@type = 'symbolic'">
|
220
|
+
<xsl:value-of select="text()"/>
|
221
|
+
</xsl:when>
|
222
|
+
<xsl:otherwise>
|
223
|
+
<xsl:text>"</xsl:text>
|
224
|
+
<xsl:value-of select="text()"/>
|
225
|
+
<xsl:text>"</xsl:text>
|
226
|
+
</xsl:otherwise>
|
227
|
+
</xsl:choose>
|
228
|
+
</xsl:otherwise>
|
229
|
+
</xsl:choose>
|
230
|
+
</xsl:template>
|
231
|
+
|
232
|
+
<xsl:template match="d:*" mode="sub-parameter">
|
233
|
+
<xsl:text> { :</xsl:text>
|
234
|
+
<xsl:value-of select="name()"/>
|
235
|
+
<xsl:text> => </xsl:text>
|
236
|
+
<xsl:value-of select="text()"/>
|
237
|
+
<xsl:text> }</xsl:text>
|
238
|
+
<xsl:choose>
|
239
|
+
<xsl:when test="generate-id(.) = generate-id(../*[last()])">
|
240
|
+
<xsl:text> </xsl:text>
|
241
|
+
</xsl:when>
|
242
|
+
<xsl:otherwise>
|
243
|
+
<xsl:text>,</xsl:text>
|
244
|
+
</xsl:otherwise>
|
245
|
+
</xsl:choose>
|
246
|
+
</xsl:template>
|
247
|
+
|
248
|
+
<xsl:template match="d:manipulate" mode="part-of-call">
|
249
|
+
<xsl:param name="myspace"/>
|
250
|
+
<xsl:call-template name="print-content">
|
251
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
252
|
+
</xsl:call-template>
|
253
|
+
</xsl:template>
|
254
|
+
|
255
|
+
<xsl:template name="print-content">
|
256
|
+
<xsl:param name="myspace"/>
|
257
|
+
<xsl:if test="text()">
|
258
|
+
<xsl:text> do </xsl:text>
|
259
|
+
<xsl:if test="@output">
|
260
|
+
<xsl:text>|</xsl:text>
|
261
|
+
<xsl:value-of select="@output"/>
|
262
|
+
<xsl:text>|</xsl:text>
|
263
|
+
</xsl:if>
|
264
|
+
<xsl:call-template name="print-newline"/>
|
265
|
+
<xsl:value-of select="text()"/>
|
266
|
+
<xsl:call-template name="print-newline"/>
|
267
|
+
<xsl:call-template name="print-space">
|
268
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
269
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
270
|
+
</xsl:call-template>
|
271
|
+
<xsl:text>end</xsl:text>
|
272
|
+
</xsl:if>
|
273
|
+
</xsl:template>
|
274
|
+
|
275
|
+
<xsl:template name="print-space">
|
276
|
+
<xsl:param name="i"/>
|
277
|
+
<xsl:param name="count"/>
|
278
|
+
<xsl:if test="$i <= $count">
|
279
|
+
<xsl:text> </xsl:text>
|
280
|
+
<xsl:call-template name="print-space">
|
281
|
+
<xsl:with-param name="i">
|
282
|
+
<xsl:value-of select="$i + 1"/>
|
283
|
+
</xsl:with-param>
|
284
|
+
<xsl:with-param name="count">
|
285
|
+
<xsl:value-of select="$count"/>
|
286
|
+
</xsl:with-param>
|
287
|
+
</xsl:call-template>
|
288
|
+
</xsl:if>
|
289
|
+
</xsl:template>
|
290
|
+
<xsl:template name="print-newline">
|
291
|
+
<xsl:text>
|
292
|
+
</xsl:text>
|
293
|
+
</xsl:template>
|
294
|
+
|
295
|
+
</xsl:stylesheet>
|
296
|
+
</transformation>
|
297
|
+
</testset>
|
@@ -0,0 +1,315 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<testset>
|
3
|
+
<positions/>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
+
<dataelements>
|
6
|
+
<persons>3</persons>
|
7
|
+
<hotels>[]</hotels>
|
8
|
+
<costs>0</costs>
|
9
|
+
</dataelements>
|
10
|
+
<endpoints>
|
11
|
+
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
12
|
+
</endpoints>
|
13
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
14
|
+
<parallel>
|
15
|
+
<loop pre_test="data.persons > 0">
|
16
|
+
<parallel_branch pass="data.persons" local="p">
|
17
|
+
<call id="a2" endpoint="bookHotel">
|
18
|
+
<parameters>
|
19
|
+
<method>post</method>
|
20
|
+
<parameters>
|
21
|
+
<to>"Vienna"</to>
|
22
|
+
</parameters>
|
23
|
+
</parameters>
|
24
|
+
<manipulate output="result"> data.hotels << result.value('id')
|
25
|
+
data.costs += result.value('costs').to_f</manipulate>
|
26
|
+
</call>
|
27
|
+
</parallel_branch>
|
28
|
+
<manipulate id="a3"> data.persons -= 1</manipulate>
|
29
|
+
</loop>
|
30
|
+
</parallel>
|
31
|
+
</description>
|
32
|
+
<transformation>
|
33
|
+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
|
34
|
+
<xsl:output method="text"/>
|
35
|
+
<xsl:strip-space elements="*"/>
|
36
|
+
<xsl:variable name="myspacemultiplier">2</xsl:variable>
|
37
|
+
|
38
|
+
<xsl:template match="/">
|
39
|
+
<xsl:apply-templates select="//d:description"/>
|
40
|
+
</xsl:template>
|
41
|
+
|
42
|
+
<xsl:template match="//d:description">
|
43
|
+
<xsl:apply-templates>
|
44
|
+
<xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
|
45
|
+
</xsl:apply-templates>
|
46
|
+
</xsl:template>
|
47
|
+
|
48
|
+
<xsl:template match="*">
|
49
|
+
<xsl:param name="myspace"/>
|
50
|
+
<xsl:call-template name="print-space">
|
51
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
52
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
53
|
+
</xsl:call-template>
|
54
|
+
<xsl:if test="name()='call' or name()='manipulate'">
|
55
|
+
<xsl:text>activity :</xsl:text>
|
56
|
+
<xsl:value-of select="@id"/>
|
57
|
+
</xsl:if>
|
58
|
+
<xsl:if test="name()='call'">
|
59
|
+
<xsl:text>, :call, :</xsl:text>
|
60
|
+
<xsl:value-of select="@endpoint"/>
|
61
|
+
<xsl:apply-templates select="d:parameters"/>
|
62
|
+
<xsl:apply-templates select="d:manipulate" mode="part-of-call">
|
63
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
64
|
+
</xsl:apply-templates>
|
65
|
+
<xsl:call-template name="print-newline"/>
|
66
|
+
</xsl:if>
|
67
|
+
<xsl:if test="name()='manipulate'">
|
68
|
+
<xsl:text>, :manipulate</xsl:text>
|
69
|
+
<xsl:call-template name="print-content">
|
70
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
71
|
+
</xsl:call-template>
|
72
|
+
<xsl:call-template name="print-newline"/>
|
73
|
+
</xsl:if>
|
74
|
+
<xsl:if test="name()='parallel'">
|
75
|
+
<xsl:text>parallel</xsl:text>
|
76
|
+
<xsl:if test="@wait">
|
77
|
+
<xsl:text> :wait => </xsl:text>
|
78
|
+
<xsl:value-of select="@wait"/>
|
79
|
+
</xsl:if>
|
80
|
+
<xsl:text> do</xsl:text>
|
81
|
+
<xsl:call-template name="print-newline"/>
|
82
|
+
<xsl:apply-templates>
|
83
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
84
|
+
</xsl:apply-templates>
|
85
|
+
<xsl:call-template name="print-space">
|
86
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
87
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
88
|
+
</xsl:call-template>
|
89
|
+
<xsl:text>end</xsl:text>
|
90
|
+
<xsl:call-template name="print-newline"/>
|
91
|
+
</xsl:if>
|
92
|
+
<xsl:if test="name()='loop'">
|
93
|
+
<xsl:text>loop </xsl:text>
|
94
|
+
<xsl:if test="@pre_test">
|
95
|
+
<xsl:text>pre_test{</xsl:text>
|
96
|
+
<xsl:value-of select="@pre_test"/>
|
97
|
+
<xsl:text>} </xsl:text>
|
98
|
+
</xsl:if>
|
99
|
+
<xsl:if test="@post_test">
|
100
|
+
<xsl:text>post_test{</xsl:text>
|
101
|
+
<xsl:value-of select="@post_test"/>
|
102
|
+
<xsl:text>} </xsl:text>
|
103
|
+
</xsl:if>
|
104
|
+
<xsl:text>do</xsl:text>
|
105
|
+
<xsl:call-template name="print-newline"/>
|
106
|
+
<xsl:apply-templates>
|
107
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
108
|
+
</xsl:apply-templates>
|
109
|
+
<xsl:call-template name="print-space">
|
110
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
111
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
112
|
+
</xsl:call-template>
|
113
|
+
<xsl:text>end</xsl:text>
|
114
|
+
<xsl:call-template name="print-newline"/>
|
115
|
+
</xsl:if>
|
116
|
+
<xsl:if test="name()='choose'">
|
117
|
+
<xsl:text>choose do</xsl:text>
|
118
|
+
<xsl:call-template name="print-newline"/>
|
119
|
+
<xsl:apply-templates>
|
120
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
121
|
+
</xsl:apply-templates>
|
122
|
+
<xsl:call-template name="print-space">
|
123
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
124
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
125
|
+
</xsl:call-template>
|
126
|
+
<xsl:text>end</xsl:text>
|
127
|
+
<xsl:call-template name="print-newline"/>
|
128
|
+
</xsl:if>
|
129
|
+
<xsl:if test="name()='group'">
|
130
|
+
<xsl:apply-templates>
|
131
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
132
|
+
</xsl:apply-templates>
|
133
|
+
<xsl:call-template name="print-newline"/>
|
134
|
+
</xsl:if>
|
135
|
+
<xsl:if test="name()='critical'">
|
136
|
+
<xsl:text>critical :</xsl:text>
|
137
|
+
<xsl:value-of select="@sid"/>
|
138
|
+
<xsl:text> do</xsl:text>
|
139
|
+
<xsl:call-template name="print-newline"/>
|
140
|
+
<xsl:apply-templates>
|
141
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
142
|
+
</xsl:apply-templates>
|
143
|
+
<xsl:call-template name="print-space">
|
144
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
145
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
146
|
+
</xsl:call-template>
|
147
|
+
<xsl:text>end</xsl:text>
|
148
|
+
<xsl:call-template name="print-newline"/>
|
149
|
+
</xsl:if>
|
150
|
+
</xsl:template>
|
151
|
+
|
152
|
+
<xsl:template match="d:alternative">
|
153
|
+
<xsl:param name="myspace"/>
|
154
|
+
<xsl:call-template name="print-space">
|
155
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
156
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
157
|
+
</xsl:call-template>
|
158
|
+
<xsl:text>alternative </xsl:text>
|
159
|
+
<xsl:value-of select="@condition"/>
|
160
|
+
<xsl:text> do</xsl:text>
|
161
|
+
<xsl:call-template name="print-newline"/>
|
162
|
+
<xsl:apply-templates>
|
163
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
164
|
+
</xsl:apply-templates>
|
165
|
+
<xsl:call-template name="print-space">
|
166
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
167
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
168
|
+
</xsl:call-template>
|
169
|
+
<xsl:text>end</xsl:text>
|
170
|
+
<xsl:call-template name="print-newline"/>
|
171
|
+
</xsl:template>
|
172
|
+
|
173
|
+
<xsl:template match="d:otherwise">
|
174
|
+
<xsl:param name="myspace"/>
|
175
|
+
<xsl:call-template name="print-space">
|
176
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
177
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
178
|
+
</xsl:call-template>
|
179
|
+
<xsl:text>otherwise do</xsl:text>
|
180
|
+
<xsl:call-template name="print-newline"/>
|
181
|
+
<xsl:apply-templates>
|
182
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
183
|
+
</xsl:apply-templates>
|
184
|
+
<xsl:call-template name="print-space">
|
185
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
186
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
187
|
+
</xsl:call-template>
|
188
|
+
<xsl:text>end</xsl:text>
|
189
|
+
<xsl:call-template name="print-newline"/>
|
190
|
+
</xsl:template>
|
191
|
+
|
192
|
+
<xsl:template match="d:parallel_branch">
|
193
|
+
<xsl:param name="myspace"/>
|
194
|
+
<xsl:call-template name="print-space">
|
195
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
196
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
197
|
+
</xsl:call-template>
|
198
|
+
<xsl:text>parallel_branch</xsl:text>
|
199
|
+
<xsl:if test="@pass">
|
200
|
+
<xsl:text> </xsl:text>
|
201
|
+
<xsl:value-of select="@pass"/>
|
202
|
+
</xsl:if>
|
203
|
+
<xsl:text> do</xsl:text>
|
204
|
+
<xsl:if test="@local">
|
205
|
+
<xsl:text> |</xsl:text>
|
206
|
+
<xsl:value-of select="@local"/>
|
207
|
+
<xsl:text>|</xsl:text>
|
208
|
+
</xsl:if>
|
209
|
+
<xsl:call-template name="print-newline"/>
|
210
|
+
<xsl:apply-templates>
|
211
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
212
|
+
</xsl:apply-templates>
|
213
|
+
<xsl:call-template name="print-space">
|
214
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
215
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
216
|
+
</xsl:call-template>
|
217
|
+
<xsl:text>end</xsl:text>
|
218
|
+
<xsl:call-template name="print-newline"/>
|
219
|
+
</xsl:template>
|
220
|
+
|
221
|
+
<xsl:template match="d:parameters">
|
222
|
+
<xsl:apply-templates select="d:*" mode="parameter"/>
|
223
|
+
</xsl:template>
|
224
|
+
|
225
|
+
<xsl:template match="d:*" mode="parameter">
|
226
|
+
<xsl:text>, :</xsl:text>
|
227
|
+
<xsl:value-of select="name()"/>
|
228
|
+
<xsl:text> => </xsl:text>
|
229
|
+
<xsl:choose>
|
230
|
+
<xsl:when test="count(*) > 0">
|
231
|
+
<xsl:text>[</xsl:text>
|
232
|
+
<xsl:apply-templates select="d:*" mode="sub-parameter"/>
|
233
|
+
<xsl:text>]</xsl:text>
|
234
|
+
</xsl:when>
|
235
|
+
<xsl:otherwise>
|
236
|
+
<xsl:choose>
|
237
|
+
<xsl:when test="@type = 'symbolic'">
|
238
|
+
<xsl:value-of select="text()"/>
|
239
|
+
</xsl:when>
|
240
|
+
<xsl:otherwise>
|
241
|
+
<xsl:text>"</xsl:text>
|
242
|
+
<xsl:value-of select="text()"/>
|
243
|
+
<xsl:text>"</xsl:text>
|
244
|
+
</xsl:otherwise>
|
245
|
+
</xsl:choose>
|
246
|
+
</xsl:otherwise>
|
247
|
+
</xsl:choose>
|
248
|
+
</xsl:template>
|
249
|
+
|
250
|
+
<xsl:template match="d:*" mode="sub-parameter">
|
251
|
+
<xsl:text> { :</xsl:text>
|
252
|
+
<xsl:value-of select="name()"/>
|
253
|
+
<xsl:text> => </xsl:text>
|
254
|
+
<xsl:value-of select="text()"/>
|
255
|
+
<xsl:text> }</xsl:text>
|
256
|
+
<xsl:choose>
|
257
|
+
<xsl:when test="generate-id(.) = generate-id(../*[last()])">
|
258
|
+
<xsl:text> </xsl:text>
|
259
|
+
</xsl:when>
|
260
|
+
<xsl:otherwise>
|
261
|
+
<xsl:text>,</xsl:text>
|
262
|
+
</xsl:otherwise>
|
263
|
+
</xsl:choose>
|
264
|
+
</xsl:template>
|
265
|
+
|
266
|
+
<xsl:template match="d:manipulate" mode="part-of-call">
|
267
|
+
<xsl:param name="myspace"/>
|
268
|
+
<xsl:call-template name="print-content">
|
269
|
+
<xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
|
270
|
+
</xsl:call-template>
|
271
|
+
</xsl:template>
|
272
|
+
|
273
|
+
<xsl:template name="print-content">
|
274
|
+
<xsl:param name="myspace"/>
|
275
|
+
<xsl:if test="text()">
|
276
|
+
<xsl:text> do </xsl:text>
|
277
|
+
<xsl:if test="@output">
|
278
|
+
<xsl:text>|</xsl:text>
|
279
|
+
<xsl:value-of select="@output"/>
|
280
|
+
<xsl:text>|</xsl:text>
|
281
|
+
</xsl:if>
|
282
|
+
<xsl:call-template name="print-newline"/>
|
283
|
+
<xsl:value-of select="text()"/>
|
284
|
+
<xsl:call-template name="print-newline"/>
|
285
|
+
<xsl:call-template name="print-space">
|
286
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
287
|
+
<xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
|
288
|
+
</xsl:call-template>
|
289
|
+
<xsl:text>end</xsl:text>
|
290
|
+
</xsl:if>
|
291
|
+
</xsl:template>
|
292
|
+
|
293
|
+
<xsl:template name="print-space">
|
294
|
+
<xsl:param name="i"/>
|
295
|
+
<xsl:param name="count"/>
|
296
|
+
<xsl:if test="$i <= $count">
|
297
|
+
<xsl:text> </xsl:text>
|
298
|
+
<xsl:call-template name="print-space">
|
299
|
+
<xsl:with-param name="i">
|
300
|
+
<xsl:value-of select="$i + 1"/>
|
301
|
+
</xsl:with-param>
|
302
|
+
<xsl:with-param name="count">
|
303
|
+
<xsl:value-of select="$count"/>
|
304
|
+
</xsl:with-param>
|
305
|
+
</xsl:call-template>
|
306
|
+
</xsl:if>
|
307
|
+
</xsl:template>
|
308
|
+
<xsl:template name="print-newline">
|
309
|
+
<xsl:text>
|
310
|
+
</xsl:text>
|
311
|
+
</xsl:template>
|
312
|
+
|
313
|
+
</xsl:stylesheet>
|
314
|
+
</transformation>
|
315
|
+
</testset>
|