cpee 1.5.16 → 1.5.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/model.css +24 -0
- data/cockpit/css/ui.css +25 -0
- data/cockpit/index.html +6 -6
- data/cockpit/js/details.js +70 -52
- data/cockpit/js/instance.js +62 -18
- data/cockpit/js/model.js +41 -0
- data/cockpit/js/ui.js +3 -0
- data/cockpit/js/wfadaptor.js +1 -1
- data/cockpit/model.html +191 -0
- data/cockpit/testsets/BCO.xml +2 -2
- data/cockpit/testsets/BCS.xml +2 -2
- data/cockpit/testsets/Lego Full.xml +142 -0
- data/cockpit/testsets/Lego Liddy.xml +40 -0
- data/cockpit/testsets/Lego_Part_1.xml +85 -0
- data/cockpit/testsets/Linear.xml +2 -2
- data/cockpit/testsets/Syncing P34 1.xml +2 -2
- data/cockpit/testsets/Syncing P34 2.xml +2 -2
- data/cockpit/testsets/Syncing P34 3.xml +2 -2
- data/cockpit/testsets/Syncing P34.xml +2 -2
- data/cockpit/testsets/testsets.xml +3 -1
- data/cockpit/themes/compact/rngs/alternative.rng +1 -0
- data/cockpit/themes/compact/rngs/call.rng +111 -0
- data/cockpit/themes/compact/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/compact/rngs/choose.rng +1 -0
- data/cockpit/themes/compact/rngs/critical.rng +1 -0
- data/cockpit/themes/compact/rngs/escape.rng +1 -0
- data/cockpit/themes/compact/rngs/group.rng +1 -0
- data/cockpit/themes/compact/rngs/loop.rng +1 -0
- data/cockpit/themes/compact/rngs/manipulate.rng +1 -0
- data/cockpit/themes/compact/rngs/otherwise.rng +1 -0
- data/cockpit/themes/compact/rngs/parallel.rng +1 -0
- data/cockpit/themes/compact/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/compact/rngs/scripts.rng +24 -0
- data/cockpit/themes/compact/rngs/stop.rng +1 -0
- data/cockpit/themes/compact/rngs/terminate.rng +1 -0
- data/cockpit/themes/compact/symbols/alternative.svg +5 -0
- data/cockpit/themes/compact/symbols/arrow.svg +3 -0
- data/cockpit/themes/compact/symbols/call.svg +6 -0
- data/cockpit/themes/compact/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/compact/symbols/choose.svg +5 -0
- data/cockpit/themes/compact/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/compact/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/compact/symbols/complex.svg +8 -0
- data/cockpit/themes/compact/symbols/critical.svg +4 -0
- data/cockpit/themes/compact/symbols/end.svg +3 -0
- data/cockpit/themes/compact/symbols/escape.svg +5 -0
- data/cockpit/themes/compact/symbols/event_end.svg +3 -0
- data/cockpit/themes/compact/symbols/loop.svg +5 -0
- data/cockpit/themes/compact/symbols/manipulate.svg +4 -0
- data/cockpit/themes/compact/symbols/otherwise.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/compact/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/compact/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/compact/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/compact/symbols/scripts.svg +4 -0
- data/cockpit/themes/compact/symbols/start.svg +3 -0
- data/cockpit/themes/compact/symbols/stop.svg +5 -0
- data/cockpit/themes/compact/symbols/terminate.svg +4 -0
- data/cockpit/themes/compact/theme.js +101 -61
- data/cockpit/themes/default/rngs/callmanipulate.rng +5 -0
- data/cockpit/themes/default/theme.js +97 -57
- data/cockpit/themes/extended/rngs/alternative.rng +1 -0
- data/cockpit/themes/extended/rngs/call.rng +111 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/extended/rngs/choose.rng +1 -0
- data/cockpit/themes/extended/rngs/critical.rng +1 -0
- data/cockpit/themes/extended/rngs/escape.rng +1 -0
- data/cockpit/themes/extended/rngs/group.rng +1 -0
- data/cockpit/themes/extended/rngs/loop.rng +1 -0
- data/cockpit/themes/extended/rngs/manipulate.rng +1 -0
- data/cockpit/themes/extended/rngs/otherwise.rng +1 -0
- data/cockpit/themes/extended/rngs/parallel.rng +1 -0
- data/cockpit/themes/extended/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/extended/rngs/scripts.rng +24 -0
- data/cockpit/themes/extended/rngs/stop.rng +1 -0
- data/cockpit/themes/extended/rngs/terminate.rng +1 -0
- data/cockpit/themes/extended/symbols/alternative.svg +5 -0
- data/cockpit/themes/extended/symbols/arrow.svg +3 -0
- data/cockpit/themes/extended/symbols/call.svg +6 -0
- data/cockpit/themes/extended/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/extended/symbols/choose.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/extended/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/extended/symbols/complex.svg +8 -0
- data/cockpit/themes/extended/symbols/critical.svg +4 -0
- data/cockpit/themes/extended/symbols/end.svg +3 -0
- data/cockpit/themes/extended/symbols/escape.svg +5 -0
- data/cockpit/themes/extended/symbols/event_end.svg +3 -0
- data/cockpit/themes/extended/symbols/loop.svg +5 -0
- data/cockpit/themes/extended/symbols/manipulate.svg +4 -0
- data/cockpit/themes/extended/symbols/otherwise.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/extended/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/extended/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/extended/symbols/scripts.svg +4 -0
- data/cockpit/themes/extended/symbols/start.svg +3 -0
- data/cockpit/themes/extended/symbols/stop.svg +5 -0
- data/cockpit/themes/extended/symbols/terminate.svg +4 -0
- data/cockpit/themes/extended/theme.js +101 -61
- data/cockpit/themes/labels/rngs/alternative.rng +25 -0
- data/cockpit/themes/labels/rngs/call.rng +81 -0
- data/cockpit/themes/labels/rngs/callmanipulate.rng +101 -0
- data/cockpit/themes/labels/rngs/choose.rng +12 -0
- data/cockpit/themes/labels/rngs/critical.rng +5 -0
- data/cockpit/themes/labels/rngs/escape.rng +1 -0
- data/cockpit/themes/labels/rngs/finalize.rng +6 -0
- data/cockpit/themes/labels/rngs/group.rng +3 -0
- data/cockpit/themes/labels/rngs/loop.rng +22 -0
- data/cockpit/themes/labels/rngs/manipulate.rng +9 -0
- data/cockpit/themes/labels/rngs/otherwise.rng +22 -0
- data/cockpit/themes/labels/rngs/parallel.rng +13 -0
- data/cockpit/themes/labels/rngs/parallel_branch.rng +8 -0
- data/cockpit/themes/labels/rngs/stop.rng +5 -0
- data/cockpit/themes/labels/rngs/terminate.rng +1 -0
- data/cockpit/themes/labels/rngs/update.rng +6 -0
- data/cockpit/themes/labels/symbols/alternative.svg +5 -0
- data/cockpit/themes/labels/symbols/arrow.svg +3 -0
- data/cockpit/themes/labels/symbols/call.svg +6 -0
- data/cockpit/themes/labels/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/labels/symbols/choose.svg +5 -0
- data/cockpit/themes/labels/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/labels/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/labels/symbols/complex.svg +8 -0
- data/cockpit/themes/labels/symbols/critical.svg +4 -0
- data/cockpit/themes/labels/symbols/end.svg +3 -0
- data/cockpit/themes/labels/symbols/escape.svg +5 -0
- data/cockpit/themes/labels/symbols/event_end.svg +3 -0
- data/cockpit/themes/labels/symbols/loop.svg +5 -0
- data/cockpit/themes/labels/symbols/manipulate.svg +4 -0
- data/cockpit/themes/labels/symbols/otherwise.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/labels/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/labels/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/labels/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/labels/symbols/scripts.svg +4 -0
- data/cockpit/themes/labels/symbols/start.svg +3 -0
- data/cockpit/themes/labels/symbols/stop.svg +5 -0
- data/cockpit/themes/labels/symbols/terminate.svg +4 -0
- data/cockpit/themes/model/rngs/alternative.rng +1 -0
- data/cockpit/themes/model/rngs/call.rng +62 -0
- data/cockpit/themes/model/rngs/callmanipulate.rng +67 -0
- data/cockpit/themes/model/rngs/choose.rng +1 -0
- data/cockpit/themes/model/rngs/critical.rng +1 -0
- data/cockpit/themes/model/rngs/escape.rng +1 -0
- data/cockpit/themes/model/rngs/group.rng +1 -0
- data/cockpit/themes/model/rngs/loop.rng +1 -0
- data/cockpit/themes/model/rngs/manipulate.rng +1 -0
- data/cockpit/themes/model/rngs/otherwise.rng +1 -0
- data/cockpit/themes/model/rngs/parallel.rng +1 -0
- data/cockpit/themes/model/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/model/rngs/scripts.rng +8 -0
- data/cockpit/themes/model/rngs/stop.rng +1 -0
- data/cockpit/themes/model/rngs/terminate.rng +1 -0
- data/cockpit/themes/model/symbols/alternative.svg +5 -0
- data/cockpit/themes/model/symbols/arrow.svg +3 -0
- data/cockpit/themes/model/symbols/call.svg +6 -0
- data/cockpit/themes/model/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/model/symbols/choose.svg +5 -0
- data/cockpit/themes/model/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/model/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/model/symbols/complex.svg +8 -0
- data/cockpit/themes/model/symbols/critical.svg +4 -0
- data/cockpit/themes/model/symbols/end.svg +3 -0
- data/cockpit/themes/model/symbols/escape.svg +5 -0
- data/cockpit/themes/model/symbols/event_end.svg +3 -0
- data/cockpit/themes/model/symbols/loop.svg +5 -0
- data/cockpit/themes/model/symbols/manipulate.svg +4 -0
- data/cockpit/themes/model/symbols/otherwise.svg +5 -0
- data/cockpit/themes/model/symbols/parallel.svg +5 -0
- data/cockpit/themes/model/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/model/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/model/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/model/symbols/scripts.svg +4 -0
- data/cockpit/themes/model/symbols/start.svg +3 -0
- data/cockpit/themes/model/symbols/stop.svg +5 -0
- data/cockpit/themes/model/symbols/terminate.svg +4 -0
- data/cockpit/themes/model/theme.js +1267 -0
- data/cockpit/themes/packed/rngs/alternative.rng +1 -0
- data/cockpit/themes/packed/rngs/call.rng +111 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +134 -0
- data/cockpit/themes/packed/rngs/choose.rng +1 -0
- data/cockpit/themes/packed/rngs/critical.rng +1 -0
- data/cockpit/themes/packed/rngs/escape.rng +1 -0
- data/cockpit/themes/packed/rngs/group.rng +1 -0
- data/cockpit/themes/packed/rngs/loop.rng +1 -0
- data/cockpit/themes/packed/rngs/manipulate.rng +1 -0
- data/cockpit/themes/packed/rngs/otherwise.rng +1 -0
- data/cockpit/themes/packed/rngs/parallel.rng +1 -0
- data/cockpit/themes/packed/rngs/parallel_branch.rng +1 -0
- data/cockpit/themes/packed/rngs/scripts.rng +24 -0
- data/cockpit/themes/packed/rngs/stop.rng +1 -0
- data/cockpit/themes/packed/rngs/terminate.rng +1 -0
- data/cockpit/themes/packed/symbols/alternative.svg +5 -0
- data/cockpit/themes/packed/symbols/arrow.svg +3 -0
- data/cockpit/themes/packed/symbols/call.svg +6 -0
- data/cockpit/themes/packed/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/packed/symbols/choose.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/packed/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/packed/symbols/complex.svg +8 -0
- data/cockpit/themes/packed/symbols/critical.svg +4 -0
- data/cockpit/themes/packed/symbols/end.svg +3 -0
- data/cockpit/themes/packed/symbols/escape.svg +5 -0
- data/cockpit/themes/packed/symbols/event_end.svg +3 -0
- data/cockpit/themes/packed/symbols/loop.svg +5 -0
- data/cockpit/themes/packed/symbols/manipulate.svg +4 -0
- data/cockpit/themes/packed/symbols/otherwise.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/packed/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/packed/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/packed/symbols/scripts.svg +4 -0
- data/cockpit/themes/packed/symbols/start.svg +3 -0
- data/cockpit/themes/packed/symbols/stop.svg +5 -0
- data/cockpit/themes/packed/symbols/terminate.svg +4 -0
- data/cockpit/themes/packed/theme.js +101 -61
- data/cockpit/themes/preset/rngs/call.rng +0 -10
- data/cockpit/themes/preset/rngs/callmanipulate.rng +0 -13
- data/cockpit/themes/preset/symbols/alternative.svg +5 -0
- data/cockpit/themes/preset/symbols/arrow.svg +3 -0
- data/cockpit/themes/preset/symbols/call.svg +6 -0
- data/cockpit/themes/preset/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/preset/symbols/choose.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/preset/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/preset/symbols/complex.svg +8 -0
- data/cockpit/themes/preset/symbols/critical.svg +4 -0
- data/cockpit/themes/preset/symbols/end.svg +3 -0
- data/cockpit/themes/preset/symbols/escape.svg +5 -0
- data/cockpit/themes/preset/symbols/event_end.svg +3 -0
- data/cockpit/themes/preset/symbols/loop.svg +5 -0
- data/cockpit/themes/preset/symbols/manipulate.svg +4 -0
- data/cockpit/themes/preset/symbols/otherwise.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/preset/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/preset/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/preset/symbols/scripts.svg +4 -0
- data/cockpit/themes/preset/symbols/start.svg +3 -0
- data/cockpit/themes/preset/symbols/stop.svg +5 -0
- data/cockpit/themes/preset/symbols/terminate.svg +4 -0
- data/cockpit/themes/preset/theme.js +101 -61
- data/cpee.gemspec +3 -2
- data/lib/cpee/implementation.rb +28 -0
- data/lib/cpee/instantiation.rb +22 -5
- data/lib/engine.xml +4 -0
- data/lib/instantiation.xml +9 -0
- data/log/azure.rb +10 -0
- data/log/azure_logger.rb +136 -0
- data/server/handlerwrappers/default.rb +12 -12
- data/server/resources/transformation_dslx.xsl +29 -5
- data/server/server.pid +1 -0
- metadata +253 -3
data/lib/cpee/implementation.rb
CHANGED
@@ -77,6 +77,7 @@ module CPEE
|
|
77
77
|
interface 'main' do
|
78
78
|
run CPEE::Instances, controller if get '*'
|
79
79
|
run CPEE::NewInstance, controller, opts if post 'instance-new'
|
80
|
+
run CPEE::NewXMLInstance, controller, opts if post 'instance-new-xml'
|
80
81
|
on resource do |r|
|
81
82
|
run CPEE::Info, controller if get
|
82
83
|
run CPEE::DeleteInstance, controller, opts if delete
|
@@ -175,6 +176,33 @@ module CPEE
|
|
175
176
|
Riddl::Parameter::Simple.new("id", id)
|
176
177
|
end
|
177
178
|
end #}}}
|
179
|
+
class NewXMLInstance < Riddl::Implementation #{{{
|
180
|
+
def response
|
181
|
+
controller = @a[0]
|
182
|
+
opts = @a[1]
|
183
|
+
xml = @p[0].value.read
|
184
|
+
id = controller.keys.sort.last.to_i
|
185
|
+
|
186
|
+
|
187
|
+
while true
|
188
|
+
id += 1
|
189
|
+
unless Dir.exists? opts[:instances] + "/#{id}"
|
190
|
+
Dir.mkdir(opts[:instances] + "/#{id}") rescue nil
|
191
|
+
break
|
192
|
+
end
|
193
|
+
end
|
194
|
+
File.write(File.join(opts[:instances].to_s,id.to_s,'properties.xml'),xml)
|
195
|
+
|
196
|
+
controller[id] = Controller.new(id,opts)
|
197
|
+
controller[id].state_change!
|
198
|
+
|
199
|
+
@headers << Riddl::Header.new("CPEE-INSTANCE", controller[id].instance)
|
200
|
+
@headers << Riddl::Header.new("CPEE-INSTANCE-URL", controller[id].instance_url)
|
201
|
+
@headers << Riddl::Header.new("CPEE-INSTANCE-UUID", controller[id].uuid)
|
202
|
+
|
203
|
+
Riddl::Parameter::Simple.new("id", id)
|
204
|
+
end
|
205
|
+
end #}}}
|
178
206
|
|
179
207
|
class Info < Riddl::Implementation #{{{
|
180
208
|
def response
|
data/lib/cpee/instantiation.rb
CHANGED
@@ -27,7 +27,7 @@ module CPEE
|
|
27
27
|
SERVER = File.expand_path(__dir__ + '/../instantiation.xml')
|
28
28
|
|
29
29
|
module Helpers #{{{
|
30
|
-
def load_testset(tdoc,cpee,name=nil) #{{{
|
30
|
+
def load_testset(tdoc,cpee,name=nil,stream=nil) #{{{
|
31
31
|
ins = -1
|
32
32
|
uuid = nil
|
33
33
|
XML::Smart.string(tdoc) do |doc|
|
@@ -41,6 +41,23 @@ module CPEE
|
|
41
41
|
e.text = name
|
42
42
|
end
|
43
43
|
end
|
44
|
+
if stream && !stream.empty?
|
45
|
+
JSON.parse(stream).each do |e|
|
46
|
+
begin
|
47
|
+
stream = Typhoeus.get e['url']
|
48
|
+
if stream.success?
|
49
|
+
XML::Smart::string(stream.response_body) do |str|
|
50
|
+
doc.find("//desc:call[@id=\"#{e['id']}\"]/desc:parameters/desc:stream").each do |ele|
|
51
|
+
ele.replace_by str.root
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
rescue => e
|
56
|
+
puts e.message
|
57
|
+
puts e.backtrace
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
44
61
|
|
45
62
|
status, response, headers = res.post Riddl::Parameter::Simple.new("info",doc.find("string(/testset/attributes/prop:info)"))
|
46
63
|
|
@@ -160,8 +177,8 @@ module CPEE
|
|
160
177
|
else
|
161
178
|
(@status = 500) && return
|
162
179
|
end
|
163
|
-
|
164
|
-
if (instance, uuid = load_testset(tdoc,cpee)).first == -1
|
180
|
+
stream = @p.find{ |e| e.name == 'stream' }&.value
|
181
|
+
if (instance, uuid = load_testset(tdoc,cpee,nil,stream)).first == -1
|
165
182
|
@status = 500
|
166
183
|
else
|
167
184
|
handle_data cpee, instance, @p[4]&.value if @p[4]&.name == 'init'
|
@@ -198,8 +215,8 @@ module CPEE
|
|
198
215
|
else
|
199
216
|
(@status = 500) && return
|
200
217
|
end
|
201
|
-
|
202
|
-
if (instance, uuid = load_testset(tdoc,cpee,name)).first == -1
|
218
|
+
stream = @p.find{ |e| e.name == 'stream' }&.value
|
219
|
+
if (instance, uuid = load_testset(tdoc,cpee,name,stream)).first == -1
|
203
220
|
@status = 500
|
204
221
|
else
|
205
222
|
handle_data cpee, instance, @p[2]&.value if @p[2]&.name == 'init'
|
data/lib/engine.xml
CHANGED
@@ -30,6 +30,9 @@
|
|
30
30
|
<message name="instance-new">
|
31
31
|
<parameter name="info" type="string"/>
|
32
32
|
</message>
|
33
|
+
<message name="instance-new-xml">
|
34
|
+
<parameter name="xml" mimetype="application/xml"/>
|
35
|
+
</message>
|
33
36
|
|
34
37
|
<message name="instance-info">
|
35
38
|
<parameter name="info" mimetype="text/xml" handler="http://riddl.org/ns/handlers/relaxng">
|
@@ -70,6 +73,7 @@
|
|
70
73
|
<doc:documentation>a</doc:documentation>
|
71
74
|
</get>
|
72
75
|
<post in="instance-new" out="instance-id"/>
|
76
|
+
<post in="instance-new-xml" out="instance-id"/>
|
73
77
|
<resource>
|
74
78
|
<get in="*" out="instance-info"/>
|
75
79
|
<delete in="*"/>
|
data/lib/instantiation.xml
CHANGED
@@ -33,6 +33,9 @@
|
|
33
33
|
<optional>
|
34
34
|
<parameter name="endpoints" type="string"/>
|
35
35
|
</optional>
|
36
|
+
<optional>
|
37
|
+
<parameter name="stream" type="string"/>
|
38
|
+
</optional>
|
36
39
|
</message>
|
37
40
|
<message name="url">
|
38
41
|
<parameter name="behavior" type="string">
|
@@ -50,6 +53,9 @@
|
|
50
53
|
<optional>
|
51
54
|
<parameter name="endpoints" type="string"/>
|
52
55
|
</optional>
|
56
|
+
<optional>
|
57
|
+
<parameter name="stream" type="string"/>
|
58
|
+
</optional>
|
53
59
|
</message>
|
54
60
|
<message name="git">
|
55
61
|
<parameter name="behavior" type="string">
|
@@ -69,6 +75,9 @@
|
|
69
75
|
<optional>
|
70
76
|
<parameter name="endpoints" type="string"/>
|
71
77
|
</optional>
|
78
|
+
<optional>
|
79
|
+
<parameter name="stream" type="string"/>
|
80
|
+
</optional>
|
72
81
|
</message>
|
73
82
|
<message name="instance">
|
74
83
|
<parameter name="behavior" type="string">
|
data/log/azure.rb
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
require_relative 'azure_logger'
|
3
|
+
|
4
|
+
Riddl::Server.new(File.join(__dir__,'/log.xml'), :host => 'localhost', :port => 9398) do
|
5
|
+
accessible_description true
|
6
|
+
cross_site_xhr true
|
7
|
+
interface 'events' do
|
8
|
+
run Logging if post 'event'
|
9
|
+
end
|
10
|
+
end.loop!
|
data/log/azure_logger.rb
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
require 'pp'
|
2
|
+
require 'time'
|
3
|
+
require 'digest'
|
4
|
+
|
5
|
+
require 'json'
|
6
|
+
require 'riddl/server'
|
7
|
+
require 'typhoeus'
|
8
|
+
|
9
|
+
EP_ARTEFACTS = "https://api.powerbi.com/beta/7ba47c6d-039d-44e5-8834-ee103ea08c19/datasets/2fb85c30-2e66-42d3-ac16-18c1fe76f501/rows?key=qpnTPKsn4ekXasNFs9he4afwAb%2Bj8DndJ6mGAomCGkkAdKsIDifRDK9hsQd0mk3X94KCzqGrNCYN%2Fs7T7STQjg%3D%3D"
|
10
|
+
EP_INSTANCES = "https://api.powerbi.com/beta/7ba47c6d-039d-44e5-8834-ee103ea08c19/datasets/25c94fa0-f6f3-4547-9815-f772e1abc92f/rows?key=vWSGqHeQp6BQ8IPt4RBMLAbDPhVsyTW2NVcXfqQBCMx17cAZXfVejyAW72MeMGSbEk3fguhhqLoR3nYmopLIow%3D%3D"
|
11
|
+
EP_SPAWNED = "https://api.powerbi.com/beta/7ba47c6d-039d-44e5-8834-ee103ea08c19/datasets/79620e3f-a65c-4e34-b859-5aa43074f086/rows?key=dFS4XmqxI8iauMKucZenHQOi6mNcPhBslYo%2B8NwlzMYgiDYN%2FGDv6hX%2BwHMRIJwvQDyCxgd614KDihPw1Q%2BGSA%3D%3D"
|
12
|
+
EP_SENSORS = "https://api.powerbi.com/beta/7ba47c6d-039d-44e5-8834-ee103ea08c19/datasets/b62aada9-fe26-43e6-9e18-4bd3978e651d/rows?key=QWKNhGe3glUuWMOkCmJPytVQjaCn1Wyf8NboH3RXJTdA2ryiY%2Fk5%2Fz2lXDpgfguAa1xq%2BO%2Fw3lDhuXLYx4CyFA%3D%3D"
|
13
|
+
EP_VALUES = "https://api.powerbi.com/beta/7ba47c6d-039d-44e5-8834-ee103ea08c19/datasets/fc53f106-0299-458d-aa33-a04a00d68571/rows?key=mp9Om5wrPLG5hDA4efGzpfEGG5uHRUTtnUGlzNrfHJ5qaub2fG2FpwS5gq3g4IYRKMWG7mlCK5pgwm48XxtItw%3D%3D"
|
14
|
+
|
15
|
+
class Logging < Riddl::Implementation
|
16
|
+
|
17
|
+
def doc(topic,event_name,instancenr,notification)
|
18
|
+
uuid = notification['instance_uuid']
|
19
|
+
return unless uuid
|
20
|
+
|
21
|
+
uuid = notification.dig('instance_uuid')
|
22
|
+
|
23
|
+
if notification.dig('attributes','artefacts') #{{{
|
24
|
+
artefacts = JSON.parse(notification.dig('attributes','artefacts'))
|
25
|
+
|
26
|
+
artefacts.each do |a|
|
27
|
+
aid = Digest::MD5.hexdigest(a['group'] + '_' + a['name'])
|
28
|
+
iid = Digest::MD5.hexdigest(a['group'] + '_' + a['name'] + '_' + uuid)
|
29
|
+
Typhoeus.post(EP_ARTEFACTS,
|
30
|
+
headers: {'Content-Type'=> "application/json"},
|
31
|
+
body: JSON.generate([a])
|
32
|
+
)
|
33
|
+
Typhoeus.post(EP_INSTANCES,
|
34
|
+
headers: {'Content-Type'=> "application/json"},
|
35
|
+
body: [
|
36
|
+
{
|
37
|
+
'uuid': uuid,
|
38
|
+
'group': a['group'],
|
39
|
+
'name': a['name'],
|
40
|
+
'date': Time.now.iso8601,
|
41
|
+
'info': notification.dig('attributes','info')
|
42
|
+
}
|
43
|
+
]
|
44
|
+
)
|
45
|
+
end
|
46
|
+
end #}}}
|
47
|
+
|
48
|
+
case "#{topic}/#{event_name}"
|
49
|
+
when "dataelements/change", "endpoints/change"
|
50
|
+
sensors = JSON.parse(notification.dig('attributes','sensors') || '[]')
|
51
|
+
sensors.each do |s|
|
52
|
+
sid = Digest::MD5.hexdigest(uuid + '_' + s['name'])
|
53
|
+
Typhoeus.post(EP_SENSORS,
|
54
|
+
headers: {'Content-Type'=> "application/json"},
|
55
|
+
body: [
|
56
|
+
{
|
57
|
+
'uuid': uuid,
|
58
|
+
'sensor': s['name'],
|
59
|
+
'visualizer_url': s['visualizer_url'],
|
60
|
+
'visualizer_params': [s['visualizer_params']]
|
61
|
+
}
|
62
|
+
]
|
63
|
+
)
|
64
|
+
Typhoeus.post(EP_VALUES,
|
65
|
+
headers: {'Content-Type'=> "application/json"},
|
66
|
+
body: [
|
67
|
+
{
|
68
|
+
'uuid': uuid,
|
69
|
+
'sensor': s['name'],
|
70
|
+
'timestamp': notification.dig('timestamp'),
|
71
|
+
'value': s['value']
|
72
|
+
}
|
73
|
+
]
|
74
|
+
)
|
75
|
+
end
|
76
|
+
when "activity/receiving"
|
77
|
+
sensors = JSON.parse(notification.dig('sensors') || '[]')
|
78
|
+
tdoc = notification.dig('received')
|
79
|
+
sensors.each do |s|
|
80
|
+
sid = Digest::MD5.hexdigest(uuid + '_' + s['name'])
|
81
|
+
Typhoeus.post(EP_SENSORS,
|
82
|
+
headers: {'Content-Type'=> "application/json"},
|
83
|
+
body: [
|
84
|
+
{
|
85
|
+
'uuid': uuid,
|
86
|
+
'sensor': s['name'],
|
87
|
+
'task': notification.dig('activity'),
|
88
|
+
'visualizer_url': s['visualizer_url'],
|
89
|
+
'visualizer_params': (s['visualizer_params'].nil? || s['visualizer_params'].empty? ? [] : [s['visualizer_params']])
|
90
|
+
}
|
91
|
+
]
|
92
|
+
)
|
93
|
+
status, result = Riddl::Client.new(s['extractor_url']).post [
|
94
|
+
Riddl::Parameter::Simple.new('data',JSON.pretty_generate(tdoc)),
|
95
|
+
Riddl::Parameter::Simple.new('what',s['extractor_arg'])
|
96
|
+
]
|
97
|
+
if status >= 200 && status < 300
|
98
|
+
ret = JSON::parse(result[0]&.value.read) rescue []
|
99
|
+
ret.each do |v,t|
|
100
|
+
Typhoeus.post(EP_VALUES,
|
101
|
+
headers: {'Content-Type'=> "application/json"},
|
102
|
+
body: [
|
103
|
+
{
|
104
|
+
'uuid': uuid,
|
105
|
+
'sensor': s['name'],
|
106
|
+
'timestamp': t,
|
107
|
+
'value': v
|
108
|
+
}
|
109
|
+
]
|
110
|
+
)
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
end
|
115
|
+
end
|
116
|
+
nil
|
117
|
+
end
|
118
|
+
|
119
|
+
def response #{{{
|
120
|
+
### save events for later replay
|
121
|
+
# a = {
|
122
|
+
# :topic => @p[1].value,
|
123
|
+
# :event_name => @p[2].value,
|
124
|
+
# :instancenr => @h['CPEE_INSTANCE'].split('/').last,
|
125
|
+
# :notification => JSON.parse(@p[3].value)
|
126
|
+
# }.to_yaml
|
127
|
+
# File.open('events.yaml','a') do |f|
|
128
|
+
# f << a
|
129
|
+
# end
|
130
|
+
topic = @p[1].value
|
131
|
+
event_name = @p[2].value
|
132
|
+
instancenr = @h['CPEE_INSTANCE'].split('/').last
|
133
|
+
notification = JSON.parse(@p[3].value)
|
134
|
+
doc topic, event_name, instancenr, notification
|
135
|
+
end #}}}
|
136
|
+
end
|
@@ -72,14 +72,14 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
72
72
|
if s.respond_to?(:mimetype)
|
73
73
|
params << Riddl::Parameter::Complex.new(s.name.to_s,v.mimetype,v.value)
|
74
74
|
else
|
75
|
-
if s.name.to_s =~ /^
|
76
|
-
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^
|
77
|
-
elsif s.name.to_s =~ /^
|
78
|
-
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^
|
79
|
-
elsif s.name.to_s =~ /^
|
80
|
-
params << Riddl::Header.new(s.name.to_s.sub(/^
|
81
|
-
elsif s.name.to_s =~ /^
|
82
|
-
params << Riddl::Parameter::Complex.new(s.name.to_s.sub(/^
|
75
|
+
if s.name.to_s =~ /^_Q_/
|
76
|
+
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^_Q_/,''),CPEE::ValueHelper::generate(s.value),:query)
|
77
|
+
elsif s.name.to_s =~ /^_B_/
|
78
|
+
params << Riddl::Parameter::Simple.new(s.name.to_s.sub(/^_B_/,''),CPEE::ValueHelper::generate(s.value),:body)
|
79
|
+
elsif s.name.to_s =~ /^_H_/
|
80
|
+
params << Riddl::Header.new(s.name.to_s.sub(/^_H_/,''),CPEE::ValueHelper::generate(s.value))
|
81
|
+
elsif s.name.to_s =~ /^_C_/
|
82
|
+
params << Riddl::Parameter::Complex.new(s.name.to_s.sub(/^_C_/,''),*CPEE::ValueHelper::generate(s.value).split(';',2))
|
83
83
|
else
|
84
84
|
params << Riddl::Parameter::Simple.new(s.name.to_s,CPEE::ValueHelper::generate(s.value))
|
85
85
|
end
|
@@ -115,7 +115,7 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
115
115
|
callback([ Riddl::Parameter::Complex.new('error','application/json',StringIO.new(JSON::generate({ 'status' => status, 'error' => c }))) ], headers)
|
116
116
|
else
|
117
117
|
if headers['CPEE_INSTANTIATION']
|
118
|
-
@controller.notify("task/instantiation", :instance => @controller.instance, :label => @label, :instance_name => @controller.info, :instance_uuid => @controller.uuid, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']), :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"), :attributes => @controller.attributes_translated)
|
118
|
+
@controller.notify("task/instantiation", :activity_uuid => @handler_activity_uuid, :instance => @controller.instance, :label => @label, :instance_name => @controller.info, :instance_uuid => @controller.uuid, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']), :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"), :attributes => @controller.attributes_translated)
|
119
119
|
end
|
120
120
|
if headers['CPEE_CALLBACK'] && headers['CPEE_CALLBACK'] == 'true' && result.any?
|
121
121
|
headers['CPEE_UPDATE'] = true
|
@@ -180,15 +180,15 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
180
180
|
def inform_manipulate_change(status,changed_dataelements,changed_endpoints,dataelements,endpoints) # {{{
|
181
181
|
unless status.nil?
|
182
182
|
@controller.serialize_status!
|
183
|
-
@controller.notify("status/change", :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :id => status.id, :message => status.message, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
|
183
|
+
@controller.notify("status/change", :activity_uuid => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :id => status.id, :message => status.message, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
|
184
184
|
end
|
185
185
|
unless changed_dataelements.nil?
|
186
186
|
@controller.serialize_dataelements!
|
187
|
-
@controller.notify("dataelements/change", :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_dataelements, :values => dataelements, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
|
187
|
+
@controller.notify("dataelements/change", :activity_uuid => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_dataelements, :values => dataelements, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
|
188
188
|
end
|
189
189
|
unless changed_endpoints.nil?
|
190
190
|
@controller.serialize_endpoints!
|
191
|
-
@controller.notify("endpoints/change", :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_endpoints, :values => endpoints, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
|
191
|
+
@controller.notify("endpoints/change", :activity_uuid => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_endpoints, :values => endpoints, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
|
192
192
|
end
|
193
193
|
end # }}}
|
194
194
|
|
@@ -389,6 +389,11 @@
|
|
389
389
|
<xsl:apply-templates select="d:*" mode="plainmulti"/>
|
390
390
|
<xsl:text>]</xsl:text>
|
391
391
|
</xsl:when>
|
392
|
+
<xsl:when test="count(*) > 0 and name()='report'">
|
393
|
+
<xsl:text>[</xsl:text>
|
394
|
+
<xsl:apply-templates select="d:*" mode="plainmulti"/>
|
395
|
+
<xsl:text>]</xsl:text>
|
396
|
+
</xsl:when>
|
392
397
|
<xsl:when test="count(*) > 0 and not(name()='arguments')">
|
393
398
|
<xsl:text>{</xsl:text>
|
394
399
|
<xsl:apply-templates select="d:*" mode="parameter"/>
|
@@ -465,18 +470,37 @@
|
|
465
470
|
</xsl:choose>
|
466
471
|
<xsl:text> }</xsl:text>
|
467
472
|
</xsl:template>
|
473
|
+
<xsl:template name="format-name">
|
474
|
+
<xsl:param name="tname"/>
|
475
|
+
<xsl:choose>
|
476
|
+
<xsl:when test="contains($tname,'-')">
|
477
|
+
<xsl:text>'</xsl:text>
|
478
|
+
<xsl:value-of select="$tname"/>
|
479
|
+
<xsl:text>'</xsl:text>
|
480
|
+
</xsl:when>
|
481
|
+
<xsl:otherwise>
|
482
|
+
<xsl:value-of select="$tname"/>
|
483
|
+
</xsl:otherwise>
|
484
|
+
</xsl:choose>
|
485
|
+
</xsl:template>
|
468
486
|
<xsl:template match="d:*" mode="sub">
|
469
487
|
<xsl:if test="count(preceding-sibling::*) > 0">, </xsl:if>
|
470
488
|
<xsl:text>⭐(</xsl:text>
|
471
489
|
<xsl:text>:name => :</xsl:text>
|
472
490
|
<xsl:choose>
|
473
|
-
<xsl:when test="
|
474
|
-
<xsl:
|
475
|
-
|
476
|
-
|
491
|
+
<xsl:when test="substring(name(),1,1) = '_'">
|
492
|
+
<xsl:call-template name="format-name">
|
493
|
+
<xsl:with-param name="tname">
|
494
|
+
<xsl:value-of select="substring(name(),2)"/>
|
495
|
+
</xsl:with-param>
|
496
|
+
</xsl:call-template>
|
477
497
|
</xsl:when>
|
478
498
|
<xsl:otherwise>
|
479
|
-
<xsl:
|
499
|
+
<xsl:call-template name="format-name">
|
500
|
+
<xsl:with-param name="tname">
|
501
|
+
<xsl:value-of select="name()"/>
|
502
|
+
</xsl:with-param>
|
503
|
+
</xsl:call-template>
|
480
504
|
</xsl:otherwise>
|
481
505
|
</xsl:choose>
|
482
506
|
<xsl:text>, :value => ->{ </xsl:text>
|
data/server/server.pid
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
806180
|
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.5.
|
4
|
+
version: 1.5.21
|
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:
|
14
|
+
date: 2020-06-05 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: riddl
|
@@ -61,6 +61,26 @@ dependencies:
|
|
61
61
|
- - "~>"
|
62
62
|
- !ruby/object:Gem::Version
|
63
63
|
version: '2'
|
64
|
+
- !ruby/object:Gem::Dependency
|
65
|
+
name: xml-smart
|
66
|
+
requirement: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - ">="
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.4.3
|
71
|
+
- - "~>"
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0'
|
74
|
+
type: :runtime
|
75
|
+
prerelease: false
|
76
|
+
version_requirements: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 0.4.3
|
81
|
+
- - "~>"
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0'
|
64
84
|
- !ruby/object:Gem::Dependency
|
65
85
|
name: highline
|
66
86
|
requirement: !ruby/object:Gem::Requirement
|
@@ -124,6 +144,7 @@ files:
|
|
124
144
|
- cockpit/contrib/transformation1.xsl
|
125
145
|
- cockpit/contrib/transformation2.xsl
|
126
146
|
- cockpit/contrib/tree_example.svg
|
147
|
+
- cockpit/css/model.css
|
127
148
|
- cockpit/css/track.css
|
128
149
|
- cockpit/css/ui.css
|
129
150
|
- cockpit/css/wfadaptor.css
|
@@ -131,10 +152,12 @@ files:
|
|
131
152
|
- cockpit/index.html
|
132
153
|
- cockpit/js/details.js
|
133
154
|
- cockpit/js/instance.js
|
155
|
+
- cockpit/js/model.js
|
134
156
|
- cockpit/js/parameters.js
|
135
157
|
- cockpit/js/track.js
|
136
158
|
- cockpit/js/ui.js
|
137
159
|
- cockpit/js/wfadaptor.js
|
160
|
+
- cockpit/model.html
|
138
161
|
- cockpit/rngs/attributes.rng
|
139
162
|
- cockpit/rngs/dataelements.rng
|
140
163
|
- cockpit/rngs/endpoints.rng
|
@@ -152,8 +175,11 @@ files:
|
|
152
175
|
- cockpit/testsets/Lego Conveyor.xml
|
153
176
|
- cockpit/testsets/Lego Crane.xml
|
154
177
|
- cockpit/testsets/Lego Ejector.xml
|
178
|
+
- cockpit/testsets/Lego Full.xml
|
179
|
+
- cockpit/testsets/Lego Liddy.xml
|
155
180
|
- cockpit/testsets/Lego Plate.xml
|
156
181
|
- cockpit/testsets/Lego Transporter.xml
|
182
|
+
- cockpit/testsets/Lego_Part_1.xml
|
157
183
|
- cockpit/testsets/LgLinear.xml
|
158
184
|
- cockpit/testsets/Linear.xml
|
159
185
|
- cockpit/testsets/Log.xml
|
@@ -178,6 +204,45 @@ files:
|
|
178
204
|
- cockpit/testsets/convert_preset.rb
|
179
205
|
- cockpit/testsets/testsets.xml
|
180
206
|
- cockpit/testsets/transformations.xml
|
207
|
+
- cockpit/themes/compact/rngs/alternative.rng
|
208
|
+
- cockpit/themes/compact/rngs/call.rng
|
209
|
+
- cockpit/themes/compact/rngs/callmanipulate.rng
|
210
|
+
- cockpit/themes/compact/rngs/choose.rng
|
211
|
+
- cockpit/themes/compact/rngs/critical.rng
|
212
|
+
- cockpit/themes/compact/rngs/escape.rng
|
213
|
+
- cockpit/themes/compact/rngs/group.rng
|
214
|
+
- cockpit/themes/compact/rngs/loop.rng
|
215
|
+
- cockpit/themes/compact/rngs/manipulate.rng
|
216
|
+
- cockpit/themes/compact/rngs/otherwise.rng
|
217
|
+
- cockpit/themes/compact/rngs/parallel.rng
|
218
|
+
- cockpit/themes/compact/rngs/parallel_branch.rng
|
219
|
+
- cockpit/themes/compact/rngs/scripts.rng
|
220
|
+
- cockpit/themes/compact/rngs/stop.rng
|
221
|
+
- cockpit/themes/compact/rngs/terminate.rng
|
222
|
+
- cockpit/themes/compact/symbols/alternative.svg
|
223
|
+
- cockpit/themes/compact/symbols/arrow.svg
|
224
|
+
- cockpit/themes/compact/symbols/call.svg
|
225
|
+
- cockpit/themes/compact/symbols/callmanipulate.svg
|
226
|
+
- cockpit/themes/compact/symbols/choose.svg
|
227
|
+
- cockpit/themes/compact/symbols/choose_exclusive.svg
|
228
|
+
- cockpit/themes/compact/symbols/choose_inclusive.svg
|
229
|
+
- cockpit/themes/compact/symbols/complex.svg
|
230
|
+
- cockpit/themes/compact/symbols/critical.svg
|
231
|
+
- cockpit/themes/compact/symbols/end.svg
|
232
|
+
- cockpit/themes/compact/symbols/escape.svg
|
233
|
+
- cockpit/themes/compact/symbols/event_end.svg
|
234
|
+
- cockpit/themes/compact/symbols/loop.svg
|
235
|
+
- cockpit/themes/compact/symbols/manipulate.svg
|
236
|
+
- cockpit/themes/compact/symbols/otherwise.svg
|
237
|
+
- cockpit/themes/compact/symbols/parallel.svg
|
238
|
+
- cockpit/themes/compact/symbols/parallel_branch.svg
|
239
|
+
- cockpit/themes/compact/symbols/parallel_branch_compact.svg
|
240
|
+
- cockpit/themes/compact/symbols/parallel_branch_event.svg
|
241
|
+
- cockpit/themes/compact/symbols/parallel_branch_normal.svg
|
242
|
+
- cockpit/themes/compact/symbols/scripts.svg
|
243
|
+
- cockpit/themes/compact/symbols/start.svg
|
244
|
+
- cockpit/themes/compact/symbols/stop.svg
|
245
|
+
- cockpit/themes/compact/symbols/terminate.svg
|
181
246
|
- cockpit/themes/compact/theme.js
|
182
247
|
- cockpit/themes/default/rngs/alternative.rng
|
183
248
|
- cockpit/themes/default/rngs/call.rng
|
@@ -220,7 +285,165 @@ files:
|
|
220
285
|
- cockpit/themes/default/symbols/stop.svg
|
221
286
|
- cockpit/themes/default/symbols/terminate.svg
|
222
287
|
- cockpit/themes/default/theme.js
|
288
|
+
- cockpit/themes/extended/rngs/alternative.rng
|
289
|
+
- cockpit/themes/extended/rngs/call.rng
|
290
|
+
- cockpit/themes/extended/rngs/callmanipulate.rng
|
291
|
+
- cockpit/themes/extended/rngs/choose.rng
|
292
|
+
- cockpit/themes/extended/rngs/critical.rng
|
293
|
+
- cockpit/themes/extended/rngs/escape.rng
|
294
|
+
- cockpit/themes/extended/rngs/group.rng
|
295
|
+
- cockpit/themes/extended/rngs/loop.rng
|
296
|
+
- cockpit/themes/extended/rngs/manipulate.rng
|
297
|
+
- cockpit/themes/extended/rngs/otherwise.rng
|
298
|
+
- cockpit/themes/extended/rngs/parallel.rng
|
299
|
+
- cockpit/themes/extended/rngs/parallel_branch.rng
|
300
|
+
- cockpit/themes/extended/rngs/scripts.rng
|
301
|
+
- cockpit/themes/extended/rngs/stop.rng
|
302
|
+
- cockpit/themes/extended/rngs/terminate.rng
|
303
|
+
- cockpit/themes/extended/symbols/alternative.svg
|
304
|
+
- cockpit/themes/extended/symbols/arrow.svg
|
305
|
+
- cockpit/themes/extended/symbols/call.svg
|
306
|
+
- cockpit/themes/extended/symbols/callmanipulate.svg
|
307
|
+
- cockpit/themes/extended/symbols/choose.svg
|
308
|
+
- cockpit/themes/extended/symbols/choose_exclusive.svg
|
309
|
+
- cockpit/themes/extended/symbols/choose_inclusive.svg
|
310
|
+
- cockpit/themes/extended/symbols/complex.svg
|
311
|
+
- cockpit/themes/extended/symbols/critical.svg
|
312
|
+
- cockpit/themes/extended/symbols/end.svg
|
313
|
+
- cockpit/themes/extended/symbols/escape.svg
|
314
|
+
- cockpit/themes/extended/symbols/event_end.svg
|
315
|
+
- cockpit/themes/extended/symbols/loop.svg
|
316
|
+
- cockpit/themes/extended/symbols/manipulate.svg
|
317
|
+
- cockpit/themes/extended/symbols/otherwise.svg
|
318
|
+
- cockpit/themes/extended/symbols/parallel.svg
|
319
|
+
- cockpit/themes/extended/symbols/parallel_branch.svg
|
320
|
+
- cockpit/themes/extended/symbols/parallel_branch_compact.svg
|
321
|
+
- cockpit/themes/extended/symbols/parallel_branch_event.svg
|
322
|
+
- cockpit/themes/extended/symbols/parallel_branch_normal.svg
|
323
|
+
- cockpit/themes/extended/symbols/scripts.svg
|
324
|
+
- cockpit/themes/extended/symbols/start.svg
|
325
|
+
- cockpit/themes/extended/symbols/stop.svg
|
326
|
+
- cockpit/themes/extended/symbols/terminate.svg
|
223
327
|
- cockpit/themes/extended/theme.js
|
328
|
+
- cockpit/themes/labels/rngs/alternative.rng
|
329
|
+
- cockpit/themes/labels/rngs/call.rng
|
330
|
+
- cockpit/themes/labels/rngs/callmanipulate.rng
|
331
|
+
- cockpit/themes/labels/rngs/choose.rng
|
332
|
+
- cockpit/themes/labels/rngs/critical.rng
|
333
|
+
- cockpit/themes/labels/rngs/escape.rng
|
334
|
+
- cockpit/themes/labels/rngs/finalize.rng
|
335
|
+
- cockpit/themes/labels/rngs/group.rng
|
336
|
+
- cockpit/themes/labels/rngs/loop.rng
|
337
|
+
- cockpit/themes/labels/rngs/manipulate.rng
|
338
|
+
- cockpit/themes/labels/rngs/otherwise.rng
|
339
|
+
- cockpit/themes/labels/rngs/parallel.rng
|
340
|
+
- cockpit/themes/labels/rngs/parallel_branch.rng
|
341
|
+
- cockpit/themes/labels/rngs/stop.rng
|
342
|
+
- cockpit/themes/labels/rngs/terminate.rng
|
343
|
+
- cockpit/themes/labels/rngs/update.rng
|
344
|
+
- cockpit/themes/labels/symbols/alternative.svg
|
345
|
+
- cockpit/themes/labels/symbols/arrow.svg
|
346
|
+
- cockpit/themes/labels/symbols/call.svg
|
347
|
+
- cockpit/themes/labels/symbols/callmanipulate.svg
|
348
|
+
- cockpit/themes/labels/symbols/choose.svg
|
349
|
+
- cockpit/themes/labels/symbols/choose_exclusive.svg
|
350
|
+
- cockpit/themes/labels/symbols/choose_inclusive.svg
|
351
|
+
- cockpit/themes/labels/symbols/complex.svg
|
352
|
+
- cockpit/themes/labels/symbols/critical.svg
|
353
|
+
- cockpit/themes/labels/symbols/end.svg
|
354
|
+
- cockpit/themes/labels/symbols/escape.svg
|
355
|
+
- cockpit/themes/labels/symbols/event_end.svg
|
356
|
+
- cockpit/themes/labels/symbols/loop.svg
|
357
|
+
- cockpit/themes/labels/symbols/manipulate.svg
|
358
|
+
- cockpit/themes/labels/symbols/otherwise.svg
|
359
|
+
- cockpit/themes/labels/symbols/parallel.svg
|
360
|
+
- cockpit/themes/labels/symbols/parallel_branch.svg
|
361
|
+
- cockpit/themes/labels/symbols/parallel_branch_compact.svg
|
362
|
+
- cockpit/themes/labels/symbols/parallel_branch_event.svg
|
363
|
+
- cockpit/themes/labels/symbols/parallel_branch_normal.svg
|
364
|
+
- cockpit/themes/labels/symbols/scripts.svg
|
365
|
+
- cockpit/themes/labels/symbols/start.svg
|
366
|
+
- cockpit/themes/labels/symbols/stop.svg
|
367
|
+
- cockpit/themes/labels/symbols/terminate.svg
|
368
|
+
- cockpit/themes/model/rngs/alternative.rng
|
369
|
+
- cockpit/themes/model/rngs/call.rng
|
370
|
+
- cockpit/themes/model/rngs/callmanipulate.rng
|
371
|
+
- cockpit/themes/model/rngs/choose.rng
|
372
|
+
- cockpit/themes/model/rngs/critical.rng
|
373
|
+
- cockpit/themes/model/rngs/escape.rng
|
374
|
+
- cockpit/themes/model/rngs/group.rng
|
375
|
+
- cockpit/themes/model/rngs/loop.rng
|
376
|
+
- cockpit/themes/model/rngs/manipulate.rng
|
377
|
+
- cockpit/themes/model/rngs/otherwise.rng
|
378
|
+
- cockpit/themes/model/rngs/parallel.rng
|
379
|
+
- cockpit/themes/model/rngs/parallel_branch.rng
|
380
|
+
- cockpit/themes/model/rngs/scripts.rng
|
381
|
+
- cockpit/themes/model/rngs/stop.rng
|
382
|
+
- cockpit/themes/model/rngs/terminate.rng
|
383
|
+
- cockpit/themes/model/symbols/alternative.svg
|
384
|
+
- cockpit/themes/model/symbols/arrow.svg
|
385
|
+
- cockpit/themes/model/symbols/call.svg
|
386
|
+
- cockpit/themes/model/symbols/callmanipulate.svg
|
387
|
+
- cockpit/themes/model/symbols/choose.svg
|
388
|
+
- cockpit/themes/model/symbols/choose_exclusive.svg
|
389
|
+
- cockpit/themes/model/symbols/choose_inclusive.svg
|
390
|
+
- cockpit/themes/model/symbols/complex.svg
|
391
|
+
- cockpit/themes/model/symbols/critical.svg
|
392
|
+
- cockpit/themes/model/symbols/end.svg
|
393
|
+
- cockpit/themes/model/symbols/escape.svg
|
394
|
+
- cockpit/themes/model/symbols/event_end.svg
|
395
|
+
- cockpit/themes/model/symbols/loop.svg
|
396
|
+
- cockpit/themes/model/symbols/manipulate.svg
|
397
|
+
- cockpit/themes/model/symbols/otherwise.svg
|
398
|
+
- cockpit/themes/model/symbols/parallel.svg
|
399
|
+
- cockpit/themes/model/symbols/parallel_branch.svg
|
400
|
+
- cockpit/themes/model/symbols/parallel_branch_compact.svg
|
401
|
+
- cockpit/themes/model/symbols/parallel_branch_event.svg
|
402
|
+
- cockpit/themes/model/symbols/parallel_branch_normal.svg
|
403
|
+
- cockpit/themes/model/symbols/scripts.svg
|
404
|
+
- cockpit/themes/model/symbols/start.svg
|
405
|
+
- cockpit/themes/model/symbols/stop.svg
|
406
|
+
- cockpit/themes/model/symbols/terminate.svg
|
407
|
+
- cockpit/themes/model/theme.js
|
408
|
+
- cockpit/themes/packed/rngs/alternative.rng
|
409
|
+
- cockpit/themes/packed/rngs/call.rng
|
410
|
+
- cockpit/themes/packed/rngs/callmanipulate.rng
|
411
|
+
- cockpit/themes/packed/rngs/choose.rng
|
412
|
+
- cockpit/themes/packed/rngs/critical.rng
|
413
|
+
- cockpit/themes/packed/rngs/escape.rng
|
414
|
+
- cockpit/themes/packed/rngs/group.rng
|
415
|
+
- cockpit/themes/packed/rngs/loop.rng
|
416
|
+
- cockpit/themes/packed/rngs/manipulate.rng
|
417
|
+
- cockpit/themes/packed/rngs/otherwise.rng
|
418
|
+
- cockpit/themes/packed/rngs/parallel.rng
|
419
|
+
- cockpit/themes/packed/rngs/parallel_branch.rng
|
420
|
+
- cockpit/themes/packed/rngs/scripts.rng
|
421
|
+
- cockpit/themes/packed/rngs/stop.rng
|
422
|
+
- cockpit/themes/packed/rngs/terminate.rng
|
423
|
+
- cockpit/themes/packed/symbols/alternative.svg
|
424
|
+
- cockpit/themes/packed/symbols/arrow.svg
|
425
|
+
- cockpit/themes/packed/symbols/call.svg
|
426
|
+
- cockpit/themes/packed/symbols/callmanipulate.svg
|
427
|
+
- cockpit/themes/packed/symbols/choose.svg
|
428
|
+
- cockpit/themes/packed/symbols/choose_exclusive.svg
|
429
|
+
- cockpit/themes/packed/symbols/choose_inclusive.svg
|
430
|
+
- cockpit/themes/packed/symbols/complex.svg
|
431
|
+
- cockpit/themes/packed/symbols/critical.svg
|
432
|
+
- cockpit/themes/packed/symbols/end.svg
|
433
|
+
- cockpit/themes/packed/symbols/escape.svg
|
434
|
+
- cockpit/themes/packed/symbols/event_end.svg
|
435
|
+
- cockpit/themes/packed/symbols/loop.svg
|
436
|
+
- cockpit/themes/packed/symbols/manipulate.svg
|
437
|
+
- cockpit/themes/packed/symbols/otherwise.svg
|
438
|
+
- cockpit/themes/packed/symbols/parallel.svg
|
439
|
+
- cockpit/themes/packed/symbols/parallel_branch.svg
|
440
|
+
- cockpit/themes/packed/symbols/parallel_branch_compact.svg
|
441
|
+
- cockpit/themes/packed/symbols/parallel_branch_event.svg
|
442
|
+
- cockpit/themes/packed/symbols/parallel_branch_normal.svg
|
443
|
+
- cockpit/themes/packed/symbols/scripts.svg
|
444
|
+
- cockpit/themes/packed/symbols/start.svg
|
445
|
+
- cockpit/themes/packed/symbols/stop.svg
|
446
|
+
- cockpit/themes/packed/symbols/terminate.svg
|
224
447
|
- cockpit/themes/packed/theme.js
|
225
448
|
- cockpit/themes/preset/rngs/alternative.rng
|
226
449
|
- cockpit/themes/preset/rngs/call.rng
|
@@ -237,6 +460,30 @@ files:
|
|
237
460
|
- cockpit/themes/preset/rngs/scripts.rng
|
238
461
|
- cockpit/themes/preset/rngs/stop.rng
|
239
462
|
- cockpit/themes/preset/rngs/terminate.rng
|
463
|
+
- cockpit/themes/preset/symbols/alternative.svg
|
464
|
+
- cockpit/themes/preset/symbols/arrow.svg
|
465
|
+
- cockpit/themes/preset/symbols/call.svg
|
466
|
+
- cockpit/themes/preset/symbols/callmanipulate.svg
|
467
|
+
- cockpit/themes/preset/symbols/choose.svg
|
468
|
+
- cockpit/themes/preset/symbols/choose_exclusive.svg
|
469
|
+
- cockpit/themes/preset/symbols/choose_inclusive.svg
|
470
|
+
- cockpit/themes/preset/symbols/complex.svg
|
471
|
+
- cockpit/themes/preset/symbols/critical.svg
|
472
|
+
- cockpit/themes/preset/symbols/end.svg
|
473
|
+
- cockpit/themes/preset/symbols/escape.svg
|
474
|
+
- cockpit/themes/preset/symbols/event_end.svg
|
475
|
+
- cockpit/themes/preset/symbols/loop.svg
|
476
|
+
- cockpit/themes/preset/symbols/manipulate.svg
|
477
|
+
- cockpit/themes/preset/symbols/otherwise.svg
|
478
|
+
- cockpit/themes/preset/symbols/parallel.svg
|
479
|
+
- cockpit/themes/preset/symbols/parallel_branch.svg
|
480
|
+
- cockpit/themes/preset/symbols/parallel_branch_compact.svg
|
481
|
+
- cockpit/themes/preset/symbols/parallel_branch_event.svg
|
482
|
+
- cockpit/themes/preset/symbols/parallel_branch_normal.svg
|
483
|
+
- cockpit/themes/preset/symbols/scripts.svg
|
484
|
+
- cockpit/themes/preset/symbols/start.svg
|
485
|
+
- cockpit/themes/preset/symbols/stop.svg
|
486
|
+
- cockpit/themes/preset/symbols/terminate.svg
|
240
487
|
- cockpit/themes/preset/theme.js
|
241
488
|
- cockpit/track.html
|
242
489
|
- contrib/Screenshot at 2011-09-28 02:38:11.png
|
@@ -273,6 +520,8 @@ files:
|
|
273
520
|
- lib/engine/instance-info.rng
|
274
521
|
- lib/engine/instances.rng
|
275
522
|
- lib/instantiation.xml
|
523
|
+
- log/azure.rb
|
524
|
+
- log/azure_logger.rb
|
276
525
|
- log/chain.xml
|
277
526
|
- log/elasticsearch.rb
|
278
527
|
- log/elasticsearch_logging.rb
|
@@ -305,6 +554,7 @@ files:
|
|
305
554
|
- server/resources/topics.xml
|
306
555
|
- server/resources/transformation.xml
|
307
556
|
- server/resources/transformation_dslx.xsl
|
557
|
+
- server/server.pid
|
308
558
|
- server/server.rb
|
309
559
|
- test/callback.rb
|
310
560
|
- tools/cpee
|
@@ -333,7 +583,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
333
583
|
- !ruby/object:Gem::Version
|
334
584
|
version: '0'
|
335
585
|
requirements: []
|
336
|
-
rubygems_version: 3.
|
586
|
+
rubygems_version: 3.1.2
|
337
587
|
signing_key:
|
338
588
|
specification_version: 4
|
339
589
|
summary: Preliminary release of cloud process execution engine (cpee). If you just
|