cpee 1.4.26 → 1.4.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/js_libs.zip +0 -0
- data/cockpit/js_libs/Makefile +2 -0
- data/cockpit/js_libs/ansi_up.js +333 -0
- data/cockpit/js_libs/console.js +80 -0
- data/cockpit/js_libs/custommenu.css +84 -0
- data/cockpit/js_libs/custommenu.js +101 -0
- data/cockpit/js_libs/jquery-2.2.4.min.js +4 -0
- data/cockpit/js_libs/jquery-3.2.1.min.js +4 -0
- data/cockpit/js_libs/jquery-3.3.1.min.js +2 -0
- data/cockpit/js_libs/jquery.browser.js +40 -0
- data/cockpit/js_libs/jquery.caret.min.js +10 -0
- data/cockpit/js_libs/jquery.cookie.js +117 -0
- data/cockpit/js_libs/jquery.min.js +1 -0
- data/cockpit/js_libs/jquery.svg.min.js +6 -0
- data/cockpit/js_libs/jquery.svgdom.min.js +6 -0
- data/cockpit/js_libs/markdown.min.js +1 -0
- data/cockpit/js_libs/parsequery.js +21 -0
- data/cockpit/js_libs/printf.js +368 -0
- data/cockpit/js_libs/relaxngui.css +153 -0
- data/cockpit/js_libs/relaxngui.js +402 -0
- data/cockpit/js_libs/strftime.min.js +1 -0
- data/cockpit/js_libs/tests/dataelements.html +58 -0
- data/cockpit/js_libs/tests/dataelements.rng +8 -0
- data/cockpit/js_libs/tests/dataelements.xml +3 -0
- data/cockpit/js_libs/tests/rngtest1.html +59 -0
- data/cockpit/js_libs/tests/rngtest1.rng +41 -0
- data/cockpit/js_libs/tests/rngtest1.xml +11 -0
- data/cockpit/js_libs/tests/rngtest2.html +59 -0
- data/cockpit/js_libs/tests/rngtest2.rng +6 -0
- data/cockpit/js_libs/tests/rngtest2.xml +3 -0
- data/cockpit/js_libs/tests/rngtest3.html +59 -0
- data/cockpit/js_libs/tests/rngtest3.rng +23 -0
- data/cockpit/js_libs/tests/rngtest3.xml +9 -0
- data/cockpit/js_libs/tests/rngtest4.html +59 -0
- data/cockpit/js_libs/tests/rngtest4.rng +19 -0
- data/cockpit/js_libs/tests/rngtest4.xml +12 -0
- data/cockpit/js_libs/tests/rngtest5.html +59 -0
- data/cockpit/js_libs/tests/rngtest5.rng +75 -0
- data/cockpit/js_libs/tests/rngtest5.xml +40 -0
- data/cockpit/js_libs/tests/rngtest6.html +59 -0
- data/cockpit/js_libs/tests/rngtest6.rng +24 -0
- data/cockpit/js_libs/tests/rngtest6.xml +6 -0
- data/cockpit/js_libs/tests/rngtest8.html +59 -0
- data/cockpit/js_libs/tests/rngtest8.rng +13 -0
- data/cockpit/js_libs/tests/rngtest8.xml +2 -0
- data/cockpit/js_libs/ui.css +301 -0
- data/cockpit/js_libs/ui.html +168 -0
- data/cockpit/js_libs/ui.js +172 -0
- data/cockpit/js_libs/underscore.min.js +27 -0
- data/cockpit/js_libs/util.js +84 -0
- data/cockpit/js_libs/vkbeautify.0.99.00.beta.js +358 -0
- data/cockpit/js_libs/vkbeautify.js +1 -0
- data/cockpit/js_libs/webcomponents.min.js +196 -0
- data/cpee.gemspec +2 -1
- data/server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/consumer-secret +1 -0
- data/server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/producer-secret +1 -0
- data/server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/subscription.xml +38 -0
- data/server/instances/104/notifications/logging/consumer-secret +1 -0
- data/server/instances/104/notifications/logging/producer-secret +1 -0
- data/server/instances/104/notifications/logging/subscription.xml +19 -0
- data/server/instances/104/properties.xml +31 -0
- data/tools/cpee +36 -7
- metadata +77 -5
- data/server/server.pid +0 -1
data/cpee.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee"
|
3
|
-
s.version = "1.4.
|
3
|
+
s.version = "1.4.27"
|
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). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
|
@@ -26,4 +26,5 @@ Gem::Specification.new do |s|
|
|
26
26
|
s.add_runtime_dependency 'savon', '~> 2'
|
27
27
|
s.add_runtime_dependency 'highline', '~> 1.6'
|
28
28
|
s.add_runtime_dependency 'json', '~>2.1'
|
29
|
+
s.add_runtime_dependency 'rubyzip', '~>1.2'
|
29
30
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
105d33d8aab5ee20c79bd9e8bc826e34
|
@@ -0,0 +1 @@
|
|
1
|
+
e18c535bb5d09c2ad8f1e51f9f06d522
|
@@ -0,0 +1,38 @@
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
|
2
|
+
<topic id="activity">
|
3
|
+
<event>calling</event>
|
4
|
+
<event>status</event>
|
5
|
+
<event>manipulating</event>
|
6
|
+
<event>failed</event>
|
7
|
+
<event>done</event>
|
8
|
+
</topic>
|
9
|
+
<topic id="position">
|
10
|
+
<event>change</event>
|
11
|
+
</topic>
|
12
|
+
<topic id="description">
|
13
|
+
<event>change</event>
|
14
|
+
<event>error</event>
|
15
|
+
</topic>
|
16
|
+
<topic id="state">
|
17
|
+
<event>change</event>
|
18
|
+
</topic>
|
19
|
+
<topic id="dataelements">
|
20
|
+
<event>change</event>
|
21
|
+
</topic>
|
22
|
+
<topic id="endpoints">
|
23
|
+
<event>change</event>
|
24
|
+
</topic>
|
25
|
+
<topic id="attributes">
|
26
|
+
<event>change</event>
|
27
|
+
</topic>
|
28
|
+
<topic id="transformation">
|
29
|
+
<event>change</event>
|
30
|
+
</topic>
|
31
|
+
<topic id="handlerwrapper">
|
32
|
+
<event>error</event>
|
33
|
+
<event>change</event>
|
34
|
+
</topic>
|
35
|
+
<topic id="handlers">
|
36
|
+
<event>change</event>
|
37
|
+
</topic>
|
38
|
+
</subscription>
|
@@ -0,0 +1 @@
|
|
1
|
+
f7c77861ac613eeac8fb9829c9a545a2
|
@@ -0,0 +1 @@
|
|
1
|
+
2a24d172b1aeb05fe94fdc5e095dec32
|
@@ -0,0 +1,19 @@
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://localhost:9299/">
|
2
|
+
<topic id="activity">
|
3
|
+
<event>calling</event>
|
4
|
+
<event>receiving</event>
|
5
|
+
<event>done</event>
|
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>
|
19
|
+
</subscription>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<attributes>
|
3
|
+
<uuid>f158fa12-f39b-45dc-8f27-59f1948a0135</uuid>
|
4
|
+
<info>Plain Instance</info>
|
5
|
+
<modeltype>CPEE</modeltype>
|
6
|
+
<theme>default</theme>
|
7
|
+
</attributes>
|
8
|
+
<state changed="2019-05-28T09:17:50+02:00">ready</state>
|
9
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
10
|
+
<positions/>
|
11
|
+
<dataelements/>
|
12
|
+
<endpoints>
|
13
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
14
|
+
</endpoints>
|
15
|
+
<dsl/>
|
16
|
+
<dslx>
|
17
|
+
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
18
|
+
</dslx>
|
19
|
+
<status>
|
20
|
+
<id>0</id>
|
21
|
+
<message>undefined</message>
|
22
|
+
</status>
|
23
|
+
<description>
|
24
|
+
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
25
|
+
</description>
|
26
|
+
<transformation>
|
27
|
+
<description type="copy"/>
|
28
|
+
<dataelements type="none"/>
|
29
|
+
<endpoints type="none"/>
|
30
|
+
</transformation>
|
31
|
+
</properties>
|
data/tools/cpee
CHANGED
@@ -6,6 +6,7 @@ require 'fileutils'
|
|
6
6
|
require 'webrick'
|
7
7
|
require 'typhoeus'
|
8
8
|
require 'xml/smart'
|
9
|
+
require 'zip'
|
9
10
|
require 'pp'
|
10
11
|
|
11
12
|
def wrap(s, width=78, indent=18)
|
@@ -58,16 +59,44 @@ end
|
|
58
59
|
command = ARGV[0]
|
59
60
|
p1 = ARGV[1]
|
60
61
|
p2 = ARGV[2]
|
62
|
+
cockpit = "#{curpath}/../cockpit/"
|
63
|
+
|
64
|
+
def js_libs(cockpit)
|
65
|
+
res = Typhoeus.get('http://cpee.org/js_libs/js_libs.zip')
|
66
|
+
if res.success?
|
67
|
+
File.write(File.join(cockpit,'js_libs.zip'),res.response_body)
|
68
|
+
Zip::File.open(File.join(cockpit,'js_libs.zip')) do |zip_file|
|
69
|
+
zip_file.each do |entry|
|
70
|
+
case entry.ftype
|
71
|
+
when :directory
|
72
|
+
Dir.mkdir(File.join(cockpit,entry.name)) rescue nil
|
73
|
+
when :file
|
74
|
+
File.write(File.join(cockpit,entry.name),entry.get_input_stream.read)
|
75
|
+
when :symlink
|
76
|
+
FileUtils.ln_s(File.join('.',entry.get_input_stream.read),File.join(cockpit,entry.name), force: true)
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
true
|
81
|
+
else
|
82
|
+
puts 'Internet access required to download javascript libs from "http://cpee.org/js_libs/js_libs.zip".'
|
83
|
+
false
|
84
|
+
end
|
85
|
+
end
|
61
86
|
|
62
87
|
if command == 'ui'
|
63
|
-
|
64
|
-
|
65
|
-
|
88
|
+
if js_libs(cockpit)
|
89
|
+
s = WEBrick::HTTPServer.new(:Port => 8080, :DocumentRoot => "#{curpath}/../cockpit/")
|
90
|
+
trap("INT"){ s.shutdown }
|
91
|
+
s.start
|
92
|
+
end
|
66
93
|
elsif command == 'cpui'
|
67
|
-
if
|
68
|
-
|
69
|
-
|
70
|
-
|
94
|
+
if js_libs(cockpit)
|
95
|
+
if !File.exists?(p1)
|
96
|
+
FileUtils.cp_r("#{curpath}/../cockpit/",p1)
|
97
|
+
else
|
98
|
+
puts "Directory already exists."
|
99
|
+
end
|
71
100
|
end
|
72
101
|
elsif command == 'inst'
|
73
102
|
if !File.exists?(p1)
|
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: 1.4.
|
4
|
+
version: 1.4.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: tools
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-
|
14
|
+
date: 2019-06-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: riddl
|
@@ -83,6 +83,20 @@ dependencies:
|
|
83
83
|
- - "~>"
|
84
84
|
- !ruby/object:Gem::Version
|
85
85
|
version: '2.1'
|
86
|
+
- !ruby/object:Gem::Dependency
|
87
|
+
name: rubyzip
|
88
|
+
requirement: !ruby/object:Gem::Requirement
|
89
|
+
requirements:
|
90
|
+
- - "~>"
|
91
|
+
- !ruby/object:Gem::Version
|
92
|
+
version: '1.2'
|
93
|
+
type: :runtime
|
94
|
+
prerelease: false
|
95
|
+
version_requirements: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - "~>"
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '1.2'
|
86
100
|
description: see http://cpee.org
|
87
101
|
email: juergen.mangler@gmail.com
|
88
102
|
executables:
|
@@ -113,6 +127,59 @@ files:
|
|
113
127
|
- cockpit/js/parameters.js
|
114
128
|
- cockpit/js/ui.js
|
115
129
|
- cockpit/js/wfadaptor.js
|
130
|
+
- cockpit/js_libs.zip
|
131
|
+
- cockpit/js_libs/Makefile
|
132
|
+
- cockpit/js_libs/ansi_up.js
|
133
|
+
- cockpit/js_libs/console.js
|
134
|
+
- cockpit/js_libs/custommenu.css
|
135
|
+
- cockpit/js_libs/custommenu.js
|
136
|
+
- cockpit/js_libs/jquery-2.2.4.min.js
|
137
|
+
- cockpit/js_libs/jquery-3.2.1.min.js
|
138
|
+
- cockpit/js_libs/jquery-3.3.1.min.js
|
139
|
+
- cockpit/js_libs/jquery.browser.js
|
140
|
+
- cockpit/js_libs/jquery.caret.min.js
|
141
|
+
- cockpit/js_libs/jquery.cookie.js
|
142
|
+
- cockpit/js_libs/jquery.min.js
|
143
|
+
- cockpit/js_libs/jquery.svg.min.js
|
144
|
+
- cockpit/js_libs/jquery.svgdom.min.js
|
145
|
+
- cockpit/js_libs/markdown.min.js
|
146
|
+
- cockpit/js_libs/parsequery.js
|
147
|
+
- cockpit/js_libs/printf.js
|
148
|
+
- cockpit/js_libs/relaxngui.css
|
149
|
+
- cockpit/js_libs/relaxngui.js
|
150
|
+
- cockpit/js_libs/strftime.min.js
|
151
|
+
- cockpit/js_libs/tests/dataelements.html
|
152
|
+
- cockpit/js_libs/tests/dataelements.rng
|
153
|
+
- cockpit/js_libs/tests/dataelements.xml
|
154
|
+
- cockpit/js_libs/tests/rngtest1.html
|
155
|
+
- cockpit/js_libs/tests/rngtest1.rng
|
156
|
+
- cockpit/js_libs/tests/rngtest1.xml
|
157
|
+
- cockpit/js_libs/tests/rngtest2.html
|
158
|
+
- cockpit/js_libs/tests/rngtest2.rng
|
159
|
+
- cockpit/js_libs/tests/rngtest2.xml
|
160
|
+
- cockpit/js_libs/tests/rngtest3.html
|
161
|
+
- cockpit/js_libs/tests/rngtest3.rng
|
162
|
+
- cockpit/js_libs/tests/rngtest3.xml
|
163
|
+
- cockpit/js_libs/tests/rngtest4.html
|
164
|
+
- cockpit/js_libs/tests/rngtest4.rng
|
165
|
+
- cockpit/js_libs/tests/rngtest4.xml
|
166
|
+
- cockpit/js_libs/tests/rngtest5.html
|
167
|
+
- cockpit/js_libs/tests/rngtest5.rng
|
168
|
+
- cockpit/js_libs/tests/rngtest5.xml
|
169
|
+
- cockpit/js_libs/tests/rngtest6.html
|
170
|
+
- cockpit/js_libs/tests/rngtest6.rng
|
171
|
+
- cockpit/js_libs/tests/rngtest6.xml
|
172
|
+
- cockpit/js_libs/tests/rngtest8.html
|
173
|
+
- cockpit/js_libs/tests/rngtest8.rng
|
174
|
+
- cockpit/js_libs/tests/rngtest8.xml
|
175
|
+
- cockpit/js_libs/ui.css
|
176
|
+
- cockpit/js_libs/ui.html
|
177
|
+
- cockpit/js_libs/ui.js
|
178
|
+
- cockpit/js_libs/underscore.min.js
|
179
|
+
- cockpit/js_libs/util.js
|
180
|
+
- cockpit/js_libs/vkbeautify.0.99.00.beta.js
|
181
|
+
- cockpit/js_libs/vkbeautify.js
|
182
|
+
- cockpit/js_libs/webcomponents.min.js
|
116
183
|
- cockpit/rngs/attributes.rng
|
117
184
|
- cockpit/rngs/dataelements.rng
|
118
185
|
- cockpit/rngs/endpoints.rng
|
@@ -359,6 +426,13 @@ files:
|
|
359
426
|
- server/instances/103/notifications/logging/producer-secret
|
360
427
|
- server/instances/103/notifications/logging/subscription.xml
|
361
428
|
- server/instances/103/properties.xml
|
429
|
+
- server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/consumer-secret
|
430
|
+
- server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/producer-secret
|
431
|
+
- server/instances/104/notifications/888d50456e0c2d39d0542a21999c9e0b/subscription.xml
|
432
|
+
- server/instances/104/notifications/logging/consumer-secret
|
433
|
+
- server/instances/104/notifications/logging/producer-secret
|
434
|
+
- server/instances/104/notifications/logging/subscription.xml
|
435
|
+
- server/instances/104/properties.xml
|
362
436
|
- server/instances/11/notifications/logging/consumer-secret
|
363
437
|
- server/instances/11/notifications/logging/producer-secret
|
364
438
|
- server/instances/11/notifications/logging/subscription.xml
|
@@ -893,7 +967,6 @@ files:
|
|
893
967
|
- server/resources/topics.xml
|
894
968
|
- server/resources/transformation.xml
|
895
969
|
- server/resources/transformation_dslx.xsl
|
896
|
-
- server/server.pid
|
897
970
|
- server/server.rb
|
898
971
|
- test/callback.rb
|
899
972
|
- tools/cpee
|
@@ -922,8 +995,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
922
995
|
- !ruby/object:Gem::Version
|
923
996
|
version: '0'
|
924
997
|
requirements: []
|
925
|
-
|
926
|
-
rubygems_version: 2.7.6
|
998
|
+
rubygems_version: 3.0.3
|
927
999
|
signing_key:
|
928
1000
|
specification_version: 4
|
929
1001
|
summary: Preliminary release of cloud process execution engine (cpee). If you just
|
data/server/server.pid
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1876
|