cpee-logging-xes-yaml 1.3.23 → 1.3.24
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/cpee-logging-xes-yaml.gemspec +1 -1
- data/lib/cpee-logging-xes-yaml/tools.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 42085fa1e29bb009a3c99ef29a8a6e8d509b1f15558dc60cf6c74c9e6ec293da
|
|
4
|
+
data.tar.gz: 89130cd5b9825e6272fbf70cf90710db693842a6208522e803698b88f7083105
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d1087dd2be29bdef6fe61830aa1c8d5f253065cb1e82de2ed406f1b851db73017b828864bb875d4390d280c11dc76f75b8596e5c891a501c00128cb7312d72bc
|
|
7
|
+
data.tar.gz: e7f1df21643dff8e4831639887f29c6065b49614eb9530eeb9862fe2fffbcfa9292ea6e812010e9b3099881c97222883c667eee1441d9b46ed9e9fc38e2c9b58
|
|
@@ -301,9 +301,9 @@ module CPEE
|
|
|
301
301
|
pid = p.find('string(d:id)')
|
|
302
302
|
source = p.find('string(d:source)')
|
|
303
303
|
val = CPEE::Logging::extract_val(rs,p.find('string(d:extractor_code)'),pid,nil) rescue nil
|
|
304
|
-
event['stream:datastream'] ||= []
|
|
305
304
|
# Do not add datastream entries if the dataprobes return nil
|
|
306
305
|
if val != nil
|
|
306
|
+
event['stream:datastream'] ||= []
|
|
307
307
|
CPEE::Logging::merge_val(event['stream:datastream'],val,pid,source)
|
|
308
308
|
end
|
|
309
309
|
end
|
|
@@ -342,7 +342,7 @@ module CPEE
|
|
|
342
342
|
end
|
|
343
343
|
end
|
|
344
344
|
end
|
|
345
|
-
if te['stream:datastream'] && te['stream:datastream'].any?
|
|
345
|
+
if te['stream:datastream'] && te['stream:datastream'].any?
|
|
346
346
|
te['cpee:lifecycle:transition'] = 'stream/data'
|
|
347
347
|
File.open(File.join(log_dir,instance+'.xes.yaml'),'a') do |f|
|
|
348
348
|
f << {'event' => te}.to_yaml
|