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
data/cockpit/lib/ui.js
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
/*
|
2
|
+
This file is part of CPEE.
|
3
|
+
|
4
|
+
CPEE is free software: you can redistribute it and/or modify it under the terms
|
5
|
+
of the GNU General Public License as published by the Free Software Foundation,
|
6
|
+
either version 3 of the License, or (at your option) any later version.
|
7
|
+
|
8
|
+
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
9
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
10
|
+
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
11
|
+
|
12
|
+
You should have received a copy of the GNU General Public License along with
|
13
|
+
CPEE (file COPYING in the main directory). If not, see
|
14
|
+
<http://www.gnu.org/licenses/>.
|
15
|
+
*/
|
16
|
+
|
17
|
+
function ui_tab_click(moi) { // {{{
|
18
|
+
var active = $(moi).attr('id').replace(/tab/,'');
|
19
|
+
var tab = $(moi).parent().parent().parent().parent();
|
20
|
+
var tabs = [];
|
21
|
+
$("td.tab",tab).each(function(){
|
22
|
+
if (!$(this).attr('class').match(/switch/))
|
23
|
+
tabs.push($(this).attr('id').replace(/tab/,''));
|
24
|
+
});
|
25
|
+
$(".inactive",tab).removeClass("inactive");
|
26
|
+
$.each(tabs,function(a,b){
|
27
|
+
if (b != active) {
|
28
|
+
$("#tab" + b).addClass("inactive");
|
29
|
+
$("#area" + b).addClass("inactive");
|
30
|
+
}
|
31
|
+
});
|
32
|
+
ui_rest_resize();
|
33
|
+
} // }}}
|
34
|
+
function ui_toggle_vis_tab(moi) {// {{{
|
35
|
+
var tabbar = $(moi).parent().parent().parent();
|
36
|
+
var tab = $(tabbar).parent();
|
37
|
+
var fix = $(tab).parent();
|
38
|
+
$('h1',moi).toggleClass('margin');
|
39
|
+
$("tr.border",tabbar).toggleClass('hidden');
|
40
|
+
$("div.tabbelow",tab).toggleClass('hidden');
|
41
|
+
$("td.tabbehind button",tabbar).toggleClass('hidden');
|
42
|
+
if ($(fix).attr('class') && $(fix).attr('class').match(/fixedstate/)) {
|
43
|
+
$(".fixedstatehollow").height($(fix).height());
|
44
|
+
}
|
45
|
+
ui_rest_resize();
|
46
|
+
}// }}}
|
47
|
+
|
48
|
+
function ui_rest_resize() {
|
49
|
+
if ($('div.tabbed.rest .tabbar')) {
|
50
|
+
var theight = $(window).height() - $('div.tabbed.rest .tabbar').offset().top - $('div.tabbed.rest .tabbar').height();
|
51
|
+
$('div.tabbed.rest .tabbelow').height(theight);
|
52
|
+
$('div.tabbed.rest .tabbelow .column').height(theight);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
$(document).ready(function() {
|
57
|
+
$(window).resize(ui_rest_resize);
|
58
|
+
$('.tabbed table.tabbar td.tab.switch').click(function(){ui_toggle_vis_tab(this);});
|
59
|
+
$('.tabbed table.tabbar td.tab').not('.switch').click(function(){ui_tab_click(this);});
|
60
|
+
});
|
@@ -0,0 +1,27 @@
|
|
1
|
+
// Underscore.js 1.1.7
|
2
|
+
// (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
|
3
|
+
// Underscore is freely distributable under the MIT license.
|
4
|
+
// Portions of Underscore are inspired or borrowed from Prototype,
|
5
|
+
// Oliver Steele's Functional, and John Resig's Micro-Templating.
|
6
|
+
// For all details and documentation:
|
7
|
+
// http://documentcloud.github.com/underscore
|
8
|
+
(function(){var p=this,C=p._,m={},i=Array.prototype,n=Object.prototype,f=i.slice,D=i.unshift,E=n.toString,l=n.hasOwnProperty,s=i.forEach,t=i.map,u=i.reduce,v=i.reduceRight,w=i.filter,x=i.every,y=i.some,o=i.indexOf,z=i.lastIndexOf;n=Array.isArray;var F=Object.keys,q=Function.prototype.bind,b=function(a){return new j(a)};typeof module!=="undefined"&&module.exports?(module.exports=b,b._=b):p._=b;b.VERSION="1.1.7";var h=b.each=b.forEach=function(a,c,b){if(a!=null)if(s&&a.forEach===s)a.forEach(c,b);else if(a.length===
|
9
|
+
+a.length)for(var e=0,k=a.length;e<k;e++){if(e in a&&c.call(b,a[e],e,a)===m)break}else for(e in a)if(l.call(a,e)&&c.call(b,a[e],e,a)===m)break};b.map=function(a,c,b){var e=[];if(a==null)return e;if(t&&a.map===t)return a.map(c,b);h(a,function(a,g,G){e[e.length]=c.call(b,a,g,G)});return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var k=d!==void 0;a==null&&(a=[]);if(u&&a.reduce===u)return e&&(c=b.bind(c,e)),k?a.reduce(c,d):a.reduce(c);h(a,function(a,b,f){k?d=c.call(e,d,a,b,f):(d=a,k=!0)});if(!k)throw new TypeError("Reduce of empty array with no initial value");
|
10
|
+
return d};b.reduceRight=b.foldr=function(a,c,d,e){a==null&&(a=[]);if(v&&a.reduceRight===v)return e&&(c=b.bind(c,e)),d!==void 0?a.reduceRight(c,d):a.reduceRight(c);a=(b.isArray(a)?a.slice():b.toArray(a)).reverse();return b.reduce(a,c,d,e)};b.find=b.detect=function(a,c,b){var e;A(a,function(a,g,f){if(c.call(b,a,g,f))return e=a,!0});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(w&&a.filter===w)return a.filter(c,b);h(a,function(a,g,f){c.call(b,a,g,f)&&(e[e.length]=a)});return e};
|
11
|
+
b.reject=function(a,c,b){var e=[];if(a==null)return e;h(a,function(a,g,f){c.call(b,a,g,f)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=!0;if(a==null)return e;if(x&&a.every===x)return a.every(c,b);h(a,function(a,g,f){if(!(e=e&&c.call(b,a,g,f)))return m});return e};var A=b.some=b.any=function(a,c,d){c=c||b.identity;var e=!1;if(a==null)return e;if(y&&a.some===y)return a.some(c,d);h(a,function(a,b,f){if(e|=c.call(d,a,b,f))return m});return!!e};b.include=b.contains=function(a,c){var b=
|
12
|
+
!1;if(a==null)return b;if(o&&a.indexOf===o)return a.indexOf(c)!=-1;A(a,function(a){if(b=a===c)return!0});return b};b.invoke=function(a,c){var d=f.call(arguments,2);return b.map(a,function(a){return(c.call?c||a:a[c]).apply(a,d)})};b.pluck=function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);var e={computed:-Infinity};h(a,function(a,b,f){b=c?c.call(d,a,b,f):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,
|
13
|
+
c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);var e={computed:Infinity};h(a,function(a,b,f){b=c?c.call(d,a,b,f):a;b<e.computed&&(e={value:a,computed:b})});return e.value};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,f){return{value:a,criteria:c.call(d,a,b,f)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,b){var d={};h(a,function(a,f){var g=b(a,f);(d[g]||(d[g]=[])).push(a)});return d};b.sortedIndex=function(a,c,d){d||
|
14
|
+
(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){if(!a)return[];if(a.toArray)return a.toArray();if(b.isArray(a))return f.call(a);if(b.isArguments(a))return f.call(a);return b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?f.call(a,0,b):a[0]};b.rest=b.tail=function(a,b,d){return f.call(a,b==null||d?1:b)};b.last=function(a){return a[a.length-1]};b.compact=function(a){return b.filter(a,
|
15
|
+
function(a){return!!a})};b.flatten=function(a){return b.reduce(a,function(a,d){if(b.isArray(d))return a.concat(b.flatten(d));a[a.length]=d;return a},[])};b.without=function(a){return b.difference(a,f.call(arguments,1))};b.uniq=b.unique=function(a,c){return b.reduce(a,function(a,e,f){if(0==f||(c===!0?b.last(a)!=e:!b.include(a,e)))a[a.length]=e;return a},[])};b.union=function(){return b.uniq(b.flatten(arguments))};b.intersection=b.intersect=function(a){var c=f.call(arguments,1);return b.filter(b.uniq(a),
|
16
|
+
function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a,c){return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=f.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c,d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(o&&a.indexOf===o)return a.indexOf(c);d=0;for(e=a.length;d<e;d++)if(a[d]===c)return d;return-1};b.lastIndexOf=function(a,
|
17
|
+
b){if(a==null)return-1;if(z&&a.lastIndexOf===z)return a.lastIndexOf(b);for(var d=a.length;d--;)if(a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);d=arguments[2]||1;for(var e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g};b.bind=function(a,b){if(a.bind===q&&q)return q.apply(a,f.call(arguments,1));var d=f.call(arguments,2);return function(){return a.apply(b,d.concat(f.call(arguments)))}};b.bindAll=function(a){var c=f.call(arguments,1);
|
18
|
+
c.length==0&&(c=b.functions(a));h(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a,c){var d={};c||(c=b.identity);return function(){var b=c.apply(this,arguments);return l.call(d,b)?d[b]:d[b]=a.apply(this,arguments)}};b.delay=function(a,b){var d=f.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(f.call(arguments,1)))};var B=function(a,b,d){var e;return function(){var f=this,g=arguments,h=function(){e=null;
|
19
|
+
a.apply(f,g)};d&&clearTimeout(e);if(d||!e)e=setTimeout(h,b)}};b.throttle=function(a,b){return B(a,b,!1)};b.debounce=function(a,b){return B(a,b,!0)};b.once=function(a){var b=!1,d;return function(){if(b)return d;b=!0;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(f.call(arguments));return b.apply(this,d)}};b.compose=function(){var a=f.call(arguments);return function(){for(var b=f.call(arguments),d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}};b.after=
|
20
|
+
function(a,b){return function(){if(--a<1)return b.apply(this,arguments)}};b.keys=F||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var b=[],d;for(d in a)l.call(a,d)&&(b[b.length]=d);return b};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){h(f.call(arguments,1),function(b){for(var d in b)b[d]!==void 0&&(a[d]=b[d])});return a};b.defaults=function(a){h(f.call(arguments,
|
21
|
+
1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,c){if(a===c)return!0;var d=typeof a;if(d!=typeof c)return!1;if(a==c)return!0;if(!a&&c||a&&!c)return!1;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual)return a.isEqual(c);if(c.isEqual)return c.isEqual(a);if(b.isDate(a)&&b.isDate(c))return a.getTime()===c.getTime();if(b.isNaN(a)&&b.isNaN(c))return!1;
|
22
|
+
if(b.isRegExp(a)&&b.isRegExp(c))return a.source===c.source&&a.global===c.global&&a.ignoreCase===c.ignoreCase&&a.multiline===c.multiline;if(d!=="object")return!1;if(a.length&&a.length!==c.length)return!1;d=b.keys(a);var e=b.keys(c);if(d.length!=e.length)return!1;for(var f in a)if(!(f in c)||!b.isEqual(a[f],c[f]))return!1;return!0};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(l.call(a,c))return!1;return!0};b.isElement=function(a){return!!(a&&a.nodeType==
|
23
|
+
1)};b.isArray=n||function(a){return E.call(a)==="[object Array]"};b.isObject=function(a){return a===Object(a)};b.isArguments=function(a){return!(!a||!l.call(a,"callee"))};b.isFunction=function(a){return!(!a||!a.constructor||!a.call||!a.apply)};b.isString=function(a){return!!(a===""||a&&a.charCodeAt&&a.substr)};b.isNumber=function(a){return!!(a===0||a&&a.toExponential&&a.toFixed)};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===!0||a===!1};b.isDate=function(a){return!(!a||!a.getTimezoneOffset||
|
24
|
+
!a.setUTCFullYear)};b.isRegExp=function(a){return!(!a||!a.test||!a.exec||!(a.ignoreCase||a.ignoreCase===!1))};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.noConflict=function(){p._=C;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.mixin=function(a){h(b.functions(a),function(c){H(c,b[c]=a[c])})};var I=0;b.uniqueId=function(a){var b=I++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g};
|
25
|
+
b.template=function(a,c){var d=b.templateSettings;d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.interpolate,function(a,b){return"',"+b.replace(/\\'/g,"'")+",'"}).replace(d.evaluate||null,function(a,b){return"');"+b.replace(/\\'/g,"'").replace(/[\r\n\t]/g," ")+"__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');";d=new Function("obj",d);return c?d(c):d};
|
26
|
+
var j=function(a){this._wrapped=a};b.prototype=j.prototype;var r=function(a,c){return c?b(a).chain():a},H=function(a,c){j.prototype[a]=function(){var a=f.call(arguments);D.call(a,this._wrapped);return r(c.apply(b,a),this._chain)}};b.mixin(b);h(["pop","push","reverse","shift","sort","splice","unshift"],function(a){var b=i[a];j.prototype[a]=function(){b.apply(this._wrapped,arguments);return r(this._wrapped,this._chain)}});h(["concat","join","slice"],function(a){var b=i[a];j.prototype[a]=function(){return r(b.apply(this._wrapped,
|
27
|
+
arguments),this._chain)}});j.prototype.chain=function(){this._chain=!0;return this};j.prototype.value=function(){return this._wrapped}})();
|
data/cockpit/lib/util.js
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
$.fn.serializeXML = function () {
|
2
|
+
var out = '';
|
3
|
+
if (typeof XMLSerializer == 'function') {
|
4
|
+
var xs = new XMLSerializer();
|
5
|
+
this.each(function() {
|
6
|
+
out += xs.serializeToString(this);
|
7
|
+
});
|
8
|
+
} else if (this[0] && this[0].xml != 'undefined') {
|
9
|
+
this.each(function() {
|
10
|
+
out += this.xml;
|
11
|
+
});
|
12
|
+
}
|
13
|
+
return out;
|
14
|
+
};
|
15
|
+
$.fn.serializePrettyXML = function () {
|
16
|
+
var out = '';
|
17
|
+
if (typeof XMLSerializer == 'function') {
|
18
|
+
var xs = new XMLSerializer();
|
19
|
+
this.each(function() {
|
20
|
+
out += XML(xs.serializeToString(this)).toXMLString();
|
21
|
+
});
|
22
|
+
} else if (this[0] && this[0].xml != 'undefined') {
|
23
|
+
this.each(function() {
|
24
|
+
out += this.xml;
|
25
|
+
});
|
26
|
+
}
|
27
|
+
return out;
|
28
|
+
};
|
29
|
+
|
30
|
+
String.prototype.repeat = function(num) {
|
31
|
+
return new Array(num + 1).join(this);
|
32
|
+
};
|
33
|
+
|
34
|
+
String.prototype.unserialize = function() {
|
35
|
+
var data = this.split("&");
|
36
|
+
var ret = new Array();
|
37
|
+
$.each(data, function(){
|
38
|
+
var properties = this.split("=");
|
39
|
+
ret.push([properties[0], properties[1]]);
|
40
|
+
});
|
41
|
+
return ret;
|
42
|
+
};
|
43
|
+
|
44
|
+
String.prototype.parseXML = function() {
|
45
|
+
if (window.ActiveXObject && window.GetObject) {
|
46
|
+
var dom = new ActiveXObject('Microsoft.XMLDOM');
|
47
|
+
dom.loadXML(this);
|
48
|
+
return dom;
|
49
|
+
}
|
50
|
+
if (window.DOMParser)
|
51
|
+
return new DOMParser().parseFromString(this,'text/xml');
|
52
|
+
throw new Error('NoXMLparser available');
|
53
|
+
}
|
@@ -0,0 +1,517 @@
|
|
1
|
+
<!--
|
2
|
+
This file is part of CPEE.
|
3
|
+
|
4
|
+
CPEE is free software: you can redistribute it and/or modify it under the terms
|
5
|
+
of the GNU General Public License as published by the Free Software Foundation,
|
6
|
+
either version 3 of the License, or (at your option) any later version.
|
7
|
+
|
8
|
+
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
9
|
+
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
10
|
+
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
11
|
+
|
12
|
+
You should have received a copy of the GNU General Public License along with
|
13
|
+
CPEE (file COPYING in the main directory). If not, see
|
14
|
+
<http://www.gnu.org/licenses/>.
|
15
|
+
-->
|
16
|
+
|
17
|
+
<html>
|
18
|
+
<head>
|
19
|
+
<title>WfAdaptor Demo</title>
|
20
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
21
|
+
<script type="text/javascript" src="../jquery.min.js"></script>
|
22
|
+
<script type="text/javascript" src="../jquery.svgdom.js"></script>
|
23
|
+
<script type="text/javascript" src="../underscore.min.js"></script>
|
24
|
+
<script type="text/javascript" src="../contextmenu.js"></script>
|
25
|
+
<script type="text/javascript" src="../graph.js"></script>
|
26
|
+
<script type="text/javascript" src="../wfadaptor.js"></script>
|
27
|
+
<script type="text/javascript" src="../../js/wfadaptor.cpee.js"></script>
|
28
|
+
<link rel="stylesheet" href="../wfadaptor.css" type="text/css"/>
|
29
|
+
<link rel="stylesheet" href="../contextmenu.css" type="text/css"/>
|
30
|
+
<script type="text/javascript">
|
31
|
+
var adaptor = null;
|
32
|
+
var parser = DOMParser();
|
33
|
+
function click_update_graph() {
|
34
|
+
console.log("Demo: Graph Update");
|
35
|
+
var then = new Date();
|
36
|
+
adaptor.set_description($('#description').val());
|
37
|
+
$('#t_new').text((new Date()).getTime() - then.getTime() + 'ms');
|
38
|
+
then = new Date();
|
39
|
+
var xml = parser.parseFromString($('#description').val(),"text/xml");
|
40
|
+
var g = new WFGraph(xml,xml.documentElement, $("#canvas").get(0));
|
41
|
+
var width = g.generateGraph();
|
42
|
+
$('#t_old').text((new Date()).getTime() - then.getTime() + 'ms');
|
43
|
+
}
|
44
|
+
function update_event(element_id, operation) {
|
45
|
+
console.log("Demo: update notification [ID: "+element_id+ ", OP: "+operation+"]");
|
46
|
+
}
|
47
|
+
</script>
|
48
|
+
</head>
|
49
|
+
<body>
|
50
|
+
<table style="background: ThreeDShadow; width: 100%; height: 100%;" border="0">
|
51
|
+
<tr>
|
52
|
+
<td style="text-align:center; vertical-align:middle"><button type="button" onclick="click_update_graph();">Update Graph >>> </button></td>
|
53
|
+
<td style="text-align:center; vertical-align:middle" colspan="2"><b><font size="+2">Workflow Graph</font></b></td>
|
54
|
+
</tr>
|
55
|
+
<tr height="95%">
|
56
|
+
<td width="40%" style="vertical-align:middle; text-align:center"><!-- {{{ -->
|
57
|
+
<textarea style="width:98%;height:98%" id="description">
|
58
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
59
|
+
<call/><!--{{{-->
|
60
|
+
<call/>
|
61
|
+
<call/>
|
62
|
+
|
63
|
+
<!-- Parallel {{{ -->
|
64
|
+
<parallel>
|
65
|
+
<parallel_branch>
|
66
|
+
<call/>
|
67
|
+
<call/>
|
68
|
+
</parallel_branch>
|
69
|
+
<parallel_branch>
|
70
|
+
<call/>
|
71
|
+
<call/>
|
72
|
+
</parallel_branch>
|
73
|
+
</parallel>
|
74
|
+
|
75
|
+
<parallel>
|
76
|
+
<parallel_branch>
|
77
|
+
<call/>
|
78
|
+
<choose>
|
79
|
+
<alternative>
|
80
|
+
<call/>
|
81
|
+
</alternative>
|
82
|
+
<otherwise>
|
83
|
+
<call/>
|
84
|
+
</otherwise>
|
85
|
+
<alternative>
|
86
|
+
<call/>
|
87
|
+
</alternative>
|
88
|
+
</choose>
|
89
|
+
</parallel_branch>
|
90
|
+
<parallel_branch>
|
91
|
+
<choose>
|
92
|
+
<alternative>
|
93
|
+
<call/>
|
94
|
+
</alternative>
|
95
|
+
<otherwise>
|
96
|
+
<call/>
|
97
|
+
</otherwise>
|
98
|
+
<alternative>
|
99
|
+
<call/>
|
100
|
+
</alternative>
|
101
|
+
</choose>
|
102
|
+
<call/>
|
103
|
+
</parallel_branch>
|
104
|
+
</parallel>
|
105
|
+
|
106
|
+
<parallel>
|
107
|
+
<parallel_branch>
|
108
|
+
<call/>
|
109
|
+
<parallel>
|
110
|
+
<parallel_branch>
|
111
|
+
<call/>
|
112
|
+
</parallel_branch>
|
113
|
+
<parallel_branch>
|
114
|
+
<call/>
|
115
|
+
<call/>
|
116
|
+
<call/>
|
117
|
+
</parallel_branch>
|
118
|
+
</parallel>
|
119
|
+
</parallel_branch>
|
120
|
+
<parallel_branch>
|
121
|
+
<parallel>
|
122
|
+
<parallel_branch>
|
123
|
+
<call/>
|
124
|
+
</parallel_branch>
|
125
|
+
<parallel_branch>
|
126
|
+
<call/>
|
127
|
+
<call/>
|
128
|
+
<call/>
|
129
|
+
</parallel_branch>
|
130
|
+
</parallel>
|
131
|
+
<call/>
|
132
|
+
</parallel_branch>
|
133
|
+
</parallel>
|
134
|
+
|
135
|
+
<parallel>
|
136
|
+
<parallel_branch>
|
137
|
+
<call/>
|
138
|
+
<loop>
|
139
|
+
<call/>
|
140
|
+
<call/>
|
141
|
+
<call/>
|
142
|
+
</loop>
|
143
|
+
</parallel_branch>
|
144
|
+
<parallel_branch>
|
145
|
+
<loop>
|
146
|
+
<call/>
|
147
|
+
<call/>
|
148
|
+
<call/>
|
149
|
+
</loop>
|
150
|
+
<call/>
|
151
|
+
</parallel_branch>
|
152
|
+
</parallel>
|
153
|
+
|
154
|
+
<parallel>
|
155
|
+
<loop>
|
156
|
+
<call/>
|
157
|
+
<parallel_branch>
|
158
|
+
<call/>
|
159
|
+
</parallel_branch>
|
160
|
+
</loop>
|
161
|
+
</parallel>
|
162
|
+
|
163
|
+
<parallel>
|
164
|
+
<loop>
|
165
|
+
<parallel_branch>
|
166
|
+
<call/>
|
167
|
+
</parallel_branch>
|
168
|
+
<call/>
|
169
|
+
</loop>
|
170
|
+
</parallel>
|
171
|
+
|
172
|
+
<parallel>
|
173
|
+
<loop>
|
174
|
+
<parallel_branch>
|
175
|
+
<call/>
|
176
|
+
</parallel_branch>
|
177
|
+
</loop>
|
178
|
+
</parallel>
|
179
|
+
|
180
|
+
<parallel>
|
181
|
+
<parallel_branch>
|
182
|
+
<call/>
|
183
|
+
<critical>
|
184
|
+
<call/>
|
185
|
+
<call/>
|
186
|
+
<call/>
|
187
|
+
</critical>
|
188
|
+
</parallel_branch>
|
189
|
+
<parallel_branch>
|
190
|
+
<critical>
|
191
|
+
<call/>
|
192
|
+
</critical>
|
193
|
+
<call/>
|
194
|
+
</parallel_branch>
|
195
|
+
</parallel>
|
196
|
+
<!-- Parallel }}} -->
|
197
|
+
<!-- Choose {{{ -->
|
198
|
+
<choose>
|
199
|
+
<alternative>
|
200
|
+
<call/>
|
201
|
+
</alternative>
|
202
|
+
<otherwise>
|
203
|
+
<call/>
|
204
|
+
</otherwise>
|
205
|
+
<alternative>
|
206
|
+
<call/>
|
207
|
+
</alternative>
|
208
|
+
</choose>
|
209
|
+
|
210
|
+
<choose>
|
211
|
+
<alternative>
|
212
|
+
<call/>
|
213
|
+
<choose>
|
214
|
+
<alternative>
|
215
|
+
<call/>
|
216
|
+
</alternative>
|
217
|
+
<otherwise>
|
218
|
+
<call/>
|
219
|
+
</otherwise>
|
220
|
+
</choose>
|
221
|
+
</alternative>
|
222
|
+
<otherwise>
|
223
|
+
<choose>
|
224
|
+
<alternative>
|
225
|
+
<call/>
|
226
|
+
</alternative>
|
227
|
+
<otherwise>
|
228
|
+
<call/>
|
229
|
+
</otherwise>
|
230
|
+
</choose>
|
231
|
+
<call/>
|
232
|
+
</otherwise>
|
233
|
+
<alternative>
|
234
|
+
<call/>
|
235
|
+
</alternative>
|
236
|
+
</choose>
|
237
|
+
|
238
|
+
<choose>
|
239
|
+
<alternative>
|
240
|
+
<call/>
|
241
|
+
<loop>
|
242
|
+
<call/>
|
243
|
+
<call/>
|
244
|
+
</loop>
|
245
|
+
</alternative>
|
246
|
+
<otherwise>
|
247
|
+
<loop>
|
248
|
+
<call/>
|
249
|
+
<call/>
|
250
|
+
</loop>
|
251
|
+
<call/>
|
252
|
+
</otherwise>
|
253
|
+
<alternative>
|
254
|
+
<call/>
|
255
|
+
</alternative>
|
256
|
+
</choose>
|
257
|
+
|
258
|
+
<choose>
|
259
|
+
<alternative>
|
260
|
+
<call/>
|
261
|
+
<parallel>
|
262
|
+
<parallel_branch>
|
263
|
+
<call/>
|
264
|
+
</parallel_branch>
|
265
|
+
<parallel_branch>
|
266
|
+
<call/>
|
267
|
+
</parallel_branch>
|
268
|
+
</parallel>
|
269
|
+
</alternative>
|
270
|
+
<otherwise>
|
271
|
+
<parallel>
|
272
|
+
<parallel_branch>
|
273
|
+
<call/>
|
274
|
+
</parallel_branch>
|
275
|
+
<parallel_branch>
|
276
|
+
<call/>
|
277
|
+
</parallel_branch>
|
278
|
+
</parallel>
|
279
|
+
<call/>
|
280
|
+
</otherwise>
|
281
|
+
<alternative>
|
282
|
+
<call/>
|
283
|
+
</alternative>
|
284
|
+
</choose>
|
285
|
+
|
286
|
+
<choose>
|
287
|
+
<alternative>
|
288
|
+
<call/>
|
289
|
+
<critical>
|
290
|
+
<call/>
|
291
|
+
<call/>
|
292
|
+
</critical>
|
293
|
+
</alternative>
|
294
|
+
<otherwise>
|
295
|
+
<critical>
|
296
|
+
<call/>
|
297
|
+
<call/>
|
298
|
+
</critical>
|
299
|
+
<call/>
|
300
|
+
</otherwise>
|
301
|
+
<alternative>
|
302
|
+
<call/>
|
303
|
+
</alternative>
|
304
|
+
</choose>
|
305
|
+
|
306
|
+
|
307
|
+
<!-- Choose }}} -->
|
308
|
+
<!-- loop {{{ -->
|
309
|
+
<loop>
|
310
|
+
<call/>
|
311
|
+
<call/>
|
312
|
+
</loop>
|
313
|
+
<loop>
|
314
|
+
<call/>
|
315
|
+
<choose>
|
316
|
+
<alternative>
|
317
|
+
<call/>
|
318
|
+
<choose>
|
319
|
+
<alternative>
|
320
|
+
<call/>
|
321
|
+
</alternative>
|
322
|
+
<otherwise>
|
323
|
+
<call/>
|
324
|
+
</otherwise>
|
325
|
+
</choose>
|
326
|
+
</alternative>
|
327
|
+
<otherwise>
|
328
|
+
<choose>
|
329
|
+
<alternative>
|
330
|
+
<call/>
|
331
|
+
</alternative>
|
332
|
+
<otherwise>
|
333
|
+
<call/>
|
334
|
+
</otherwise>
|
335
|
+
</choose>
|
336
|
+
<call/>
|
337
|
+
</otherwise>
|
338
|
+
</choose>
|
339
|
+
</loop>
|
340
|
+
<loop>
|
341
|
+
<loop>
|
342
|
+
<call/>
|
343
|
+
<call/>
|
344
|
+
</loop>
|
345
|
+
</loop>
|
346
|
+
<loop>
|
347
|
+
<parallel>
|
348
|
+
<parallel_branch>
|
349
|
+
<call/>
|
350
|
+
</parallel_branch>
|
351
|
+
<parallel_branch>
|
352
|
+
<call/>
|
353
|
+
</parallel_branch>
|
354
|
+
</parallel>
|
355
|
+
</loop>
|
356
|
+
<loop>
|
357
|
+
<critical>
|
358
|
+
<call/>
|
359
|
+
<call/>
|
360
|
+
</critical>
|
361
|
+
</loop>
|
362
|
+
<!-- loop }}} -->
|
363
|
+
<!-- Critical {{{ -->
|
364
|
+
<critical>
|
365
|
+
<call/>
|
366
|
+
<call/>
|
367
|
+
</critical>
|
368
|
+
<critical>
|
369
|
+
<critical>
|
370
|
+
<call/>
|
371
|
+
<call/>
|
372
|
+
</critical>
|
373
|
+
</critical>
|
374
|
+
<critical>
|
375
|
+
<call/>
|
376
|
+
<choose>
|
377
|
+
<alternative>
|
378
|
+
<call/>
|
379
|
+
<choose>
|
380
|
+
<alternative>
|
381
|
+
<call/>
|
382
|
+
</alternative>
|
383
|
+
<otherwise>
|
384
|
+
<call/>
|
385
|
+
</otherwise>
|
386
|
+
</choose>
|
387
|
+
</alternative>
|
388
|
+
<otherwise>
|
389
|
+
<choose>
|
390
|
+
<alternative>
|
391
|
+
<call/>
|
392
|
+
</alternative>
|
393
|
+
<otherwise>
|
394
|
+
<call/>
|
395
|
+
</otherwise>
|
396
|
+
</choose>
|
397
|
+
<call/>
|
398
|
+
</otherwise>
|
399
|
+
</choose>
|
400
|
+
</critical>
|
401
|
+
<critical>
|
402
|
+
<loop>
|
403
|
+
<call/>
|
404
|
+
<call/>
|
405
|
+
<call/>
|
406
|
+
</loop>
|
407
|
+
</critical>
|
408
|
+
<critical>
|
409
|
+
<call/>
|
410
|
+
<parallel>
|
411
|
+
<parallel_branch>
|
412
|
+
<call/>
|
413
|
+
</parallel_branch>
|
414
|
+
<parallel_branch>
|
415
|
+
<call/>
|
416
|
+
</parallel_branch>
|
417
|
+
</parallel>
|
418
|
+
</critical>
|
419
|
+
<!-- Critical }}} -->
|
420
|
+
|
421
|
+
<call/><!--}}}-->
|
422
|
+
</description>
|
423
|
+
</textarea>
|
424
|
+
</td><!-- }}} -->
|
425
|
+
<td style="vertical-align: top"><!-- {{{ -->
|
426
|
+
<h3>New Graph Version -> Built-Time:<span id="t_new">00</span></h3>
|
427
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="600" width="300" xmlns:xlink="http://www.w3.org/1999/xlink" id="drawing_area">
|
428
|
+
</svg>
|
429
|
+
</td><!-- }}} -->
|
430
|
+
<td style="vertical-align: top"><!-- {{{ -->
|
431
|
+
<h3>Old Graph Version -> Built-Time:<span id="t_old">00</span></h3>
|
432
|
+
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" height="600" width="300" xmlns:xlink="http://www.w3.org/1999/xlink">
|
433
|
+
<defs><!-- {{{ -->
|
434
|
+
<symbol id="call" class="clickable"><!-- {{{ -->
|
435
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
436
|
+
<text class="normal" transform='translate(15,21)'>c</text>
|
437
|
+
</symbol><!-- }}} -->
|
438
|
+
<symbol id="manipulate" class="clickable"><!-- {{{ -->
|
439
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
440
|
+
<text class="normal" transform='translate(15,21)'>m</text>
|
441
|
+
</symbol><!-- }}} -->
|
442
|
+
<symbol id="callinject" class="clickable"><!-- {{{ -->
|
443
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
444
|
+
<text class="normal" transform='translate(15,21)'>c</text>
|
445
|
+
<circle cx="28" cy="27" r="9" class="stand"></circle>
|
446
|
+
<text class="small" transform='translate(28,32)'>i</text>
|
447
|
+
</symbol><!-- }}} -->
|
448
|
+
<symbol id="callmanipulate" class="clickable"><!-- {{{ -->
|
449
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
450
|
+
<text class="normal" transform='translate(15,21)'>c</text>
|
451
|
+
<circle cx="28" cy="28" r="9" class="stand"></circle>
|
452
|
+
<text class="small" transform='translate(28,32)'>m</text>
|
453
|
+
</symbol><!-- }}} -->
|
454
|
+
<symbol id="choose" class="clickable"><!-- {{{ -->
|
455
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
456
|
+
<text class="normal" transform='translate(15,21)'>σ</text>
|
457
|
+
</symbol><!-- }}} -->
|
458
|
+
<symbol id="alternative" class="clickable"><!-- {{{ -->
|
459
|
+
<circle cx="15" cy="15" r="14" class="standwithout"></circle>
|
460
|
+
<text class="normal" transform='translate(15,20)'>{..}</text>
|
461
|
+
</symbol><!-- }}} -->
|
462
|
+
<symbol id="otherwise" class="clickable"><!-- {{{ -->
|
463
|
+
<circle cx="15" cy="15" r="14" class="standwithout"></circle>
|
464
|
+
<text class="normal" transform='translate(15,20)'>{⁎}</text>
|
465
|
+
</symbol><!-- }}} -->
|
466
|
+
<symbol id="parallel" class="clickable"><!-- {{{ -->
|
467
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
468
|
+
<text class="normal" transform='translate(15,21)'>||</text>
|
469
|
+
</symbol><!-- }}} -->
|
470
|
+
<symbol id="parallel_branch" class="clickable"><!-- {{{ -->
|
471
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
472
|
+
<text class="normal" transform='translate(15,21)'>|</text>
|
473
|
+
</symbol><!-- }}} -->
|
474
|
+
<symbol id="critical" class="clickable"><!-- {{{ -->
|
475
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
476
|
+
<text class="normal" transform='translate(16.5,21.5)'>⚠</text>
|
477
|
+
</symbol><!-- }}} -->
|
478
|
+
<symbol id="loop" class="clickable"><!-- {{{ -->
|
479
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
480
|
+
<text class="normallarge" transform='translate(15,23)'>↺</text>
|
481
|
+
</symbol><!-- }}} -->
|
482
|
+
<symbol id="end"><!-- {{{ -->
|
483
|
+
<circle cx="15" cy="15" r="14" class="stand"></circle>
|
484
|
+
<circle cx="15" cy="15" r="11" class="stand"></circle>
|
485
|
+
<text class="normal" transform='translate(15,21)'>Ω</text>
|
486
|
+
</symbol><!-- }}} -->
|
487
|
+
<marker id="arrow" viewBox="0 0 10 10" refX="24" refY="5" orient="auto" markerUnits="strokeWidth" markerWidth="4.5" markerHeight="4.5">
|
488
|
+
<path d="m 2 2 l 6 3 l -6 3 z"></path>
|
489
|
+
</marker>
|
490
|
+
</defs><!-- }}} -->
|
491
|
+
<g id="canvas">
|
492
|
+
<g id="blocks"></g>
|
493
|
+
<g id="lines"></g>
|
494
|
+
<g id="symbols"></g>
|
495
|
+
</g>
|
496
|
+
</svg>
|
497
|
+
</td><!-- }}} -->
|
498
|
+
</tr>
|
499
|
+
</table>
|
500
|
+
<script type="text/javascript">
|
501
|
+
var then = new Date();
|
502
|
+
adaptor = new WfAdaptor();
|
503
|
+
create_cpee_elements(adaptor);
|
504
|
+
adaptor.set_svg_container($('#drawing_area'));
|
505
|
+
adaptor.set_description($('#description').val(), true);
|
506
|
+
|
507
|
+
$('#t_new').text((new Date()).getTime() - then.getTime() + 'ms');
|
508
|
+
adaptor.notify = update_event;
|
509
|
+
then = new Date();
|
510
|
+
var xml = parser.parseFromString($('#description').val(),"text/xml");
|
511
|
+
var g = new WFGraph(xml,xml.documentElement, $("#canvas").get(0));
|
512
|
+
var width = g.generateGraph();
|
513
|
+
$('#t_old').text((new Date()).getTime() - then.getTime() + 'ms');
|
514
|
+
//console.log(adaptor.get_description());
|
515
|
+
</script>
|
516
|
+
</body>
|
517
|
+
</html>
|