cpee-logging-xes-yaml 1.2.4 → 1.2.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 66e954412a65a942f0faa4b9754c08d9aec1e108f476eebf2ef5773b8d9567a6
4
- data.tar.gz: b5fc6981232ed21e63ae3071b6f3870c777f4311a4115f7ac922a06356998ead
3
+ metadata.gz: '059a431d13f4fc63c57d4bb4c334571620926a4cebfef287a9d22b8f5bc3b7a7'
4
+ data.tar.gz: 8fc40239b96b1c7c04fce06b24b54d4e2572221b9673911fa4ace43919f24f93
5
5
  SHA512:
6
- metadata.gz: 3fcf6dbacd63e3cff26f47b94e57a3d68b236895b6780132d1c295cc4e50e50200d392c2e9eaf9e27d16445ef25befb1313733b038ec80bd401aee5a19df8037
7
- data.tar.gz: cce675881b4e1953cf9e36b2e410c3fcd3115dbf6ac4806a2926c4fe05f2303515efdc5de7f45520ce29909014a3eb4e7cb72e84c8f0c6a03d319659b92921b5
6
+ metadata.gz: 59a4637e59bcde997430d53b7b4315681df1306f1f14c13c7a888220eac87e17e8f93d4ebfab6abe4f555dcf65bb5506ac07e5eca9abc9761031a988617fffaf
7
+ data.tar.gz: a4781b2df9499d96fba6f3373510158885d2035da5d52c801f29efa2392b0d99e0437a9fddcc959bac80927d859c9724011a831a989911b492fb2639f2e0a9e0
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-logging-xes-yaml"
3
- s.version = "1.2.4"
3
+ s.version = "1.2.6"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Logging for the cloud process execution engine (cpee.org)"
@@ -303,12 +303,12 @@ module CPEE
303
303
  CPEE::Logging::val_merge(event['stream:datastream'],val,pid,p.find('string(d:source)'))
304
304
  end
305
305
  end
306
- end
307
- notification['datastream'] = event['stream:datastream']
308
- EM.defer do
309
- notification['topic'] = 'stream'
310
- notification['name'] = 'extraction'
311
- self::notify(opts,'stream','extraction',notification.to_json)
306
+ notification['datastream'] = event['stream:datastream']
307
+ EM.defer do
308
+ notification['topic'] = 'stream'
309
+ notification['name'] = 'extraction'
310
+ self::notify(opts,'stream','extraction',notification.to_json)
311
+ end
312
312
  end
313
313
  end
314
314
  if topic == 'activity' && event_name == 'receiving' && receiving && !receiving.empty?
@@ -336,12 +336,12 @@ module CPEE
336
336
  File.open(File.join(log_dir,instance+'.xes.yaml'),'a') do |f|
337
337
  f << {'event' => te}.to_yaml
338
338
  end
339
- end
340
- notification['datastream'] = te['stream:datastream']
341
- EM.defer do
342
- notification['topic'] = 'stream'
343
- notification['name'] = 'extraction'
344
- self::notify(opts,'stream','extraction',notification.to_json)
339
+ notification['datastream'] = te['stream:datastream']
340
+ EM.defer do
341
+ notification['topic'] = 'stream'
342
+ notification['name'] = 'extraction'
343
+ self::notify(opts,'stream','extraction',notification.to_json)
344
+ end
345
345
  end
346
346
  end
347
347
  end
@@ -45,12 +45,12 @@ end
45
45
 
46
46
  def follow(fname,io,copy,deep=0)
47
47
  if copy
48
- File.write(File.basename(fname,'.xes.yaml') + '.xes.shift.yaml',io.read)
48
+ File.write(File.basename(fname,'.xes.yaml') + '.xes.yaml',io.read)
49
49
  io.rewind
50
50
  end
51
51
  YAML.load_stream(io) do |e|
52
52
  if name = e.dig('log','trace','cpee:name')
53
- puts " " * deep + name + " (#{File.basename(fname,'.xes.shift.yaml')}) - #{e.dig('log','trace','concept:name')}"
53
+ puts " " * deep + name + " (#{File.basename(fname,'.xes.yaml')}) - #{e.dig('log','trace','concept:name')}"
54
54
  end
55
55
  if e.dig('event','cpee:lifecycle:transition') == 'task/instantiation'
56
56
  base = e.dig('event','raw')
@@ -60,7 +60,7 @@ def follow(fname,io,copy,deep=0)
60
60
  end
61
61
  uuid = base.dig('CPEE-INSTANCE-UUID') rescue nil
62
62
  if uuid
63
- react File.dirname(fname) + "/#{uuid}.xes.shift.yaml",copy,deep + 2
63
+ react File.dirname(fname) + "/#{uuid}.xes.yaml",copy,deep + 2
64
64
  end
65
65
  end
66
66
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-logging-xes-yaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler