cpee-logging-xes-yaml 1.2.3 → 1.2.4

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: b62d072c484be5215020cbe15dfcbc44840d299bda2015d9e8c849e6663d40ad
4
- data.tar.gz: 312a095c17bfc8bf5946838d713102f6669e30d5d21d4f6d9a6580569eac7e2a
3
+ metadata.gz: 66e954412a65a942f0faa4b9754c08d9aec1e108f476eebf2ef5773b8d9567a6
4
+ data.tar.gz: b5fc6981232ed21e63ae3071b6f3870c777f4311a4115f7ac922a06356998ead
5
5
  SHA512:
6
- metadata.gz: 419ad9a604bcf6a752298cc3f9cd38f18c4e23ec79f1846b773583891639eef79b06eb005969c3345757416cd4a322febbe83bab38a75c81fd1d932b9416bf57
7
- data.tar.gz: 929e0c57bfc0ecd888b21e3e76352ff3002d9eef98751a18f64b95fb197fc516f580cd3d4ba1fd4c9b1a12afd822ac706d3347241135407763e4fb81788552e1
6
+ metadata.gz: 3fcf6dbacd63e3cff26f47b94e57a3d68b236895b6780132d1c295cc4e50e50200d392c2e9eaf9e27d16445ef25befb1313733b038ec80bd401aee5a19df8037
7
+ data.tar.gz: cce675881b4e1953cf9e36b2e410c3fcd3115dbf6ac4806a2926c4fe05f2303515efdc5de7f45520ce29909014a3eb4e7cb72e84c8f0c6a03d319659b92921b5
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-logging-xes-yaml"
3
- s.version = "1.2.3"
3
+ s.version = "1.2.4"
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)"
@@ -243,7 +243,9 @@ module CPEE
243
243
  so['content']['activity'] = k
244
244
  so['topic'] = 'annotation'
245
245
  so['name'] = 'change'
246
- self::notify(opts,'annotation','change',so.to_json)
246
+ EM.defer do
247
+ self::notify(opts,'annotation','change',so.to_json)
248
+ end
247
249
  end
248
250
  end
249
251
 
@@ -302,8 +304,14 @@ module CPEE
302
304
  end
303
305
  end
304
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)
312
+ end
305
313
  end
306
- if receiving && !receiving.empty?
314
+ if topic == 'activity' && event_name == 'receiving' && receiving && !receiving.empty?
307
315
  fname = File.join(log_dir,instance + '_' + event["id:id"] + '.probe')
308
316
  dname = File.join(log_dir,instance + '.data.json')
309
317
 
@@ -329,8 +337,15 @@ module CPEE
329
337
  f << {'event' => te}.to_yaml
330
338
  end
331
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)
345
+ end
332
346
  end
333
-
347
+ end
348
+ if receiving && !receiving.empty?
334
349
  event["raw"] = receiving
335
350
  end
336
351
  event["time:timestamp"]= event['cpee:timestamp'] || Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z")
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.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: tools
11
11
  cert_chain: []
12
- date: 2022-12-08 00:00:00.000000000 Z
12
+ date: 2022-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riddl