cpee 1.3.102

Sign up to get free protection for your applications and to get access to all the features.
Files changed (281) hide show
  1. data/AUTHORS +3 -0
  2. data/COPYING +165 -0
  3. data/FEATURES +28 -0
  4. data/INSTALL +23 -0
  5. data/README +7 -0
  6. data/Rakefile +28 -0
  7. data/cockpit/contrib/symbols.svg +224 -0
  8. data/cockpit/contrib/transformation1.xsl +264 -0
  9. data/cockpit/contrib/transformation2.xsl +10 -0
  10. data/cockpit/css/ui.css +155 -0
  11. data/cockpit/index.html +241 -0
  12. data/cockpit/js/details.js +146 -0
  13. data/cockpit/js/instance.js +927 -0
  14. data/cockpit/js/parameters.js +66 -0
  15. data/cockpit/js/ui.js +48 -0
  16. data/cockpit/js/wfadaptor.cpee.js +1082 -0
  17. data/cockpit/lib/contextmenu.css +72 -0
  18. data/cockpit/lib/contextmenu.js +63 -0
  19. data/cockpit/lib/jquery-ui.custom.min.js +259 -0
  20. data/cockpit/lib/jquery-ui.custom.min.txt +16 -0
  21. data/cockpit/lib/jquery.caret.min.js +10 -0
  22. data/cockpit/lib/jquery.min.js +4 -0
  23. data/cockpit/lib/jquery.svgdom.js +281 -0
  24. data/cockpit/lib/parsequery.js +19 -0
  25. data/cockpit/lib/printf.js +368 -0
  26. data/cockpit/lib/strftime.min.js +1 -0
  27. data/cockpit/lib/ui.css +270 -0
  28. data/cockpit/lib/ui.js +60 -0
  29. data/cockpit/lib/underscore.min.js +27 -0
  30. data/cockpit/lib/util.js +53 -0
  31. data/cockpit/lib/wfadaptor-doc/demo1.html +517 -0
  32. data/cockpit/lib/wfadaptor-doc/demo2.html +84 -0
  33. data/cockpit/lib/wfadaptor-doc/index.html +54 -0
  34. data/cockpit/lib/wfadaptor.css +217 -0
  35. data/cockpit/lib/wfadaptor.js +410 -0
  36. data/cockpit/testsets/ADVENTURE Dynamic Order.xml +353 -0
  37. data/cockpit/testsets/ADVENTURE Main Loop.xml +327 -0
  38. data/cockpit/testsets/ADVENTURE Order.xml +424 -0
  39. data/cockpit/testsets/ADVENTURE Performance Test 1.xml +311 -0
  40. data/cockpit/testsets/ADVENTURE Performance Test 2.xml +297 -0
  41. data/cockpit/testsets/Concurrent.xml +315 -0
  42. data/cockpit/testsets/Coopis Testset.xml +346 -0
  43. data/cockpit/testsets/Endpoints and Data Manipulation.xml +359 -0
  44. data/cockpit/testsets/ICSOC Testset.xml +354 -0
  45. data/cockpit/testsets/Linear.xml +328 -0
  46. data/cockpit/testsets/Mangler 1.xml +352 -0
  47. data/cockpit/testsets/Mangler 2.xml +372 -0
  48. data/cockpit/testsets/RESCUE - Book Movie - Local.xml +385 -0
  49. data/cockpit/testsets/RESCUE - Book Movie.xml +385 -0
  50. data/cockpit/testsets/RESCUE - Loop-Parallel Injection.xml +393 -0
  51. data/cockpit/testsets/SOPROMO Test Sonification.xml +356 -0
  52. data/cockpit/testsets/Syncing P34 1.xml +329 -0
  53. data/cockpit/testsets/Syncing P34 2.xml +329 -0
  54. data/cockpit/testsets/Syncing P34 3.xml +329 -0
  55. data/cockpit/testsets/Syncing P34.xml +329 -0
  56. data/cockpit/testsets/TEST - Bad Loop.xml +428 -0
  57. data/cockpit/testsets/TEST - Wrong Positions.xml +470 -0
  58. data/cockpit/testsets/index.xml +24 -0
  59. data/contrib/Screenshot at 2011-09-28 02:38:11.png +0 -0
  60. data/contrib/logo2-small.png +0 -0
  61. data/contrib/logo2.png +0 -0
  62. data/contrib/logo2.svg +7610 -0
  63. data/contrib/logo2a.png +0 -0
  64. data/contrib/logo2a.svg +367 -0
  65. data/cpee.gemspec +24 -0
  66. data/lib/cpee.xml +39 -0
  67. data/lib/cpee/callback.rb +40 -0
  68. data/lib/cpee/controller.rb +440 -0
  69. data/lib/cpee/empty_workflow.rb +24 -0
  70. data/lib/cpee/handler_notifications.rb +46 -0
  71. data/lib/cpee/handler_properties.rb +43 -0
  72. data/lib/cpee/implementation.rb +174 -0
  73. data/lib/engine.xml +85 -0
  74. data/lib/engine/callbacks.rng +41 -0
  75. data/lib/engine/instance-info.rng +41 -0
  76. data/lib/engine/instances.rng +38 -0
  77. data/server/handlerwrappers/default.rb +142 -0
  78. data/server/handlerwrappers/rescue.rb +216 -0
  79. data/server/handlerwrappers/soap.rb +152 -0
  80. data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/consumer-secret +1 -0
  81. data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/producer-secret +1 -0
  82. data/server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/subscription.xml +27 -0
  83. data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/consumer-secret +1 -0
  84. data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/producer-secret +1 -0
  85. data/server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/subscription.xml +27 -0
  86. data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/consumer-secret +1 -0
  87. data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/producer-secret +1 -0
  88. data/server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/subscription.xml +27 -0
  89. data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/consumer-secret +1 -0
  90. data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/producer-secret +1 -0
  91. data/server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/subscription.xml +5 -0
  92. data/server/instances/1/properties.xml +522 -0
  93. data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/consumer-secret +1 -0
  94. data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/producer-secret +1 -0
  95. data/server/instances/10/notifications/0867c4a937f882af259137e36d331261/subscription.xml +27 -0
  96. data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/consumer-secret +1 -0
  97. data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/producer-secret +1 -0
  98. data/server/instances/10/notifications/28acb605c56588ec8e47431c1fcf0b20/subscription.xml +27 -0
  99. data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/consumer-secret +1 -0
  100. data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/producer-secret +1 -0
  101. data/server/instances/10/notifications/31d3f699def1d1e86dc18ef421f718ad/subscription.xml +27 -0
  102. data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/consumer-secret +1 -0
  103. data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/producer-secret +1 -0
  104. data/server/instances/10/notifications/380b57220000c45342fc56a1ed8e9e3f/subscription.xml +27 -0
  105. data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/consumer-secret +1 -0
  106. data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/producer-secret +1 -0
  107. data/server/instances/10/notifications/41eeb5d90b513781fb4b440cb97ca7f1/subscription.xml +27 -0
  108. data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/consumer-secret +1 -0
  109. data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/producer-secret +1 -0
  110. data/server/instances/10/notifications/4d8c1b3a8dfdacac98144fad072c46d8/subscription.xml +27 -0
  111. data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/consumer-secret +1 -0
  112. data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/producer-secret +1 -0
  113. data/server/instances/10/notifications/4dde696cfb001e00a7efbd8e86ba227d/subscription.xml +27 -0
  114. data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/consumer-secret +1 -0
  115. data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/producer-secret +1 -0
  116. data/server/instances/10/notifications/4e1c0065dd95f7c175bbccb874f0baea/subscription.xml +27 -0
  117. data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/consumer-secret +1 -0
  118. data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/producer-secret +1 -0
  119. data/server/instances/10/notifications/6198fb7d6a8249f7820e3e57eeefa8af/subscription.xml +27 -0
  120. data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/consumer-secret +1 -0
  121. data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/producer-secret +1 -0
  122. data/server/instances/10/notifications/6aeb90da52abc150f0f0135d8ba2dbac/subscription.xml +27 -0
  123. data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/consumer-secret +1 -0
  124. data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/producer-secret +1 -0
  125. data/server/instances/10/notifications/6d77f5bac1eb9d6165394b6bfc9b492a/subscription.xml +27 -0
  126. data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/consumer-secret +1 -0
  127. data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/producer-secret +1 -0
  128. data/server/instances/10/notifications/7092411a6bb6822f651798fdcd3c4787/subscription.xml +27 -0
  129. data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/consumer-secret +1 -0
  130. data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/producer-secret +1 -0
  131. data/server/instances/10/notifications/7ab29bbad4122295c05f9e33fd1e0fc3/subscription.xml +27 -0
  132. data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/consumer-secret +1 -0
  133. data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/producer-secret +1 -0
  134. data/server/instances/10/notifications/7fabcecc57fe0bd27ce50bedaef47bd2/subscription.xml +27 -0
  135. data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/consumer-secret +1 -0
  136. data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/producer-secret +1 -0
  137. data/server/instances/10/notifications/85760dad8f7abbd73ae1dd44140dabf1/subscription.xml +27 -0
  138. data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/consumer-secret +1 -0
  139. data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/producer-secret +1 -0
  140. data/server/instances/10/notifications/8b9a96d109d44a1fc22858006c0f0e16/subscription.xml +27 -0
  141. data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/consumer-secret +1 -0
  142. data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/producer-secret +1 -0
  143. data/server/instances/10/notifications/9120a477e64d7debae2cda964a9948a0/subscription.xml +27 -0
  144. data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/consumer-secret +1 -0
  145. data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/producer-secret +1 -0
  146. data/server/instances/10/notifications/93c5a5ab72a745c0f9fffe2fe58db205/subscription.xml +27 -0
  147. data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/consumer-secret +1 -0
  148. data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/producer-secret +1 -0
  149. data/server/instances/10/notifications/a8db1498388588bddf518878263fd898/subscription.xml +27 -0
  150. data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/consumer-secret +1 -0
  151. data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/producer-secret +1 -0
  152. data/server/instances/10/notifications/b534f057c1c97f65e68f59427958e78d/subscription.xml +27 -0
  153. data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/consumer-secret +1 -0
  154. data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/producer-secret +1 -0
  155. data/server/instances/10/notifications/bb3d69ee3df32f3b5cb69a51d1af8ae4/subscription.xml +27 -0
  156. data/server/instances/10/notifications/bc597391804363834987804436b8b63b/consumer-secret +1 -0
  157. data/server/instances/10/notifications/bc597391804363834987804436b8b63b/producer-secret +1 -0
  158. data/server/instances/10/notifications/bc597391804363834987804436b8b63b/subscription.xml +27 -0
  159. data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/consumer-secret +1 -0
  160. data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/producer-secret +1 -0
  161. data/server/instances/10/notifications/bf2f6599eebcd9a08e47bdafd4a67660/subscription.xml +27 -0
  162. data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/consumer-secret +1 -0
  163. data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/producer-secret +1 -0
  164. data/server/instances/10/notifications/db9cf0ae80bd61e6124c382b992a1550/subscription.xml +27 -0
  165. data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/consumer-secret +1 -0
  166. data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/producer-secret +1 -0
  167. data/server/instances/10/notifications/e528089610c991500eb2e8b094f6f169/subscription.xml +27 -0
  168. data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/consumer-secret +1 -0
  169. data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/producer-secret +1 -0
  170. data/server/instances/10/notifications/e7d3ca382d26b5f5eba00c40c29827da/subscription.xml +27 -0
  171. data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/consumer-secret +1 -0
  172. data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/producer-secret +1 -0
  173. data/server/instances/10/notifications/ebdc914fde6fe299143ae4601c142738/subscription.xml +27 -0
  174. data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/consumer-secret +1 -0
  175. data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/producer-secret +1 -0
  176. data/server/instances/10/notifications/f26b2b9efc10b9259647cf1a2b934694/subscription.xml +27 -0
  177. data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/consumer-secret +1 -0
  178. data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/producer-secret +1 -0
  179. data/server/instances/10/notifications/f4e1d7808171fe7c5fab4a99145ea185/subscription.xml +27 -0
  180. data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/consumer-secret +1 -0
  181. data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/producer-secret +1 -0
  182. data/server/instances/10/notifications/f7e947a1b4b32f3dad5debd44fc3236b/subscription.xml +27 -0
  183. data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/consumer-secret +1 -0
  184. data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/producer-secret +1 -0
  185. data/server/instances/10/notifications/fbf5d0ae050a50e8a2fca6bc60f5b8d6/subscription.xml +27 -0
  186. data/server/instances/10/properties.xml +388 -0
  187. data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/consumer-secret +1 -0
  188. data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/producer-secret +1 -0
  189. data/server/instances/11/notifications/134c18da209261bc409ccd137b2e46d3/subscription.xml +27 -0
  190. data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/consumer-secret +1 -0
  191. data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/producer-secret +1 -0
  192. data/server/instances/11/notifications/48862f47f66e8229582bc91fbc38a512/subscription.xml +5 -0
  193. data/server/instances/11/properties.xml +517 -0
  194. data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/consumer-secret +1 -0
  195. data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/producer-secret +1 -0
  196. data/server/instances/2/notifications/0bbfabbebf46b850383b4e1d7bd926e3/subscription.xml +27 -0
  197. data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/consumer-secret +1 -0
  198. data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/producer-secret +1 -0
  199. data/server/instances/2/notifications/1d426895d19caa1471c713e80cc3c845/subscription.xml +27 -0
  200. data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/consumer-secret +1 -0
  201. data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/producer-secret +1 -0
  202. data/server/instances/2/notifications/292c8983aa798f0c5ced5ddc4b58abe4/subscription.xml +27 -0
  203. data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/consumer-secret +1 -0
  204. data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/producer-secret +1 -0
  205. data/server/instances/2/notifications/332c3026c8ad3075b092bd7e7a2b4f71/subscription.xml +27 -0
  206. data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/consumer-secret +1 -0
  207. data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/producer-secret +1 -0
  208. data/server/instances/2/notifications/d377446918808d23d03291fc1140883c/subscription.xml +27 -0
  209. data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/consumer-secret +1 -0
  210. data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/producer-secret +1 -0
  211. data/server/instances/2/notifications/d5b65c7cbff5d259e4ee8405190ec558/subscription.xml +27 -0
  212. data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/consumer-secret +1 -0
  213. data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/producer-secret +1 -0
  214. data/server/instances/2/notifications/d7ee4fedabb402dc43986dfa199e6768/subscription.xml +5 -0
  215. data/server/instances/2/properties.xml +517 -0
  216. data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/consumer-secret +1 -0
  217. data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/producer-secret +1 -0
  218. data/server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/subscription.xml +5 -0
  219. data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/consumer-secret +1 -0
  220. data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/producer-secret +1 -0
  221. data/server/instances/3/notifications/6cec45935d78709a4aa6622491006f4b/subscription.xml +27 -0
  222. data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/consumer-secret +1 -0
  223. data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/producer-secret +1 -0
  224. data/server/instances/3/notifications/755542b2fb8d0c8fb9add29e012ec707/subscription.xml +27 -0
  225. data/server/instances/3/properties.xml +517 -0
  226. data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/consumer-secret +1 -0
  227. data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/producer-secret +1 -0
  228. data/server/instances/4/notifications/151e90db818eb5812905257a8eb7cea4/subscription.xml +5 -0
  229. data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/consumer-secret +1 -0
  230. data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/producer-secret +1 -0
  231. data/server/instances/4/notifications/a89df398fcc088c067c39ae3974ec57f/subscription.xml +27 -0
  232. data/server/instances/4/properties.xml +517 -0
  233. data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/consumer-secret +1 -0
  234. data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/producer-secret +1 -0
  235. data/server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/subscription.xml +27 -0
  236. data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/consumer-secret +1 -0
  237. data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/producer-secret +1 -0
  238. data/server/instances/5/notifications/0b9589d847cccf768013b6082893bce6/subscription.xml +5 -0
  239. data/server/instances/5/properties.xml +517 -0
  240. data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/consumer-secret +1 -0
  241. data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/producer-secret +1 -0
  242. data/server/instances/6/notifications/23da9f5c4548f384d625e6d12b3ebe2d/subscription.xml +5 -0
  243. data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/consumer-secret +1 -0
  244. data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/producer-secret +1 -0
  245. data/server/instances/6/notifications/282e7077e9c5b9972413cc92a6dcffc3/subscription.xml +27 -0
  246. data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/consumer-secret +1 -0
  247. data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/producer-secret +1 -0
  248. data/server/instances/6/notifications/7e57d7438db8210766eab6873124dc02/subscription.xml +27 -0
  249. data/server/instances/6/properties.xml +517 -0
  250. data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/consumer-secret +1 -0
  251. data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/producer-secret +1 -0
  252. data/server/instances/7/notifications/7276b795b5ed2f6638473526d9b1b1e1/subscription.xml +27 -0
  253. data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/consumer-secret +1 -0
  254. data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/producer-secret +1 -0
  255. data/server/instances/7/notifications/f3fbbf27fcbcc02a9f8a614326461a5c/subscription.xml +5 -0
  256. data/server/instances/7/properties.xml +517 -0
  257. data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/consumer-secret +1 -0
  258. data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/producer-secret +1 -0
  259. data/server/instances/8/notifications/2854ed5a8f97a33d31f908f67544ec62/subscription.xml +27 -0
  260. data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/consumer-secret +1 -0
  261. data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/producer-secret +1 -0
  262. data/server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/subscription.xml +5 -0
  263. data/server/instances/8/properties.xml +517 -0
  264. data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/consumer-secret +1 -0
  265. data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/producer-secret +1 -0
  266. data/server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/subscription.xml +5 -0
  267. data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/consumer-secret +1 -0
  268. data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/producer-secret +1 -0
  269. data/server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/subscription.xml +27 -0
  270. data/server/instances/9/properties.xml +517 -0
  271. data/server/resources/properties.init +351 -0
  272. data/server/resources/properties.schema.active +79 -0
  273. data/server/resources/properties.schema.finished +79 -0
  274. data/server/resources/properties.schema.inactive +79 -0
  275. data/server/resources/topics.xml +55 -0
  276. data/server/server.rb +25 -0
  277. data/server/todo.txt +20 -0
  278. data/test/delete.rb +27 -0
  279. data/test/load.rb +55 -0
  280. data/test/testset.xml +297 -0
  281. metadata +382 -0
