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 @@
|
|
1
|
+
0629c8ad29c6288973c14f7cf5349050
|
@@ -0,0 +1 @@
|
|
1
|
+
922e6041847b8433256fc66436d3de02
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
|
2
|
+
<topic id="running">
|
3
|
+
<event>activity_calling</event>
|
4
|
+
<event>activity_manipulating</event>
|
5
|
+
<event>activity_failed</event>
|
6
|
+
<event>activity_done</event>
|
7
|
+
</topic>
|
8
|
+
<topic id="properties/position">
|
9
|
+
<event>change</event>
|
10
|
+
</topic>
|
11
|
+
<topic id="properties/description">
|
12
|
+
<event>change</event>
|
13
|
+
<event>error</event>
|
14
|
+
</topic>
|
15
|
+
<topic id="properties/state">
|
16
|
+
<event>change</event>
|
17
|
+
</topic>
|
18
|
+
<topic id="properties/dataelements">
|
19
|
+
<event>change</event>
|
20
|
+
</topic>
|
21
|
+
<topic id="properties/endpoints">
|
22
|
+
<event>change</event>
|
23
|
+
</topic>
|
24
|
+
<topic id="properties/handlers">
|
25
|
+
<event>change</event>
|
26
|
+
</topic>
|
27
|
+
</subscription>
|
@@ -0,0 +1 @@
|
|
1
|
+
5be4a6461e58e2983d42d9afa3ec2963
|
@@ -0,0 +1 @@
|
|
1
|
+
c135d47e89193753751408eef8c37c42
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
|
2
|
+
<topic id="running">
|
3
|
+
<event>activity_calling</event>
|
4
|
+
<event>activity_manipulating</event>
|
5
|
+
<event>activity_failed</event>
|
6
|
+
<event>activity_done</event>
|
7
|
+
</topic>
|
8
|
+
<topic id="properties/position">
|
9
|
+
<event>change</event>
|
10
|
+
</topic>
|
11
|
+
<topic id="properties/description">
|
12
|
+
<event>change</event>
|
13
|
+
<event>error</event>
|
14
|
+
</topic>
|
15
|
+
<topic id="properties/state">
|
16
|
+
<event>change</event>
|
17
|
+
</topic>
|
18
|
+
<topic id="properties/dataelements">
|
19
|
+
<event>change</event>
|
20
|
+
</topic>
|
21
|
+
<topic id="properties/endpoints">
|
22
|
+
<event>change</event>
|
23
|
+
</topic>
|
24
|
+
<topic id="properties/handlers">
|
25
|
+
<event>change</event>
|
26
|
+
</topic>
|
27
|
+
</subscription>
|
@@ -0,0 +1 @@
|
|
1
|
+
3966c8593ea3cdf21b84661f77bada79
|
@@ -0,0 +1 @@
|
|
1
|
+
3243ac88840f8b49b97d44c96f944b15
|
@@ -0,0 +1,27 @@
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
|
2
|
+
<topic id="running">
|
3
|
+
<event>activity_calling</event>
|
4
|
+
<event>activity_manipulating</event>
|
5
|
+
<event>activity_failed</event>
|
6
|
+
<event>activity_done</event>
|
7
|
+
</topic>
|
8
|
+
<topic id="properties/position">
|
9
|
+
<event>change</event>
|
10
|
+
</topic>
|
11
|
+
<topic id="properties/description">
|
12
|
+
<event>change</event>
|
13
|
+
<event>error</event>
|
14
|
+
</topic>
|
15
|
+
<topic id="properties/state">
|
16
|
+
<event>change</event>
|
17
|
+
</topic>
|
18
|
+
<topic id="properties/dataelements">
|
19
|
+
<event>change</event>
|
20
|
+
</topic>
|
21
|
+
<topic id="properties/endpoints">
|
22
|
+
<event>change</event>
|
23
|
+
</topic>
|
24
|
+
<topic id="properties/handlers">
|
25
|
+
<event>change</event>
|
26
|
+
</topic>
|
27
|
+
</subscription>
|
@@ -0,0 +1 @@
|
|
1
|
+
d15b7c1a307e72883c426c54fc405c8a
|
@@ -0,0 +1 @@
|
|
1
|
+
8c112a71261040d6d025156d536edf1d
|
@@ -0,0 +1,522 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<name>Enter name here</name>
|
3
|
+
<state>stopped</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
+
<positions>
|
6
|
+
<a9>at</a9>
|
7
|
+
<a5>at</a5>
|
8
|
+
<a2>at</a2>
|
9
|
+
<a1>at</a1>
|
10
|
+
</positions>
|
11
|
+
<dataelements>
|
12
|
+
<test/>
|
13
|
+
</dataelements>
|
14
|
+
<endpoints>
|
15
|
+
<gateway>http://localhost/gateways/timeout.php</gateway>
|
16
|
+
</endpoints>
|
17
|
+
<dsl>parallel do
|
18
|
+
parallel_branch do
|
19
|
+
activity :a9, :call, :gateway, :label => "Produce Headcap Subsystem", :method => "post", :parameters => [ { :timeout => 4 } ]
|
20
|
+
activity :a10, :call, :gateway, :label => "Delivery", :method => "post", :parameters => [ { :timeout => 4 } ]
|
21
|
+
end
|
22
|
+
parallel_branch do
|
23
|
+
activity :a5, :call, :gateway, :label => "Supply Mechanical Parts", :method => "post", :parameters => [ { :timeout => 4 } ]
|
24
|
+
activity :a6, :call, :gateway, :label => "Produce Mechanical Parts (A-Z)", :method => "post", :parameters => [ { :timeout => 4 } ]
|
25
|
+
activity :a7, :call, :gateway, :label => "Perform Surface Treatment", :method => "post", :parameters => [ { :timeout => 4 } ]
|
26
|
+
activity :a8, :call, :gateway, :label => "Mechanical Parts Assembly", :method => "post", :parameters => [ { :timeout => 4 } ]
|
27
|
+
end
|
28
|
+
parallel_branch do
|
29
|
+
parallel do
|
30
|
+
parallel_branch do
|
31
|
+
activity :a2, :call, :gateway, :label => "Supply Electric Parts", :method => "post", :parameters => [ { :timeout => 4 } ]
|
32
|
+
activity :a3, :call, :gateway, :label => "Delivery", :method => "post", :parameters => [ { :timeout => 4 } ]
|
33
|
+
end
|
34
|
+
parallel_branch do
|
35
|
+
activity :a1, :call, :gateway, :label => "Develop Control System", :method => "post", :parameters => [ { :timeout => 4 } ]
|
36
|
+
end
|
37
|
+
end
|
38
|
+
activity :a4, :call, :gateway, :label => "Electric Board Assembly", :method => "post", :parameters => [ { :timeout => 4 } ]
|
39
|
+
end
|
40
|
+
end
|
41
|
+
activity :a11, :call, :gateway, :label => "Systems Integration", :method => "post", :parameters => [ { :timeout => 4 } ]
|
42
|
+
activity :a12, :call, :gateway, :label => "Test", :method => "post", :parameters => [ { :timeout => 4 } ] do |result|
|
43
|
+
data.test = "success"
|
44
|
+
end
|
45
|
+
</dsl>
|
46
|
+
<status>
|
47
|
+
<id>0</id>
|
48
|
+
<message>undefined</message>
|
49
|
+
</status>
|
50
|
+
<description>
|
51
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
52
|
+
<!--{{{-->
|
53
|
+
<parallel>
|
54
|
+
<parallel_branch>
|
55
|
+
<call id="a9" endpoint="gateway">
|
56
|
+
<parameters>
|
57
|
+
<!--{{{-->
|
58
|
+
<label>Produce Headcap Subsystem</label>
|
59
|
+
<method>post</method>
|
60
|
+
<parameters>
|
61
|
+
<timeout>4</timeout>
|
62
|
+
</parameters>
|
63
|
+
</parameters>
|
64
|
+
<!--}}}-->
|
65
|
+
</call>
|
66
|
+
<call id="a10" endpoint="gateway">
|
67
|
+
<parameters>
|
68
|
+
<!--{{{-->
|
69
|
+
<label>Delivery</label>
|
70
|
+
<method>post</method>
|
71
|
+
<parameters>
|
72
|
+
<timeout>4</timeout>
|
73
|
+
</parameters>
|
74
|
+
</parameters>
|
75
|
+
<!--}}}-->
|
76
|
+
</call>
|
77
|
+
</parallel_branch>
|
78
|
+
<parallel_branch>
|
79
|
+
<call id="a5" endpoint="gateway">
|
80
|
+
<parameters>
|
81
|
+
<!--{{{-->
|
82
|
+
<label>Supply Mechanical Parts</label>
|
83
|
+
<method>post</method>
|
84
|
+
<parameters>
|
85
|
+
<timeout>4</timeout>
|
86
|
+
</parameters>
|
87
|
+
</parameters>
|
88
|
+
<!--}}}-->
|
89
|
+
</call>
|
90
|
+
<call id="a6" endpoint="gateway">
|
91
|
+
<parameters>
|
92
|
+
<!--{{{-->
|
93
|
+
<label>Produce Mechanical Parts (A-Z)</label>
|
94
|
+
<method>post</method>
|
95
|
+
<parameters>
|
96
|
+
<timeout>4</timeout>
|
97
|
+
</parameters>
|
98
|
+
</parameters>
|
99
|
+
<!--}}}-->
|
100
|
+
</call>
|
101
|
+
<call id="a7" endpoint="gateway">
|
102
|
+
<parameters>
|
103
|
+
<!--{{{-->
|
104
|
+
<label>Perform Surface Treatment</label>
|
105
|
+
<method>post</method>
|
106
|
+
<parameters>
|
107
|
+
<timeout>4</timeout>
|
108
|
+
</parameters>
|
109
|
+
</parameters>
|
110
|
+
<!--}}}-->
|
111
|
+
</call>
|
112
|
+
<call id="a8" endpoint="gateway">
|
113
|
+
<parameters>
|
114
|
+
<!--{{{-->
|
115
|
+
<label>Mechanical Parts Assembly</label>
|
116
|
+
<method>post</method>
|
117
|
+
<parameters>
|
118
|
+
<timeout>4</timeout>
|
119
|
+
</parameters>
|
120
|
+
</parameters>
|
121
|
+
<!--}}}-->
|
122
|
+
</call>
|
123
|
+
</parallel_branch>
|
124
|
+
<parallel_branch>
|
125
|
+
<parallel>
|
126
|
+
<parallel_branch>
|
127
|
+
<call id="a2" endpoint="gateway">
|
128
|
+
<parameters>
|
129
|
+
<!--{{{-->
|
130
|
+
<label>Supply Electric Parts</label>
|
131
|
+
<method>post</method>
|
132
|
+
<parameters>
|
133
|
+
<timeout>4</timeout>
|
134
|
+
</parameters>
|
135
|
+
</parameters>
|
136
|
+
<!--}}}-->
|
137
|
+
</call>
|
138
|
+
<call id="a3" endpoint="gateway">
|
139
|
+
<parameters>
|
140
|
+
<!--{{{-->
|
141
|
+
<label>Delivery</label>
|
142
|
+
<method>post</method>
|
143
|
+
<parameters>
|
144
|
+
<timeout>4</timeout>
|
145
|
+
</parameters>
|
146
|
+
</parameters>
|
147
|
+
<!--}}}-->
|
148
|
+
</call>
|
149
|
+
</parallel_branch>
|
150
|
+
<parallel_branch>
|
151
|
+
<call id="a1" endpoint="gateway">
|
152
|
+
<parameters>
|
153
|
+
<!--{{{-->
|
154
|
+
<label>Develop Control System</label>
|
155
|
+
<method>post</method>
|
156
|
+
<parameters>
|
157
|
+
<timeout>4</timeout>
|
158
|
+
</parameters>
|
159
|
+
</parameters>
|
160
|
+
<!--}}}-->
|
161
|
+
</call>
|
162
|
+
</parallel_branch>
|
163
|
+
</parallel>
|
164
|
+
<call id="a4" endpoint="gateway">
|
165
|
+
<parameters>
|
166
|
+
<!--{{{-->
|
167
|
+
<label>Electric Board Assembly</label>
|
168
|
+
<method>post</method>
|
169
|
+
<parameters>
|
170
|
+
<timeout>4</timeout>
|
171
|
+
</parameters>
|
172
|
+
</parameters>
|
173
|
+
<!--}}}-->
|
174
|
+
</call>
|
175
|
+
</parallel_branch>
|
176
|
+
</parallel>
|
177
|
+
<call id="a11" endpoint="gateway">
|
178
|
+
<parameters>
|
179
|
+
<!--{{{-->
|
180
|
+
<label>Systems Integration</label>
|
181
|
+
<method>post</method>
|
182
|
+
<parameters>
|
183
|
+
<timeout>4</timeout>
|
184
|
+
</parameters>
|
185
|
+
</parameters>
|
186
|
+
<!--}}}-->
|
187
|
+
</call>
|
188
|
+
<call id="a12" endpoint="gateway">
|
189
|
+
<parameters>
|
190
|
+
<!--{{{-->
|
191
|
+
<label>Test</label>
|
192
|
+
<method>post</method>
|
193
|
+
<parameters>
|
194
|
+
<timeout>4</timeout>
|
195
|
+
</parameters>
|
196
|
+
</parameters>
|
197
|
+
<!--}}}-->
|
198
|
+
<manipulate output="result"> data.test = "success"</manipulate>
|
199
|
+
</call>
|
200
|
+
</description>
|
201
|
+
</description>
|
202
|
+
<transformation>
|
203
|
+
<!--{{{-->
|
204
|
+
<!--}}}-->
|
205
|
+
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0" version="1.0">
|
206
|
+
<xsl:output method="text"/>
|
207
|
+
<xsl:strip-space elements="*"/>
|
208
|
+
<xsl:variable name="myspacemultiplier">2</xsl:variable>
|
209
|
+
<xsl:template match="/">
|
210
|
+
<xsl:apply-templates select="//d:description"/>
|
211
|
+
</xsl:template>
|
212
|
+
<xsl:template match="//d:description">
|
213
|
+
<xsl:apply-templates>
|
214
|
+
<xsl:with-param name="myspace">
|
215
|
+
<xsl:value-of select="-1*$myspacemultiplier"/>
|
216
|
+
</xsl:with-param>
|
217
|
+
</xsl:apply-templates>
|
218
|
+
</xsl:template>
|
219
|
+
<xsl:template match="*">
|
220
|
+
<xsl:param name="myspace"/>
|
221
|
+
<xsl:call-template name="print-space">
|
222
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
223
|
+
<xsl:with-param name="count">
|
224
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
225
|
+
</xsl:with-param>
|
226
|
+
</xsl:call-template>
|
227
|
+
<xsl:if test="name()='call' or name()='manipulate'">
|
228
|
+
<xsl:text>activity :</xsl:text>
|
229
|
+
<xsl:value-of select="@id"/>
|
230
|
+
</xsl:if>
|
231
|
+
<xsl:if test="name()='call'">
|
232
|
+
<xsl:text>, :call, :</xsl:text>
|
233
|
+
<xsl:value-of select="@endpoint"/>
|
234
|
+
<xsl:apply-templates select="d:parameters"/>
|
235
|
+
<xsl:apply-templates select="d:manipulate" mode="part-of-call">
|
236
|
+
<xsl:with-param name="myspace">
|
237
|
+
<xsl:value-of select="$myspace"/>
|
238
|
+
</xsl:with-param>
|
239
|
+
</xsl:apply-templates>
|
240
|
+
<xsl:call-template name="print-newline"/>
|
241
|
+
</xsl:if>
|
242
|
+
<xsl:if test="name()='manipulate'">
|
243
|
+
<xsl:text>, :manipulate</xsl:text>
|
244
|
+
<xsl:call-template name="print-content">
|
245
|
+
<xsl:with-param name="myspace">
|
246
|
+
<xsl:value-of select="$myspace"/>
|
247
|
+
</xsl:with-param>
|
248
|
+
</xsl:call-template>
|
249
|
+
<xsl:call-template name="print-newline"/>
|
250
|
+
</xsl:if>
|
251
|
+
<xsl:if test="name()='parallel'">
|
252
|
+
<xsl:text>parallel</xsl:text>
|
253
|
+
<xsl:if test="@wait">
|
254
|
+
<xsl:text> :wait => </xsl:text>
|
255
|
+
<xsl:value-of select="@wait"/>
|
256
|
+
</xsl:if>
|
257
|
+
<xsl:text> do</xsl:text>
|
258
|
+
<xsl:call-template name="print-newline"/>
|
259
|
+
<xsl:apply-templates>
|
260
|
+
<xsl:with-param name="myspace">
|
261
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
262
|
+
</xsl:with-param>
|
263
|
+
</xsl:apply-templates>
|
264
|
+
<xsl:call-template name="print-space">
|
265
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
266
|
+
<xsl:with-param name="count">
|
267
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
268
|
+
</xsl:with-param>
|
269
|
+
</xsl:call-template>
|
270
|
+
<xsl:text>end</xsl:text>
|
271
|
+
<xsl:call-template name="print-newline"/>
|
272
|
+
</xsl:if>
|
273
|
+
<xsl:if test="name()='loop'">
|
274
|
+
<xsl:text>loop </xsl:text>
|
275
|
+
<xsl:if test="@pre_test">
|
276
|
+
<xsl:text>pre_test{</xsl:text>
|
277
|
+
<xsl:value-of select="@pre_test"/>
|
278
|
+
<xsl:text>} </xsl:text>
|
279
|
+
</xsl:if>
|
280
|
+
<xsl:if test="@post_test">
|
281
|
+
<xsl:text>post_test{</xsl:text>
|
282
|
+
<xsl:value-of select="@post_test"/>
|
283
|
+
<xsl:text>} </xsl:text>
|
284
|
+
</xsl:if>
|
285
|
+
<xsl:text>do</xsl:text>
|
286
|
+
<xsl:call-template name="print-newline"/>
|
287
|
+
<xsl:apply-templates>
|
288
|
+
<xsl:with-param name="myspace">
|
289
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
290
|
+
</xsl:with-param>
|
291
|
+
</xsl:apply-templates>
|
292
|
+
<xsl:call-template name="print-space">
|
293
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
294
|
+
<xsl:with-param name="count">
|
295
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
296
|
+
</xsl:with-param>
|
297
|
+
</xsl:call-template>
|
298
|
+
<xsl:text>end</xsl:text>
|
299
|
+
<xsl:call-template name="print-newline"/>
|
300
|
+
</xsl:if>
|
301
|
+
<xsl:if test="name()='choose'">
|
302
|
+
<xsl:text>choose do</xsl:text>
|
303
|
+
<xsl:call-template name="print-newline"/>
|
304
|
+
<xsl:apply-templates>
|
305
|
+
<xsl:with-param name="myspace">
|
306
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
307
|
+
</xsl:with-param>
|
308
|
+
</xsl:apply-templates>
|
309
|
+
<xsl:call-template name="print-space">
|
310
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
311
|
+
<xsl:with-param name="count">
|
312
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
313
|
+
</xsl:with-param>
|
314
|
+
</xsl:call-template>
|
315
|
+
<xsl:text>end</xsl:text>
|
316
|
+
<xsl:call-template name="print-newline"/>
|
317
|
+
</xsl:if>
|
318
|
+
<xsl:if test="name()='group'">
|
319
|
+
<xsl:apply-templates>
|
320
|
+
<xsl:with-param name="myspace">
|
321
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
322
|
+
</xsl:with-param>
|
323
|
+
</xsl:apply-templates>
|
324
|
+
<xsl:call-template name="print-newline"/>
|
325
|
+
</xsl:if>
|
326
|
+
<xsl:if test="name()='critical'">
|
327
|
+
<xsl:text>critical :</xsl:text>
|
328
|
+
<xsl:value-of select="@sid"/>
|
329
|
+
<xsl:text> do</xsl:text>
|
330
|
+
<xsl:call-template name="print-newline"/>
|
331
|
+
<xsl:apply-templates>
|
332
|
+
<xsl:with-param name="myspace">
|
333
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
334
|
+
</xsl:with-param>
|
335
|
+
</xsl:apply-templates>
|
336
|
+
<xsl:call-template name="print-space">
|
337
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
338
|
+
<xsl:with-param name="count">
|
339
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
340
|
+
</xsl:with-param>
|
341
|
+
</xsl:call-template>
|
342
|
+
<xsl:text>end</xsl:text>
|
343
|
+
<xsl:call-template name="print-newline"/>
|
344
|
+
</xsl:if>
|
345
|
+
</xsl:template>
|
346
|
+
<xsl:template match="d:alternative">
|
347
|
+
<xsl:param name="myspace"/>
|
348
|
+
<xsl:call-template name="print-space">
|
349
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
350
|
+
<xsl:with-param name="count">
|
351
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
352
|
+
</xsl:with-param>
|
353
|
+
</xsl:call-template>
|
354
|
+
<xsl:text>alternative </xsl:text>
|
355
|
+
<xsl:value-of select="@condition"/>
|
356
|
+
<xsl:text> do</xsl:text>
|
357
|
+
<xsl:call-template name="print-newline"/>
|
358
|
+
<xsl:apply-templates>
|
359
|
+
<xsl:with-param name="myspace">
|
360
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
361
|
+
</xsl:with-param>
|
362
|
+
</xsl:apply-templates>
|
363
|
+
<xsl:call-template name="print-space">
|
364
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
365
|
+
<xsl:with-param name="count">
|
366
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
367
|
+
</xsl:with-param>
|
368
|
+
</xsl:call-template>
|
369
|
+
<xsl:text>end</xsl:text>
|
370
|
+
<xsl:call-template name="print-newline"/>
|
371
|
+
</xsl:template>
|
372
|
+
<xsl:template match="d:otherwise">
|
373
|
+
<xsl:param name="myspace"/>
|
374
|
+
<xsl:call-template name="print-space">
|
375
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
376
|
+
<xsl:with-param name="count">
|
377
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
378
|
+
</xsl:with-param>
|
379
|
+
</xsl:call-template>
|
380
|
+
<xsl:text>otherwise do</xsl:text>
|
381
|
+
<xsl:call-template name="print-newline"/>
|
382
|
+
<xsl:apply-templates>
|
383
|
+
<xsl:with-param name="myspace">
|
384
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
385
|
+
</xsl:with-param>
|
386
|
+
</xsl:apply-templates>
|
387
|
+
<xsl:call-template name="print-space">
|
388
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
389
|
+
<xsl:with-param name="count">
|
390
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
391
|
+
</xsl:with-param>
|
392
|
+
</xsl:call-template>
|
393
|
+
<xsl:text>end</xsl:text>
|
394
|
+
<xsl:call-template name="print-newline"/>
|
395
|
+
</xsl:template>
|
396
|
+
<xsl:template match="d:parallel_branch">
|
397
|
+
<xsl:param name="myspace"/>
|
398
|
+
<xsl:call-template name="print-space">
|
399
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
400
|
+
<xsl:with-param name="count">
|
401
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
402
|
+
</xsl:with-param>
|
403
|
+
</xsl:call-template>
|
404
|
+
<xsl:text>parallel_branch</xsl:text>
|
405
|
+
<xsl:if test="@pass">
|
406
|
+
<xsl:text> </xsl:text>
|
407
|
+
<xsl:value-of select="@pass"/>
|
408
|
+
</xsl:if>
|
409
|
+
<xsl:text> do</xsl:text>
|
410
|
+
<xsl:if test="@local">
|
411
|
+
<xsl:text> |</xsl:text>
|
412
|
+
<xsl:value-of select="@local"/>
|
413
|
+
<xsl:text>|</xsl:text>
|
414
|
+
</xsl:if>
|
415
|
+
<xsl:call-template name="print-newline"/>
|
416
|
+
<xsl:apply-templates>
|
417
|
+
<xsl:with-param name="myspace">
|
418
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
419
|
+
</xsl:with-param>
|
420
|
+
</xsl:apply-templates>
|
421
|
+
<xsl:call-template name="print-space">
|
422
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
423
|
+
<xsl:with-param name="count">
|
424
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
425
|
+
</xsl:with-param>
|
426
|
+
</xsl:call-template>
|
427
|
+
<xsl:text>end</xsl:text>
|
428
|
+
<xsl:call-template name="print-newline"/>
|
429
|
+
</xsl:template>
|
430
|
+
<xsl:template match="d:parameters">
|
431
|
+
<xsl:apply-templates select="d:*" mode="parameter"/>
|
432
|
+
</xsl:template>
|
433
|
+
<xsl:template match="d:*" mode="parameter">
|
434
|
+
<xsl:text>, :</xsl:text>
|
435
|
+
<xsl:value-of select="name()"/>
|
436
|
+
<xsl:text> => </xsl:text>
|
437
|
+
<xsl:choose>
|
438
|
+
<xsl:when test="count(*) > 0">
|
439
|
+
<xsl:text>[</xsl:text>
|
440
|
+
<xsl:apply-templates select="d:*" mode="sub-parameter"/>
|
441
|
+
<xsl:text>]</xsl:text>
|
442
|
+
</xsl:when>
|
443
|
+
<xsl:otherwise>
|
444
|
+
<xsl:choose>
|
445
|
+
<xsl:when test="@type = 'symbolic'">
|
446
|
+
<xsl:value-of select="text()"/>
|
447
|
+
</xsl:when>
|
448
|
+
<xsl:otherwise>
|
449
|
+
<xsl:text>"</xsl:text>
|
450
|
+
<xsl:value-of select="text()"/>
|
451
|
+
<xsl:text>"</xsl:text>
|
452
|
+
</xsl:otherwise>
|
453
|
+
</xsl:choose>
|
454
|
+
</xsl:otherwise>
|
455
|
+
</xsl:choose>
|
456
|
+
</xsl:template>
|
457
|
+
<xsl:template match="d:*" mode="sub-parameter">
|
458
|
+
<xsl:text> { :</xsl:text>
|
459
|
+
<xsl:value-of select="name()"/>
|
460
|
+
<xsl:text> => </xsl:text>
|
461
|
+
<xsl:value-of select="text()"/>
|
462
|
+
<xsl:text> }</xsl:text>
|
463
|
+
<xsl:choose>
|
464
|
+
<xsl:when test="generate-id(.) = generate-id(../*[last()])">
|
465
|
+
<xsl:text> </xsl:text>
|
466
|
+
</xsl:when>
|
467
|
+
<xsl:otherwise>
|
468
|
+
<xsl:text>,</xsl:text>
|
469
|
+
</xsl:otherwise>
|
470
|
+
</xsl:choose>
|
471
|
+
</xsl:template>
|
472
|
+
<xsl:template match="d:manipulate" mode="part-of-call">
|
473
|
+
<xsl:param name="myspace"/>
|
474
|
+
<xsl:call-template name="print-content">
|
475
|
+
<xsl:with-param name="myspace">
|
476
|
+
<xsl:value-of select="$myspace"/>
|
477
|
+
</xsl:with-param>
|
478
|
+
</xsl:call-template>
|
479
|
+
</xsl:template>
|
480
|
+
<xsl:template name="print-content">
|
481
|
+
<xsl:param name="myspace"/>
|
482
|
+
<xsl:if test="text()">
|
483
|
+
<xsl:text> do </xsl:text>
|
484
|
+
<xsl:if test="@output">
|
485
|
+
<xsl:text>|</xsl:text>
|
486
|
+
<xsl:value-of select="@output"/>
|
487
|
+
<xsl:text>|</xsl:text>
|
488
|
+
</xsl:if>
|
489
|
+
<xsl:call-template name="print-newline"/>
|
490
|
+
<xsl:value-of select="text()"/>
|
491
|
+
<xsl:call-template name="print-newline"/>
|
492
|
+
<xsl:call-template name="print-space">
|
493
|
+
<xsl:with-param name="i">1</xsl:with-param>
|
494
|
+
<xsl:with-param name="count">
|
495
|
+
<xsl:value-of select="$myspace+$myspacemultiplier"/>
|
496
|
+
</xsl:with-param>
|
497
|
+
</xsl:call-template>
|
498
|
+
<xsl:text>end</xsl:text>
|
499
|
+
</xsl:if>
|
500
|
+
</xsl:template>
|
501
|
+
<xsl:template name="print-space">
|
502
|
+
<xsl:param name="i"/>
|
503
|
+
<xsl:param name="count"/>
|
504
|
+
<xsl:if test="$i <= $count">
|
505
|
+
<xsl:text> </xsl:text>
|
506
|
+
<xsl:call-template name="print-space">
|
507
|
+
<xsl:with-param name="i">
|
508
|
+
<xsl:value-of select="$i + 1"/>
|
509
|
+
</xsl:with-param>
|
510
|
+
<xsl:with-param name="count">
|
511
|
+
<xsl:value-of select="$count"/>
|
512
|
+
</xsl:with-param>
|
513
|
+
</xsl:call-template>
|
514
|
+
</xsl:if>
|
515
|
+
</xsl:template>
|
516
|
+
<xsl:template name="print-newline">
|
517
|
+
<xsl:text>
|
518
|
+
</xsl:text>
|
519
|
+
</xsl:template>
|
520
|
+
</xsl:stylesheet>
|
521
|
+
</transformation>
|
522
|
+
</properties>
|