cpee 2.0.24 → 2.0.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/{templates/.CPEE.xml → CPEE.xml} +1 -1
  3. data/cockpit/{templates/.Signavio.xml → Signavio.xml} +1 -1
  4. data/cockpit/css/model.css +1 -1
  5. data/cockpit/css/ui.css +3 -1
  6. data/cockpit/edit.html +260 -0
  7. data/cockpit/index.html +0 -2
  8. data/cockpit/js/edit.js +32 -0
  9. data/cockpit/js/instance.js +28 -19
  10. data/cockpit/js/model.js +0 -25
  11. data/cockpit/js/parameters.js +3 -0
  12. data/cockpit/js/ui.js +7 -0
  13. data/cockpit/model.html +1 -0
  14. data/cockpit/themes/compact/rngs/call.rng +26 -1
  15. data/cockpit/themes/compact/rngs/callmanipulate.rng +32 -2
  16. data/cockpit/themes/compact/theme.js +57 -25
  17. data/cockpit/themes/control/rngs/call.rng +26 -1
  18. data/cockpit/themes/control/rngs/callmanipulate.rng +32 -2
  19. data/cockpit/themes/control/theme.js +50 -19
  20. data/cockpit/themes/default/rngs/call.rng +26 -1
  21. data/cockpit/themes/default/rngs/callmanipulate.rng +32 -2
  22. data/cockpit/themes/default/theme.js +49 -18
  23. data/cockpit/themes/extended/rngs/call.rng +26 -1
  24. data/cockpit/themes/extended/rngs/callmanipulate.rng +32 -2
  25. data/cockpit/themes/extended/theme.js +50 -19
  26. data/cockpit/themes/model/rngs/call.rng +21 -20
  27. data/cockpit/themes/model/rngs/callmanipulate.rng +23 -22
  28. data/cockpit/themes/model/theme.js +51 -20
  29. data/cockpit/themes/packed/rngs/call.rng +26 -1
  30. data/cockpit/themes/packed/rngs/callmanipulate.rng +32 -2
  31. data/cockpit/themes/packed/theme.js +50 -19
  32. data/cockpit/themes/preset/rngs/call.rng +26 -1
  33. data/cockpit/themes/preset/rngs/callmanipulate.rng +32 -2
  34. data/cockpit/themes/preset/theme.js +49 -18
  35. data/cockpit/{templates/.transformations.xml → transformations.xml} +0 -0
  36. data/cpee.gemspec +1 -1
  37. data/lib/callbacks.xml +5 -0
  38. data/lib/cpee/controller.rb +29 -27
  39. data/lib/cpee/implementation_callbacks.rb +53 -0
  40. data/server/handlerwrappers/default.rb +15 -3
  41. data/server/resources/transformation_dslx.xsl +1 -1
  42. data/server/routing/end.pid +1 -1
  43. data/server/routing/forward-events.pid +1 -1
  44. data/server/routing/forward-votes.pid +1 -1
  45. data/server/routing/persist.pid +1 -1
  46. data/server/routing/persist.rb +3 -3
  47. data/server/server.pid +1 -1
  48. metadata +6 -54
  49. data/cockpit/edit.html +0 -1
  50. data/cockpit/templates/.templates.xml +0 -13
  51. data/cockpit/themes/diana/rngs/alternative.rng +0 -25
  52. data/cockpit/themes/diana/rngs/call.rng +0 -149
  53. data/cockpit/themes/diana/rngs/callmanipulate.rng +0 -188
  54. data/cockpit/themes/diana/rngs/choose.rng +0 -14
  55. data/cockpit/themes/diana/rngs/closed_loop.rng +0 -62
  56. data/cockpit/themes/diana/rngs/closed_loop_cancel.rng +0 -5
  57. data/cockpit/themes/diana/rngs/closed_loop_control.rng +0 -31
  58. data/cockpit/themes/diana/rngs/closed_loop_measuring.rng +0 -12
  59. data/cockpit/themes/diana/rngs/critical.rng +0 -5
  60. data/cockpit/themes/diana/rngs/escape.rng +0 -1
  61. data/cockpit/themes/diana/rngs/group.rng +0 -3
  62. data/cockpit/themes/diana/rngs/loop.rng +0 -22
  63. data/cockpit/themes/diana/rngs/manipulate.rng +0 -9
  64. data/cockpit/themes/diana/rngs/otherwise.rng +0 -22
  65. data/cockpit/themes/diana/rngs/parallel.rng +0 -21
  66. data/cockpit/themes/diana/rngs/parallel_branch.rng +0 -8
  67. data/cockpit/themes/diana/rngs/scripts.rng +0 -23
  68. data/cockpit/themes/diana/rngs/stop.rng +0 -5
  69. data/cockpit/themes/diana/rngs/terminate.rng +0 -1
  70. data/cockpit/themes/diana/symbols/alternative.svg +0 -5
  71. data/cockpit/themes/diana/symbols/arrow.svg +0 -3
  72. data/cockpit/themes/diana/symbols/call.svg +0 -6
  73. data/cockpit/themes/diana/symbols/callmanipulate.svg +0 -8
  74. data/cockpit/themes/diana/symbols/choose.svg +0 -5
  75. data/cockpit/themes/diana/symbols/choose_exclusive.svg +0 -5
  76. data/cockpit/themes/diana/symbols/choose_inclusive.svg +0 -4
  77. data/cockpit/themes/diana/symbols/closed_loop.svg +0 -5
  78. data/cockpit/themes/diana/symbols/closed_loop_cancel.svg +0 -5
  79. data/cockpit/themes/diana/symbols/closed_loop_control.svg +0 -5
  80. data/cockpit/themes/diana/symbols/closed_loop_measuring.svg +0 -6
  81. data/cockpit/themes/diana/symbols/complex.svg +0 -8
  82. data/cockpit/themes/diana/symbols/critical.svg +0 -4
  83. data/cockpit/themes/diana/symbols/end.svg +0 -3
  84. data/cockpit/themes/diana/symbols/escape.svg +0 -5
  85. data/cockpit/themes/diana/symbols/event_end.svg +0 -3
  86. data/cockpit/themes/diana/symbols/loop.svg +0 -5
  87. data/cockpit/themes/diana/symbols/manipulate.svg +0 -4
  88. data/cockpit/themes/diana/symbols/otherwise.svg +0 -5
  89. data/cockpit/themes/diana/symbols/parallel.svg +0 -5
  90. data/cockpit/themes/diana/symbols/parallel_branch.svg +0 -5
  91. data/cockpit/themes/diana/symbols/parallel_branch_compact.svg +0 -4
  92. data/cockpit/themes/diana/symbols/parallel_branch_event.svg +0 -14
  93. data/cockpit/themes/diana/symbols/parallel_branch_normal.svg +0 -5
  94. data/cockpit/themes/diana/symbols/scripts.svg +0 -4
  95. data/cockpit/themes/diana/symbols/start.svg +0 -3
  96. data/cockpit/themes/diana/symbols/stop.svg +0 -5
  97. data/cockpit/themes/diana/symbols/terminate.svg +0 -4
  98. data/cockpit/themes/diana/theme.js +0 -1650
