cpee 1.5.16 → 1.5.21

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/model.css +24 -0
  3. data/cockpit/css/ui.css +25 -0
  4. data/cockpit/index.html +6 -6
  5. data/cockpit/js/details.js +70 -52
  6. data/cockpit/js/instance.js +62 -18
  7. data/cockpit/js/model.js +41 -0
  8. data/cockpit/js/ui.js +3 -0
  9. data/cockpit/js/wfadaptor.js +1 -1
  10. data/cockpit/model.html +191 -0
  11. data/cockpit/testsets/BCO.xml +2 -2
  12. data/cockpit/testsets/BCS.xml +2 -2
  13. data/cockpit/testsets/Lego Full.xml +142 -0
  14. data/cockpit/testsets/Lego Liddy.xml +40 -0
  15. data/cockpit/testsets/Lego_Part_1.xml +85 -0
  16. data/cockpit/testsets/Linear.xml +2 -2
  17. data/cockpit/testsets/Syncing P34 1.xml +2 -2
  18. data/cockpit/testsets/Syncing P34 2.xml +2 -2
  19. data/cockpit/testsets/Syncing P34 3.xml +2 -2
  20. data/cockpit/testsets/Syncing P34.xml +2 -2
  21. data/cockpit/testsets/testsets.xml +3 -1
  22. data/cockpit/themes/compact/rngs/alternative.rng +1 -0
  23. data/cockpit/themes/compact/rngs/call.rng +111 -0
  24. data/cockpit/themes/compact/rngs/callmanipulate.rng +134 -0
  25. data/cockpit/themes/compact/rngs/choose.rng +1 -0
  26. data/cockpit/themes/compact/rngs/critical.rng +1 -0
  27. data/cockpit/themes/compact/rngs/escape.rng +1 -0
  28. data/cockpit/themes/compact/rngs/group.rng +1 -0
  29. data/cockpit/themes/compact/rngs/loop.rng +1 -0
  30. data/cockpit/themes/compact/rngs/manipulate.rng +1 -0
  31. data/cockpit/themes/compact/rngs/otherwise.rng +1 -0
  32. data/cockpit/themes/compact/rngs/parallel.rng +1 -0
  33. data/cockpit/themes/compact/rngs/parallel_branch.rng +1 -0
  34. data/cockpit/themes/compact/rngs/scripts.rng +24 -0
  35. data/cockpit/themes/compact/rngs/stop.rng +1 -0
  36. data/cockpit/themes/compact/rngs/terminate.rng +1 -0
  37. data/cockpit/themes/compact/symbols/alternative.svg +5 -0
  38. data/cockpit/themes/compact/symbols/arrow.svg +3 -0
  39. data/cockpit/themes/compact/symbols/call.svg +6 -0
  40. data/cockpit/themes/compact/symbols/callmanipulate.svg +8 -0
  41. data/cockpit/themes/compact/symbols/choose.svg +5 -0
  42. data/cockpit/themes/compact/symbols/choose_exclusive.svg +5 -0
  43. data/cockpit/themes/compact/symbols/choose_inclusive.svg +4 -0
  44. data/cockpit/themes/compact/symbols/complex.svg +8 -0
  45. data/cockpit/themes/compact/symbols/critical.svg +4 -0
  46. data/cockpit/themes/compact/symbols/end.svg +3 -0
  47. data/cockpit/themes/compact/symbols/escape.svg +5 -0
  48. data/cockpit/themes/compact/symbols/event_end.svg +3 -0
  49. data/cockpit/themes/compact/symbols/loop.svg +5 -0
  50. data/cockpit/themes/compact/symbols/manipulate.svg +4 -0
  51. data/cockpit/themes/compact/symbols/otherwise.svg +5 -0
  52. data/cockpit/themes/compact/symbols/parallel.svg +5 -0
  53. data/cockpit/themes/compact/symbols/parallel_branch.svg +5 -0
  54. data/cockpit/themes/compact/symbols/parallel_branch_compact.svg +4 -0
  55. data/cockpit/themes/compact/symbols/parallel_branch_event.svg +14 -0
  56. data/cockpit/themes/compact/symbols/parallel_branch_normal.svg +5 -0
  57. data/cockpit/themes/compact/symbols/scripts.svg +4 -0
  58. data/cockpit/themes/compact/symbols/start.svg +3 -0
  59. data/cockpit/themes/compact/symbols/stop.svg +5 -0
  60. data/cockpit/themes/compact/symbols/terminate.svg +4 -0
  61. data/cockpit/themes/compact/theme.js +101 -61
  62. data/cockpit/themes/default/rngs/callmanipulate.rng +5 -0
  63. data/cockpit/themes/default/theme.js +97 -57
  64. data/cockpit/themes/extended/rngs/alternative.rng +1 -0
  65. data/cockpit/themes/extended/rngs/call.rng +111 -0
  66. data/cockpit/themes/extended/rngs/callmanipulate.rng +134 -0
  67. data/cockpit/themes/extended/rngs/choose.rng +1 -0
  68. data/cockpit/themes/extended/rngs/critical.rng +1 -0
  69. data/cockpit/themes/extended/rngs/escape.rng +1 -0
  70. data/cockpit/themes/extended/rngs/group.rng +1 -0
  71. data/cockpit/themes/extended/rngs/loop.rng +1 -0
  72. data/cockpit/themes/extended/rngs/manipulate.rng +1 -0
  73. data/cockpit/themes/extended/rngs/otherwise.rng +1 -0
  74. data/cockpit/themes/extended/rngs/parallel.rng +1 -0
  75. data/cockpit/themes/extended/rngs/parallel_branch.rng +1 -0
  76. data/cockpit/themes/extended/rngs/scripts.rng +24 -0
  77. data/cockpit/themes/extended/rngs/stop.rng +1 -0
  78. data/cockpit/themes/extended/rngs/terminate.rng +1 -0
  79. data/cockpit/themes/extended/symbols/alternative.svg +5 -0
  80. data/cockpit/themes/extended/symbols/arrow.svg +3 -0
  81. data/cockpit/themes/extended/symbols/call.svg +6 -0
  82. data/cockpit/themes/extended/symbols/callmanipulate.svg +8 -0
  83. data/cockpit/themes/extended/symbols/choose.svg +5 -0
  84. data/cockpit/themes/extended/symbols/choose_exclusive.svg +5 -0
  85. data/cockpit/themes/extended/symbols/choose_inclusive.svg +4 -0
  86. data/cockpit/themes/extended/symbols/complex.svg +8 -0
  87. data/cockpit/themes/extended/symbols/critical.svg +4 -0
  88. data/cockpit/themes/extended/symbols/end.svg +3 -0
  89. data/cockpit/themes/extended/symbols/escape.svg +5 -0
  90. data/cockpit/themes/extended/symbols/event_end.svg +3 -0
  91. data/cockpit/themes/extended/symbols/loop.svg +5 -0
  92. data/cockpit/themes/extended/symbols/manipulate.svg +4 -0
  93. data/cockpit/themes/extended/symbols/otherwise.svg +5 -0
  94. data/cockpit/themes/extended/symbols/parallel.svg +5 -0
  95. data/cockpit/themes/extended/symbols/parallel_branch.svg +5 -0
  96. data/cockpit/themes/extended/symbols/parallel_branch_compact.svg +4 -0
  97. data/cockpit/themes/extended/symbols/parallel_branch_event.svg +14 -0
  98. data/cockpit/themes/extended/symbols/parallel_branch_normal.svg +5 -0
  99. data/cockpit/themes/extended/symbols/scripts.svg +4 -0
  100. data/cockpit/themes/extended/symbols/start.svg +3 -0
  101. data/cockpit/themes/extended/symbols/stop.svg +5 -0
  102. data/cockpit/themes/extended/symbols/terminate.svg +4 -0
  103. data/cockpit/themes/extended/theme.js +101 -61
  104. data/cockpit/themes/labels/rngs/alternative.rng +25 -0
  105. data/cockpit/themes/labels/rngs/call.rng +81 -0
  106. data/cockpit/themes/labels/rngs/callmanipulate.rng +101 -0
  107. data/cockpit/themes/labels/rngs/choose.rng +12 -0
  108. data/cockpit/themes/labels/rngs/critical.rng +5 -0
  109. data/cockpit/themes/labels/rngs/escape.rng +1 -0
  110. data/cockpit/themes/labels/rngs/finalize.rng +6 -0
  111. data/cockpit/themes/labels/rngs/group.rng +3 -0
  112. data/cockpit/themes/labels/rngs/loop.rng +22 -0
  113. data/cockpit/themes/labels/rngs/manipulate.rng +9 -0
  114. data/cockpit/themes/labels/rngs/otherwise.rng +22 -0
  115. data/cockpit/themes/labels/rngs/parallel.rng +13 -0
  116. data/cockpit/themes/labels/rngs/parallel_branch.rng +8 -0
  117. data/cockpit/themes/labels/rngs/stop.rng +5 -0
  118. data/cockpit/themes/labels/rngs/terminate.rng +1 -0
  119. data/cockpit/themes/labels/rngs/update.rng +6 -0
  120. data/cockpit/themes/labels/symbols/alternative.svg +5 -0
  121. data/cockpit/themes/labels/symbols/arrow.svg +3 -0
  122. data/cockpit/themes/labels/symbols/call.svg +6 -0
  123. data/cockpit/themes/labels/symbols/callmanipulate.svg +8 -0
  124. data/cockpit/themes/labels/symbols/choose.svg +5 -0
  125. data/cockpit/themes/labels/symbols/choose_exclusive.svg +5 -0
  126. data/cockpit/themes/labels/symbols/choose_inclusive.svg +4 -0
  127. data/cockpit/themes/labels/symbols/complex.svg +8 -0
  128. data/cockpit/themes/labels/symbols/critical.svg +4 -0
  129. data/cockpit/themes/labels/symbols/end.svg +3 -0
  130. data/cockpit/themes/labels/symbols/escape.svg +5 -0
  131. data/cockpit/themes/labels/symbols/event_end.svg +3 -0
  132. data/cockpit/themes/labels/symbols/loop.svg +5 -0
  133. data/cockpit/themes/labels/symbols/manipulate.svg +4 -0
  134. data/cockpit/themes/labels/symbols/otherwise.svg +5 -0
  135. data/cockpit/themes/labels/symbols/parallel.svg +5 -0
  136. data/cockpit/themes/labels/symbols/parallel_branch.svg +5 -0
  137. data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +4 -0
  138. data/cockpit/themes/labels/symbols/parallel_branch_event.svg +14 -0
  139. data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +5 -0
  140. data/cockpit/themes/labels/symbols/scripts.svg +4 -0
  141. data/cockpit/themes/labels/symbols/start.svg +3 -0
  142. data/cockpit/themes/labels/symbols/stop.svg +5 -0
  143. data/cockpit/themes/labels/symbols/terminate.svg +4 -0
  144. data/cockpit/themes/model/rngs/alternative.rng +1 -0
  145. data/cockpit/themes/model/rngs/call.rng +62 -0
  146. data/cockpit/themes/model/rngs/callmanipulate.rng +67 -0
  147. data/cockpit/themes/model/rngs/choose.rng +1 -0
  148. data/cockpit/themes/model/rngs/critical.rng +1 -0
  149. data/cockpit/themes/model/rngs/escape.rng +1 -0
  150. data/cockpit/themes/model/rngs/group.rng +1 -0
  151. data/cockpit/themes/model/rngs/loop.rng +1 -0
  152. data/cockpit/themes/model/rngs/manipulate.rng +1 -0
  153. data/cockpit/themes/model/rngs/otherwise.rng +1 -0
  154. data/cockpit/themes/model/rngs/parallel.rng +1 -0
  155. data/cockpit/themes/model/rngs/parallel_branch.rng +1 -0
  156. data/cockpit/themes/model/rngs/scripts.rng +8 -0
  157. data/cockpit/themes/model/rngs/stop.rng +1 -0
  158. data/cockpit/themes/model/rngs/terminate.rng +1 -0
  159. data/cockpit/themes/model/symbols/alternative.svg +5 -0
  160. data/cockpit/themes/model/symbols/arrow.svg +3 -0
  161. data/cockpit/themes/model/symbols/call.svg +6 -0
  162. data/cockpit/themes/model/symbols/callmanipulate.svg +8 -0
  163. data/cockpit/themes/model/symbols/choose.svg +5 -0
  164. data/cockpit/themes/model/symbols/choose_exclusive.svg +5 -0
  165. data/cockpit/themes/model/symbols/choose_inclusive.svg +4 -0
  166. data/cockpit/themes/model/symbols/complex.svg +8 -0
  167. data/cockpit/themes/model/symbols/critical.svg +4 -0
  168. data/cockpit/themes/model/symbols/end.svg +3 -0
  169. data/cockpit/themes/model/symbols/escape.svg +5 -0
  170. data/cockpit/themes/model/symbols/event_end.svg +3 -0
  171. data/cockpit/themes/model/symbols/loop.svg +5 -0
  172. data/cockpit/themes/model/symbols/manipulate.svg +4 -0
  173. data/cockpit/themes/model/symbols/otherwise.svg +5 -0
  174. data/cockpit/themes/model/symbols/parallel.svg +5 -0
  175. data/cockpit/themes/model/symbols/parallel_branch.svg +5 -0
  176. data/cockpit/themes/model/symbols/parallel_branch_compact.svg +4 -0
  177. data/cockpit/themes/model/symbols/parallel_branch_event.svg +14 -0
  178. data/cockpit/themes/model/symbols/parallel_branch_normal.svg +5 -0
  179. data/cockpit/themes/model/symbols/scripts.svg +4 -0
  180. data/cockpit/themes/model/symbols/start.svg +3 -0
  181. data/cockpit/themes/model/symbols/stop.svg +5 -0
  182. data/cockpit/themes/model/symbols/terminate.svg +4 -0
  183. data/cockpit/themes/model/theme.js +1267 -0
  184. data/cockpit/themes/packed/rngs/alternative.rng +1 -0
  185. data/cockpit/themes/packed/rngs/call.rng +111 -0
  186. data/cockpit/themes/packed/rngs/callmanipulate.rng +134 -0
  187. data/cockpit/themes/packed/rngs/choose.rng +1 -0
  188. data/cockpit/themes/packed/rngs/critical.rng +1 -0
  189. data/cockpit/themes/packed/rngs/escape.rng +1 -0
  190. data/cockpit/themes/packed/rngs/group.rng +1 -0
  191. data/cockpit/themes/packed/rngs/loop.rng +1 -0
  192. data/cockpit/themes/packed/rngs/manipulate.rng +1 -0
  193. data/cockpit/themes/packed/rngs/otherwise.rng +1 -0
  194. data/cockpit/themes/packed/rngs/parallel.rng +1 -0
  195. data/cockpit/themes/packed/rngs/parallel_branch.rng +1 -0
  196. data/cockpit/themes/packed/rngs/scripts.rng +24 -0
  197. data/cockpit/themes/packed/rngs/stop.rng +1 -0
  198. data/cockpit/themes/packed/rngs/terminate.rng +1 -0
  199. data/cockpit/themes/packed/symbols/alternative.svg +5 -0
  200. data/cockpit/themes/packed/symbols/arrow.svg +3 -0
  201. data/cockpit/themes/packed/symbols/call.svg +6 -0
  202. data/cockpit/themes/packed/symbols/callmanipulate.svg +8 -0
  203. data/cockpit/themes/packed/symbols/choose.svg +5 -0
  204. data/cockpit/themes/packed/symbols/choose_exclusive.svg +5 -0
  205. data/cockpit/themes/packed/symbols/choose_inclusive.svg +4 -0
  206. data/cockpit/themes/packed/symbols/complex.svg +8 -0
  207. data/cockpit/themes/packed/symbols/critical.svg +4 -0
  208. data/cockpit/themes/packed/symbols/end.svg +3 -0
  209. data/cockpit/themes/packed/symbols/escape.svg +5 -0
  210. data/cockpit/themes/packed/symbols/event_end.svg +3 -0
  211. data/cockpit/themes/packed/symbols/loop.svg +5 -0
  212. data/cockpit/themes/packed/symbols/manipulate.svg +4 -0
  213. data/cockpit/themes/packed/symbols/otherwise.svg +5 -0
  214. data/cockpit/themes/packed/symbols/parallel.svg +5 -0
  215. data/cockpit/themes/packed/symbols/parallel_branch.svg +5 -0
  216. data/cockpit/themes/packed/symbols/parallel_branch_compact.svg +4 -0
  217. data/cockpit/themes/packed/symbols/parallel_branch_event.svg +14 -0
  218. data/cockpit/themes/packed/symbols/parallel_branch_normal.svg +5 -0
  219. data/cockpit/themes/packed/symbols/scripts.svg +4 -0
  220. data/cockpit/themes/packed/symbols/start.svg +3 -0
  221. data/cockpit/themes/packed/symbols/stop.svg +5 -0
  222. data/cockpit/themes/packed/symbols/terminate.svg +4 -0
  223. data/cockpit/themes/packed/theme.js +101 -61
  224. data/cockpit/themes/preset/rngs/call.rng +0 -10
  225. data/cockpit/themes/preset/rngs/callmanipulate.rng +0 -13
  226. data/cockpit/themes/preset/symbols/alternative.svg +5 -0
  227. data/cockpit/themes/preset/symbols/arrow.svg +3 -0
  228. data/cockpit/themes/preset/symbols/call.svg +6 -0
  229. data/cockpit/themes/preset/symbols/callmanipulate.svg +8 -0
  230. data/cockpit/themes/preset/symbols/choose.svg +5 -0
  231. data/cockpit/themes/preset/symbols/choose_exclusive.svg +5 -0
  232. data/cockpit/themes/preset/symbols/choose_inclusive.svg +4 -0
  233. data/cockpit/themes/preset/symbols/complex.svg +8 -0
  234. data/cockpit/themes/preset/symbols/critical.svg +4 -0
  235. data/cockpit/themes/preset/symbols/end.svg +3 -0
  236. data/cockpit/themes/preset/symbols/escape.svg +5 -0
  237. data/cockpit/themes/preset/symbols/event_end.svg +3 -0
  238. data/cockpit/themes/preset/symbols/loop.svg +5 -0
  239. data/cockpit/themes/preset/symbols/manipulate.svg +4 -0
  240. data/cockpit/themes/preset/symbols/otherwise.svg +5 -0
  241. data/cockpit/themes/preset/symbols/parallel.svg +5 -0
  242. data/cockpit/themes/preset/symbols/parallel_branch.svg +5 -0
  243. data/cockpit/themes/preset/symbols/parallel_branch_compact.svg +4 -0
  244. data/cockpit/themes/preset/symbols/parallel_branch_event.svg +14 -0
  245. data/cockpit/themes/preset/symbols/parallel_branch_normal.svg +5 -0
  246. data/cockpit/themes/preset/symbols/scripts.svg +4 -0
  247. data/cockpit/themes/preset/symbols/start.svg +3 -0
  248. data/cockpit/themes/preset/symbols/stop.svg +5 -0
  249. data/cockpit/themes/preset/symbols/terminate.svg +4 -0
  250. data/cockpit/themes/preset/theme.js +101 -61
  251. data/cpee.gemspec +3 -2
  252. data/lib/cpee/implementation.rb +28 -0
  253. data/lib/cpee/instantiation.rb +22 -5
  254. data/lib/engine.xml +4 -0
  255. data/lib/instantiation.xml +9 -0
  256. data/log/azure.rb +10 -0
  257. data/log/azure_logger.rb +136 -0
  258. data/server/handlerwrappers/default.rb +12 -12
  259. data/server/resources/transformation_dslx.xsl +29 -5
  260. data/server/server.pid +1 -0
  261. metadata +253 -3
