cpee 2.0.5 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cockpit/config.json +3 -0
- data/cockpit/css/track.css +17 -6
- data/cockpit/css/ui.css +6 -2
- data/cockpit/css/wfadaptor.css +1 -1
- data/cockpit/edit.html +1 -0
- data/cockpit/index.html +2 -2
- data/cockpit/js/instance.js +75 -55
- data/cockpit/js/track.js +10 -0
- data/cockpit/js/ui.js +47 -16
- data/cockpit/templates/Track Test Local.xml +82 -0
- data/cockpit/templates/Track Test.xml +82 -0
- data/cockpit/templates/instantiate.local/Take_Sub.xml +61 -0
- data/cockpit/templates/instantiate/Take_Perf.xml +46 -0
- data/cockpit/templates/instantiate/Take_Sub.xml +57 -0
- data/cockpit/templates/instantiate/Take_X.xml +48 -0
- data/cockpit/themes/compact/rngs/call.rng +5 -0
- data/cockpit/themes/compact/rngs/callmanipulate.rng +6 -1
- data/cockpit/themes/default/rngs/call.rng +5 -0
- data/cockpit/themes/default/rngs/callmanipulate.rng +6 -1
- data/cockpit/themes/extended/rngs/call.rng +5 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +6 -1
- data/cockpit/themes/model/theme.js +1 -1
- data/cockpit/themes/packed/rngs/call.rng +5 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +6 -1
- data/cockpit/themes/preset/rngs/call.rng +5 -0
- data/cockpit/themes/preset/rngs/callmanipulate.rng +6 -1
- data/cockpit/track.html +37 -8
- data/cpee.gemspec +3 -3
- data/lib/cpee/implementation.rb +14 -5
- data/lib/cpee/implementation_notifications.rb +95 -62
- data/lib/cpee/persistence.rb +3 -0
- data/server/routing/end.pid +1 -0
- data/server/routing/forward-events.pid +1 -0
- data/server/routing/forward-events.rb +2 -1
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/forward-votes.rb +1 -1
- data/server/routing/persist.pid +1 -0
- data/server/server.conf +4 -0
- data/server/server.pid +1 -0
- data/tools/cpee +17 -11
- data/tools/server/resources/notifications/logging/subscription.xml +13 -1
- data/tools/server/resources/properties.init +16 -15
- metadata +22 -13
- data/cockpit/templates/convert_cpee2.rb +0 -15
- data/cockpit/themes/convert_cpee2.rb +0 -8
- data/tools/instantiation/instantiation +0 -23
- data/tools/server/resources/notifications/logging/consumer-secret +0 -1
- data/tools/server/resources/notifications/logging/producer-secret +0 -1
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0" url="http://localhost:9299/">
|
|
2
2
|
<topic id="activity">
|
|
3
3
|
<event>calling</event>
|
|
4
4
|
<event>receiving</event>
|
|
5
5
|
<event>done</event>
|
|
6
6
|
</topic>
|
|
7
|
+
<topic id="dataelements">
|
|
8
|
+
<event>change</event>
|
|
9
|
+
</topic>
|
|
10
|
+
<topic id="endpoints">
|
|
11
|
+
<event>change</event>
|
|
12
|
+
</topic>
|
|
13
|
+
<topic id="attributes">
|
|
14
|
+
<event>change</event>
|
|
15
|
+
</topic>
|
|
16
|
+
<topic id="task">
|
|
17
|
+
<event>instantiation</event>
|
|
18
|
+
</topic>
|
|
7
19
|
</subscription>
|
|
@@ -2,40 +2,41 @@
|
|
|
2
2
|
<!--
|
|
3
3
|
This file is part of CPEE.
|
|
4
4
|
|
|
5
|
-
CPEE is free software: you can redistribute it and/or modify it under the
|
|
6
|
-
of the GNU General Public License as published by the Free Software
|
|
7
|
-
either version 3 of the License, or (at your option) any later
|
|
5
|
+
CPEE is free software: you can redistribute it and/or modify it under the
|
|
6
|
+
terms of the GNU General Public License as published by the Free Software
|
|
7
|
+
Foundation, either version 3 of the License, or (at your option) any later
|
|
8
|
+
version.
|
|
8
9
|
|
|
9
10
|
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
10
11
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
11
12
|
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
12
13
|
|
|
13
14
|
You should have received a copy of the GNU General Public License along with
|
|
14
|
-
CPEE (file COPYING in the main directory).
|
|
15
|
+
CPEE (file COPYING in the main directory). If not, see
|
|
15
16
|
<http://www.gnu.org/licenses/>.
|
|
16
17
|
-->
|
|
17
18
|
|
|
18
|
-
<properties xmlns="http://
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
<
|
|
22
|
-
<
|
|
23
|
-
</
|
|
24
|
-
<state>ready</state>
|
|
19
|
+
<properties xmlns="http://cpee.org/ns/properties/2.0">
|
|
20
|
+
<state changed="1970-01-01T00:00:00+00:00">ready</state>
|
|
21
|
+
<status>
|
|
22
|
+
<id>0</id>
|
|
23
|
+
<message>undefined</message>
|
|
24
|
+
</status>
|
|
25
25
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
26
26
|
<positions/>
|
|
27
27
|
<dataelements/>
|
|
28
28
|
<endpoints>
|
|
29
29
|
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
30
30
|
</endpoints>
|
|
31
|
+
<attributes>
|
|
32
|
+
<info/>
|
|
33
|
+
<modeltype>CPEE</modeltype>
|
|
34
|
+
<theme>preset</theme>
|
|
35
|
+
</attributes>
|
|
31
36
|
<dsl/>
|
|
32
37
|
<dslx>
|
|
33
38
|
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
|
34
39
|
</dslx>
|
|
35
|
-
<status>
|
|
36
|
-
<id>0</id>
|
|
37
|
-
<message>undefined</message>
|
|
38
|
-
</status>
|
|
39
40
|
<description>
|
|
40
41
|
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
|
41
42
|
</description>
|
metadata
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
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.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
8
8
|
- Ralph Vigne
|
|
9
9
|
- Gerhard Stuermer
|
|
10
|
-
autorequire:
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: tools
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2020-10-
|
|
13
|
+
date: 2020-10-23 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.
|
|
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.
|
|
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
|
|
@@ -192,8 +194,13 @@ files:
|
|
|
192
194
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
|
|
193
195
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
|
|
194
196
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
|
|
197
|
+
- cockpit/templates/Track Test Local.xml
|
|
198
|
+
- cockpit/templates/Track Test.xml
|
|
195
199
|
- cockpit/templates/Worklist.xml
|
|
196
|
-
- cockpit/templates/
|
|
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
|
|
@@ -234,7 +241,6 @@ files:
|
|
|
234
241
|
- cockpit/themes/compact/symbols/stop.svg
|
|
235
242
|
- cockpit/themes/compact/symbols/terminate.svg
|
|
236
243
|
- cockpit/themes/compact/theme.js
|
|
237
|
-
- cockpit/themes/convert_cpee2.rb
|
|
238
244
|
- cockpit/themes/default/rngs/alternative.rng
|
|
239
245
|
- cockpit/themes/default/rngs/call.rng
|
|
240
246
|
- cockpit/themes/default/rngs/callmanipulate.rng
|
|
@@ -502,15 +508,18 @@ files:
|
|
|
502
508
|
- server/resources/topics.xml
|
|
503
509
|
- server/resources/transformation.xml
|
|
504
510
|
- server/resources/transformation_dslx.xsl
|
|
511
|
+
- server/routing/end.pid
|
|
505
512
|
- server/routing/end.rb
|
|
513
|
+
- server/routing/forward-events.pid
|
|
506
514
|
- server/routing/forward-events.rb
|
|
515
|
+
- server/routing/forward-votes.pid
|
|
507
516
|
- server/routing/forward-votes.rb
|
|
517
|
+
- server/routing/persist.pid
|
|
508
518
|
- server/routing/persist.rb
|
|
519
|
+
- server/server.conf
|
|
520
|
+
- server/server.pid
|
|
509
521
|
- server/server.rb
|
|
510
522
|
- tools/cpee
|
|
511
|
-
- tools/instantiation/instantiation
|
|
512
|
-
- tools/server/resources/notifications/logging/consumer-secret
|
|
513
|
-
- tools/server/resources/notifications/logging/producer-secret
|
|
514
523
|
- tools/server/resources/notifications/logging/subscription.xml
|
|
515
524
|
- tools/server/resources/properties.init
|
|
516
525
|
- tools/server/server.rb
|
|
@@ -518,7 +527,7 @@ homepage: http://cpee.org/
|
|
|
518
527
|
licenses:
|
|
519
528
|
- LGPL-3.0
|
|
520
529
|
metadata: {}
|
|
521
|
-
post_install_message:
|
|
530
|
+
post_install_message:
|
|
522
531
|
rdoc_options: []
|
|
523
532
|
require_paths:
|
|
524
533
|
- lib
|
|
@@ -533,8 +542,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
533
542
|
- !ruby/object:Gem::Version
|
|
534
543
|
version: '0'
|
|
535
544
|
requirements: []
|
|
536
|
-
rubygems_version: 3.1.
|
|
537
|
-
signing_key:
|
|
545
|
+
rubygems_version: 3.1.4
|
|
546
|
+
signing_key:
|
|
538
547
|
specification_version: 4
|
|
539
548
|
summary: Preliminary release of cloud process execution engine (cpee.org). If you
|
|
540
549
|
just need workflow execution, without a rest service exposing it, then use WEEL.
|
|
@@ -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,23 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/ruby
|
|
2
|
-
require 'rubygems'
|
|
3
|
-
require 'cpee/instantiation'
|
|
4
|
-
|
|
5
|
-
options = {
|
|
6
|
-
:host => 'localhost',
|
|
7
|
-
:port => 9296,
|
|
8
|
-
:secure => false
|
|
9
|
-
# :secure_options => {
|
|
10
|
-
# :private_key_file => '',
|
|
11
|
-
# :cert_chain_file => '',
|
|
12
|
-
# :verify_peer => false
|
|
13
|
-
# }
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
Riddl::Server.new(CPEE::Instantiation::SERVER, options) do
|
|
17
|
-
accessible_description true
|
|
18
|
-
cross_site_xhr true
|
|
19
|
-
|
|
20
|
-
@riddl_opts[:cpee] ||= 'http://localhost:8298/'
|
|
21
|
-
|
|
22
|
-
use CPEE::Instantiation::implementation(@riddl_opts)
|
|
23
|
-
end.loop!
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f7c77861ac613eeac8fb9829c9a545a2
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2a24d172b1aeb05fe94fdc5e095dec32
|