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 +4 -4
- data/cpee-logging-xes-yaml.gemspec +1 -1
- data/lib/cpee-logging-xes-yaml/tools.rb +18 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 66e954412a65a942f0faa4b9754c08d9aec1e108f476eebf2ef5773b8d9567a6
|
4
|
+
data.tar.gz: b5fc6981232ed21e63ae3071b6f3870c777f4311a4115f7ac922a06356998ead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fcf6dbacd63e3cff26f47b94e57a3d68b236895b6780132d1c295cc4e50e50200d392c2e9eaf9e27d16445ef25befb1313733b038ec80bd401aee5a19df8037
|
7
|
+
data.tar.gz: cce675881b4e1953cf9e36b2e410c3fcd3115dbf6ac4806a2926c4fe05f2303515efdc5de7f45520ce29909014a3eb4e7cb72e84c8f0c6a03d319659b92921b5
|
@@ -243,7 +243,9 @@ module CPEE
|
|
243
243
|
so['content']['activity'] = k
|
244
244
|
so['topic'] = 'annotation'
|
245
245
|
so['name'] = 'change'
|
246
|
-
|
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.
|
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-
|
12
|
+
date: 2022-12-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: riddl
|