cpee 2.0.9 → 2.0.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/config.json +3 -0
  3. data/cockpit/css/track.css +24 -6
  4. data/cockpit/css/ui.css +5 -2
  5. data/cockpit/css/wfadaptor.css +1 -1
  6. data/cockpit/edit.html +1 -0
  7. data/cockpit/index.html +3 -2
  8. data/cockpit/js/instance.js +82 -55
  9. data/cockpit/js/model.js +1 -1
  10. data/cockpit/js/track.js +10 -0
  11. data/cockpit/js/ui.js +47 -16
  12. data/cockpit/templates/Track Test Local.xml +82 -0
  13. data/cockpit/templates/Track Test.xml +82 -0
  14. data/cockpit/templates/{BPM 2020 Manual Adjust.xml → UR-VUE 2020 Manual Adjust.xml } +1 -1
  15. data/cockpit/templates/{BPM 2020 Solution Baseline.xml → UR-VUE 2020 Solution Baseline.xml } +10 -3
  16. data/cockpit/templates/{BPM 2020 Solution NN.xml → UR-VUE 2020 Solution NN.xml } +1 -1
  17. data/cockpit/templates/{BPM 2020 Solution View.xml → UR-VUE 2020 Solution View.xml } +8 -1
  18. data/cockpit/templates/UR-VUE 2020.xml +26 -0
  19. data/cockpit/templates/instantiate.local/Take_Sub.xml +59 -0
  20. data/cockpit/templates/instantiate/Take_Perf.xml +46 -0
  21. data/cockpit/templates/instantiate/Take_Sub.xml +58 -0
  22. data/cockpit/templates/instantiate/Take_X.xml +48 -0
  23. data/cockpit/themes/compact/rngs/call.rng +5 -0
  24. data/cockpit/themes/compact/rngs/callmanipulate.rng +6 -1
  25. data/cockpit/themes/compact/rngs/closed_loop.rng +59 -0
  26. data/cockpit/themes/compact/rngs/closed_loop_cancel.rng +5 -0
  27. data/cockpit/themes/compact/rngs/closed_loop_control.rng +28 -0
  28. data/cockpit/themes/compact/rngs/closed_loop_measuring.rng +9 -0
  29. data/cockpit/themes/compact/rngs/loop.rng +1 -1
  30. data/cockpit/themes/compact/rngs/parallel.rng +1 -1
  31. data/cockpit/themes/compact/symbols/closed_loop.svg +5 -0
  32. data/cockpit/themes/compact/symbols/closed_loop_cancel.svg +5 -0
  33. data/cockpit/themes/compact/symbols/closed_loop_control.svg +5 -0
  34. data/cockpit/themes/compact/symbols/closed_loop_measuring.svg +6 -0
  35. data/cockpit/themes/default/rngs/call.rng +5 -0
  36. data/cockpit/themes/default/rngs/callmanipulate.rng +6 -1
  37. data/cockpit/themes/default/rngs/closed_loop.rng +59 -0
  38. data/cockpit/themes/default/rngs/closed_loop_cancel.rng +5 -0
  39. data/cockpit/themes/default/rngs/closed_loop_control.rng +28 -0
  40. data/cockpit/themes/default/rngs/closed_loop_measuring.rng +9 -0
  41. data/cockpit/themes/default/rngs/loop.rng +1 -1
  42. data/cockpit/themes/default/rngs/parallel.rng +1 -1
  43. data/cockpit/themes/default/symbols/closed_loop.svg +5 -0
  44. data/cockpit/themes/default/symbols/closed_loop_cancel.svg +5 -0
  45. data/cockpit/themes/default/symbols/closed_loop_control.svg +5 -0
  46. data/cockpit/themes/default/symbols/closed_loop_measuring.svg +6 -0
  47. data/cockpit/themes/diana/rngs/alternative.rng +25 -0
  48. data/cockpit/themes/diana/rngs/call.rng +122 -0
  49. data/cockpit/themes/diana/rngs/callmanipulate.rng +145 -0
  50. data/cockpit/themes/diana/rngs/choose.rng +14 -0
  51. data/cockpit/themes/diana/rngs/closed_loop.rng +59 -0
  52. data/cockpit/themes/diana/rngs/closed_loop_cancel.rng +5 -0
  53. data/cockpit/themes/diana/rngs/closed_loop_control.rng +28 -0
  54. data/cockpit/themes/diana/rngs/closed_loop_measuring.rng +9 -0
  55. data/cockpit/themes/diana/rngs/critical.rng +5 -0
  56. data/cockpit/themes/diana/rngs/escape.rng +1 -0
  57. data/cockpit/themes/diana/rngs/group.rng +3 -0
  58. data/cockpit/themes/diana/rngs/loop.rng +22 -0
  59. data/cockpit/themes/diana/rngs/manipulate.rng +9 -0
  60. data/cockpit/themes/diana/rngs/otherwise.rng +22 -0
  61. data/cockpit/themes/diana/rngs/parallel.rng +21 -0
  62. data/cockpit/themes/diana/rngs/parallel_branch.rng +8 -0
  63. data/cockpit/themes/diana/rngs/scripts.rng +23 -0
  64. data/cockpit/themes/diana/rngs/stop.rng +5 -0
  65. data/cockpit/themes/diana/rngs/terminate.rng +1 -0
  66. data/cockpit/themes/diana/symbols/alternative.svg +5 -0
  67. data/cockpit/themes/diana/symbols/arrow.svg +3 -0
  68. data/cockpit/themes/diana/symbols/call.svg +6 -0
  69. data/cockpit/themes/diana/symbols/callmanipulate.svg +8 -0
  70. data/cockpit/themes/diana/symbols/choose.svg +5 -0
  71. data/cockpit/themes/diana/symbols/choose_exclusive.svg +5 -0
  72. data/cockpit/themes/diana/symbols/choose_inclusive.svg +4 -0
  73. data/cockpit/themes/diana/symbols/closed_loop.svg +5 -0
  74. data/cockpit/themes/diana/symbols/closed_loop_cancel.svg +5 -0
  75. data/cockpit/themes/diana/symbols/closed_loop_control.svg +5 -0
  76. data/cockpit/themes/diana/symbols/closed_loop_measuring.svg +6 -0
  77. data/cockpit/themes/diana/symbols/complex.svg +8 -0
  78. data/cockpit/themes/diana/symbols/critical.svg +4 -0
  79. data/cockpit/themes/diana/symbols/end.svg +3 -0
  80. data/cockpit/themes/diana/symbols/escape.svg +5 -0
  81. data/cockpit/themes/diana/symbols/event_end.svg +3 -0
  82. data/cockpit/themes/diana/symbols/loop.svg +5 -0
  83. data/cockpit/themes/diana/symbols/manipulate.svg +4 -0
  84. data/cockpit/themes/diana/symbols/otherwise.svg +5 -0
  85. data/cockpit/themes/diana/symbols/parallel.svg +5 -0
  86. data/cockpit/themes/diana/symbols/parallel_branch.svg +5 -0
  87. data/cockpit/themes/diana/symbols/parallel_branch_compact.svg +4 -0
  88. data/cockpit/themes/diana/symbols/parallel_branch_event.svg +14 -0
  89. data/cockpit/themes/diana/symbols/parallel_branch_normal.svg +5 -0
  90. data/cockpit/themes/diana/symbols/scripts.svg +4 -0
  91. data/cockpit/themes/diana/symbols/start.svg +3 -0
  92. data/cockpit/themes/diana/symbols/stop.svg +5 -0
  93. data/cockpit/themes/diana/symbols/terminate.svg +4 -0
  94. data/cockpit/themes/diana/theme.js +1650 -0
  95. data/cockpit/themes/extended/rngs/call.rng +5 -0
  96. data/cockpit/themes/extended/rngs/callmanipulate.rng +6 -1
  97. data/cockpit/themes/extended/rngs/closed_loop.rng +59 -0
  98. data/cockpit/themes/extended/rngs/closed_loop_cancel.rng +5 -0
  99. data/cockpit/themes/extended/rngs/closed_loop_control.rng +28 -0
  100. data/cockpit/themes/extended/rngs/closed_loop_measuring.rng +9 -0
  101. data/cockpit/themes/extended/rngs/loop.rng +1 -1
  102. data/cockpit/themes/extended/rngs/parallel.rng +1 -1
  103. data/cockpit/themes/extended/symbols/closed_loop.svg +5 -0
  104. data/cockpit/themes/extended/symbols/closed_loop_cancel.svg +5 -0
  105. data/cockpit/themes/extended/symbols/closed_loop_control.svg +5 -0
  106. data/cockpit/themes/extended/symbols/closed_loop_measuring.svg +6 -0
  107. data/cockpit/themes/extended/theme.js +4 -0
  108. data/cockpit/themes/model/symbols/closed_loop.svg +5 -0
  109. data/cockpit/themes/model/symbols/closed_loop_cancel.svg +5 -0
  110. data/cockpit/themes/model/symbols/closed_loop_control.svg +5 -0
  111. data/cockpit/themes/model/symbols/closed_loop_measuring.svg +6 -0
  112. data/cockpit/themes/packed/rngs/call.rng +5 -0
  113. data/cockpit/themes/packed/rngs/callmanipulate.rng +6 -1
  114. data/cockpit/themes/packed/rngs/closed_loop.rng +59 -0
  115. data/cockpit/themes/packed/rngs/closed_loop_cancel.rng +5 -0
  116. data/cockpit/themes/packed/rngs/closed_loop_control.rng +28 -0
  117. data/cockpit/themes/packed/rngs/closed_loop_measuring.rng +9 -0
  118. data/cockpit/themes/packed/rngs/loop.rng +1 -1
  119. data/cockpit/themes/packed/rngs/parallel.rng +1 -1
  120. data/cockpit/themes/packed/symbols/closed_loop.svg +5 -0
  121. data/cockpit/themes/packed/symbols/closed_loop_cancel.svg +5 -0
  122. data/cockpit/themes/packed/symbols/closed_loop_control.svg +5 -0
  123. data/cockpit/themes/packed/symbols/closed_loop_measuring.svg +6 -0
  124. data/cockpit/themes/preset/rngs/call.rng +5 -0
  125. data/cockpit/themes/preset/rngs/callmanipulate.rng +6 -1
  126. data/cockpit/themes/preset/rngs/closed_loop.rng +59 -0
  127. data/cockpit/themes/preset/rngs/closed_loop_cancel.rng +5 -0
  128. data/cockpit/themes/preset/rngs/closed_loop_control.rng +28 -0
  129. data/cockpit/themes/preset/rngs/closed_loop_measuring.rng +9 -0
  130. data/cockpit/themes/preset/rngs/loop.rng +1 -1
  131. data/cockpit/themes/preset/rngs/parallel.rng +1 -1
  132. data/cockpit/themes/preset/symbols/closed_loop.svg +5 -0
  133. data/cockpit/themes/preset/symbols/closed_loop_cancel.svg +5 -0
  134. data/cockpit/themes/preset/symbols/closed_loop_control.svg +5 -0
  135. data/cockpit/themes/preset/symbols/closed_loop_measuring.svg +6 -0
  136. data/cockpit/track.html +37 -8
  137. data/cpee.gemspec +2 -2
  138. data/lib/cpee/controller.rb +3 -2
  139. data/lib/cpee/implementation.rb +14 -5
  140. data/lib/cpee/implementation_notifications.rb +80 -51
  141. data/lib/cpee/implementation_properties.rb +5 -2
  142. data/lib/cpee/persistence.rb +3 -0
  143. data/server/handlerwrappers/default.rb +4 -5
  144. data/server/routing/forward-events.rb +2 -1
  145. data/server/routing/forward-votes.rb +6 -2
  146. data/server/server.conf +4 -0
  147. data/tools/cpee +7 -8
  148. data/tools/server/server.rb +1 -0
  149. metadata +110 -11
  150. data/cockpit/templates/BPM 2020.xml +0 -26
  151. data/cockpit/templates/convert_cpee2.rb +0 -15
  152. data/cockpit/themes/convert_cpee2.rb +0 -8