@@ -1,188 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="call" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
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
-
30
- <element name="sensors" rngui:header="Sensor Data Streams" rngui:fold="closed">
31
- <zeroOrMore rngui:label="Add Sensor">
32
- <element name="sensor">
33
- <element name="name" rngui:label="Label">
34
- <data type="string" rngui:label="Label"/>
35
- </element>
36
- <element name="extractor_url" rngui:label="Extractor Url">
37
- <data type="string" rngui:label="Service Url"/>
38
- </element>
39
- <element name="extractor_params" rngui:label="Extractor Arguments:">
40
- <zeroOrMore rngui:label="Create Extractor Argument Pairs">
41
- <element rngui:label="Name">
42
- <anyName/>
43
- <data type="string" rngui:label="Value / Json"/>
44
- </element>
45
- </zeroOrMore>
46
- </element>
47
- <element name="visualizer_url" rngui:label="Visualizer Url">
48
- <data type="string" rngui:label="Service Url"/>
49
- </element>
50
- <element name="visualizer_params" rngui:header="Visualizer Arguments">
51
- <zeroOrMore rngui:label="Create Visualizer Argument Pairs">
52
- <element rngui:label="Name">
53
- <anyName/>
54
- <data type="string" rngui:label="Value / Json"/>
55
- </element>
56
- </zeroOrMore>
57
- </element>
58
- </element>
59
- </zeroOrMore>
60
- </element>
61
-
62
- <element name="ips" rngui:header="Impact Profiles" rngui:fold="closed">
63
- <zeroOrMore rngui:label="Add Impact Profile">
64
- <element name="ip">
65
- <element name="name" rngui:label="Label">
66
- <data type="string" rngui:label="Label"/>
67
- </element>
68
- <element name="target" rngui:label="Target Value">
69
- <data type="string" rngui:label="Value"/>
70
- </element>
71
- <element name="ifs" rngui:header="Impact Factors">
72
- <zeroOrMore rngui:label="Add Impact Factor">
73
- <element name="if">
74
- <element name="ivs" rngui:header="Impact Values">
75
- <zeroOrMore rngui:label="Add Impact Value ">
76
- <element name="iv">
77
- <element name="extractor_url" rngui:label="Extractor Url">
78
- <data type="string" rngui:label="Service Url + Parameters"/>
79
- </element>
80
- <element name="extractor_params" rngui:header="Extractor Arguments">
81
- <zeroOrMore rngui:label="Create Extractor Argument Pairs">
82
- <element rngui:label="Name">
83
- <anyName/>
84
- <data type="string" rngui:label="Value / Json"/>
85
- </element>
86
- </zeroOrMore>
87
- </element>
88
- <element name="aggregator_url" rngui:label="Aggregator Url">
89
- <data type="string" rngui:label="Service Url + Parameters"/>
90
- </element>
91
- <element name="aggregator_params" rngui:header="Extractor Arguments">
92
- <zeroOrMore rngui:label="Create Aggregator Argument Pairs">
93
- <element rngui:label="Name">
94
- <anyName/>
95
- <data type="string" rngui:label="Value / Json"/>
96
- </element>
97
- </zeroOrMore>
98
- </element>
99
- </element>
100
- </zeroOrMore>
101
- </element>
102
- <element name="aggregator_url" rngui:label="Impact Function Url">
103
- <data type="string" rngui:label="Service Url + Parameters"/>
104
- </element>
105
- </element>
106
- </zeroOrMore>
107
- </element>
108
- <element name="vfunc_url" rngui:label="Violation Function Url">
109
- <data type="string" rngui:label="Service Url + Parameters"/>
110
- </element>
111
- </element>
112
- </zeroOrMore>
113
- </element>
114
-
115
- </element>
116
- <element name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
117
- <element name="url" rngui:label='HTML Snippet'>
118
- <data type="string" rngui:label="url to report snippet"/>
119
- </element>
120
- </element>
121
- </element>
122
- <element name="code" rngui:header="Implementation">
123
- <element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
124
- <text rngui:label="Script that is executed, before a service call"/>
125
- </element>
126
- <element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
127
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
128
- <data type="string" rngui:readonly="true"/>
129
- </attribute>
130
- <text rngui:label="Script that is executed, when a service returns data"/>
131
- </element>
132
- <element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
133
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
134
- <data type="string" rngui:readonly="true"/>
135
- </attribute>
136
- <text rngui:label="Script that is executed, when a service sends intermediate data"/>
137
- </element>
138
- <element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
139
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
140
- <data type="string" rngui:readonly="true"/>
141
- </attribute>
142
- <text rngui:label="Script that is executed, if a service call fails"/>
143
- </element>
144
- </element>
145
- <element name="annotations" rngui:header="Annotations">
146
- <element name="_timing" rngui:header="Timing" rngui:fold="closed">
147
- <element name="_timing_weight" rngui:label="&#x3C9; - Weight">
148
- <data type="float" rngui:label="[0,1]"/>
149
- </element>
150
- <element name="_timing_avg" rngui:label="Avg in min">
151
- <data type="float" rngui:label="Minutes"/>
152
- </element>
153
- <element name="explanations" rngui:header="Explanations">
154
- <zeroOrMore rngui:label="Add Explanation">
155
- <element name="explanation">
156
- <element name="type" rngui:label="Type">
157
- <choice>
158
- <value>&gt;</value>
159
- <value>&lt;</value>
160
- </choice>
161
- </element>
162
- <element name="deviation" rngui:label="Deviation">
163
- <data type="float" rngui:label="Minutes"/>
164
- </element>
165
- <element name="behaviour" rngui:label="Behaviour">
166
- <choice>
167
- <value>Immediately</value>
168
- <value>Wait until next</value>
169
- <value>Use grace period value</value>
170
- </choice>
171
- </element>
172
- <element name="grace" rngui:label="Grace Period" rngui:default="0.0">
173
- <data type="float" rngui:label="Minutes"/>
174
- </element>
175
- <element name="text" rngui:label="Explanation">
176
- <data type="string" rngui:label="Patterns"/>
177
- </element>
178
- </element>
179
- </zeroOrMore>
180
- </element>
181
- </element>
182
- <element name="_notes" rngui:header="Notes" rngui:fold="closed">
183
- <element name="_notes_general" rngui:label="General">
184
- <text rngui:wrap="true" rngui:label="Notes"/>
185
- </element>
186
- </element>
187
- </element>
188
- </element>
@@ -1,14 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="choose" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="mode" rngui:label="Mode" rngui:default="exclusive">
3
- <choice>
4
- <value>exclusive</value>
5
- <value>inclusive</value>
6
- </choice>
7
- </attribute>
8
- <element rngui:ignore="true" name="alternative">
9
- <attribute name="condition">
10
- <data type="string"/>
11
- </attribute>
12
- </element>
13
- <element rngui:ignore="true" name="otherwise"/>
14
- </element>
@@ -1,62 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="closed_loop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="overrun" rngui:label="Interval duration overrun">
3
- <choice>
4
- <value>wait</value>
5
- <value>cancel</value>
6
- </choice>
7
- </attribute>
8
- <attribute name="execution" rngui:label="Measure-control cycle execution">
9
- <choice>
10
- <value>sequential</value>
11
- <value>parallel</value>
12
- </choice>
13
- </attribute>
14
- <element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
15
- <element name="_probability_min" rngui:label="Min times">
16
- <data type="nonNegativeInteger" rngui:label="Times"/>
17
- </element>
18
- <element name="_probability_max" rngui:label="Max times">
19
- <data type="nonNegativeInteger" rngui:label="Times"/>
20
- </element>
21
- <element name="_probability_avg" rngui:label="Avg times">
22
- <data type="nonNegativeInteger" rngui:label="Times"/>
23
- </element>
24
- </element>
25
- <element rngui:ignore="true" name="closed_loop_measuring">
26
- <attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
27
- <data type="float" rngui:label="Hz"/>
28
- </attribute>
29
- <element name="_expected" rngui:header="Values Expected to Change">
30
- <zeroOrMore rngui:label="Add Value">
31
- <element name="value" rngui:label="Value">
32
- <data type="string" rngui:label="a dataelement"/>
33
- </element>
34
- </zeroOrMore>
35
- </element>
36
- </element>
37
- <element rngui:ignore="true" name="closed_loop_control">
38
- <attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
39
- <data type="float" rngui:label="Hz"/>
40
- </attribute>
41
- <element name="_expected" rngui:header="Values Expected to Change">
42
- <zeroOrMore rngui:label="Add Value">
43
- <element name="change">
44
- <element name="value" rngui:label="Value">
45
- <data type="string" rngui:label="a dataelement"/>
46
- </element>
47
- <element name="upper" rngui:label="Upper Limit">
48
- <data type="float" rngui:label="Max value after next measure"/>
49
- </element>
50
- <element name="lower" rngui:label="Lower Limit">
51
- <data type="float" rngui:label="Min value after next measure"/>
52
- </element>
53
- </element>
54
- </zeroOrMore>
55
- </element>
56
- </element>
57
- <element rngui:ignore="true" name="closed_loop_cancel">
58
- <attribute name="condition" rngui:label="Condition">
59
- <data type="string" rngui:label="Condition"/>
60
- </attribute>
61
- </element>
62
- </element>
@@ -1,5 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="closed_loop_cancel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
2
- <attribute name="condition" rngui:label="Condition">
3
- <data type="string" rngui:label="Condition"/>
4
- </attribute>
5
- </element>
@@ -1,31 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="closed_loop_control" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
2
- <attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
- <element name="_expected" rngui:header="Values Expected to Change">
6
- <zeroOrMore rngui:label="Add Value">
7
- <element name="change">
8
- <element name="type" rngui:label="Control type">
9
- <choice>
10
- <value>:PID</value>
11
- <value>:PI</value>
12
- <value>:PD</value>
13
- <value>:P</value>
14
- <value>:I</value>
15
- <value>:PT1</value>
16
- <value>:PT2</value>
17
- </choice>
18
- </element>
19
- <element name="value" rngui:label="Value">
20
- <data type="string" rngui:label="a dataelement"/>
21
- </element>
22
- <element name="upper" rngui:label="Upper Limit">
23
- <data type="float" rngui:label="Max value after next measure"/>
24
- </element>
25
- <element name="lower" rngui:label="Lower Limit">
26
- <data type="float" rngui:label="Min value after next measure"/>
27
- </element>
28
- </element>
29
- </zeroOrMore>
30
- </element>
31
- </element>
@@ -1,12 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" ns="http://cpee.org/ns/description/1.0" name="closed_loop_measuring" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
2
- <attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
3
- <data type="float" rngui:label="Hz"/>
4
- </attribute>
5
- <element name="_expected" rngui:header="Values Expected to Change">
6
- <zeroOrMore rngui:label="Add Value">
7
- <element name="value" rngui:label="Value">
8
- <data type="string" rngui:label="a dataelement"/>
9
- </element>
10
- </zeroOrMore>
11
- </element>
12
- </element>
@@ -1,5 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="critical" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="sid" rngui:label="SID" rngui:default="section" rngui:hint="Identical SID's shared by between differnt 'critical' elements define mutual exclusive areas.">
3
- <data type="string"/>
4
- </attribute>
5
- </element>
@@ -1 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="escape" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0"/>
@@ -1,3 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" name="group" rngui:version="1.2" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <text rngui:label="A group of tasks, that belongs together"/>
3
- </element>
@@ -1,22 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="loop" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="mode" rngui:label="Mode" rngui:default="pre_test">
3
- <choice>
4
- <value>pre_test</value>
5
- <value>post_test</value>
6
- </choice>
7
- </attribute>
8
- <attribute name="condition" rngui:label="Condition">
9
- <data type="string" rngui:label="Condition"/>
10
- </attribute>
11
- <element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
12
- <element name="_probability_min" rngui:label="Min times">
13
- <data type="nonNegativeInteger" rngui:label="Times"/>
14
- </element>
15
- <element name="_probability_max" rngui:label="Max times">
16
- <data type="nonNegativeInteger" rngui:label="Times"/>
17
- </element>
18
- <element name="_probability_avg" rngui:label="Avg times">
19
- <data type="nonNegativeInteger" rngui:label="Times"/>
20
- </element>
21
- </element>
22
- </element>
@@ -1,9 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="manipulate" rngui:label="Script" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
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="label" rngui:label="Label">
6
- <data type="string" rngui:label="Short description of the task"/>
7
- </attribute>
8
- <text rngui:label="Script that is executed"/>
9
- </element>
@@ -1,22 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="otherwise" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
3
- <element name="_probability_min" rngui:label="Min in %">
4
- <data type="integer" rngui:label="Percent 0-100">
5
- <param name="minInclusive">1</param>
6
- <param name="maxInclusive">100</param>
7
- </data>
8
- </element>
9
- <element name="_probability_max" rngui:label="Max in %">
10
- <data type="integer" rngui:label="Percent 0-100">
11
- <param name="minInclusive">1</param>
12
- <param name="maxInclusive">100</param>
13
- </data>
14
- </element>
15
- <element name="_probability_avg" rngui:label="Avg in %">
16
- <data type="integer" rngui:label="Percent 0-100">
17
- <param name="minInclusive">1</param>
18
- <param name="maxInclusive">100</param>
19
- </data>
20
- </element>
21
- </element>
22
- </element>
@@ -1,21 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="parallel" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="wait" rngui:label="Wait" rngui:default="-1" rngui:hint="-1 to wait for all branches.">
3
- <data type="integer"/>
4
- </attribute>
5
- <element rngui:ignore="true" name="parallel_branch">
6
- <attribute name="pass">
7
- <data type="string"/>
8
- </attribute>
9
- <attribute name="local">
10
- <data type="string"/>
11
- </attribute>
12
- </element>
13
- <element rngui:ignore="true" name="parallel_branch">
14
- <attribute name="pass">
15
- <data type="string"/>
16
- </attribute>
17
- <attribute name="local">
18
- <data type="string"/>
19
- </attribute>
20
- </element>
21
- </element>
@@ -1,8 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="parallel_branch" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <attribute name="pass" rngui:label="Pass to branch">
3
- <data type="string" rngui:label="Data element passed to the local scope, thus not affected by global changes ..."/>
4
- </attribute>
5
- <attribute name="local" rngui:label="Local scope">
6
- <data type="string" rngui:label="Name of the passed data element in the local scope ..."/>
7
- </attribute>
8
- </element>
@@ -1,23 +0,0 @@
1
- <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="code" rngui:header="Implementation" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
- <element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
3
- <text rngui:label="Script that is executed, before a service call"/>
4
- </element>
5
- <element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
6
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
7
- <data type="string" rngui:readonly="true"/>
8
- </attribute>
9
- <text rngui:label="Script that is executed, when a service returns data"/>
10
- </element>
11
- <element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
12
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
13
- <data type="string" rngui:readonly="true"/>
14
- </attribute>
15
- <text rngui:label="Script that is executed, when a service sends intermediate data"/>
16
- </element>
17
- <element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
18
- <attribute name="output" rngui:label="Access Variable" rngui:default="result">
19
- <data type="string" rngui:readonly="true"/>
20
- </attribute>
21
- <text rngui:label="Script that is executed, if a service call fails"/>
22
- </element>
23
- </element>