@@ -22,6 +22,7 @@ $(document).ready(function() {
22
22
  $("input[name=base-url]").val(res['base-url']);
23
23
  $("body").attr('current-resources',res['res-url']);
24
24
  $("body").attr('current-base',res['base-url']);
25
+ $("body").attr('current-save',res['save-url']);
25
26
  $("body").attr('current-testsets',res['testsets-url']);
26
27
  cockpit();
27
28
  },
@@ -30,9 +31,11 @@ $(document).ready(function() {
30
31
  if (location.protocol.match(/^file/)) {
31
32
  $("body").attr('current-resources',"http://localhost:" + $('body').data('res-port'));
32
33
  $("body").attr('current-base',"http://localhost:" + $('body').data('base-port'));
34
+ $("body").attr('current-save',"http://localhost:" + $('body').data('base-port') + '/design');
33
35
  } else {
34
36
  $("body").attr('current-resources',location.protocol + "//" + location.hostname + ":" + $('body').data('res-port'));
35
37
  $("body").attr('current-base',location.protocol + "//" + location.hostname + ":" + $('body').data('base-port'));
38
+ $("body").attr('current-save',location.protocol + "//" + location.hostname + ":" + $('body').data('base-port') + '/design');
36
39
  }
37
40
  $("input[name=res-url]").val($("body").attr('current-resources'));
38
41
  $("input[name=base-url]").val($("body").attr('current-base'));
@@ -230,7 +230,7 @@ function WfIllustrator(wf_adaptor) { // View {{{
230
230
  spli.each(function(k,v) {
231
231
  var tspan = $X('<tspan x="0" dy="' + (spli.length > 1 ? '-7' : '0') + '" xmlns="http://www.w3.org/2000/svg"></tspan>');
232
232
  if (k == 0) {
233
- tspan.text((label != '' ? '◤ ' : '') + v);
233
+ tspan.text(v);
234
234
  } else {
235
235
  tspan.text(v);
236
236
  tspan.attr('dy','15');
@@ -0,0 +1,191 @@
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. When local than load local libs. -->
24
+ <script type="text/javascript" src="/js_libs/jquery.min.js"></script>
25
+ <script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
26
+ <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
27
+ <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
28
+ <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
29
+ <script type="text/javascript" src="/js_libs/util.js"></script>
30
+ <script type="text/javascript" src="/js_libs/printf.js"></script>
31
+ <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
32
+ <script type="text/javascript" src="/js_libs/parsequery.js"></script>
33
+ <script type="text/javascript" src="/js_libs/underscore.min.js"></script>
34
+ <script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
35
+ <script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
36
+ <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
37
+
38
+ <script type="text/javascript" src="/js_libs/ui.js"></script>
39
+ <script type="text/javascript" src="/js_libs/custommenu.js"></script>
40
+
41
+ <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
42
+ <link rel="stylesheet" href="/js_libs/ui.css" type="text/css"/>
43
+
44
+ <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
45
+
46
+ <!-- modelling ui -->
47
+ <script type="text/javascript" src="js/wfadaptor.js"></script>
48
+ <link rel="stylesheet" href="css/wfadaptor.css" type="text/css"/>
49
+
50
+ <!-- custom stuff, play arround -->
51
+ <script type="text/javascript" src="js/ui.js"></script>
52
+ <script type="text/javascript" src="js/instance.js"></script>
53
+ <script type="text/javascript" src="js/details.js"></script>
54
+ <script type="text/javascript" src="js/parameters.js"></script>
55
+ <script type="text/javascript" src="js/model.js"></script>
56
+ <link rel="stylesheet" href="css/ui.css" type="text/css"/>
57
+ <link rel="stylesheet" href="css/model.css" type="text/css"/>
58
+ <style>
59
+ /* has to be fucking inline, because firefox and chrome disagree how to handle filter urls */
60
+ /* shit balls, no elegance is left in this world */
61
+ </style>
62
+ </head>
63
+ <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui">
64
+ <div id='disclaimer' class='hidden'> <!--{{{-->
65
+ <h1>Disclaimer</h1>
66
+
67
+ <p>
68
+ We use reasonable care in creating and presenting the functionality
69
+ found in this demonstrator. It is provided purely for demonstration purposes
70
+ and you should seek further guidance and make independent enquiries
71
+ before relying upon it.
72
+ </p>
73
+
74
+ <p>
75
+ All functionality included in this demonstrator is subject to change
76
+ without notice. We make no representation or warranty whatsoever
77
+ regarding the completeness, accuracy, adequacy, suitability or
78
+ operation of this demonstrator, or of the results it produces.
79
+ </p>
80
+
81
+ <p>
82
+ We assume no responsibility for process models created with this
83
+ demonstrator and disclaim all liability arising from negligence or
84
+ otherwise in respect of such process models. We will not be liable
85
+ for any damages (including, without limitation, damages for any
86
+ consequential loss or loss of business opportunities or projects, or
87
+ loss of profits) howsoever arising from use of or inability to use
88
+ this demonstrator, or from any action or omission taken as a result of
89
+ using this demonstrator.
90
+ </p>
91
+
92
+ <p>
93
+ This demonstrator was created in Austria. All liability is excluded to the extent
94
+ permitted by law including any implied terms. Any interpretation of its
95
+ content, claims or disputes (of whatever nature and not limited to contractual
96
+ issues) shall be subject to the exclusive jurisdiction of the Austrian Courts
97
+ under Austrian law.
98
+ </p>
99
+
100
+
101
+ <p>
102
+ All actions performed while using this demonstrator will be logged, including
103
+ the IP address of the user.
104
+ </p>
105
+
106
+ <p>
107
+ <input id='iagree' type='checkbox'/><label for='iagree'><strong>OK, I Agree with this terms. I will be a happy person, and do no evil.</strong></label>
108
+ </p>
109
+ <p>
110
+ <button id='icontinue' disabled='disabled'>Continue</button>
111
+ </p>
112
+ </div> <!--}}}-->
113
+
114
+ <div class='hidden' id='relaxngworker'></div>
115
+
116
+ <ui-tabbed id="model">
117
+ <ui-tabbar>
118
+ <ui-tab class="switch" ></ui-tab>
119
+ <ui-tab class="" data-tab="model" id="tabmodel" >Model</ui-tab>
120
+ <ui-tab class="inactive" data-tab="dataelements" id="tabdataelements">Data Elements</ui-tab>
121
+ <ui-behind ><button title='add entry' class="hidden">New</button></ui-behind>
122
+ </ui-tabbar>
123
+ <ui-content>
124
+ <ui-area data-belongs-to-tab="model" id="areamodel"> <!--{{{-->
125
+ <div class='section'>
126
+ <button title='save a testset includes various settings, subscriptions and a model' name="save" disabled=""><div>save</div><div class="hidden" id='lastsavedline'>(last: <span id="lastsaved"></span>)</div></button>
127
+ </div>
128
+ <div class='section'>
129
+ <div>
130
+ <form id='fuckchrome'>
131
+ <input type='file' name='testsetfile' id='testsetfile'/>
132
+ </form>
133
+ <button title='a testset includes various settings, subscriptions and a model' name="loadtestsetfile">load file</button>
134
+ </div>
135
+ <div>
136
+ <input type='file' name='modelfile' id='modelfile'/>
137
+ <button title='a standalone process model is only loadable if the currently loaded testset sucessfully prepared the current model for the type of model' name="loadmodelfile">load model</button>
138
+ </div>
139
+ </div>
140
+ <div class='section'>
141
+ <div>
142
+ <a id="savetestsetfile" href="" download=""></a>
143
+ <button title='a testset includes various settings, subscriptions and a model' name="savetestsetfile">save file</button>
144
+ </div>
145
+ <div>
146
+ <a id="savesvgfile" href="" download=""></a>
147
+ <button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save SVG</button>
148
+ </div>
149
+ </div>
150
+ <div class='section'>
151
+ <div>
152
+ Current model: <span id='currentmodel'></span>
153
+ </div>
154
+ <div>
155
+ <button title='a testset includes various settings, subscriptions and a model' name="loadmodeltype">set model type</button>
156
+ </div>
157
+ </div>
158
+ </ui-area> <!--}}}-->
159
+ <ui-area data-belongs-to-tab="dataelements" id="areadataelements" class="inactive"> <!--{{{-->
160
+ <div id="dat_dataelements"></div>
161
+ </ui-area> <!--}}}-->
162
+ </ui-content>
163
+ </ui-tabbed>
164
+
165
+ <ui-resizehandle class="hidden">drag to resize</ui-resizehandle>
166
+
167
+ <ui-rest id="main" class="hidden">
168
+ <ui-tabbar>
169
+ <ui-before ></ui-before>
170
+ <ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
171
+ <ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
172
+ <ui-behind ></ui-behind>
173
+ </ui-tabbar>
174
+ <ui-content>
175
+ <ui-area data-belongs-to-tab="details" id='graphcolumn'>
176
+ <div id='graphgrid'>
177
+ <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>
178
+ </div>
179
+ </ui-area>
180
+ <ui-resizehandle data-belongs-to-tab="details" data-label="drag to resize"></ui-resizehandle>
181
+ <ui-area data-belongs-to-tab="details" id="detailcolumn">
182
+ <div id="dat_details" class='x-ui-layout'></div>
183
+ </ui-area>
184
+ <ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
185
+ <table id="dat_log" class="x-ui-layout"></table>
186
+ </ui-area> <!--}}}-->
187
+ </ui-content>
188
+ </ui-rest>
189
+
190
+ </body>
191
+ </html>
@@ -2,7 +2,7 @@
2
2
  <attributes>
3
3
  <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
4
4
  <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
5
- <theme>labels</theme>
5
+ <theme>preset</theme>
6
6
  <bc>operate</bc>
7
7
  </attributes>
8
8
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
@@ -70,4 +70,4 @@
70
70
  <dataelements type="rest"/>
71
71
  <endpoints type="rest"/>
72
72
  </transformation>
73
- </testset>
73
+ </testset>
@@ -2,7 +2,7 @@
2
2
  <attributes>
3
3
  <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
4
4
  <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
5
- <theme>labels</theme>
5
+ <theme>preset</theme>
6
6
  <bc>start</bc>
7
7
  </attributes>
8
8
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
@@ -70,4 +70,4 @@
70
70
  <dataelements type="rest"/>
71
71
  <endpoints type="rest"/>
72
72
  </transformation>
73
- </testset>
73
+ </testset>
@@ -0,0 +1,142 @@
1
+ <testset>
2
+ <dataelements>
3
+ </dataelements>
4
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
+ <endpoints>
6
+ <timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
7
+ <deploy xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://coruscant.wst.univie.ac.at:9296/url</deploy>
8
+ </endpoints>
9
+ <description>
10
+ <description xmlns="http://cpee.org/ns/description/1.0">
11
+ <loop mode="pre_test" condition="true">
12
+ <parallel wait="-1">
13
+ <parallel_branch pass="" local="">
14
+ <call id="a2" endpoint="deploy">
15
+ <parameters>
16
+ <label>Dispense</label>
17
+ <method>:post</method>
18
+ <arguments>
19
+ <info>Lego1</info>
20
+ <behavior>wait_running</behavior>
21
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego_Part_1.xml</url>
22
+ </arguments>
23
+ <sensors/>
24
+ </parameters>
25
+ <_timing>
26
+ <_timing_min/>
27
+ <_timing_max/>
28
+ <_timing_avg/>
29
+ </_timing>
30
+ <_notes>
31
+ <_notes_general/>
32
+ <_attachments/>
33
+ </_notes>
34
+ </call>
35
+ </parallel_branch>
36
+ <parallel_branch pass="" local="">
37
+ <call id="a3" endpoint="deploy">
38
+ <parameters>
39
+ <label>Boxer</label>
40
+ <method>:post</method>
41
+ <arguments>
42
+ <info>Boxer</info>
43
+ <behavior>wait_running</behavior>
44
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Boxer.xml</url>
45
+ </arguments>
46
+ <sensors/>
47
+ </parameters>
48
+ <_timing>
49
+ <_timing_min/>
50
+ <_timing_max/>
51
+ <_timing_avg/>
52
+ </_timing>
53
+ <_notes>
54
+ <_notes_general/>
55
+ <_attachments/>
56
+ </_notes>
57
+ </call>
58
+ </parallel_branch>
59
+ <parallel_branch pass="" local="">
60
+ <call id="a4" endpoint="deploy">
61
+ <parameters>
62
+ <label>Liddy</label>
63
+ <method>:post</method>
64
+ <arguments>
65
+ <info>Liddy</info>
66
+ <behavior>wait_running</behavior>
67
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Liddy.xml</url>
68
+ </arguments>
69
+ <sensors/>
70
+ </parameters>
71
+ <_timing>
72
+ <_timing_min/>
73
+ <_timing_max/>
74
+ <_timing_avg/>
75
+ </_timing>
76
+ <_notes>
77
+ <_notes_general/>
78
+ <_attachments/>
79
+ </_notes>
80
+ </call>
81
+ </parallel_branch>
82
+ <parallel_branch pass="" local="">
83
+ <call id="a5" endpoint="deploy">
84
+ <parameters>
85
+ <label>Ejector</label>
86
+ <method>:post</method>
87
+ <arguments>
88
+ <info>Ejector</info>
89
+ <behavior>wait_running</behavior>
90
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Ejector.xml</url>
91
+ </arguments>
92
+ <sensors/>
93
+ </parameters>
94
+ <_timing>
95
+ <_timing_min/>
96
+ <_timing_max/>
97
+ <_timing_avg/>
98
+ </_timing>
99
+ <_notes>
100
+ <_notes_general/>
101
+ <_attachments/>
102
+ </_notes>
103
+ </call>
104
+ </parallel_branch>
105
+ </parallel>
106
+ <call id="a6" endpoint="deploy">
107
+ <parameters>
108
+ <label>Plate</label>
109
+ <method>:post</method>
110
+ <arguments>
111
+ <info>Plate</info>
112
+ <behavior>wait_running</behavior>
113
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Plate.xml</url>
114
+ </arguments>
115
+ <sensors/>
116
+ </parameters>
117
+ <_timing>
118
+ <_timing_min/>
119
+ <_timing_max/>
120
+ <_timing_avg/>
121
+ </_timing>
122
+ <_notes>
123
+ <_notes_general/>
124
+ <_notes_output/>
125
+ <_attachments/>
126
+ </_notes>
127
+ </call>
128
+ <stop id="a1"/>
129
+ </loop>
130
+ </description>
131
+ </description>
132
+ <transformation>
133
+ <description type="copy"/>
134
+ <dataelements type="none"/>
135
+ <endpoints type="none"/>
136
+ </transformation>
137
+ <attributes>
138
+ <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Super_Lego</info>
139
+ <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
140
+ <theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
141
+ </attributes>
142
+ </testset>
@@ -0,0 +1,40 @@
1
+ <testset>
2
+ <dataelements/>
3
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
4
+ <endpoints>
5
+ <timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
6
+ <dispense xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://liddy.wst.univie.ac.at:9200/press</dispense>
7
+ </endpoints>
8
+ <description>
9
+ <description xmlns="http://cpee.org/ns/description/1.0">
10
+ <call id="a1" endpoint="dispense">
11
+ <parameters>
12
+ <label>Press Lid</label>
13
+ <method>:post</method>
14
+ <arguments/>
15
+ <sensors/>
16
+ </parameters>
17
+ <_timing>
18
+ <_timing_min/>
19
+ <_timing_max/>
20
+ <_timing_avg/>
21
+ </_timing>
22
+ <_notes>
23
+ <_notes_general/>
24
+ <_attachments/>
25
+ </_notes>
26
+ </call>
27
+ </description>
28
+ </description>
29
+ <transformation>
30
+ <description type="copy"/>
31
+ <dataelements type="none"/>
32
+ <endpoints type="none"/>
33
+ </transformation>
34
+ <attributes>
35
+ <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Liddy</info>
36
+ <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
37
+ <theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
38
+ <bc xmlns="http://riddl.org/ns/common-patterns/properties/1.0">operate</bc>
39
+ </attributes>
40
+ </testset>
@@ -0,0 +1,85 @@
1
+ <testset>
2
+ <dataelements/>
3
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
4
+ <endpoints>
5
+ <timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
6
+ <deploy xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://coruscant.wst.univie.ac.at:9296/url</deploy>
7
+ </endpoints>
8
+ <description>
9
+ <description xmlns="http://cpee.org/ns/description/1.0">
10
+ <call id="a1" endpoint="deploy">
11
+ <parameters>
12
+ <label>Dispense onto Conveyor</label>
13
+ <method>:post</method>
14
+ <arguments>
15
+ <info>Transporter</info>
16
+ <behavior>wait_running</behavior>
17
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Transporter.xml</url>
18
+ </arguments>
19
+ <sensors/>
20
+ </parameters>
21
+ <_timing>
22
+ <_timing_min/>
23
+ <_timing_max/>
24
+ <_timing_avg/>
25
+ </_timing>
26
+ <_notes>
27
+ <_notes_general/>
28
+ <_attachments/>
29
+ </_notes>
30
+ </call>
31
+ <call id="a2" endpoint="deploy">
32
+ <parameters>
33
+ <label>Get to Crane</label>
34
+ <method>:post</method>
35
+ <arguments>
36
+ <info>Conveyor</info>
37
+ <behavior>wait_running</behavior>
38
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Conveyor.xml</url>
39
+ </arguments>
40
+ <sensors/>
41
+ </parameters>
42
+ <_timing>
43
+ <_timing_min/>
44
+ <_timing_max/>
45
+ <_timing_avg/>
46
+ </_timing>
47
+ <_notes>
48
+ <_notes_general/>
49
+ <_attachments/>
50
+ </_notes>
51
+ </call>
52
+ <call id="a3" endpoint="deploy">
53
+ <parameters>
54
+ <label>Get to Plate</label>
55
+ <method>:post</method>
56
+ <arguments>
57
+ <info>Crane</info>
58
+ <behavior>wait_running</behavior>
59
+ <url>http://cpee.org/~demo/cpee-cockpit/testsets/Lego%20Crane.xml</url>
60
+ </arguments>
61
+ <sensors/>
62
+ </parameters>
63
+ <_timing>
64
+ <_timing_min/>
65
+ <_timing_max/>
66
+ <_timing_avg/>
67
+ </_timing>
68
+ <_notes>
69
+ <_notes_general/>
70
+ <_attachments/>
71
+ </_notes>
72
+ </call>
73
+ </description>
74
+ </description>
75
+ <transformation>
76
+ <description type="copy"/>
77
+ <dataelements type="none"/>
78
+ <endpoints type="none"/>
79
+ </transformation>
80
+ <attributes>
81
+ <info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Lego_Part_1</info>
82
+ <modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
83
+ <theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
84
+ </attributes>
85
+ </testset>