@@ -24,11 +24,7 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
24
24
 
25
25
  def self::inform_state_change(arguments,newstate) # {{{
26
26
  controller = arguments[0]
27
- controller.notify("state/change", :state => newstate, :timestamp => Time.now.xmlschema(3))
28
- end # }}}
29
- def self::inform_state_change(arguments,newstate) # {{{
30
- controller = arguments[0]
31
- controller.notify("state/change", :state => newstate, :timestamp => Time.now.xmlschema(3))
27
+ controller.notify("state/change", :state => newstate)
32
28
  end # }}}
33
29
  def self::inform_syntax_error(arguments,err,code)# {{{
34
30
  controller = arguments[0]
@@ -126,6 +122,9 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
126
122
  if headers['CPEE_INSTANTIATION']
127
123
  @controller.notify("task/instantiation", :activity_uuid => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']))
128
124
  end
125
+ if headers['CPEE_EVENT']
126
+ @controller.notify("task/#{headers['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :activity_uuid => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint)
127
+ end
129
128
  if headers['CPEE_CALLBACK'] && headers['CPEE_CALLBACK'] == 'true' && result.any?
130
129
  headers['CPEE_UPDATE'] = true
131
130
  callback result, headers
@@ -39,7 +39,8 @@ Daemonite.new do |opts|
39
39
  if url.nil? || url == ""
40
40
  redis.publish("forward:#{instance}/#{key}",mess)
41
41
  else
42
- client = Riddl::Client.new(url,'http://riddl.org/ns/common-patterns/notifications-consumer/2.0/consumer.xml')
42
+ p "#{type}/#{topic}/#{event}-#{url}"
43
+ client = Riddl::Client.new(url)
43
44
  client.post [
44
45
  Riddl::Parameter::Simple::new('type',type),
45
46
  Riddl::Parameter::Simple::new('topic',topic),
@@ -70,7 +70,7 @@ Daemonite.new do |opts|
70
70
  persist_handler instance, callback_key, m, redis
71
71
  redis.publish("forward:#{instance}/#{subscription_key}",mess)
72
72
  else
73
- client = Riddl::Client.new(url,'http://riddl.org/ns/common-patterns/notifications-consumer/2.0/consumer.xml')
73
+ client = Riddl::Client.new(url)
74
74
  callback = m['instance-url'] + '/callbacks/' + subscription_key
75
75
  status, result, headers = (client.post [
76
76
  Riddl::Header.new("CPEE-BASE",m['cpee']),
@@ -86,7 +86,11 @@ Daemonite.new do |opts|
86
86
  Riddl::Parameter::Complex::new('notification','application/json',mess)
87
87
  ] rescue [ 0, [], []])
88
88
  if status >= 200 && status < 300
89
- val = result[0].value.read
89
+ val = if result[0].class == Riddl::Parameter::Simple
90
+ result[0].value
91
+ else
92
+ result[0].value.read
93
+ end
90
94
  if (headers["CPEE_CALLBACK"] && headers["CPEE_CALLBACK"] == 'true') || val == 'callback'
91
95
  persist_handler instance, callback_key, m, redis
92
96
  else # they may send true or false
@@ -0,0 +1,4 @@
1
+ :host: tango.wst.univie.ac.at
2
+ :port: 8298
3
+ :url: http://tango.wst.univie.ac.at:8298
4
+ :secure: false
data/tools/cpee CHANGED
@@ -65,7 +65,7 @@ p2 = ARGV[2]
65
65
  cockpit = "#{curpath}/../cockpit/"
66
66
 
67
67
  def js_libs(cockpit)
68
- res = Typhoeus.get('http://cpee.org/js_libs/js_libs.zip')
68
+ res = Typhoeus.get('https://cpee.org/js_libs/js_libs.zip')
69
69
  if res.success?
70
70
  File.write(File.join(cockpit,'js_libs.zip'),res.response_body)
71
71
  Zip::File.open(File.join(cockpit,'js_libs.zip')) do |zip_file|
@@ -162,7 +162,7 @@ elsif command == 'archive'
162
162
  XML::Smart.string(res.response_body) do |doc|
163
163
  if doc.root.qname.to_s == "instances"
164
164
  doc.root.children.each do |i|
165
- if ["finished","abandoned"].include?(i.attributes['state'])
165
+ if ["finished","abandoned"].include?(i.attributes['state']) || (["ready"].include?(i.attributes['state']) && Time.parse(i.attributes['changed']).to_i < Time.now-(60*60*24))
166
166
  prop = Typhoeus.get(File.join(base,name.to_s,i.attributes['id'],'properties','/'))
167
167
  if prop.success?
168
168
  File.write(File.join(p1,i.attributes['uuid'] + '.xml'),prop.response_body) if prop.headers['Content-Type'] =~ /^(text|application)\/xml/
@@ -175,7 +175,7 @@ elsif command == 'archive'
175
175
  if prop.success?
176
176
  xprop = XML::Smart::string(prop.response_body)
177
177
  xprop.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
178
- if ["finished","abandoned"].include?(xprop.find("string(/p:properties/p:state)"))
178
+ if ["finished","abandoned"].include?(xprop.find("string(/p:properties/p:state)")) || (["ready"].include?(xprop.find("string(/p:properties/p:state)")) && Time.parse(xprop.find("string(/p:properties/p:state/@changed)")) < Time.now-(60*60*12))
179
179
  uuid = xprop.find("string(/p:properties/p:attributes/p:uuid)")
180
180
  id = name.to_s
181
181
  File.write(File.join(p1,uuid + '.xml'),prop.response_body) if prop.headers['Content-Type'] =~ /^(text|application)\/xml/
@@ -209,11 +209,10 @@ elsif command == 'abandon'
209
209
  names << File.basename(p1)
210
210
  end
211
211
  names.each do |name|
212
- res = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
213
- if res.success?
214
- case res.response_body
215
- when "ready", "stopped" then
216
- Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
212
+ res1 = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
213
+ if res1.success?
214
+ if res1.response_body == 'ready' || res1.response_body == 'stopped'
215
+ Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
217
216
  end
218
217
  end
219
218
  end
@@ -10,6 +10,7 @@ Riddl::Server.new(CPEE::SERVER, :host => 'localhost', :port => 8298) do |opts|
10
10
 
11
11
  accessible_description true
12
12
  cross_site_xhr true
13
+ process_out false
13
14
 
14
15
  use CPEE::implementation(opts)
15
16
  end.loop!
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.9
4
+ version: 2.0.16
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: 2020-10-14 00:00:00.000000000 Z
13
+ date: 2020-11-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl
@@ -18,14 +18,14 @@ dependencies:
18
18
  requirements:
19
19
  - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: '0.105'
21
+ version: '0.108'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
26
  - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: '0.105'
28
+ version: '0.108'
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: weel
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -117,6 +117,7 @@ files:
117
117
  - README.md
118
118
  - Rakefile
119
119
  - cockpit/README
120
+ - cockpit/config.json
120
121
  - cockpit/contrib/graph_example.svg
121
122
  - cockpit/contrib/legend.svg
122
123
  - cockpit/contrib/symbols.svg
@@ -127,6 +128,7 @@ files:
127
128
  - cockpit/css/track.css
128
129
  - cockpit/css/ui.css
129
130
  - cockpit/css/wfadaptor.css
131
+ - cockpit/edit.html
130
132
  - cockpit/graph.html
131
133
  - cockpit/index.html
132
134
  - cockpit/js/details.js
@@ -183,21 +185,30 @@ files:
183
185
  - cockpit/templates.legacy/convert_preset.rb
184
186
  - cockpit/templates.legacy/testsets.xml
185
187
  - cockpit/templates.legacy/transformations.xml
186
- - cockpit/templates/BPM 2020 Manual Adjust.xml
187
- - cockpit/templates/BPM 2020 Solution Baseline.xml
188
- - cockpit/templates/BPM 2020 Solution NN.xml
189
- - cockpit/templates/BPM 2020 Solution View.xml
190
- - cockpit/templates/BPM 2020.xml
191
188
  - cockpit/templates/Coopis 2010.xml
192
189
  - cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
193
190
  - cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
194
191
  - cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
192
+ - cockpit/templates/Track Test Local.xml
193
+ - cockpit/templates/Track Test.xml
194
+ - cockpit/templates/UR-VUE 2020 Manual Adjust.xml
195
+ - cockpit/templates/UR-VUE 2020 Solution Baseline.xml
196
+ - cockpit/templates/UR-VUE 2020 Solution NN.xml
197
+ - cockpit/templates/UR-VUE 2020 Solution View.xml
198
+ - cockpit/templates/UR-VUE 2020.xml
195
199
  - cockpit/templates/Worklist.xml
196
- - cockpit/templates/convert_cpee2.rb
200
+ - cockpit/templates/instantiate.local/Take_Sub.xml
201
+ - cockpit/templates/instantiate/Take_Perf.xml
202
+ - cockpit/templates/instantiate/Take_Sub.xml
203
+ - cockpit/templates/instantiate/Take_X.xml
197
204
  - cockpit/themes/compact/rngs/alternative.rng
198
205
  - cockpit/themes/compact/rngs/call.rng
199
206
  - cockpit/themes/compact/rngs/callmanipulate.rng
200
207
  - cockpit/themes/compact/rngs/choose.rng
208
+ - cockpit/themes/compact/rngs/closed_loop.rng
209
+ - cockpit/themes/compact/rngs/closed_loop_cancel.rng
210
+ - cockpit/themes/compact/rngs/closed_loop_control.rng
211
+ - cockpit/themes/compact/rngs/closed_loop_measuring.rng
201
212
  - cockpit/themes/compact/rngs/critical.rng
202
213
  - cockpit/themes/compact/rngs/escape.rng
203
214
  - cockpit/themes/compact/rngs/group.rng
@@ -216,6 +227,10 @@ files:
216
227
  - cockpit/themes/compact/symbols/choose.svg
217
228
  - cockpit/themes/compact/symbols/choose_exclusive.svg
218
229
  - cockpit/themes/compact/symbols/choose_inclusive.svg
230
+ - cockpit/themes/compact/symbols/closed_loop.svg
231
+ - cockpit/themes/compact/symbols/closed_loop_cancel.svg
232
+ - cockpit/themes/compact/symbols/closed_loop_control.svg
233
+ - cockpit/themes/compact/symbols/closed_loop_measuring.svg
219
234
  - cockpit/themes/compact/symbols/complex.svg
220
235
  - cockpit/themes/compact/symbols/critical.svg
221
236
  - cockpit/themes/compact/symbols/end.svg
@@ -234,11 +249,14 @@ files:
234
249
  - cockpit/themes/compact/symbols/stop.svg
235
250
  - cockpit/themes/compact/symbols/terminate.svg
236
251
  - cockpit/themes/compact/theme.js
237
- - cockpit/themes/convert_cpee2.rb
238
252
  - cockpit/themes/default/rngs/alternative.rng
239
253
  - cockpit/themes/default/rngs/call.rng
240
254
  - cockpit/themes/default/rngs/callmanipulate.rng
241
255
  - cockpit/themes/default/rngs/choose.rng
256
+ - cockpit/themes/default/rngs/closed_loop.rng
257
+ - cockpit/themes/default/rngs/closed_loop_cancel.rng
258
+ - cockpit/themes/default/rngs/closed_loop_control.rng
259
+ - cockpit/themes/default/rngs/closed_loop_measuring.rng
242
260
  - cockpit/themes/default/rngs/critical.rng
243
261
  - cockpit/themes/default/rngs/escape.rng
244
262
  - cockpit/themes/default/rngs/group.rng
@@ -257,6 +275,10 @@ files:
257
275
  - cockpit/themes/default/symbols/choose.svg
258
276
  - cockpit/themes/default/symbols/choose_exclusive.svg
259
277
  - cockpit/themes/default/symbols/choose_inclusive.svg
278
+ - cockpit/themes/default/symbols/closed_loop.svg
279
+ - cockpit/themes/default/symbols/closed_loop_cancel.svg
280
+ - cockpit/themes/default/symbols/closed_loop_control.svg
281
+ - cockpit/themes/default/symbols/closed_loop_measuring.svg
260
282
  - cockpit/themes/default/symbols/complex.svg
261
283
  - cockpit/themes/default/symbols/critical.svg
262
284
  - cockpit/themes/default/symbols/end.svg
@@ -274,10 +296,62 @@ files:
274
296
  - cockpit/themes/default/symbols/start.svg
275
297
  - cockpit/themes/default/symbols/stop.svg
276
298
  - cockpit/themes/default/symbols/terminate.svg
299
+ - cockpit/themes/diana/rngs/alternative.rng
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
277
347
  - cockpit/themes/extended/rngs/alternative.rng
278
348
  - cockpit/themes/extended/rngs/call.rng
279
349
  - cockpit/themes/extended/rngs/callmanipulate.rng
280
350
  - cockpit/themes/extended/rngs/choose.rng
351
+ - cockpit/themes/extended/rngs/closed_loop.rng
352
+ - cockpit/themes/extended/rngs/closed_loop_cancel.rng
353
+ - cockpit/themes/extended/rngs/closed_loop_control.rng
354
+ - cockpit/themes/extended/rngs/closed_loop_measuring.rng
281
355
  - cockpit/themes/extended/rngs/critical.rng
282
356
  - cockpit/themes/extended/rngs/escape.rng
283
357
  - cockpit/themes/extended/rngs/group.rng
@@ -296,6 +370,10 @@ files:
296
370
  - cockpit/themes/extended/symbols/choose.svg
297
371
  - cockpit/themes/extended/symbols/choose_exclusive.svg
298
372
  - cockpit/themes/extended/symbols/choose_inclusive.svg
373
+ - cockpit/themes/extended/symbols/closed_loop.svg
374
+ - cockpit/themes/extended/symbols/closed_loop_cancel.svg
375
+ - cockpit/themes/extended/symbols/closed_loop_control.svg
376
+ - cockpit/themes/extended/symbols/closed_loop_measuring.svg
299
377
  - cockpit/themes/extended/symbols/complex.svg
300
378
  - cockpit/themes/extended/symbols/critical.svg
301
379
  - cockpit/themes/extended/symbols/end.svg
@@ -336,6 +414,10 @@ files:
336
414
  - cockpit/themes/model/symbols/choose.svg
337
415
  - cockpit/themes/model/symbols/choose_exclusive.svg
338
416
  - cockpit/themes/model/symbols/choose_inclusive.svg
417
+ - cockpit/themes/model/symbols/closed_loop.svg
418
+ - cockpit/themes/model/symbols/closed_loop_cancel.svg
419
+ - cockpit/themes/model/symbols/closed_loop_control.svg
420
+ - cockpit/themes/model/symbols/closed_loop_measuring.svg
339
421
  - cockpit/themes/model/symbols/complex.svg
340
422
  - cockpit/themes/model/symbols/critical.svg
341
423
  - cockpit/themes/model/symbols/end.svg
@@ -358,6 +440,10 @@ files:
358
440
  - cockpit/themes/packed/rngs/call.rng
359
441
  - cockpit/themes/packed/rngs/callmanipulate.rng
360
442
  - cockpit/themes/packed/rngs/choose.rng
443
+ - cockpit/themes/packed/rngs/closed_loop.rng
444
+ - cockpit/themes/packed/rngs/closed_loop_cancel.rng
445
+ - cockpit/themes/packed/rngs/closed_loop_control.rng
446
+ - cockpit/themes/packed/rngs/closed_loop_measuring.rng
361
447
  - cockpit/themes/packed/rngs/critical.rng
362
448
  - cockpit/themes/packed/rngs/escape.rng
363
449
  - cockpit/themes/packed/rngs/group.rng
@@ -376,6 +462,10 @@ files:
376
462
  - cockpit/themes/packed/symbols/choose.svg
377
463
  - cockpit/themes/packed/symbols/choose_exclusive.svg
378
464
  - cockpit/themes/packed/symbols/choose_inclusive.svg
465
+ - cockpit/themes/packed/symbols/closed_loop.svg
466
+ - cockpit/themes/packed/symbols/closed_loop_cancel.svg
467
+ - cockpit/themes/packed/symbols/closed_loop_control.svg
468
+ - cockpit/themes/packed/symbols/closed_loop_measuring.svg
379
469
  - cockpit/themes/packed/symbols/complex.svg
380
470
  - cockpit/themes/packed/symbols/critical.svg
381
471
  - cockpit/themes/packed/symbols/end.svg
@@ -398,6 +488,10 @@ files:
398
488
  - cockpit/themes/preset/rngs/call.rng
399
489
  - cockpit/themes/preset/rngs/callmanipulate.rng
400
490
  - cockpit/themes/preset/rngs/choose.rng
491
+ - cockpit/themes/preset/rngs/closed_loop.rng
492
+ - cockpit/themes/preset/rngs/closed_loop_cancel.rng
493
+ - cockpit/themes/preset/rngs/closed_loop_control.rng
494
+ - cockpit/themes/preset/rngs/closed_loop_measuring.rng
401
495
  - cockpit/themes/preset/rngs/critical.rng
402
496
  - cockpit/themes/preset/rngs/escape.rng
403
497
  - cockpit/themes/preset/rngs/group.rng
@@ -416,6 +510,10 @@ files:
416
510
  - cockpit/themes/preset/symbols/choose.svg
417
511
  - cockpit/themes/preset/symbols/choose_exclusive.svg
418
512
  - cockpit/themes/preset/symbols/choose_inclusive.svg
513
+ - cockpit/themes/preset/symbols/closed_loop.svg
514
+ - cockpit/themes/preset/symbols/closed_loop_cancel.svg
515
+ - cockpit/themes/preset/symbols/closed_loop_control.svg
516
+ - cockpit/themes/preset/symbols/closed_loop_measuring.svg
419
517
  - cockpit/themes/preset/symbols/complex.svg
420
518
  - cockpit/themes/preset/symbols/critical.svg
421
519
  - cockpit/themes/preset/symbols/end.svg
@@ -506,6 +604,7 @@ files:
506
604
  - server/routing/forward-events.rb
507
605
  - server/routing/forward-votes.rb
508
606
  - server/routing/persist.rb
607
+ - server/server.conf
509
608
  - server/server.rb
510
609
  - tools/cpee
511
610
  - tools/server/resources/notifications/logging/subscription.xml
@@ -1,26 +0,0 @@
1
- <testset>
2
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
3
- <handlers>
4
- <handler url="http://tango.wst.univie.ac.at:9332">
5
- <votes topic='state'>change</votes>
6
- <events topic='state'>change</events>
7
- <events topic='task'>instantiation</events>
8
- </handler>
9
- </handlers>
10
- <endpoints>
11
- <overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
12
- <move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
13
- <move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
14
- <get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
15
- <get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
16
- <get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
17
- <get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
18
- <wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
19
- <grip_and_place xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
20
- <subprocess xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9296/url/</subprocess>
21
- <adjust xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/cpee-cockpit/templates/BPM%202020%20Manual%20Adjust.xml</adjust>
22
- </endpoints>
23
- <attributes>
24
- <resource xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ur51</resource>
25
- </attributes>
26
- </testset>
@@ -1,15 +0,0 @@
1
- #!/usr/bin/ruby
2
- require 'xml/smart'
3
-
4
- Dir['*.xml'].each do |f|
5
- XML::Smart.modify(f) do |doc|
6
- doc.register_namespace 'd', 'http://cpee.org/ns/description/1.0'
7
- doc.register_namespace 'p', 'http://riddl.org/ns/common-patterns/properties/1.0'
8
- if doc.root.qname.name == 'testset'
9
- doc.find('//attributes | //endpoints | //dataelements | //positions | //transformation | //handlerwrapper | //description').each do |e|
10
- e.namespaces[nil] = 'http://cpee.org/ns/properties/2.0'
11
- e.namespace = nil
12
- end
13
- end
14
- end
15
- end
@@ -1,8 +0,0 @@
1
- #!/usr/bin/ruby
2
- require 'xml/smart'
3
-
4
- Dir['*.rng'].each do |f|
5
- XML::Smart.modify(f) do |doc|
6
- doc.root.attributes['ns'] = 'http://cpee.org/ns/description/1.0'
7
- end
8
- end