@@ -0,0 +1,264 @@
1
+ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
2
+ <xsl:output method="text"/>
3
+ <xsl:strip-space elements="*"/>
4
+ <xsl:variable name="myspacemultiplier">2</xsl:variable>
5
+
6
+ <xsl:template match="/">
7
+ <xsl:apply-templates select="//d:description"/>
8
+ </xsl:template>
9
+
10
+ <xsl:template match="//d:description">
11
+ <xsl:apply-templates>
12
+ <xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
13
+ </xsl:apply-templates>
14
+ </xsl:template>
15
+
16
+ <xsl:template match="*">
17
+ <xsl:param name="myspace"/>
18
+ <xsl:call-template name="print-space">
19
+ <xsl:with-param name="i">1</xsl:with-param>
20
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
21
+ </xsl:call-template>
22
+ <xsl:if test="name()='call' or name()='manipulate'">
23
+ <xsl:choose>
24
+ <xsl:when test="@lay">
25
+ <xsl:text>activity [:</xsl:text>
26
+ <xsl:value-of select="@id"/>
27
+ <xsl:text>,</xsl:text>
28
+ <xsl:value-of select="@lay"/>
29
+ <xsl:text>]</xsl:text>
30
+ </xsl:when>
31
+ <xsl:otherwise>
32
+ <xsl:text>activity :</xsl:text>
33
+ <xsl:value-of select="@id"/>
34
+ </xsl:otherwise>
35
+ </xsl:choose>
36
+ </xsl:if>
37
+ <xsl:if test="name()='call'">
38
+ <xsl:text>, :call, :</xsl:text>
39
+ <xsl:value-of select="@endpoint"/>
40
+ <xsl:apply-templates select="d:parameters"/>
41
+ <xsl:apply-templates select="d:manipulate" mode="part-of-call">
42
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
43
+ </xsl:apply-templates>
44
+ <xsl:call-template name="print-newline"/>
45
+ </xsl:if>
46
+ <xsl:if test="name()='manipulate'">
47
+ <xsl:text>, :manipulate</xsl:text>
48
+ <xsl:call-template name="print-content">
49
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
50
+ </xsl:call-template>
51
+ <xsl:call-template name="print-newline"/>
52
+ </xsl:if>
53
+ <xsl:if test="name()='parallel'">
54
+ <xsl:text>parallel</xsl:text>
55
+ <xsl:if test="@wait">
56
+ <xsl:text> :wait => </xsl:text>
57
+ <xsl:value-of select="@wait"/>
58
+ </xsl:if>
59
+ <xsl:text> do</xsl:text>
60
+ <xsl:call-template name="print-newline"/>
61
+ <xsl:apply-templates>
62
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
63
+ </xsl:apply-templates>
64
+ <xsl:call-template name="print-space">
65
+ <xsl:with-param name="i">1</xsl:with-param>
66
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
67
+ </xsl:call-template>
68
+ <xsl:text>end</xsl:text>
69
+ <xsl:call-template name="print-newline"/>
70
+ </xsl:if>
71
+ <xsl:if test="name()='loop'">
72
+ <xsl:text>loop </xsl:text>
73
+ <xsl:if test="@pre_test">
74
+ <xsl:text>pre_test{</xsl:text>
75
+ <xsl:value-of select="@pre_test"/>
76
+ <xsl:text>} </xsl:text>
77
+ </xsl:if>
78
+ <xsl:if test="@post_test">
79
+ <xsl:text>post_test{</xsl:text>
80
+ <xsl:value-of select="@post_test"/>
81
+ <xsl:text>} </xsl:text>
82
+ </xsl:if>
83
+ <xsl:text>do</xsl:text>
84
+ <xsl:call-template name="print-newline"/>
85
+ <xsl:apply-templates>
86
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
87
+ </xsl:apply-templates>
88
+ <xsl:call-template name="print-space">
89
+ <xsl:with-param name="i">1</xsl:with-param>
90
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
91
+ </xsl:call-template>
92
+ <xsl:text>end</xsl:text>
93
+ <xsl:call-template name="print-newline"/>
94
+ </xsl:if>
95
+ <xsl:if test="name()='choose'">
96
+ <xsl:text>choose do</xsl:text>
97
+ <xsl:call-template name="print-newline"/>
98
+ <xsl:apply-templates>
99
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
100
+ </xsl:apply-templates>
101
+ <xsl:call-template name="print-space">
102
+ <xsl:with-param name="i">1</xsl:with-param>
103
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
104
+ </xsl:call-template>
105
+ <xsl:text>end</xsl:text>
106
+ <xsl:call-template name="print-newline"/>
107
+ </xsl:if>
108
+ </xsl:template>
109
+
110
+ <xsl:template match="d:alternative">
111
+ <xsl:param name="myspace"/>
112
+ <xsl:call-template name="print-space">
113
+ <xsl:with-param name="i">1</xsl:with-param>
114
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
115
+ </xsl:call-template>
116
+ <xsl:text>alternative </xsl:text>
117
+ <xsl:value-of select="@condition"/>
118
+ <xsl:text> do</xsl:text>
119
+ <xsl:call-template name="print-newline"/>
120
+ <xsl:apply-templates>
121
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
122
+ </xsl:apply-templates>
123
+ <xsl:call-template name="print-space">
124
+ <xsl:with-param name="i">1</xsl:with-param>
125
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
126
+ </xsl:call-template>
127
+ <xsl:text>end</xsl:text>
128
+ <xsl:call-template name="print-newline"/>
129
+ </xsl:template>
130
+
131
+ <xsl:template match="d:otherwise">
132
+ <xsl:param name="myspace"/>
133
+ <xsl:call-template name="print-space">
134
+ <xsl:with-param name="i">1</xsl:with-param>
135
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
136
+ </xsl:call-template>
137
+ <xsl:text>otherwise do</xsl:text>
138
+ <xsl:call-template name="print-newline"/>
139
+ <xsl:apply-templates>
140
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
141
+ </xsl:apply-templates>
142
+ <xsl:call-template name="print-space">
143
+ <xsl:with-param name="i">1</xsl:with-param>
144
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
145
+ </xsl:call-template>
146
+ <xsl:text>end</xsl:text>
147
+ <xsl:call-template name="print-newline"/>
148
+ </xsl:template>
149
+
150
+ <xsl:template match="d:parallel_branch">
151
+ <xsl:param name="myspace"/>
152
+ <xsl:call-template name="print-space">
153
+ <xsl:with-param name="i">1</xsl:with-param>
154
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
155
+ </xsl:call-template>
156
+ <xsl:text>parallel_branch</xsl:text>
157
+ <xsl:if test="@pass">
158
+ <xsl:text> </xsl:text>
159
+ <xsl:value-of select="@pass"/>
160
+ </xsl:if>
161
+ <xsl:text> do</xsl:text>
162
+ <xsl:if test="@local">
163
+ <xsl:text> |</xsl:text>
164
+ <xsl:value-of select="@local"/>
165
+ <xsl:text>|</xsl:text>
166
+ </xsl:if>
167
+ <xsl:call-template name="print-newline"/>
168
+ <xsl:apply-templates>
169
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
170
+ </xsl:apply-templates>
171
+ <xsl:call-template name="print-space">
172
+ <xsl:with-param name="i">1</xsl:with-param>
173
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
174
+ </xsl:call-template>
175
+ <xsl:text>end</xsl:text>
176
+ <xsl:call-template name="print-newline"/>
177
+ </xsl:template>
178
+
179
+ <xsl:template match="d:parameters">
180
+ <xsl:apply-templates select="d:*" mode="parameter"/>
181
+ </xsl:template>
182
+
183
+ <xsl:template match="d:*" mode="parameter">
184
+ <xsl:text>, :</xsl:text>
185
+ <xsl:value-of select="name()"/>
186
+ <xsl:text> => </xsl:text>
187
+ <xsl:choose>
188
+ <xsl:when test="count(*) > 0">
189
+ <xsl:text>[</xsl:text>
190
+ <xsl:apply-templates select="d:*" mode="sub-parameter"/>
191
+ <xsl:text>]</xsl:text>
192
+ </xsl:when>
193
+ <xsl:otherwise>
194
+ <xsl:text>"</xsl:text>
195
+ <xsl:value-of select="text()"/>
196
+ <xsl:text>"</xsl:text>
197
+ </xsl:otherwise>
198
+ </xsl:choose>
199
+ </xsl:template>
200
+
201
+ <xsl:template match="d:*" mode="sub-parameter">
202
+ <xsl:text> { :</xsl:text>
203
+ <xsl:value-of select="name()"/>
204
+ <xsl:text> => </xsl:text>
205
+ <xsl:value-of select="text()"/>
206
+ <xsl:text> }</xsl:text>
207
+ <xsl:choose>
208
+ <xsl:when test=". = ../*[last()]">
209
+ <xsl:text> </xsl:text>
210
+ </xsl:when>
211
+ <xsl:otherwise>
212
+ <xsl:text>,</xsl:text>
213
+ </xsl:otherwise>
214
+ </xsl:choose>
215
+ </xsl:template>
216
+
217
+ <xsl:template match="d:manipulate" mode="part-of-call">
218
+ <xsl:param name="myspace"/>
219
+ <xsl:call-template name="print-content">
220
+ <xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
221
+ </xsl:call-template>
222
+ </xsl:template>
223
+
224
+ <xsl:template name="print-content">
225
+ <xsl:param name="myspace"/>
226
+ <xsl:if test="text()">
227
+ <xsl:text> do </xsl:text>
228
+ <xsl:if test="@output">
229
+ <xsl:text>|</xsl:text>
230
+ <xsl:value-of select="@output"/>
231
+ <xsl:text>|</xsl:text>
232
+ </xsl:if>
233
+ <xsl:call-template name="print-newline"/>
234
+ <xsl:value-of select="text()"/>
235
+ <xsl:call-template name="print-newline"/>
236
+ <xsl:call-template name="print-space">
237
+ <xsl:with-param name="i">1</xsl:with-param>
238
+ <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
239
+ </xsl:call-template>
240
+ <xsl:text>end</xsl:text>
241
+ </xsl:if>
242
+ </xsl:template>
243
+
244
+ <xsl:template name="print-space">
245
+ <xsl:param name="i"/>
246
+ <xsl:param name="count"/>
247
+ <xsl:if test="$i &lt;= $count">
248
+ <xsl:text> </xsl:text>
249
+ <xsl:call-template name="print-space">
250
+ <xsl:with-param name="i">
251
+ <xsl:value-of select="$i + 1"/>
252
+ </xsl:with-param>
253
+ <xsl:with-param name="count">
254
+ <xsl:value-of select="$count"/>
255
+ </xsl:with-param>
256
+ </xsl:call-template>
257
+ </xsl:if>
258
+ </xsl:template>
259
+ <xsl:template name="print-newline">
260
+ <xsl:text>
261
+ </xsl:text>
262
+ </xsl:template>
263
+
264
+ </xsl:stylesheet>
@@ -0,0 +1,10 @@
1
+ <tp:profile xmlns:tp="http://cpee.org/transformation/profile/1.0">
2
+ <tp:from>
3
+ <tp:base>http://docs.oasis-open.org/wsbpel/2.0/process/executable</tp:base>
4
+ <tp:extension>http://www.activebpel.org/2006/09/bpel/extension/query_handling</tp:extension>
5
+ </tp:from>
6
+ <tp:to>
7
+ <tp:dsl>http://sumatra.pri.univie.ac.at:9290/dsl</tp:dsl>
8
+ <tp:base>http://sumatra.pri.univie.ac.at:9290/base</tp:base>
9
+ </tp:to>
10
+ </tp:profile>
@@ -0,0 +1,155 @@
1
+ #areanew { height: 9.6em; }
2
+ #areanew td:nth-child(1) { width: 7em; padding-right: 1em; }
3
+ #areanew td:nth-child(3) { width: 16em; padding-left: 1em; }
4
+ #areanew input { width: 100%; }
5
+ #areanew button[name=base] { width: 100%; }
6
+ #areanew button[name=instance] { width: 100%; }
7
+
8
+ div.tabbed table.tabbar td.tabbehind input {
9
+ border: 0 none;
10
+ text-align: right;
11
+ width: 100%;
12
+ }
13
+
14
+ div.tabbed table.tabbar td.tabbehind button {
15
+ border: 1pt solid buttonshadow;
16
+ margin-left: 0.5em;
17
+ }
18
+
19
+ button.highlight { background-color: #cc0000; }
20
+
21
+ #parameters .tabbelow { height: 9em; min-height: 1.7em; }
22
+
23
+ #areadataelements { height: 100%; overflow-x: hidden; overflow-y: scroll; }
24
+ #areaendpoints { height: 100%; overflow: auto; }
25
+ #areaexecution { height: 9.6em; overflow: auto; }
26
+
27
+ #areainstance { height: 9.6em; overflow: hidden; }
28
+ #areainstance td:nth-child(1) { padding-right: 0.5em; }
29
+ #areainstance td:nth-child(2) { padding-right: 0.5em; }
30
+ #areainstance input { padding: 0; margin:0; }
31
+ #areainstance button { white-space:nowrap; }
32
+ #areainstance table.compact.loadsave td:nth-child(4) { padding-left: 0.5em; border-left: 1px solid ButtonShadow; }
33
+ #areainstance table.compact.loadsave td:nth-child(5) { padding-left: 0.5em; }
34
+ #areainstance table.compact.loadsave td:nth-child(6) { padding-left: 0.5em; border-left: 1px solid ButtonShadow; }
35
+ #areainstance table.compact.loadsave tr:nth-child(1) td { padding-top: 0.5em; }
36
+ #areainstance hr { height: 1px; color: ButtonShadow; background-color: ButtonShadow; border: 0 none; padding-bottom: 0; margin-bottom: 0; }
37
+ #areainstance select { width: 28em; }
38
+ #areainstance input[type=file] { width: 28em; }
39
+ #areainstance table.compact.loadsave td:nth-child(4) button { height: 4em; }
40
+ #areainstance table.compact.loadsave td:nth-child(6) button { height: 4em; }
41
+
42
+ #dat_log { width:100%; }
43
+ #dat_log td { vertical-align: top; }
44
+ #dat_log tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
45
+
46
+ #areadetails { table-layout: fixed; }
47
+
48
+ #dat_endpoints {
49
+ border-collapse:collapse;
50
+ border-spacing:0;
51
+ border:0 none;
52
+ margin:0;
53
+ padding:0;
54
+ width: 100%;
55
+ }
56
+ #dat_endpoints button { border: 1pt solid buttonshadow; padding: 0; }
57
+ #dat_endpoints td:nth-child(1) { width: 1.2em; font-size: 1.3em; font-weight: bold; }
58
+ #dat_endpoints td:nth-child(2) { width: 8em; }
59
+ #dat_endpoints td:nth-child(3) { width: 1em; }
60
+ #dat_endpoints tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
61
+ #dat_endpoints tr:nth-child(odd) input { background-color: ButtonFace; }
62
+ #dat_endpoints input { border: 0 none; padding: 0; margin: 0; }
63
+ #dat_endpoints input:first-child { border: 0 none; width: 8em; }
64
+ #dat_endpoints input:last-child { border: 0 none; width: 100%; }
65
+
66
+ #dat_dataelements {
67
+ border-collapse:collapse;
68
+ border-spacing:0;
69
+ border:0 none;
70
+ margin:0;
71
+ padding:0;
72
+ width: 100%;
73
+ }
74
+ #dat_dataelements button { border: 1pt solid buttonshadow; padding: 0; }
75
+ #dat_dataelements td:nth-child(1) { width: 1.2em; font-size: 1.3em; font-weight: bold;}
76
+ #dat_dataelements td:nth-child(2) { width: 8em; }
77
+ #dat_dataelements td:nth-child(3) { width: 1em; }
78
+ #dat_dataelements tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
79
+ #dat_dataelements tr:nth-child(odd) input { background-color: ButtonFace; }
80
+ #dat_dataelements input { border: 0 none; padding: 0; margin: 0; }
81
+ #dat_dataelements input:first-child { border: 0 none; width: 8em; }
82
+ #dat_dataelements input:last-child { border: 0 none; width: 100%; }
83
+
84
+ #dat_dsl {
85
+ margin: 1em;
86
+ font-family: monospace;
87
+ font-size:1.3em;
88
+ }
89
+
90
+ span.active {
91
+ font-weight: bold;
92
+ color: #cc0000;
93
+ }
94
+ span.passive {
95
+ font-weight: bold;
96
+ color: #3465a4;
97
+ }
98
+ span.vote {
99
+ font-weight: bold;
100
+ color: #73d216;
101
+ }
102
+
103
+ #detailcolumn { width: 50%; }
104
+ #detailcolumn .column { padding-left: 2em; }
105
+ #graphcolumn { margin: 0; padding: 0; border-right: 1pt solid ButtonShadow; min-width: 9em; }
106
+ #graphcolumn .column { margin: 0; padding: 0; }
107
+
108
+ .ui-resizable-handle {
109
+ z-index: 99999;
110
+ color: ButtonShadow;
111
+ position: absolute;
112
+ white-space:nowrap;
113
+ }
114
+ .ui-resizable-w {
115
+ cursor: w-resize;
116
+ -webkit-transform: rotate(90deg);
117
+ -webkit-transform-origin: 0% 100%;
118
+ -moz-transform: rotate(90deg);
119
+ -moz-transform-origin: left bottom;
120
+ margin-top: -1em;
121
+ margin-left: 0.3em;
122
+ }
123
+ .ui-resizable-s {
124
+ right:2em;
125
+ cursor: s-resize;
126
+ text-align: right;
127
+ margin-top: 1.1em;
128
+ }
129
+
130
+ #dat_details {
131
+ border-collapse:collapse;
132
+ border-spacing:0;
133
+ border:0 none;
134
+ margin:0;
135
+ padding:0;
136
+ width: 100%;
137
+ }
138
+ #dat_details td.del { width: 1.2em; }
139
+ #dat_details td.del a { font-size: 1.3em; font-weight: bold; }
140
+ #dat_details td.pname { width: 7em; vertical-align: top; }
141
+ #dat_details td.cname { width: 10.2em; vertical-align: top; padding-top:0.25em; }
142
+ #dat_details td.sep { width: 1em; vertical-align: top; padding-top:0.25em; }
143
+ #dat_details tr.indent td:nth-child(1) { padding-left: 2em;}
144
+ #dat_details tr:nth-child(odd) input { background-color: ButtonFace; }
145
+ #dat_details tr:nth-child(odd) textarea { background-color: ButtonFace; }
146
+ #dat_details tr:nth-child(odd) select { background-color: ButtonFace; }
147
+ #dat_details tr:nth-child(even) select { background-color: white; }
148
+ #dat_details input { border: 0 none; width: 100%; padding: 0; margin: 0; }
149
+ #dat_details select { border: 0 none; width: 100%; padding: 0; margin: 0; }
150
+ #dat_details textarea { border: 0 none; width: 100%; padding: 0; margin: 0; }
151
+ #dat_details tr.header td { padding-bottom:0.2em; padding-top: 0.6em; }
152
+ #dat_details tr.sizer td { padding:0; margin:0; }
153
+
154
+ #dat_details tr:nth-child(odd) { background-color: ButtonFace; color: ButtonText; }
155
+ #dat_details .header button { border: 1pt solid buttonshadow; }
@@ -0,0 +1,241 @@
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
+ <!DOCTYPE html>
18
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
19
+ <head>
20
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
21
+ <title>CPEE Cockpit</title>
22
+
23
+ <!-- libs, do not modify -->
24
+
25
+ <script type="text/javascript" src="lib/jquery.min.js"></script>
26
+ <script type="text/javascript" src="lib/jquery.svgdom.js"></script>
27
+ <script type="text/javascript" src="lib/jquery-ui.custom.min.js"></script>
28
+ <script type="text/javascript" src="lib/util.js"></script>
29
+ <script type="text/javascript" src="lib/printf.js"></script>
30
+ <script type="text/javascript" src="lib/strftime.min.js"></script>
31
+ <script type="text/javascript" src="lib/parsequery.js"></script>
32
+ <script type="text/javascript" src="lib/underscore.min.js"></script>
33
+ <script type="text/javascript" src="lib/jquery.caret.min.js"></script>
34
+
35
+ <script type="text/javascript" src="lib/contextmenu.js"></script>
36
+ <script type="text/javascript" src="lib/wfadaptor.js"></script>
37
+ <script type="text/javascript" src="lib/ui.js"></script>
38
+
39
+ <link rel="stylesheet" href="lib/wfadaptor.css" type="text/css"/>
40
+ <link rel="stylesheet" href="lib/contextmenu.css" type="text/css"/>
41
+ <link rel="stylesheet" href="lib/ui.css" type="text/css"/>
42
+
43
+ <!-- custom stuff, play arround -->
44
+
45
+ <script type="text/javascript" src="js/ui.js"></script>
46
+ <script type="text/javascript" src="js/instance.js"></script>
47
+ <script type="text/javascript" src="js/details.js"></script>
48
+ <script type="text/javascript" src="js/parameters.js"></script>
49
+ <script type="text/javascript" src="js/wfadaptor.cpee.js"></script>
50
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
51
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
52
+ </head>
53
+ <body>
54
+ <!-- The following six are templates that get used during ui generation, change them carefully -->
55
+ <table id="dat_template_pair" class='hidden'> <!--{{{-->
56
+ <tr class="pair">
57
+ <td class='del'><a href='' tabindex='-1' title='Delete Item (Ctrl-D)'>✖</a></td>
58
+ <td class='pname'><input pattern="[a-zA-Z][a-zA-Z0-9_]*" placeholder='fill in name...' type='text' class='pair_name' value=''/></td>
59
+ <td class='sep'>⇒</td>
60
+ <td class='pvalue'><input placeholder='fill in value...' class='pair_value' value=''/></td>
61
+ </tr>
62
+ </table> <!--}}}-->
63
+ <table id="prop_template_sizer" class='hidden'> <!--{{{-->
64
+ <tr class='sizer'>
65
+ <td class='del'></td>
66
+ <td class='pname'></td>
67
+ <td class='sep'></td>
68
+ <td class='value'></td>
69
+ </tr>
70
+ </table> <!--}}}-->
71
+ <table id="prop_template_input" class='hidden'> <!--{{{-->
72
+ <tr>
73
+ <td class='cname' colspan='2'><strong class="prop_name"></strong></td>
74
+ <td class='sep'>⇒</td>
75
+ <td class='value'><input type="text" class="prop_value" value=""/></td>
76
+ </tr>
77
+ </table> <!--}}}-->
78
+ <table id="prop_template_readonly" class='hidden'> <!--{{{-->
79
+ <tr>
80
+ <td class='cname' colspan='2'><strong class="prop_name"></strong></td>
81
+ <td class='sep'>⇒</td>
82
+ <td class='value'><input type="text" readonly='readonly' class="prop_value" value=""/></td>
83
+ </tr>
84
+ </table> <!--}}}-->
85
+ <table id="prop_template_area" class='hidden'> <!--{{{-->
86
+ <tr>
87
+ <td class='cname' colspan='2'><strong class="prop_name"></strong></td>
88
+ <td class='sep'>⇒</td>
89
+ <td class='value'><textarea rows='3' class="prop_value"></textarea></td>
90
+ </tr>
91
+ </table> <!--}}}-->
92
+ <table id="prop_template_header" class='hidden'> <!--{{{-->
93
+ <tr class='header'>
94
+ <td colspan='4'><strong class="header_value"></strong> <button title='Ctrl-N while editing entry'>New</button></td>
95
+ </tr>
96
+ </table> <!--}}}-->
97
+ <table id="prop_template_line" class='hidden'> <!--{{{-->
98
+ <tr>
99
+ <td class='cname' colspan='2'></td>
100
+ <td class='sep'>⇒</td>
101
+ <td class='value'><em class="line_main"></em><em>:</em> <span class='line_text'></span></td>
102
+ </tr>
103
+ </table> <!--}}}-->
104
+ <table id="prop_template_select" class='hidden'> <!--{{{-->
105
+ <tr>
106
+ <td class='cname' colspan='2'><strong class="prop_name"></strong></td>
107
+ <td class='sep'>⇒</td>
108
+ <td class='value'><select class="prop_value"></select></td>
109
+ </tr>
110
+ </table> <!--}}}-->
111
+
112
+ <div class="tabbed" id="instance">
113
+ <table class="tabbar">
114
+ <tr>
115
+ <td class="tab switch" ><h1></h1></td>
116
+ <td class="tab" id="tabnew" ><h1>New</h1></td>
117
+ <td class="tab inactive hidden" id="tabinstance" ><h1>Instance</h1></td>
118
+ <td class="tab inactive hidden" id="tabexecution" ><h1>Execution</h1></td>
119
+ <td class="tabbehind"><input name="current-instance" type="text" value="" readonly='readonly'/></td>
120
+ </tr>
121
+ <tr class="border hidden"><td colspan="5"></td></tr>
122
+ </table>
123
+ <div class="tabbelow">
124
+ <div id="areanew"> <!--{{{-->
125
+ <table class='layout'>
126
+ <tr>
127
+ <td>Base Url:</td>
128
+ <td><input name="base-url" type="text" value=""/></td>
129
+ <td><button name="base">create new instance</button></td>
130
+ </tr>
131
+ <tr>
132
+ <td>Instance Url:</td>
133
+ <td><input name="instance-url" type="text" value=""/></td>
134
+ <td><button name="instance">monitor instance</button></td>
135
+ </tr>
136
+ </table>
137
+ </div> <!--}}}-->
138
+ <div id="areainstance" class="inactive"> <!--{{{-->
139
+ <table class='compact info'>
140
+ <tr>
141
+ <td>Instance Url:</td>
142
+ <td></td>
143
+ <td id='current-instance'></td>
144
+ </tr>
145
+ <tr>
146
+ <td>Vote to Continue:</td>
147
+ <td></td>
148
+ <td><input type="checkbox" name="votecontinue"/></td>
149
+ </tr>
150
+ <tr>
151
+ <td>Vote to Stop:</td>
152
+ <td></td>
153
+ <td><input type="checkbox" name="votestop"/></td>
154
+ </tr>
155
+ </table>
156
+ <hr></hr>
157
+ <table class='compact loadsave'>
158
+ <tr>
159
+ <td><select name="testset-names"></select></td>
160
+ <td><button name="loadtestset">load from testset</button></td>
161
+ <td rowspan='3'></td>
162
+ <td rowspan='3'><button name="savetestset">save testset</button></td>
163
+ <td rowspan='3'></td>
164
+ <td rowspan='3'><button name="savesvg">save svg graph</button></td>
165
+ </tr>
166
+ <tr>
167
+ <td><input type='file' id='testsetfile'/></td>
168
+ <td><button name="loadtestsetfile">load from testset</button></td>
169
+ </tr>
170
+ </table>
171
+ <form id='saveform' method='post' target='_blank' action=''>
172
+ <input type='hidden' name='content' content=''/>
173
+ </form>
174
+ </div> <!--}}}-->
175
+ <div id="areaexecution" class='inactive'> <!--{{{-->
176
+ <table>
177
+ <tbody id="state"></tbody>
178
+ <tbody id="votes"></tbody>
179
+ </table>
180
+ </div> <!--}}}-->
181
+ </div>
182
+ </div>
183
+
184
+ <div class="tabbed hidden" id='parameters'>
185
+ <table class="tabbar">
186
+ <tr>
187
+ <td class="tab switch" ><h1></h1></td>
188
+ <td class="tab" id="tabdataelements"><h1>Data Elements</h1></td>
189
+ <td class="tab inactive" id="tabendpoints" ><h1>Endpoints</h1></td>
190
+ <td class="tabbehind"><button title='Ctrl-N while editing entry'>New</button><button title='Ctrl-S while editing entry'>Save</button></td>
191
+ </tr>
192
+ <tr class="border hidden"><td colspan="4"></td></tr>
193
+ </table>
194
+ <div class="tabbelow">
195
+ <div id="areadataelements"> <!--{{{-->
196
+ <table id="dat_dataelements"></table>
197
+ </div> <!--}}}-->
198
+ <div id="areaendpoints" class='inactive'> <!--{{{-->
199
+ <table id="dat_endpoints"></table>
200
+ </div> <!--}}}-->
201
+ <span id='handle1' class="ui-resizable-handle ui-resizable-s">drag to resize</span>
202
+ </div>
203
+ </div>
204
+
205
+ <div id="main" class="tabbed rest hidden">
206
+ <table class="tabbar">
207
+ <tr>
208
+ <td class="tabbefore"></td>
209
+ <td class="tab" id="tabdetails"><h1>Graph</h1></td>
210
+ <td class="tab inactive" id="tabdsl" ><h1>Description</h1></td>
211
+ <td class="tab inactive" id="tablog" ><h1>Log</h1></td>
212
+ <td class="tabbehind"><button title='Ctrl-S while editing entry'>Save</button></td>
213
+ </tr>
214
+ <tr class="border hidden"><td colspan="3"></td></tr>
215
+ </table>
216
+ <table class="tabbelow columns" id="areadetails">
217
+ <tr>
218
+ <td id='graphcolumn'> <!--{{{-->
219
+ <div class='column'>
220
+ <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:x="http://www.w3.org/1999/xlink" id='graphcanvas' width='1' height='1'></svg>
221
+ </div>
222
+ </td> <!--}}}-->
223
+ <td id="detailcolumn"> <!--{{{-->
224
+ <span id='handle2' class="ui-resizable-handle ui-resizable-w">drag to resize</span>
225
+ <div class='column'>
226
+ <table id="dat_details"></table>
227
+ </div>
228
+ </td> <!--}}}-->
229
+ </tr>
230
+ </table>
231
+ <div class="tabbelow">
232
+ <div id="areadsl" class="inactive"></div>
233
+ <div id="arealog" class="inactive"> <!--{{{-->
234
+ <table id="dat_log" class="layout">
235
+ </table>
236
+ </div> <!--}}}-->
237
+ </div>
238
+ </div>
239
+
240
+ </body>
241
+ </html>