cpee-logging-xes-yaml 1.0.4 → 1.0.5
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/logging.rb +1 -1
- data/tools/cpee-logging-xes-yaml +3 -7
- 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: 897f6d719b02a41bbec8577cbcc0cfb0c21d45e4c82a569903a9d2260ec95ce6
|
4
|
+
data.tar.gz: 52a03e45692b299d2548a132c5549787f04dc935268b467fb9c47dd777a26ac5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4dbab93362de5702354db2b62ccbe6fe5a2bf4d8305f87b9ccef877d542a62e62dc5804cae5b9d059c7930fdc1e2063dcce2d132fcf8a2e2b6418c7146e6db5c
|
7
|
+
data.tar.gz: f1412da8132c5f8b7f67643ab8226a09262cef99f34b78f9de9a8941a5a3b947340acb85967b5f645c812853dd3c1740f5a4c34ea53040c34b1f3433d230d714
|
@@ -45,7 +45,7 @@ module CPEE
|
|
45
45
|
event = {}
|
46
46
|
event["concept:instance"] = instancenr
|
47
47
|
event["concept:name"] = content["label"] if content["label"]
|
48
|
-
if
|
48
|
+
if content["endpoint"]
|
49
49
|
event["concept:endpoint"] = content["endpoint"]
|
50
50
|
end
|
51
51
|
event["id:id"] = (activity.nil? || activity == "") ? 'external' : activity
|
data/tools/cpee-logging-xes-yaml
CHANGED
@@ -35,20 +35,16 @@ def follow(fname,io,copy,deep=0)
|
|
35
35
|
if name = e.dig('log','trace','cpee:name')
|
36
36
|
puts " " * deep + name + " (#{File.basename(fname,'.xes.yaml')}) - #{e.dig('log','trace','concept:name')}"
|
37
37
|
end
|
38
|
-
if e.dig('event','
|
38
|
+
if e.dig('event','cpee:lifecycle:transition') == 'task/instantiation'
|
39
39
|
base = e.dig('event','data','data_receiver')
|
40
40
|
val = base.dig('CPEE-INSTANCE') rescue nil
|
41
41
|
if val.nil?
|
42
42
|
val = File.basename(base)
|
43
43
|
end
|
44
44
|
uuid = base.dig('CPEE-INSTANCE-UUID') rescue nil
|
45
|
-
|
46
|
-
|
47
|
-
if res.success?
|
48
|
-
uuid = XML::Smart.string(res.body).find('string(/*)')
|
49
|
-
end
|
45
|
+
if uuid
|
46
|
+
react File.dirname(fname) + "/#{uuid}.xes.yaml",copy,deep + 2
|
50
47
|
end
|
51
|
-
react File.dirname(fname) + "/#{uuid}.xes.yaml",copy,deep + 2
|
52
48
|
end
|
53
49
|
end
|
54
50
|
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.0.
|
4
|
+
version: 1.0.5
|
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: 2021-11-
|
12
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: riddl
|