cpee 2.0.22 → 2.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/CPEE.xml +8 -0
- data/cockpit/Signavio.xml +8 -0
- data/cockpit/css/model.css +2 -0
- data/cockpit/css/replay.css +55 -0
- data/cockpit/css/ui.css +30 -5
- data/cockpit/edit.html +260 -0
- data/cockpit/graph.html +3 -3
- data/cockpit/index.html +11 -8
- data/cockpit/js/details.js +0 -1
- data/cockpit/js/edit.js +32 -0
- data/cockpit/js/instance.js +52 -52
- data/cockpit/js/model.js +6 -36
- data/cockpit/js/parameters.js +9 -4
- data/cockpit/js/replay.js +40 -0
- data/cockpit/js/ui.js +7 -0
- data/cockpit/model.html +8 -4
- data/cockpit/replay.html +53 -0
- data/cockpit/templates/Coopis 2010.xml +1 -1
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +1 -1
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +1 -1
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +1 -1
- data/cockpit/templates/Track Test Local.xml +6 -2
- data/cockpit/templates/Track Test.xml +5 -1
- data/cockpit/templates/UR-VUE 2020 Manual Adjust.xml +5 -1
- data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml +8 -4
- data/cockpit/templates/UR-VUE 2020 Solution NN.xml +8 -4
- data/cockpit/templates/UR-VUE 2020 Solution View.xml +8 -4
- data/cockpit/templates/UR-VUE 2020.xml +8 -4
- data/cockpit/templates/instantiate.local/Take_Sub.xml +1 -1
- data/cockpit/themes/compact/rngs/call.rng +93 -41
- data/cockpit/themes/compact/rngs/callmanipulate.rng +113 -40
- data/cockpit/themes/compact/theme.js +57 -25
- data/cockpit/themes/{diana → control}/rngs/alternative.rng +0 -0
- data/cockpit/themes/control/rngs/call.rng +174 -0
- data/cockpit/themes/control/rngs/callmanipulate.rng +218 -0
- data/cockpit/themes/{diana → control}/rngs/choose.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/closed_loop.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/closed_loop_cancel.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/closed_loop_control.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/closed_loop_measuring.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/critical.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/escape.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/group.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/loop.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/manipulate.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/otherwise.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/parallel.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/parallel_branch.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/scripts.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/stop.rng +0 -0
- data/cockpit/themes/{diana → control}/rngs/terminate.rng +0 -0
- data/cockpit/themes/{diana → control}/symbols/alternative.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/arrow.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/call.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/callmanipulate.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/choose.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/choose_exclusive.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/choose_inclusive.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/closed_loop.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/closed_loop_cancel.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/closed_loop_control.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/closed_loop_measuring.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/complex.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/critical.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/end.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/escape.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/event_end.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/loop.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/manipulate.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/otherwise.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/parallel.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/parallel_branch.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/parallel_branch_compact.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/parallel_branch_event.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/parallel_branch_normal.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/scripts.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/start.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/stop.svg +0 -0
- data/cockpit/themes/{diana → control}/symbols/terminate.svg +0 -0
- data/cockpit/themes/{diana → control}/theme.js +74 -28
- data/cockpit/themes/default/rngs/call.rng +93 -41
- data/cockpit/themes/default/rngs/callmanipulate.rng +113 -40
- data/cockpit/themes/default/theme.js +1318 -0
- data/cockpit/themes/extended/rngs/call.rng +93 -41
- data/cockpit/themes/extended/rngs/callmanipulate.rng +113 -40
- 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 +93 -41
- data/cockpit/themes/packed/rngs/callmanipulate.rng +113 -40
- data/cockpit/themes/packed/theme.js +50 -19
- data/cockpit/themes/preset/rngs/call.rng +93 -41
- data/cockpit/themes/preset/rngs/callmanipulate.rng +113 -40
- data/cockpit/themes/preset/theme.js +49 -18
- data/cockpit/track.html +3 -10
- data/cockpit/transformations.xml +4 -0
- data/cpee.gemspec +3 -3
- data/lib/callbacks.xml +5 -0
- data/lib/cpee/controller.rb +30 -28
- data/lib/cpee/implementation_callbacks.rb +60 -0
- data/lib/cpee/implementation_notifications.rb +6 -2
- data/server/handlerwrappers/default.rb +17 -5
- data/server/resources/notifications/logging/subscription.xml +6 -0
- data/server/resources/transformation_dslx.xsl +1 -1
- data/server/routing/end.pid +1 -0
- data/server/routing/end.rb +1 -0
- data/server/routing/forward-events.pid +1 -0
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/forward-votes.rb +6 -5
- data/server/routing/persist.pid +1 -0
- data/server/routing/persist.rb +4 -4
- data/server/server.pid +1 -0
- metadata +66 -52
- data/cockpit/themes/diana/rngs/call.rng +0 -122
- data/cockpit/themes/diana/rngs/callmanipulate.rng +0 -145
@@ -0,0 +1 @@
|
|
1
|
+
592855
|
@@ -0,0 +1 @@
|
|
1
|
+
592859
|
@@ -24,7 +24,8 @@ require_relative '../../lib/cpee/redis'
|
|
24
24
|
def persist_handler(instance,key,mess,redis) #{{{
|
25
25
|
redis.multi do |multi|
|
26
26
|
multi.sadd("instance:#{instance}/callbacks",key)
|
27
|
-
multi.set("instance:#{instance}/callback/#{key}/
|
27
|
+
multi.set("instance:#{instance}/callback/#{key}/subscription",mess.dig('content','subscription'))
|
28
|
+
multi.set("instance:#{instance}/callback/#{key}/uuid",mess.dig('content','activity-uuid'))
|
28
29
|
multi.set("instance:#{instance}/callback/#{key}/label",mess.dig('content','label'))
|
29
30
|
multi.set("instance:#{instance}/callback/#{key}/position",mess.dig('content','activity'))
|
30
31
|
multi.set("instance:#{instance}/callback/#{key}/type",'vote')
|
@@ -79,7 +80,7 @@ Daemonite.new do |opts|
|
|
79
80
|
url = opts[:redis].get("instance:#{instance}/handlers/#{subscription_key}/url")
|
80
81
|
|
81
82
|
if url.nil? || url == ""
|
82
|
-
persist_handler instance, callback_key, m, redis
|
83
|
+
persist_handler instance, callback_key, m, opts[:redis]
|
83
84
|
opts[:redis].publish("forward:#{instance}/#{subscription_key}",mess)
|
84
85
|
else
|
85
86
|
client = Riddl::Client.new(url)
|
@@ -104,12 +105,12 @@ Daemonite.new do |opts|
|
|
104
105
|
result[0].value.read
|
105
106
|
end
|
106
107
|
if (headers["CPEE_CALLBACK"] && headers["CPEE_CALLBACK"] == 'true') || val == 'callback'
|
107
|
-
persist_handler instance, callback_key, m, redis
|
108
|
+
persist_handler instance, callback_key, m, opts[:redis]
|
108
109
|
else # they may send true or false
|
109
|
-
send_response instance, callback_key, m['cpee'], val, redis
|
110
|
+
send_response instance, callback_key, m['cpee'], val, opts[:redis]
|
110
111
|
end
|
111
112
|
else
|
112
|
-
send_response instance, callback_key, m['cpee'], true, redis
|
113
|
+
send_response instance, callback_key, m['cpee'], true, opts[:redis]
|
113
114
|
end
|
114
115
|
end
|
115
116
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
592863
|
data/server/routing/persist.rb
CHANGED
@@ -59,7 +59,7 @@ Daemonite.new do |opts|
|
|
59
59
|
key = mess.dig('content','key')
|
60
60
|
opts[:redis].multi do |multi|
|
61
61
|
multi.sadd("instance:#{instance}/callbacks",key)
|
62
|
-
multi.set("instance:#{instance}/callback/#{key}/uuid",mess.dig('content','
|
62
|
+
multi.set("instance:#{instance}/callback/#{key}/uuid",mess.dig('content','activity-uuid'))
|
63
63
|
multi.set("instance:#{instance}/callback/#{key}/label",mess.dig('content','label'))
|
64
64
|
multi.set("instance:#{instance}/callback/#{key}/position",mess.dig('content','activity'))
|
65
65
|
multi.set("instance:#{instance}/callback/#{key}/type",'callback')
|
@@ -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
ADDED
@@ -0,0 +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.27
|
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:
|
13
|
+
date: 2021-04-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|
@@ -94,14 +94,14 @@ dependencies:
|
|
94
94
|
requirements:
|
95
95
|
- - "~>"
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: '
|
97
|
+
version: '2'
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - "~>"
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
104
|
+
version: '2'
|
105
105
|
description: see http://cpee.org
|
106
106
|
email: juergen.mangler@gmail.com
|
107
107
|
executables:
|
@@ -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
|
@@ -125,20 +127,25 @@ files:
|
|
125
127
|
- cockpit/contrib/transformation2.xsl
|
126
128
|
- cockpit/contrib/tree_example.svg
|
127
129
|
- cockpit/css/model.css
|
130
|
+
- cockpit/css/replay.css
|
128
131
|
- cockpit/css/track.css
|
129
132
|
- cockpit/css/ui.css
|
130
133
|
- cockpit/css/wfadaptor.css
|
134
|
+
- cockpit/edit.html
|
131
135
|
- cockpit/graph.html
|
132
136
|
- cockpit/index.html
|
133
137
|
- cockpit/js/details.js
|
138
|
+
- cockpit/js/edit.js
|
134
139
|
- cockpit/js/instance.js
|
135
140
|
- cockpit/js/model.js
|
136
141
|
- cockpit/js/parameters.js
|
142
|
+
- cockpit/js/replay.js
|
137
143
|
- cockpit/js/track.js
|
138
144
|
- cockpit/js/ui.js
|
139
145
|
- cockpit/js/wfadaptor.js
|
140
146
|
- cockpit/js_libs.zip
|
141
147
|
- cockpit/model.html
|
148
|
+
- cockpit/replay.html
|
142
149
|
- cockpit/rngs/attributes.rng
|
143
150
|
- cockpit/rngs/dataelements.rng
|
144
151
|
- cockpit/rngs/endpoints.rng
|
@@ -249,6 +256,54 @@ files:
|
|
249
256
|
- cockpit/themes/compact/symbols/stop.svg
|
250
257
|
- cockpit/themes/compact/symbols/terminate.svg
|
251
258
|
- cockpit/themes/compact/theme.js
|
259
|
+
- cockpit/themes/control/rngs/alternative.rng
|
260
|
+
- cockpit/themes/control/rngs/call.rng
|
261
|
+
- cockpit/themes/control/rngs/callmanipulate.rng
|
262
|
+
- cockpit/themes/control/rngs/choose.rng
|
263
|
+
- cockpit/themes/control/rngs/closed_loop.rng
|
264
|
+
- cockpit/themes/control/rngs/closed_loop_cancel.rng
|
265
|
+
- cockpit/themes/control/rngs/closed_loop_control.rng
|
266
|
+
- cockpit/themes/control/rngs/closed_loop_measuring.rng
|
267
|
+
- cockpit/themes/control/rngs/critical.rng
|
268
|
+
- cockpit/themes/control/rngs/escape.rng
|
269
|
+
- cockpit/themes/control/rngs/group.rng
|
270
|
+
- cockpit/themes/control/rngs/loop.rng
|
271
|
+
- cockpit/themes/control/rngs/manipulate.rng
|
272
|
+
- cockpit/themes/control/rngs/otherwise.rng
|
273
|
+
- cockpit/themes/control/rngs/parallel.rng
|
274
|
+
- cockpit/themes/control/rngs/parallel_branch.rng
|
275
|
+
- cockpit/themes/control/rngs/scripts.rng
|
276
|
+
- cockpit/themes/control/rngs/stop.rng
|
277
|
+
- cockpit/themes/control/rngs/terminate.rng
|
278
|
+
- cockpit/themes/control/symbols/alternative.svg
|
279
|
+
- cockpit/themes/control/symbols/arrow.svg
|
280
|
+
- cockpit/themes/control/symbols/call.svg
|
281
|
+
- cockpit/themes/control/symbols/callmanipulate.svg
|
282
|
+
- cockpit/themes/control/symbols/choose.svg
|
283
|
+
- cockpit/themes/control/symbols/choose_exclusive.svg
|
284
|
+
- cockpit/themes/control/symbols/choose_inclusive.svg
|
285
|
+
- cockpit/themes/control/symbols/closed_loop.svg
|
286
|
+
- cockpit/themes/control/symbols/closed_loop_cancel.svg
|
287
|
+
- cockpit/themes/control/symbols/closed_loop_control.svg
|
288
|
+
- cockpit/themes/control/symbols/closed_loop_measuring.svg
|
289
|
+
- cockpit/themes/control/symbols/complex.svg
|
290
|
+
- cockpit/themes/control/symbols/critical.svg
|
291
|
+
- cockpit/themes/control/symbols/end.svg
|
292
|
+
- cockpit/themes/control/symbols/escape.svg
|
293
|
+
- cockpit/themes/control/symbols/event_end.svg
|
294
|
+
- cockpit/themes/control/symbols/loop.svg
|
295
|
+
- cockpit/themes/control/symbols/manipulate.svg
|
296
|
+
- cockpit/themes/control/symbols/otherwise.svg
|
297
|
+
- cockpit/themes/control/symbols/parallel.svg
|
298
|
+
- cockpit/themes/control/symbols/parallel_branch.svg
|
299
|
+
- cockpit/themes/control/symbols/parallel_branch_compact.svg
|
300
|
+
- cockpit/themes/control/symbols/parallel_branch_event.svg
|
301
|
+
- cockpit/themes/control/symbols/parallel_branch_normal.svg
|
302
|
+
- cockpit/themes/control/symbols/scripts.svg
|
303
|
+
- cockpit/themes/control/symbols/start.svg
|
304
|
+
- cockpit/themes/control/symbols/stop.svg
|
305
|
+
- cockpit/themes/control/symbols/terminate.svg
|
306
|
+
- cockpit/themes/control/theme.js
|
252
307
|
- cockpit/themes/default/rngs/alternative.rng
|
253
308
|
- cockpit/themes/default/rngs/call.rng
|
254
309
|
- cockpit/themes/default/rngs/callmanipulate.rng
|
@@ -296,54 +351,7 @@ files:
|
|
296
351
|
- cockpit/themes/default/symbols/start.svg
|
297
352
|
- cockpit/themes/default/symbols/stop.svg
|
298
353
|
- cockpit/themes/default/symbols/terminate.svg
|
299
|
-
- cockpit/themes/
|
300
|
-
- cockpit/themes/diana/rngs/call.rng
|
301
|
-
- cockpit/themes/diana/rngs/callmanipulate.rng
|
302
|
-
- cockpit/themes/diana/rngs/choose.rng
|
303
|
-
- cockpit/themes/diana/rngs/closed_loop.rng
|
304
|
-
- cockpit/themes/diana/rngs/closed_loop_cancel.rng
|
305
|
-
- cockpit/themes/diana/rngs/closed_loop_control.rng
|
306
|
-
- cockpit/themes/diana/rngs/closed_loop_measuring.rng
|
307
|
-
- cockpit/themes/diana/rngs/critical.rng
|
308
|
-
- cockpit/themes/diana/rngs/escape.rng
|
309
|
-
- cockpit/themes/diana/rngs/group.rng
|
310
|
-
- cockpit/themes/diana/rngs/loop.rng
|
311
|
-
- cockpit/themes/diana/rngs/manipulate.rng
|
312
|
-
- cockpit/themes/diana/rngs/otherwise.rng
|
313
|
-
- cockpit/themes/diana/rngs/parallel.rng
|
314
|
-
- cockpit/themes/diana/rngs/parallel_branch.rng
|
315
|
-
- cockpit/themes/diana/rngs/scripts.rng
|
316
|
-
- cockpit/themes/diana/rngs/stop.rng
|
317
|
-
- cockpit/themes/diana/rngs/terminate.rng
|
318
|
-
- cockpit/themes/diana/symbols/alternative.svg
|
319
|
-
- cockpit/themes/diana/symbols/arrow.svg
|
320
|
-
- cockpit/themes/diana/symbols/call.svg
|
321
|
-
- cockpit/themes/diana/symbols/callmanipulate.svg
|
322
|
-
- cockpit/themes/diana/symbols/choose.svg
|
323
|
-
- cockpit/themes/diana/symbols/choose_exclusive.svg
|
324
|
-
- cockpit/themes/diana/symbols/choose_inclusive.svg
|
325
|
-
- cockpit/themes/diana/symbols/closed_loop.svg
|
326
|
-
- cockpit/themes/diana/symbols/closed_loop_cancel.svg
|
327
|
-
- cockpit/themes/diana/symbols/closed_loop_control.svg
|
328
|
-
- cockpit/themes/diana/symbols/closed_loop_measuring.svg
|
329
|
-
- cockpit/themes/diana/symbols/complex.svg
|
330
|
-
- cockpit/themes/diana/symbols/critical.svg
|
331
|
-
- cockpit/themes/diana/symbols/end.svg
|
332
|
-
- cockpit/themes/diana/symbols/escape.svg
|
333
|
-
- cockpit/themes/diana/symbols/event_end.svg
|
334
|
-
- cockpit/themes/diana/symbols/loop.svg
|
335
|
-
- cockpit/themes/diana/symbols/manipulate.svg
|
336
|
-
- cockpit/themes/diana/symbols/otherwise.svg
|
337
|
-
- cockpit/themes/diana/symbols/parallel.svg
|
338
|
-
- cockpit/themes/diana/symbols/parallel_branch.svg
|
339
|
-
- cockpit/themes/diana/symbols/parallel_branch_compact.svg
|
340
|
-
- cockpit/themes/diana/symbols/parallel_branch_event.svg
|
341
|
-
- cockpit/themes/diana/symbols/parallel_branch_normal.svg
|
342
|
-
- cockpit/themes/diana/symbols/scripts.svg
|
343
|
-
- cockpit/themes/diana/symbols/start.svg
|
344
|
-
- cockpit/themes/diana/symbols/stop.svg
|
345
|
-
- cockpit/themes/diana/symbols/terminate.svg
|
346
|
-
- cockpit/themes/diana/theme.js
|
354
|
+
- cockpit/themes/default/theme.js
|
347
355
|
- cockpit/themes/extended/rngs/alternative.rng
|
348
356
|
- cockpit/themes/extended/rngs/call.rng
|
349
357
|
- cockpit/themes/extended/rngs/callmanipulate.rng
|
@@ -533,6 +541,7 @@ files:
|
|
533
541
|
- cockpit/themes/preset/symbols/terminate.svg
|
534
542
|
- cockpit/themes/preset/theme.js
|
535
543
|
- cockpit/track.html
|
544
|
+
- cockpit/transformations.xml
|
536
545
|
- contrib/Screenshot at 2011-09-28 02:38:11.png
|
537
546
|
- contrib/logo2-small.png
|
538
547
|
- contrib/logo2.png
|
@@ -601,11 +610,16 @@ files:
|
|
601
610
|
- server/resources/topics.xml
|
602
611
|
- server/resources/transformation.xml
|
603
612
|
- server/resources/transformation_dslx.xsl
|
613
|
+
- server/routing/end.pid
|
604
614
|
- server/routing/end.rb
|
615
|
+
- server/routing/forward-events.pid
|
605
616
|
- server/routing/forward-events.rb
|
617
|
+
- server/routing/forward-votes.pid
|
606
618
|
- server/routing/forward-votes.rb
|
619
|
+
- server/routing/persist.pid
|
607
620
|
- server/routing/persist.rb
|
608
621
|
- server/server.conf
|
622
|
+
- server/server.pid
|
609
623
|
- server/server.rb
|
610
624
|
- tools/cpee
|
611
625
|
- tools/server/cpee
|
@@ -1,122 +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
|
-
<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 name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
|
93
|
-
<element name="url" rngui:label='HTML Snippet'>
|
94
|
-
<data type="string" rngui:label="url to report snippet"/>
|
95
|
-
</element>
|
96
|
-
</element>
|
97
|
-
</element>
|
98
|
-
<element name="annotations" rngui:header="Annotations">
|
99
|
-
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
100
|
-
<element name="_timing_wait" rngui:label="ω - Wait">
|
101
|
-
<data type="float" rngui:label="[0,1]" rngui:default="0.5"/>
|
102
|
-
</element>
|
103
|
-
<element name="_timing_threshold" rngui:label="κ - Threshold">
|
104
|
-
<data type="float" rngui:label="[0,3,n]" rngui:default="3"/>
|
105
|
-
</element>
|
106
|
-
<element name="_timing_min" rngui:label="Min in min">
|
107
|
-
<data type="float" rngui:label="Minutes"/>
|
108
|
-
</element>
|
109
|
-
<element name="_timing_max" rngui:label="Max in min">
|
110
|
-
<data type="float" rngui:label="Minutes"/>
|
111
|
-
</element>
|
112
|
-
<element name="_timing_avg" rngui:label="Avg in min">
|
113
|
-
<data type="float" rngui:label="Minutes"/>
|
114
|
-
</element>
|
115
|
-
</element>
|
116
|
-
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
117
|
-
<element name="_notes_general" rngui:label="General">
|
118
|
-
<text rngui:wrap="true" rngui:label="Notes"/>
|
119
|
-
</element>
|
120
|
-
</element>
|
121
|
-
</element>
|
122
|
-
</element>
|
@@ -1,145 +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
|
-
<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 name="report" rngui:header="Reporting Annotation" rngui:fold="closed">
|
93
|
-
<element name="url" rngui:label='HTML Snippet'>
|
94
|
-
<data type="string" rngui:label="url to report snippet"/>
|
95
|
-
</element>
|
96
|
-
</element>
|
97
|
-
</element>
|
98
|
-
<element name="code" rngui:header="Implementation">
|
99
|
-
<element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
|
100
|
-
<text rngui:label="Script that is executed, before a service call"/>
|
101
|
-
</element>
|
102
|
-
<element name="finalize" rngui:header="Finalize" rngui:label="Code" rngui:fold="closed_conditional">
|
103
|
-
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
104
|
-
<data type="string" rngui:readonly="true"/>
|
105
|
-
</attribute>
|
106
|
-
<text rngui:label="Script that is executed, when a service returns data"/>
|
107
|
-
</element>
|
108
|
-
<element name="update" rngui:header="Update" rngui:label="Code" rngui:fold="closed_conditional">
|
109
|
-
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
110
|
-
<data type="string" rngui:readonly="true"/>
|
111
|
-
</attribute>
|
112
|
-
<text rngui:label="Script that is executed, when a service sends intermediate data"/>
|
113
|
-
</element>
|
114
|
-
<element name="rescue" rngui:header="Rescue" rngui:label="Code" rngui:fold="closed_conditional">
|
115
|
-
<attribute name="output" rngui:label="Access Variable" rngui:default="result">
|
116
|
-
<data type="string" rngui:readonly="true"/>
|
117
|
-
</attribute>
|
118
|
-
<text rngui:label="Script that is executed, if a service call fails"/>
|
119
|
-
</element>
|
120
|
-
</element>
|
121
|
-
<element name="annotations" rngui:header="Annotations">
|
122
|
-
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
123
|
-
<element name="_timing_wait" rngui:label="ω - Wait">
|
124
|
-
<data type="float" rngui:label="[0,1]"/>
|
125
|
-
</element>
|
126
|
-
<element name="_timing_threshold" rngui:label="κ - Threshold">
|
127
|
-
<data type="float" rngui:label="[0,3,n]"/>
|
128
|
-
</element>
|
129
|
-
<element name="_timing_min" rngui:label="Min in min">
|
130
|
-
<data type="float" rngui:label="Minutes"/>
|
131
|
-
</element>
|
132
|
-
<element name="_timing_max" rngui:label="Max in min">
|
133
|
-
<data type="float" rngui:label="Minutes"/>
|
134
|
-
</element>
|
135
|
-
<element name="_timing_avg" rngui:label="Avg in min">
|
136
|
-
<data type="float" rngui:label="Minutes"/>
|
137
|
-
</element>
|
138
|
-
</element>
|
139
|
-
<element name="_notes" rngui:header="Notes" rngui:fold="closed">
|
140
|
-
<element name="_notes_general" rngui:label="General">
|
141
|
-
<text rngui:wrap="true" rngui:label="Notes"/>
|
142
|
-
</element>
|
143
|
-
</element>
|
144
|
-
</element>
|
145
|
-
</element>
|