cpee 1.5.18 → 1.5.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/model.css +24 -0
- data/cockpit/css/ui.css +25 -0
- data/cockpit/index.html +6 -6
- data/cockpit/js/details.js +70 -52
- data/cockpit/js/instance.js +61 -17
- data/cockpit/js/model.js +41 -0
- data/cockpit/js/ui.js +3 -0
- data/cockpit/model.html +191 -0
- data/cockpit/themes/compact/rngs/alternative.rng +1 -0
- data/cockpit/themes/compact/rngs/call.rng +111 -0
- data/cockpit/themes/compact/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/compact/rngs/choose.rng +1 -0
- data/cockpit/themes/compact/rngs/critical.rng +1 -0
- data/cockpit/themes/compact/rngs/escape.rng +1 -0
- data/cockpit/themes/compact/rngs/group.rng +1 -0
- data/cockpit/themes/compact/rngs/loop.rng +1 -0
- data/cockpit/themes/compact/rngs/manipulate.rng +1 -0
- data/cockpit/themes/compact/rngs/otherwise.rng +1 -0
- data/cockpit/themes/compact/rngs/parallel.rng +1 -0
- data/cockpit/themes/compact/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/compact/rngs/scripts.rng +24 -0
- data/cockpit/themes/compact/rngs/stop.rng +1 -0
- data/cockpit/themes/compact/rngs/terminate.rng +1 -0
- data/cockpit/themes/compact/symbols/alternative.svg +5 -0
- data/cockpit/themes/compact/symbols/arrow.svg +3 -0
- data/cockpit/themes/compact/symbols/call.svg +6 -0
- data/cockpit/themes/compact/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/compact/symbols/choose.svg +5 -0
- data/cockpit/themes/compact/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/compact/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/compact/symbols/complex.svg +8 -0
- data/cockpit/themes/compact/symbols/critical.svg +4 -0
- data/cockpit/themes/compact/symbols/end.svg +3 -0
- data/cockpit/themes/compact/symbols/escape.svg +5 -0
- data/cockpit/themes/compact/symbols/event_end.svg +3 -0
- data/cockpit/themes/compact/symbols/loop.svg +5 -0
- data/cockpit/themes/compact/symbols/manipulate.svg +4 -0
- data/cockpit/themes/compact/symbols/otherwise.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/compact/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/compact/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/compact/symbols/scripts.svg +4 -0
- data/cockpit/themes/compact/symbols/start.svg +3 -0
- data/cockpit/themes/compact/symbols/stop.svg +5 -0
- data/cockpit/themes/compact/symbols/terminate.svg +4 -0
- data/cockpit/themes/compact/theme.js +30 -18
- data/cockpit/themes/default/rngs/callmanipulate.rng +5 -0
- data/cockpit/themes/default/theme.js +97 -57
- data/cockpit/themes/extended/rngs/alternative.rng +1 -0
- data/cockpit/themes/extended/rngs/call.rng +111 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/extended/rngs/choose.rng +1 -0
- data/cockpit/themes/extended/rngs/critical.rng +1 -0
- data/cockpit/themes/extended/rngs/escape.rng +1 -0
- data/cockpit/themes/extended/rngs/group.rng +1 -0
- data/cockpit/themes/extended/rngs/loop.rng +1 -0
- data/cockpit/themes/extended/rngs/manipulate.rng +1 -0
- data/cockpit/themes/extended/rngs/otherwise.rng +1 -0
- data/cockpit/themes/extended/rngs/parallel.rng +1 -0
- data/cockpit/themes/extended/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/extended/rngs/scripts.rng +24 -0
- data/cockpit/themes/extended/rngs/stop.rng +1 -0
- data/cockpit/themes/extended/rngs/terminate.rng +1 -0
- data/cockpit/themes/extended/symbols/alternative.svg +5 -0
- data/cockpit/themes/extended/symbols/arrow.svg +3 -0
- data/cockpit/themes/extended/symbols/call.svg +6 -0
- data/cockpit/themes/extended/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/extended/symbols/choose.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/extended/symbols/complex.svg +8 -0
- data/cockpit/themes/extended/symbols/critical.svg +4 -0
- data/cockpit/themes/extended/symbols/end.svg +3 -0
- data/cockpit/themes/extended/symbols/escape.svg +5 -0
- data/cockpit/themes/extended/symbols/event_end.svg +3 -0
- data/cockpit/themes/extended/symbols/loop.svg +5 -0
- data/cockpit/themes/extended/symbols/manipulate.svg +4 -0
- data/cockpit/themes/extended/symbols/otherwise.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/extended/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/extended/symbols/scripts.svg +4 -0
- data/cockpit/themes/extended/symbols/start.svg +3 -0
- data/cockpit/themes/extended/symbols/stop.svg +5 -0
- data/cockpit/themes/extended/symbols/terminate.svg +4 -0
- data/cockpit/themes/extended/theme.js +30 -18
- data/cockpit/themes/labels/rngs/alternative.rng +25 -0
- data/cockpit/themes/labels/rngs/call.rng +81 -0
- data/cockpit/themes/labels/rngs/callmanipulate.rng +101 -0
- data/cockpit/themes/labels/rngs/choose.rng +12 -0
- data/cockpit/themes/labels/rngs/critical.rng +5 -0
- data/cockpit/themes/labels/rngs/escape.rng +1 -0
- data/cockpit/themes/labels/rngs/finalize.rng +6 -0
- data/cockpit/themes/labels/rngs/group.rng +3 -0
- data/cockpit/themes/labels/rngs/loop.rng +22 -0
- data/cockpit/themes/labels/rngs/manipulate.rng +9 -0
- data/cockpit/themes/labels/rngs/otherwise.rng +22 -0
- data/cockpit/themes/labels/rngs/parallel.rng +13 -0
- data/cockpit/themes/labels/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/labels/rngs/stop.rng +5 -0
- data/cockpit/themes/labels/rngs/terminate.rng +1 -0
- data/cockpit/themes/labels/rngs/update.rng +6 -0
- data/cockpit/themes/labels/symbols/alternative.svg +5 -0
- data/cockpit/themes/labels/symbols/arrow.svg +3 -0
- data/cockpit/themes/labels/symbols/call.svg +6 -0
- data/cockpit/themes/labels/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/labels/symbols/choose.svg +5 -0
- data/cockpit/themes/labels/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/labels/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/labels/symbols/complex.svg +8 -0
- data/cockpit/themes/labels/symbols/critical.svg +4 -0
- data/cockpit/themes/labels/symbols/end.svg +3 -0
- data/cockpit/themes/labels/symbols/escape.svg +5 -0
- data/cockpit/themes/labels/symbols/event_end.svg +3 -0
- data/cockpit/themes/labels/symbols/loop.svg +5 -0
- data/cockpit/themes/labels/symbols/manipulate.svg +4 -0
- data/cockpit/themes/labels/symbols/otherwise.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/labels/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/labels/symbols/scripts.svg +4 -0
- data/cockpit/themes/labels/symbols/start.svg +3 -0
- data/cockpit/themes/labels/symbols/stop.svg +5 -0
- data/cockpit/themes/labels/symbols/terminate.svg +4 -0
- data/cockpit/themes/model/rngs/alternative.rng +1 -0
- data/cockpit/themes/model/rngs/call.rng +62 -0
- data/cockpit/themes/model/rngs/callmanipulate.rng +67 -0
- data/cockpit/themes/model/rngs/choose.rng +1 -0
- data/cockpit/themes/model/rngs/critical.rng +1 -0
- data/cockpit/themes/model/rngs/escape.rng +1 -0
- data/cockpit/themes/model/rngs/group.rng +1 -0
- data/cockpit/themes/model/rngs/loop.rng +1 -0
- data/cockpit/themes/model/rngs/manipulate.rng +1 -0
- data/cockpit/themes/model/rngs/otherwise.rng +1 -0
- data/cockpit/themes/model/rngs/parallel.rng +1 -0
- data/cockpit/themes/model/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/model/rngs/scripts.rng +8 -0
- data/cockpit/themes/model/rngs/stop.rng +1 -0
- data/cockpit/themes/model/rngs/terminate.rng +1 -0
- data/cockpit/themes/model/symbols/alternative.svg +5 -0
- data/cockpit/themes/model/symbols/arrow.svg +3 -0
- data/cockpit/themes/model/symbols/call.svg +6 -0
- data/cockpit/themes/model/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/model/symbols/choose.svg +5 -0
- data/cockpit/themes/model/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/model/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/model/symbols/complex.svg +8 -0
- data/cockpit/themes/model/symbols/critical.svg +4 -0
- data/cockpit/themes/model/symbols/end.svg +3 -0
- data/cockpit/themes/model/symbols/escape.svg +5 -0
- data/cockpit/themes/model/symbols/event_end.svg +3 -0
- data/cockpit/themes/model/symbols/loop.svg +5 -0
- data/cockpit/themes/model/symbols/manipulate.svg +4 -0
- data/cockpit/themes/model/symbols/otherwise.svg +5 -0
- data/cockpit/themes/model/symbols/parallel.svg +5 -0
- data/cockpit/themes/model/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/model/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/model/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/model/symbols/scripts.svg +4 -0
- data/cockpit/themes/model/symbols/start.svg +3 -0
- data/cockpit/themes/model/symbols/stop.svg +5 -0
- data/cockpit/themes/model/symbols/terminate.svg +4 -0
- data/cockpit/themes/model/theme.js +1267 -0
- data/cockpit/themes/packed/rngs/alternative.rng +1 -0
- data/cockpit/themes/packed/rngs/call.rng +111 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/packed/rngs/choose.rng +1 -0
- data/cockpit/themes/packed/rngs/critical.rng +1 -0
- data/cockpit/themes/packed/rngs/escape.rng +1 -0
- data/cockpit/themes/packed/rngs/group.rng +1 -0
- data/cockpit/themes/packed/rngs/loop.rng +1 -0
- data/cockpit/themes/packed/rngs/manipulate.rng +1 -0
- data/cockpit/themes/packed/rngs/otherwise.rng +1 -0
- data/cockpit/themes/packed/rngs/parallel.rng +1 -0
- data/cockpit/themes/packed/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/packed/rngs/scripts.rng +24 -0
- data/cockpit/themes/packed/rngs/stop.rng +1 -0
- data/cockpit/themes/packed/rngs/terminate.rng +1 -0
- data/cockpit/themes/packed/symbols/alternative.svg +5 -0
- data/cockpit/themes/packed/symbols/arrow.svg +3 -0
- data/cockpit/themes/packed/symbols/call.svg +6 -0
- data/cockpit/themes/packed/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/packed/symbols/choose.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/packed/symbols/complex.svg +8 -0
- data/cockpit/themes/packed/symbols/critical.svg +4 -0
- data/cockpit/themes/packed/symbols/end.svg +3 -0
- data/cockpit/themes/packed/symbols/escape.svg +5 -0
- data/cockpit/themes/packed/symbols/event_end.svg +3 -0
- data/cockpit/themes/packed/symbols/loop.svg +5 -0
- data/cockpit/themes/packed/symbols/manipulate.svg +4 -0
- data/cockpit/themes/packed/symbols/otherwise.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/packed/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/packed/symbols/scripts.svg +4 -0
- data/cockpit/themes/packed/symbols/start.svg +3 -0
- data/cockpit/themes/packed/symbols/stop.svg +5 -0
- data/cockpit/themes/packed/symbols/terminate.svg +4 -0
- data/cockpit/themes/packed/theme.js +30 -18
- data/cockpit/themes/preset/rngs/call.rng +0 -10
- data/cockpit/themes/preset/rngs/callmanipulate.rng +0 -13
- data/cockpit/themes/preset/symbols/alternative.svg +5 -0
- data/cockpit/themes/preset/symbols/arrow.svg +3 -0
- data/cockpit/themes/preset/symbols/call.svg +6 -0
- data/cockpit/themes/preset/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/preset/symbols/choose.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/preset/symbols/complex.svg +8 -0
- data/cockpit/themes/preset/symbols/critical.svg +4 -0
- data/cockpit/themes/preset/symbols/end.svg +3 -0
- data/cockpit/themes/preset/symbols/escape.svg +5 -0
- data/cockpit/themes/preset/symbols/event_end.svg +3 -0
- data/cockpit/themes/preset/symbols/loop.svg +5 -0
- data/cockpit/themes/preset/symbols/manipulate.svg +4 -0
- data/cockpit/themes/preset/symbols/otherwise.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/preset/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/preset/symbols/scripts.svg +4 -0
- data/cockpit/themes/preset/symbols/start.svg +3 -0
- data/cockpit/themes/preset/symbols/stop.svg +5 -0
- data/cockpit/themes/preset/symbols/terminate.svg +4 -0
- data/cockpit/themes/preset/theme.js +30 -18
- data/cpee.gemspec +3 -2
- data/lib/cpee/implementation.rb +28 -0
- data/lib/cpee/instantiation.rb +2 -1
- data/lib/engine.xml +4 -0
- data/log/azure.rb +1 -1
- data/server/handlerwrappers/default.rb +8 -4
- data/server/resources/transformation_dslx.xsl +3 -0
- metadata +247 -3
data/cockpit/model.html
ADDED
@@ -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>
|
@@ -0,0 +1 @@
|
|
1
|
+
../../default/rngs/alternative.rng
|
@@ -0,0 +1,111 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="endpoint" rngui:label="Endpoint">
|
6
|
+
<data type="string"/>
|
7
|
+
</attribute>
|
8
|
+
<element name='parameters' rngui:header="Properties">
|
9
|
+
<element name="label" rngui:label="Label">
|
10
|
+
<data type="string" rngui:label="Short description of the task"/>
|
11
|
+
</element>
|
12
|
+
<element name="method" rngui:label="Method">
|
13
|
+
<choice>
|
14
|
+
<value>:post</value>
|
15
|
+
<value>:get</value>
|
16
|
+
<value>:put</value>
|
17
|
+
<value>:delete</value>
|
18
|
+
</choice>
|
19
|
+
</element>
|
20
|
+
<element name="arguments" rngui:header="Arguments">
|
21
|
+
<zeroOrMore rngui:label="Create Argument Pair">
|
22
|
+
<element rngui:label='Name' rngui:labeltype='xml'>
|
23
|
+
<anyName/>
|
24
|
+
<data type="string" rngui:label="Value"/>
|
25
|
+
</element>
|
26
|
+
</zeroOrMore>
|
27
|
+
</element>
|
28
|
+
<element name="stream" rngui:header="Data Stream Handling" rngui:fold="closed">
|
29
|
+
<element name="sensors" rngui:header="Sensors" rngui:fold="closed">
|
30
|
+
<zeroOrMore rngui:label="Add Sensor">
|
31
|
+
<element name="sensor">
|
32
|
+
<element name="name" rngui:label="Label">
|
33
|
+
<data type="string" rngui:label="Label"/>
|
34
|
+
</element>
|
35
|
+
<element name="extractor_url" rngui:label="Extractor Url">
|
36
|
+
<data type="string" rngui:label="Service Url"/>
|
37
|
+
</element>
|
38
|
+
<element name="extractor_arg" rngui:label="Extractor Argument">
|
39
|
+
<data type="string" rngui:label="Value / Json"/>
|
40
|
+
</element>
|
41
|
+
<element name="visualizer_url" rngui:label="Visualizer Url">
|
42
|
+
<data type="string" rngui:label="Service Url"/>
|
43
|
+
</element>
|
44
|
+
<element name="visualizer_params" rngui:header="Visualizer Arguments">
|
45
|
+
<zeroOrMore rngui:label="Create Visualizer Argument Pairs">
|
46
|
+
<element rngui:label='Name'>
|
47
|
+
<anyName/>
|
48
|
+
<data type="string" rngui:label="Value / Json"/>
|
49
|
+
</element>
|
50
|
+
</zeroOrMore>
|
51
|
+
</element>
|
52
|
+
</element>
|
53
|
+
</zeroOrMore>
|
54
|
+
</element>
|
55
|
+
<element name="aggregators" rngui:header="Aggregators" rngui:fold="closed">
|
56
|
+
<zeroOrMore rngui:label="Add Aggregator">
|
57
|
+
<element name="aggregator">
|
58
|
+
<element name="name" rngui:label="Label">
|
59
|
+
<data type="string" rngui:label="Label"/>
|
60
|
+
</element>
|
61
|
+
<element name="aggregator_url" rngui:label="Aggregator Url">
|
62
|
+
<data type="string" rngui:label="Service Url"/>
|
63
|
+
</element>
|
64
|
+
<element name="aggregator_arg" rngui:label="Aggregator Argument">
|
65
|
+
<data type="string" rngui:label="Value / Json"/>
|
66
|
+
</element>
|
67
|
+
</element>
|
68
|
+
</zeroOrMore>
|
69
|
+
</element>
|
70
|
+
<element name="costs" rngui:header="Costs" rngui:fold="closed">
|
71
|
+
<zeroOrMore rngui:label="Create Cost Factor">
|
72
|
+
<element name='cost_factor'>
|
73
|
+
<element name="name" rngui:label="Label">
|
74
|
+
<data type="string" rngui:label="Label"/>
|
75
|
+
</element>
|
76
|
+
<element name="target" rngui:label="Target Value">
|
77
|
+
<data type="string" rngui:label="Value"/>
|
78
|
+
</element>
|
79
|
+
<element name="vfunc_url" rngui:label="Violation Function Url">
|
80
|
+
<data type="string" rngui:label="Service Url"/>
|
81
|
+
</element>
|
82
|
+
<element name="vfunc_arg" rngui:label="Violation Function Argument">
|
83
|
+
<data type="string" rngui:label="Service Url"/>
|
84
|
+
</element>
|
85
|
+
<element name="vcost" rngui:label="Violation Cost">
|
86
|
+
<data type="string" rngui:label="Value"/>
|
87
|
+
</element>
|
88
|
+
</element>
|
89
|
+
</zeroOrMore>
|
90
|
+
</element>
|
91
|
+
</element>
|
92
|
+
</element>
|
93
|
+
<element name="annotations" rngui:header="Annotations">
|
94
|
+
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
95
|
+
<element name="_timing_min" rngui:label='Min in min'>
|
96
|
+
<data type='float' rngui:label='Minutes'/>
|
97
|
+
</element>
|
98
|
+
<element name="_timing_max" rngui:label='Max in min'>
|
99
|
+
<data type='float' rngui:label='Minutes'/>
|
100
|
+
</element>
|
101
|
+
<element name="_timing_avg" rngui:label='Avg in min'>
|
102
|
+
<data type='float' rngui:label='Minutes'/>
|
103
|
+
</element>
|
104
|
+
</element>
|
105
|
+
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
106
|
+
<element name="_notes_general" rngui:label='General'>
|
107
|
+
<text rngui:wrap='true' rngui:label='Notes'/>
|
108
|
+
</element>
|
109
|
+
</element>
|
110
|
+
</element>
|
111
|
+
</element>
|
@@ -0,0 +1,134 @@
|
|
1
|
+
<element rngui:version="1.2" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org">
|
2
|
+
<attribute name="id" rngui:label="ID" rngui:default="javascript:get_free_id()">
|
3
|
+
<data type="string" rngui:readonly="true"/>
|
4
|
+
</attribute>
|
5
|
+
<attribute name="endpoint" rngui:label="Endpoint">
|
6
|
+
<data type="string"/>
|
7
|
+
</attribute>
|
8
|
+
<element name='parameters' rngui:header="Properties">
|
9
|
+
<element name="label" rngui:label="Label">
|
10
|
+
<data type="string" rngui:label="Short description of the task"/>
|
11
|
+
</element>
|
12
|
+
<element name="method" rngui:label="Method">
|
13
|
+
<choice>
|
14
|
+
<value>:post</value>
|
15
|
+
<value>:get</value>
|
16
|
+
<value>:put</value>
|
17
|
+
<value>:delete</value>
|
18
|
+
</choice>
|
19
|
+
</element>
|
20
|
+
<element name="arguments" rngui:header="Arguments">
|
21
|
+
<zeroOrMore rngui:label="Create Argument Pair">
|
22
|
+
<element rngui:label='Name' rngui:labeltype='xml'>
|
23
|
+
<anyName/>
|
24
|
+
<data type="string" rngui:label="Value"/>
|
25
|
+
</element>
|
26
|
+
</zeroOrMore>
|
27
|
+
</element>
|
28
|
+
<element name="stream" rngui:header="Data Stream Handling" rngui:fold="closed">
|
29
|
+
<element name="sensors" rngui:header="Sensors" rngui:fold="closed">
|
30
|
+
<zeroOrMore rngui:label="Add Sensor">
|
31
|
+
<element name="sensor">
|
32
|
+
<element name="name" rngui:label="Label">
|
33
|
+
<data type="string" rngui:label="Label"/>
|
34
|
+
</element>
|
35
|
+
<element name="extractor_url" rngui:label="Extractor Url">
|
36
|
+
<data type="string" rngui:label="Service Url"/>
|
37
|
+
</element>
|
38
|
+
<element name="extractor_arg" rngui:label="Extractor Argument">
|
39
|
+
<data type="string" rngui:label="Value / Json"/>
|
40
|
+
</element>
|
41
|
+
<element name="visualizer_url" rngui:label="Visualizer Url">
|
42
|
+
<data type="string" rngui:label="Service Url"/>
|
43
|
+
</element>
|
44
|
+
<element name="visualizer_params" rngui:header="Visualizer Arguments">
|
45
|
+
<zeroOrMore rngui:label="Create Visualizer Argument Pairs">
|
46
|
+
<element rngui:label='Name'>
|
47
|
+
<anyName/>
|
48
|
+
<data type="string" rngui:label="Value / Json"/>
|
49
|
+
</element>
|
50
|
+
</zeroOrMore>
|
51
|
+
</element>
|
52
|
+
</element>
|
53
|
+
</zeroOrMore>
|
54
|
+
</element>
|
55
|
+
<element name="aggregators" rngui:header="Aggregators" rngui:fold="closed">
|
56
|
+
<zeroOrMore rngui:label="Add Aggregator">
|
57
|
+
<element name="aggregator">
|
58
|
+
<element name="name" rngui:label="Label">
|
59
|
+
<data type="string" rngui:label="Label"/>
|
60
|
+
</element>
|
61
|
+
<element name="aggregator_url" rngui:label="Aggregator Url">
|
62
|
+
<data type="string" rngui:label="Service Url"/>
|
63
|
+
</element>
|
64
|
+
<element name="aggregator_arg" rngui:label="Aggregator Argument">
|
65
|
+
<data type="string" rngui:label="Value / Json"/>
|
66
|
+
</element>
|
67
|
+
</element>
|
68
|
+
</zeroOrMore>
|
69
|
+
</element>
|
70
|
+
<element name="costs" rngui:header="Costs" rngui:fold="closed">
|
71
|
+
<zeroOrMore rngui:label="Create Cost Factor">
|
72
|
+
<element name='cost_factor'>
|
73
|
+
<element name="name" rngui:label="Label">
|
74
|
+
<data type="string" rngui:label="Label"/>
|
75
|
+
</element>
|
76
|
+
<element name="target" rngui:label="Target Value">
|
77
|
+
<data type="string" rngui:label="Value"/>
|
78
|
+
</element>
|
79
|
+
<element name="vfunc_url" rngui:label="Violation Function Url">
|
80
|
+
<data type="string" rngui:label="Service Url"/>
|
81
|
+
</element>
|
82
|
+
<element name="vfunc_arg" rngui:label="Violation Function Argument">
|
83
|
+
<data type="string" rngui:label="Service Url"/>
|
84
|
+
</element>
|
85
|
+
<element name="vcost" rngui:label="Violation Cost">
|
86
|
+
<data type="string" rngui:label="Value"/>
|
87
|
+
</element>
|
88
|
+
</element>
|
89
|
+
</zeroOrMore>
|
90
|
+
</element>
|
91
|
+
</element>
|
92
|
+
</element>
|
93
|
+
<element name="code" rngui:header="Implementation">
|
94
|
+
<element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold='closed_conditional'>
|
95
|
+
<text rngui:label='Script that is executed, before a service call'/>
|
96
|
+
</element>
|
97
|
+
<element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold='closed_conditional'>
|
98
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
99
|
+
<data type="string" rngui:readonly="true"/>
|
100
|
+
</attribute>
|
101
|
+
<text rngui:label='Script that is executed, when a service returns data'/>
|
102
|
+
</element>
|
103
|
+
<element name="update" rngui:header="Update" rngui:label="Code" rngui:fold='closed_conditional'>
|
104
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
105
|
+
<data type="string" rngui:readonly="true"/>
|
106
|
+
</attribute>
|
107
|
+
<text rngui:label='Script that is executed, when a service sends intermediate data'/>
|
108
|
+
</element>
|
109
|
+
<element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold='closed_conditional'>
|
110
|
+
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
111
|
+
<data type="string" rngui:readonly="true"/>
|
112
|
+
</attribute>
|
113
|
+
<text rngui:label='Script that is executed, if a service call fails'/>
|
114
|
+
</element>
|
115
|
+
</element>
|
116
|
+
<element name="annotations" rngui:header="Annotations">
|
117
|
+
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
118
|
+
<element name="_timing_min" rngui:label='Min in min'>
|
119
|
+
<data type='float' rngui:label='Minutes'/>
|
120
|
+
</element>
|
121
|
+
<element name="_timing_max" rngui:label='Max in min'>
|
122
|
+
<data type='float' rngui:label='Minutes'/>
|
123
|
+
</element>
|
124
|
+
<element name="_timing_avg" rngui:label='Avg in min'>
|
125
|
+
<data type='float' rngui:label='Minutes'/>
|
126
|
+
</element>
|
127
|
+
</element>
|
128
|
+
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
129
|
+
<element name="_notes_general" rngui:label='General'>
|
130
|
+
<text rngui:wrap='true' rngui:label='Notes'/>
|
131
|
+
</element>
|
132
|
+
</element>
|
133
|
+
</element>
|
134
|
+
</element>
|
@@ -0,0 +1 @@
|
|
1
|
+
../../default/rngs/choose.rng
|
@@ -0,0 +1 @@
|
|
1
|
+
../../default/rngs/critical.rng
|
@@ -0,0 +1 @@
|
|
1
|
+
../../default/rngs/escape.rng
|