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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2a0520ca3fb6ff780ca51eebf84811e8c9fd4df9a111fed58b09ebe63ac747f
4
- data.tar.gz: 4aa2bb2e70e7944cb41155983dc39651b599ee263c7e2c8d2176b1fa40586741
3
+ metadata.gz: 897f6d719b02a41bbec8577cbcc0cfb0c21d45e4c82a569903a9d2260ec95ce6
4
+ data.tar.gz: 52a03e45692b299d2548a132c5549787f04dc935268b467fb9c47dd777a26ac5
5
5
  SHA512:
6
- metadata.gz: 7e403723fe26acf2b0588db4ecb18e7577cbb57572b2ca38224e0c8bdec7b753ef366142b1b9ae599921c15ab53e8d73cb36d822af2b112054249538cd3781b7
7
- data.tar.gz: e681120976fbe6308dafbc824eb0fc5787219f071666fe10291d27f98318bed20c584aab4a408f4a23811f4411f08192f4a955ca0ca4f20ccc500628abb1afba
6
+ metadata.gz: 4dbab93362de5702354db2b62ccbe6fe5a2bf4d8305f87b9ccef877d542a62e62dc5804cae5b9d059c7930fdc1e2063dcce2d132fcf8a2e2b6418c7146e6db5c
7
+ data.tar.gz: f1412da8132c5f8b7f67643ab8226a09262cef99f34b78f9de9a8941a5a3b947340acb85967b5f645c812853dd3c1740f5a4c34ea53040c34b1f3433d230d714
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-logging-xes-yaml"
3
- s.version = "1.0.4"
3
+ s.version = "1.0.5"
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)"
@@ -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 notification["endpoint"]
48
+ if content["endpoint"]
49
49
  event["concept:endpoint"] = content["endpoint"]
50
50
  end
51
51
  event["id:id"] = (activity.nil? || activity == "") ? 'external' : activity
@@ -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','concept:endpoint') == 'https://centurio.work/flow/start/url/' && e.dig('event','cpee:lifecycle:transition') == 'task/instantiation'
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
- unless uuid
46
- res = Typhoeus.get(File.join('https://centurio.work/flow/engine/',val,'/properties/values/attributes/uuid/'))
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
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-03 00:00:00.000000000 Z
12
+ date: 2021-11-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riddl