cpee 2.0.24 → 2.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/{templates/.CPEE.xml → CPEE.xml} +1 -1
- data/cockpit/{templates/.Signavio.xml → Signavio.xml} +1 -1
- data/cockpit/css/model.css +1 -1
- data/cockpit/css/ui.css +3 -1
- data/cockpit/edit.html +260 -0
- data/cockpit/index.html +0 -2
- data/cockpit/js/edit.js +32 -0
- data/cockpit/js/instance.js +28 -19
- data/cockpit/js/model.js +0 -25
- data/cockpit/js/parameters.js +3 -0
- data/cockpit/js/ui.js +7 -0
- data/cockpit/model.html +1 -0
- data/cockpit/themes/compact/rngs/call.rng +26 -1
- data/cockpit/themes/compact/rngs/callmanipulate.rng +32 -2
- data/cockpit/themes/compact/theme.js +57 -25
- data/cockpit/themes/control/rngs/call.rng +26 -1
- data/cockpit/themes/control/rngs/callmanipulate.rng +32 -2
- data/cockpit/themes/control/theme.js +50 -19
- data/cockpit/themes/default/rngs/call.rng +26 -1
- data/cockpit/themes/default/rngs/callmanipulate.rng +32 -2
- data/cockpit/themes/default/theme.js +49 -18
- data/cockpit/themes/extended/rngs/call.rng +26 -1
- data/cockpit/themes/extended/rngs/callmanipulate.rng +32 -2
- data/cockpit/themes/extended/theme.js +50 -19
- data/cockpit/themes/model/rngs/call.rng +21 -20
- data/cockpit/themes/model/rngs/callmanipulate.rng +23 -22
- data/cockpit/themes/model/theme.js +51 -20
- data/cockpit/themes/packed/rngs/call.rng +26 -1
- data/cockpit/themes/packed/rngs/callmanipulate.rng +32 -2
- data/cockpit/themes/packed/theme.js +50 -19
- data/cockpit/themes/preset/rngs/call.rng +26 -1
- data/cockpit/themes/preset/rngs/callmanipulate.rng +32 -2
- data/cockpit/themes/preset/theme.js +49 -18
- data/cockpit/{templates/.transformations.xml → transformations.xml} +0 -0
- data/cpee.gemspec +1 -1
- data/lib/callbacks.xml +5 -0
- data/lib/cpee/controller.rb +29 -27
- data/lib/cpee/implementation_callbacks.rb +53 -0
- data/server/handlerwrappers/default.rb +15 -3
- data/server/resources/transformation_dslx.xsl +1 -1
- data/server/routing/end.pid +1 -1
- data/server/routing/forward-events.pid +1 -1
- data/server/routing/forward-votes.pid +1 -1
- data/server/routing/persist.pid +1 -1
- data/server/routing/persist.rb +3 -3
- data/server/server.pid +1 -1
- metadata +6 -54
- data/cockpit/edit.html +0 -1
- data/cockpit/templates/.templates.xml +0 -13
- data/cockpit/themes/diana/rngs/alternative.rng +0 -25
- data/cockpit/themes/diana/rngs/call.rng +0 -149
- data/cockpit/themes/diana/rngs/callmanipulate.rng +0 -188
- data/cockpit/themes/diana/rngs/choose.rng +0 -14
- data/cockpit/themes/diana/rngs/closed_loop.rng +0 -62
- data/cockpit/themes/diana/rngs/closed_loop_cancel.rng +0 -5
- data/cockpit/themes/diana/rngs/closed_loop_control.rng +0 -31
- data/cockpit/themes/diana/rngs/closed_loop_measuring.rng +0 -12
- data/cockpit/themes/diana/rngs/critical.rng +0 -5
- data/cockpit/themes/diana/rngs/escape.rng +0 -1
- data/cockpit/themes/diana/rngs/group.rng +0 -3
- data/cockpit/themes/diana/rngs/loop.rng +0 -22
- data/cockpit/themes/diana/rngs/manipulate.rng +0 -9
- data/cockpit/themes/diana/rngs/otherwise.rng +0 -22
- data/cockpit/themes/diana/rngs/parallel.rng +0 -21
- data/cockpit/themes/diana/rngs/parallel_branch.rng +0 -8
- data/cockpit/themes/diana/rngs/scripts.rng +0 -23
- data/cockpit/themes/diana/rngs/stop.rng +0 -5
- data/cockpit/themes/diana/rngs/terminate.rng +0 -1
- data/cockpit/themes/diana/symbols/alternative.svg +0 -5
- data/cockpit/themes/diana/symbols/arrow.svg +0 -3
- data/cockpit/themes/diana/symbols/call.svg +0 -6
- data/cockpit/themes/diana/symbols/callmanipulate.svg +0 -8
- data/cockpit/themes/diana/symbols/choose.svg +0 -5
- data/cockpit/themes/diana/symbols/choose_exclusive.svg +0 -5
- data/cockpit/themes/diana/symbols/choose_inclusive.svg +0 -4
- data/cockpit/themes/diana/symbols/closed_loop.svg +0 -5
- data/cockpit/themes/diana/symbols/closed_loop_cancel.svg +0 -5
- data/cockpit/themes/diana/symbols/closed_loop_control.svg +0 -5
- data/cockpit/themes/diana/symbols/closed_loop_measuring.svg +0 -6
- data/cockpit/themes/diana/symbols/complex.svg +0 -8
- data/cockpit/themes/diana/symbols/critical.svg +0 -4
- data/cockpit/themes/diana/symbols/end.svg +0 -3
- data/cockpit/themes/diana/symbols/escape.svg +0 -5
- data/cockpit/themes/diana/symbols/event_end.svg +0 -3
- data/cockpit/themes/diana/symbols/loop.svg +0 -5
- data/cockpit/themes/diana/symbols/manipulate.svg +0 -4
- data/cockpit/themes/diana/symbols/otherwise.svg +0 -5
- data/cockpit/themes/diana/symbols/parallel.svg +0 -5
- data/cockpit/themes/diana/symbols/parallel_branch.svg +0 -5
- data/cockpit/themes/diana/symbols/parallel_branch_compact.svg +0 -4
- data/cockpit/themes/diana/symbols/parallel_branch_event.svg +0 -14
- data/cockpit/themes/diana/symbols/parallel_branch_normal.svg +0 -5
- data/cockpit/themes/diana/symbols/scripts.svg +0 -4
- data/cockpit/themes/diana/symbols/start.svg +0 -3
- data/cockpit/themes/diana/symbols/stop.svg +0 -5
- data/cockpit/themes/diana/symbols/terminate.svg +0 -4
- data/cockpit/themes/diana/theme.js +0 -1650
File without changes
|
data/cpee.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee"
|
3
|
-
s.version = "2.0.
|
3
|
+
s.version = "2.0.25"
|
4
4
|
s.platform = Gem::Platform::RUBY
|
5
5
|
s.license = "LGPL-3.0"
|
6
6
|
s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
|
data/lib/callbacks.xml
CHANGED
@@ -20,11 +20,16 @@
|
|
20
20
|
<xi:include href="callbacks/callbacks.rng"/>
|
21
21
|
</parameter>
|
22
22
|
</message>
|
23
|
+
<message name="callback">
|
24
|
+
<parameter name="callback" mimetype="application/json"/>
|
25
|
+
</message>
|
23
26
|
|
24
27
|
<resource>
|
25
28
|
<doc:documentation>xb</doc:documentation>
|
26
29
|
<get in="*" out="callbacks"/>
|
27
30
|
<resource>
|
31
|
+
<get out="callback"/>
|
32
|
+
<delete/>
|
28
33
|
<put in="*"/>
|
29
34
|
</resource>
|
30
35
|
</resource>
|
data/lib/cpee/controller.rb
CHANGED
@@ -52,6 +52,34 @@ module CPEE
|
|
52
52
|
@opts = opts
|
53
53
|
@instance = nil
|
54
54
|
@loop_guard = {}
|
55
|
+
|
56
|
+
@callback_keys = {}
|
57
|
+
@psredis = @opts[:redis_dyn].call
|
58
|
+
|
59
|
+
Thread.new do
|
60
|
+
@psredis.psubscribe('callback-response:*','callback-end:*') do |on|
|
61
|
+
on.pmessage do |pat, what, message|
|
62
|
+
if pat == 'callback-response:*' && @callback_keys.has_key?(what[18..-1])
|
63
|
+
index = message.index(' ')
|
64
|
+
mess = message[index+1..-1]
|
65
|
+
instance = message[0...index]
|
66
|
+
m = JSON.parse(mess)
|
67
|
+
resp = []
|
68
|
+
m['content']['values'].each do |e|
|
69
|
+
if e[1][0] == 'simple'
|
70
|
+
resp << Riddl::Parameter::Simple.new(e[0],e[1][1])
|
71
|
+
elsif e[1][0] == 'complex'
|
72
|
+
resp << Riddl::Parameter::Complex.new(e[0],e[1][1],File.open(e[1][2]))
|
73
|
+
end
|
74
|
+
end
|
75
|
+
@callback_keys[what[18..-1]].send(:callback,resp,m['content']['headers'])
|
76
|
+
end
|
77
|
+
if pat == 'callback-end:*'
|
78
|
+
@callback_keys.delete(what[13..-1])
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
55
83
|
end
|
56
84
|
|
57
85
|
attr_reader :id
|
@@ -160,33 +188,7 @@ module CPEE
|
|
160
188
|
|
161
189
|
def callback(hw,key,content)
|
162
190
|
CPEE::Message::send(:callback,'activity/content',base,@id,uuid,info,content.merge(:key => key),@redis)
|
163
|
-
|
164
|
-
psredis = @opts[:redis_dyn].call
|
165
|
-
response = nil
|
166
|
-
Thread.new do
|
167
|
-
psredis.subscribe('callback-response:' + key, 'callback-end:' + key) do |on|
|
168
|
-
on.message do |what, message|
|
169
|
-
if what == 'callback-response:' + key
|
170
|
-
index = message.index(' ')
|
171
|
-
mess = message[index+1..-1]
|
172
|
-
instance = message[0...index]
|
173
|
-
m = JSON.parse(mess)
|
174
|
-
resp = []
|
175
|
-
m['content']['values'].each do |e|
|
176
|
-
if e[1][0] == 'simple'
|
177
|
-
resp << Riddl::Parameter::Simple.new(e[0],e[1][1])
|
178
|
-
elsif e[1][0] == 'complex'
|
179
|
-
resp << Riddl::Parameter::Complex.new(e[0],e[1][1],File.open(e[1][2]))
|
180
|
-
end
|
181
|
-
end
|
182
|
-
hw.send(:callback,resp,m['content']['headers'])
|
183
|
-
end
|
184
|
-
if what == 'callback-end:' + key
|
185
|
-
psredis.unsubscribe
|
186
|
-
end
|
187
|
-
end
|
188
|
-
end
|
189
|
-
end
|
191
|
+
@callback_keys[key] = hw
|
190
192
|
end
|
191
193
|
|
192
194
|
def cancel_callback(key)
|
@@ -7,6 +7,8 @@ module CPEE
|
|
7
7
|
Proc.new do
|
8
8
|
run CPEE::Callbacks::Callbacks, id, opts if get
|
9
9
|
on resource do
|
10
|
+
run CPEE::Callbacks::GetCallback, id, opts if get
|
11
|
+
run CPEE::Callbacks::DelCallback, id, opts if delete
|
10
12
|
run CPEE::Callbacks::ExCallback, id, opts if put
|
11
13
|
end
|
12
14
|
end
|
@@ -26,6 +28,57 @@ module CPEE
|
|
26
28
|
ret.to_s
|
27
29
|
end
|
28
30
|
end
|
31
|
+
end # }}}
|
32
|
+
|
33
|
+
class GetCallback < Riddl::Implementation #{{{
|
34
|
+
def response
|
35
|
+
id = @a[0]
|
36
|
+
opts = @a[1]
|
37
|
+
callback = @r[-1]
|
38
|
+
|
39
|
+
res = {}
|
40
|
+
res[:uuid] = opts[:redis].get("instance:#{id}/callback/#{callback}/uuid")
|
41
|
+
res[:type] = opts[:redis].get("instance:#{id}/callback/#{callback}/type")
|
42
|
+
res[:position] = opts[:redis].get("instance:#{id}/callback/#{callback}/position")
|
43
|
+
res[:label] = opts[:redis].get("instance:#{id}/callback/#{callback}/label")
|
44
|
+
|
45
|
+
Riddl::Parameter::Complex.new("callback","application/json",JSON.generate(res))
|
46
|
+
end
|
47
|
+
end #}}}
|
48
|
+
|
49
|
+
class DelCallback < Riddl::Implementation #{{{
|
50
|
+
def response
|
51
|
+
id = @a[0]
|
52
|
+
opts = @a[1]
|
53
|
+
callback = @r[-1]
|
54
|
+
|
55
|
+
if opts[:redis].get("instance:#{id}/callback/#{callback}/type") == 'callback'
|
56
|
+
CPEE::Message::send(
|
57
|
+
:'callback-end',
|
58
|
+
callback,
|
59
|
+
opts[:url],
|
60
|
+
id,
|
61
|
+
{},
|
62
|
+
{},
|
63
|
+
{},
|
64
|
+
opts[:redis]
|
65
|
+
)
|
66
|
+
elsif opts[:redis].get("instance:#{id}/callback/#{callback}/type") == 'vote'
|
67
|
+
CPEE::Message::send(
|
68
|
+
:'vote-response',
|
69
|
+
callback,
|
70
|
+
opts[:url],
|
71
|
+
id,
|
72
|
+
{},
|
73
|
+
{},
|
74
|
+
'true',
|
75
|
+
opts[:redis]
|
76
|
+
)
|
77
|
+
else
|
78
|
+
@status = 503
|
79
|
+
end
|
80
|
+
nil
|
81
|
+
end
|
29
82
|
end #}}}
|
30
83
|
|
31
84
|
class ExCallback < Riddl::Implementation #{{{
|
@@ -50,6 +50,8 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
50
50
|
@handler_returnOptions = nil
|
51
51
|
@handler_activity_uuid = Digest::MD5.hexdigest(Kernel::rand().to_s)
|
52
52
|
@label = ''
|
53
|
+
@guard_files = []
|
54
|
+
@guard_items = []
|
53
55
|
end # }}}
|
54
56
|
|
55
57
|
def prepare(readonly, endpoints, parameters, replay=false) #{{{
|
@@ -109,8 +111,8 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
109
111
|
|
110
112
|
client = Riddl::Client.new(tendpoint)
|
111
113
|
|
112
|
-
@controller.callback(self,callback,:'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position)
|
113
114
|
@handler_passthrough = callback
|
115
|
+
@controller.callback(self,callback,:'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position)
|
114
116
|
|
115
117
|
status, result, headers = client.request type => params
|
116
118
|
if status < 200 || status >= 300
|
@@ -261,8 +263,8 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
261
263
|
|
262
264
|
def callback(result=nil,options={})
|
263
265
|
@controller.notify("activity/receiving", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => structurize_result(result), :sensors => @sensors, :aggregators => @aggregators, :costs => @costs)
|
264
|
-
|
265
|
-
@handler_returnValue = result
|
266
|
+
@guard_files += result
|
267
|
+
@handler_returnValue = simplify_result(result)
|
266
268
|
@handler_returnOptions = options
|
267
269
|
if options['CPEE_UPDATE']
|
268
270
|
if options['CPEE_UPDATE_STATUS']
|
@@ -280,6 +282,16 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
280
282
|
end
|
281
283
|
end
|
282
284
|
|
285
|
+
def mem_guard() #{{{
|
286
|
+
@guard_files.each do |p|
|
287
|
+
if p&.respond_to?(:close)
|
288
|
+
p.close
|
289
|
+
elsif p&.value&.respond_to?(:close)
|
290
|
+
p.value.close
|
291
|
+
end
|
292
|
+
end
|
293
|
+
end #}}}
|
294
|
+
|
283
295
|
def test_condition(mr,code)
|
284
296
|
res = mr.instance_eval(code)
|
285
297
|
@controller.notify("condition/eval", :instance_uuid => @controller.uuid, :code => code, :condition => (res ? "true" : "false"))
|
@@ -509,7 +509,7 @@
|
|
509
509
|
<xsl:when test="child::node()[not(self::text())]">
|
510
510
|
<!-- FUUUU, there is probably much more TODO. Updated Matthias und Juergen, we tested for ing-opcua/execute -->
|
511
511
|
<xsl:choose>
|
512
|
-
<xsl:when test="child::* and name(child::*)=concat(name(.),'_item')
|
512
|
+
<xsl:when test="child::* and name(child::*)=concat(name(.),'_item') and count(child::*[not(name()=name(../child::*[1]))])=0">
|
513
513
|
<xsl:text>"[ </xsl:text>
|
514
514
|
<xsl:apply-templates select="*" mode="JSONArrayItem"/>
|
515
515
|
<xsl:text>]"</xsl:text>
|
data/server/routing/end.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
592867
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
592855
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
592859
|
data/server/routing/persist.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
592863
|
data/server/routing/persist.rb
CHANGED
@@ -99,11 +99,11 @@ Daemonite.new do |opts|
|
|
99
99
|
end
|
100
100
|
when 'event:transformation/change'
|
101
101
|
opts[:redis].multi do |multi|
|
102
|
-
multi.set("instance:#{instance}/transformation/description
|
102
|
+
multi.set("instance:#{instance}/transformation/description",mess.dig('content','description'))
|
103
103
|
multi.set("instance:#{instance}/transformation/description/@type",mess.dig('content','description_type'))
|
104
|
-
multi.set("instance:#{instance}/transformation/dataelements
|
104
|
+
multi.set("instance:#{instance}/transformation/dataelements",mess.dig('content','dataelements'))
|
105
105
|
multi.set("instance:#{instance}/transformation/dataelements/@type",mess.dig('content','dataelements_type'))
|
106
|
-
multi.set("instance:#{instance}/transformation/endpoints
|
106
|
+
multi.set("instance:#{instance}/transformation/endpoints",mess.dig('content','endpoints'))
|
107
107
|
multi.set("instance:#{instance}/transformation/endpoints/@type",mess.dig('content','endpoints_type'))
|
108
108
|
end
|
109
109
|
when 'event:status/change'
|
data/server/server.pid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
592827
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cpee
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: tools
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-03-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|
@@ -116,7 +116,9 @@ files:
|
|
116
116
|
- INSTALL.md
|
117
117
|
- README.md
|
118
118
|
- Rakefile
|
119
|
+
- cockpit/CPEE.xml
|
119
120
|
- cockpit/README
|
121
|
+
- cockpit/Signavio.xml
|
120
122
|
- cockpit/config.json
|
121
123
|
- cockpit/contrib/graph_example.svg
|
122
124
|
- cockpit/contrib/legend.svg
|
@@ -133,6 +135,7 @@ files:
|
|
133
135
|
- cockpit/graph.html
|
134
136
|
- cockpit/index.html
|
135
137
|
- cockpit/js/details.js
|
138
|
+
- cockpit/js/edit.js
|
136
139
|
- cockpit/js/instance.js
|
137
140
|
- cockpit/js/model.js
|
138
141
|
- cockpit/js/parameters.js
|
@@ -189,10 +192,6 @@ files:
|
|
189
192
|
- cockpit/templates.legacy/convert_preset.rb
|
190
193
|
- cockpit/templates.legacy/testsets.xml
|
191
194
|
- cockpit/templates.legacy/transformations.xml
|
192
|
-
- cockpit/templates/.CPEE.xml
|
193
|
-
- cockpit/templates/.Signavio.xml
|
194
|
-
- cockpit/templates/.templates.xml
|
195
|
-
- cockpit/templates/.transformations.xml
|
196
195
|
- cockpit/templates/Coopis 2010.xml
|
197
196
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
|
198
197
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
|
@@ -353,54 +352,6 @@ files:
|
|
353
352
|
- cockpit/themes/default/symbols/stop.svg
|
354
353
|
- cockpit/themes/default/symbols/terminate.svg
|
355
354
|
- cockpit/themes/default/theme.js
|
356
|
-
- cockpit/themes/diana/rngs/alternative.rng
|
357
|
-
- cockpit/themes/diana/rngs/call.rng
|
358
|
-
- cockpit/themes/diana/rngs/callmanipulate.rng
|
359
|
-
- cockpit/themes/diana/rngs/choose.rng
|
360
|
-
- cockpit/themes/diana/rngs/closed_loop.rng
|
361
|
-
- cockpit/themes/diana/rngs/closed_loop_cancel.rng
|
362
|
-
- cockpit/themes/diana/rngs/closed_loop_control.rng
|
363
|
-
- cockpit/themes/diana/rngs/closed_loop_measuring.rng
|
364
|
-
- cockpit/themes/diana/rngs/critical.rng
|
365
|
-
- cockpit/themes/diana/rngs/escape.rng
|
366
|
-
- cockpit/themes/diana/rngs/group.rng
|
367
|
-
- cockpit/themes/diana/rngs/loop.rng
|
368
|
-
- cockpit/themes/diana/rngs/manipulate.rng
|
369
|
-
- cockpit/themes/diana/rngs/otherwise.rng
|
370
|
-
- cockpit/themes/diana/rngs/parallel.rng
|
371
|
-
- cockpit/themes/diana/rngs/parallel_branch.rng
|
372
|
-
- cockpit/themes/diana/rngs/scripts.rng
|
373
|
-
- cockpit/themes/diana/rngs/stop.rng
|
374
|
-
- cockpit/themes/diana/rngs/terminate.rng
|
375
|
-
- cockpit/themes/diana/symbols/alternative.svg
|
376
|
-
- cockpit/themes/diana/symbols/arrow.svg
|
377
|
-
- cockpit/themes/diana/symbols/call.svg
|
378
|
-
- cockpit/themes/diana/symbols/callmanipulate.svg
|
379
|
-
- cockpit/themes/diana/symbols/choose.svg
|
380
|
-
- cockpit/themes/diana/symbols/choose_exclusive.svg
|
381
|
-
- cockpit/themes/diana/symbols/choose_inclusive.svg
|
382
|
-
- cockpit/themes/diana/symbols/closed_loop.svg
|
383
|
-
- cockpit/themes/diana/symbols/closed_loop_cancel.svg
|
384
|
-
- cockpit/themes/diana/symbols/closed_loop_control.svg
|
385
|
-
- cockpit/themes/diana/symbols/closed_loop_measuring.svg
|
386
|
-
- cockpit/themes/diana/symbols/complex.svg
|
387
|
-
- cockpit/themes/diana/symbols/critical.svg
|
388
|
-
- cockpit/themes/diana/symbols/end.svg
|
389
|
-
- cockpit/themes/diana/symbols/escape.svg
|
390
|
-
- cockpit/themes/diana/symbols/event_end.svg
|
391
|
-
- cockpit/themes/diana/symbols/loop.svg
|
392
|
-
- cockpit/themes/diana/symbols/manipulate.svg
|
393
|
-
- cockpit/themes/diana/symbols/otherwise.svg
|
394
|
-
- cockpit/themes/diana/symbols/parallel.svg
|
395
|
-
- cockpit/themes/diana/symbols/parallel_branch.svg
|
396
|
-
- cockpit/themes/diana/symbols/parallel_branch_compact.svg
|
397
|
-
- cockpit/themes/diana/symbols/parallel_branch_event.svg
|
398
|
-
- cockpit/themes/diana/symbols/parallel_branch_normal.svg
|
399
|
-
- cockpit/themes/diana/symbols/scripts.svg
|
400
|
-
- cockpit/themes/diana/symbols/start.svg
|
401
|
-
- cockpit/themes/diana/symbols/stop.svg
|
402
|
-
- cockpit/themes/diana/symbols/terminate.svg
|
403
|
-
- cockpit/themes/diana/theme.js
|
404
355
|
- cockpit/themes/extended/rngs/alternative.rng
|
405
356
|
- cockpit/themes/extended/rngs/call.rng
|
406
357
|
- cockpit/themes/extended/rngs/callmanipulate.rng
|
@@ -590,6 +541,7 @@ files:
|
|
590
541
|
- cockpit/themes/preset/symbols/terminate.svg
|
591
542
|
- cockpit/themes/preset/theme.js
|
592
543
|
- cockpit/track.html
|
544
|
+
- cockpit/transformations.xml
|
593
545
|
- contrib/Screenshot at 2011-09-28 02:38:11.png
|
594
546
|
- contrib/logo2-small.png
|
595
547
|
- contrib/logo2.png
|
data/cockpit/edit.html
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
./index.html
|
@@ -1,13 +0,0 @@
|
|
1
|
-
<testsets>
|
2
|
-
<testset>UR-VUE 2020</testset>
|
3
|
-
<testset>UR-VUE 2020 Solution View</testset>
|
4
|
-
<testset>UR-VUE 2020 Solution Baseline</testset>
|
5
|
-
<testset>UR-VUE 2020 Solution NN</testset>
|
6
|
-
<testset>Coopis 2010</testset>
|
7
|
-
<testset>IUPC arXiv:1104.3609 P34 1</testset>
|
8
|
-
<testset>IUPC arXiv:1104.3609 P34 2</testset>
|
9
|
-
<testset>IUPC arXiv:1104.3609 P34 3</testset>
|
10
|
-
<testset>Worklist</testset>
|
11
|
-
<testset>Track Test</testset>
|
12
|
-
<testset>Track Test Local</testset>
|
13
|
-
</testsets>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="alternative" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
-
<attribute name="condition" rngui:label="Condition">
|
3
|
-
<data type="string" rngui:label="Condition"/>
|
4
|
-
</attribute>
|
5
|
-
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
6
|
-
<element name="_probability_min" rngui:label="Min in %">
|
7
|
-
<data type="integer" rngui:label="Percent 0-100">
|
8
|
-
<param name="minInclusive">1</param>
|
9
|
-
<param name="maxInclusive">100</param>
|
10
|
-
</data>
|
11
|
-
</element>
|
12
|
-
<element name="_probability_max" rngui:label="Max in %">
|
13
|
-
<data type="integer" rngui:label="Percent 0-100">
|
14
|
-
<param name="minInclusive">1</param>
|
15
|
-
<param name="maxInclusive">100</param>
|
16
|
-
</data>
|
17
|
-
</element>
|
18
|
-
<element name="_probability_avg" rngui:label="Avg in %">
|
19
|
-
<data type="integer" rngui:label="Percent 0-100">
|
20
|
-
<param name="minInclusive">1</param>
|
21
|
-
<param name="maxInclusive">100</param>
|
22
|
-
</data>
|
23
|
-
</element>
|
24
|
-
</element>
|
25
|
-
</element>
|
@@ -1,149 +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:label="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="aggregator_url" rngui:label="Aggregator Url">
|
81
|
-
<data type="string" rngui:label="Service Url + Parameters"/>
|
82
|
-
</element>
|
83
|
-
</element>
|
84
|
-
</zeroOrMore>
|
85
|
-
</element>
|
86
|
-
<element name="aggregator_url" rngui:label="Impact Function Url">
|
87
|
-
<data type="string" rngui:label="Service Url + Parameters"/>
|
88
|
-
</element>
|
89
|
-
</element>
|
90
|
-
</zeroOrMore>
|
91
|
-
</element>
|
92
|
-
<element name="vfunc_url" rngui:label="Violation Function Url">
|
93
|
-
<data type="string" rngui:label="Service Url + Parameters"/>
|
94
|
-
</element>
|
95
|
-
</element>
|
96
|
-
</zeroOrMore>
|
97
|
-
</element>
|
98
|
-
|
99
|
-
</element>
|
100
|
-
<element name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
|
101
|
-
<element name="url" rngui:label='HTML Snippet'>
|
102
|
-
<data type="string" rngui:label="url to report snippet"/>
|
103
|
-
</element>
|
104
|
-
</element>
|
105
|
-
</element>
|
106
|
-
<element name="annotations" rngui:header="Annotations">
|
107
|
-
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
108
|
-
<element name="_timing_weight" rngui:label="ω - Weight">
|
109
|
-
<data type="float" rngui:label="[0,1]"/>
|
110
|
-
</element>
|
111
|
-
<element name="_timing_avg" rngui:label="Avg in min">
|
112
|
-
<data type="float" rngui:label="Minutes"/>
|
113
|
-
</element>
|
114
|
-
<element name="explanations" rngui:header="Explanations">
|
115
|
-
<zeroOrMore rngui:label="Add Explanation">
|
116
|
-
<element name="explanation">
|
117
|
-
<element name="type" rngui:label="Type">
|
118
|
-
<choice>
|
119
|
-
<value>></value>
|
120
|
-
<value><</value>
|
121
|
-
</choice>
|
122
|
-
</element>
|
123
|
-
<element name="deviation" rngui:label="Deviation">
|
124
|
-
<data type="float" rngui:label="Minutes"/>
|
125
|
-
</element>
|
126
|
-
<element name="behaviour" rngui:label="Behaviour">
|
127
|
-
<choice>
|
128
|
-
<value>Immediately</value>
|
129
|
-
<value>Wait until next</value>
|
130
|
-
<value>Use grace period value</value>
|
131
|
-
</choice>
|
132
|
-
</element>
|
133
|
-
<element name="grace" rngui:label="Grace Period" rngui:default="0.0">
|
134
|
-
<data type="float" rngui:label="Minutes"/>
|
135
|
-
</element>
|
136
|
-
<element name="text" rngui:label="Explanation">
|
137
|
-
<data type="string" rngui:label="Patterns"/>
|
138
|
-
</element>
|
139
|
-
</element>
|
140
|
-
</zeroOrMore>
|
141
|
-
</element>
|
142
|
-
</element>
|
143
|
-
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
144
|
-
<element name="_notes_general" rngui:label="General">
|
145
|
-
<text rngui:wrap="true" rngui:label="Notes"/>
|
146
|
-
</element>
|
147
|
-
</element>
|
148
|
-
</element>
|
149
|
-
</element>
|