cpee 1.4.11 → 1.4.14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/js/instance.js +35 -0
  3. data/cockpit/themes/compact/theme.js +26 -2
  4. data/cockpit/themes/default/theme.js +26 -2
  5. data/cpee.gemspec +1 -1
  6. data/lib/cpee/implementation.rb +1 -1
  7. data/lib/cpee/instantiation.rb +24 -7
  8. data/lib/engine.xml +1 -1
  9. data/log/logs/3b0cfe66-5a3d-43de-b5a1-d7b9386be65a.xes.yaml +413 -0
  10. data/log/template.xes_yaml +1 -1
  11. data/log/xes_yaml.rb +1 -1
  12. data/server/handlerwrappers/default.rb +5 -1
  13. data/server/instances/679/properties.xml +1 -1
  14. data/server/instances/681/properties.xml +156 -0
  15. data/server/instances/682/properties.xml +156 -0
  16. data/server/instances/683/properties.xml +156 -0
  17. data/server/instances/684/properties.xml +156 -0
  18. data/server/instances/685/properties.xml +156 -0
  19. data/server/instances/686/properties.xml +156 -0
  20. data/server/instances/687/properties.xml +156 -0
  21. data/server/instances/688/properties.xml +118 -0
  22. data/server/instances/689/properties.xml +156 -0
  23. data/server/instances/690/properties.xml +156 -0
  24. data/server/instances/691/properties.xml +129 -0
  25. data/server/instances/692/properties.xml +31 -0
  26. data/server/instances/693/properties.xml +118 -0
  27. data/server/instances/694/properties.xml +118 -0
  28. data/server/instances/695/properties.xml +156 -0
  29. data/server/instances/696/properties.xml +156 -0
  30. data/server/instances/697/notifications/a183b4ae18e11f2b646201d40b7bfede/consumer-secret +1 -0
  31. data/server/instances/697/notifications/a183b4ae18e11f2b646201d40b7bfede/producer-secret +1 -0
  32. data/server/instances/{679/notifications/1b946ec6292b2dacfbad69f6f5e2b085 → 697/notifications/a183b4ae18e11f2b646201d40b7bfede}/subscription.xml +0 -0
  33. data/server/instances/697/notifications/ruleengine/consumer-secret +1 -0
  34. data/server/instances/697/notifications/ruleengine/producer-secret +1 -0
  35. data/server/instances/697/notifications/ruleengine/subscription.xml +16 -0
  36. data/server/instances/697/properties.xml +156 -0
  37. data/server/resources/notifications/ruleengine/consumer-secret +1 -0
  38. data/server/resources/notifications/ruleengine/producer-secret +1 -0
  39. data/server/resources/notifications/ruleengine/subscription.xml +16 -0
  40. data/server/server.pid +1 -1
  41. metadata +29 -5
  42. data/server/instances/679/notifications/1b946ec6292b2dacfbad69f6f5e2b085/consumer-secret +0 -1
  43. data/server/instances/679/notifications/1b946ec6292b2dacfbad69f6f5e2b085/producer-secret +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78ed01a7dac4df1f58e1eb2bd77533f4dd3e879bc19f5e03b3ba6238b28c6ffa
4
- data.tar.gz: 43a2d6b29c263f66a958195107476fa6550fee13b02bd3031ff8ecedce984710
3
+ metadata.gz: b035169baa04869f21924b955faaa36c092398680822978bd8104b724ad5c843
4
+ data.tar.gz: b6b2d0da1ee104f59032f01ec4a4631fbe895ebaf0a47bd92558dc9df2e21604
5
5
  SHA512:
6
- metadata.gz: b41c3d08a32c2990a5553dbb1f8acadf56dd48b5258be876f01f2bbd43d52add1d7d5568e273594761724e88034c0a6124f9ca7a5914cfe34b626834e502a39a
7
- data.tar.gz: 57534ab3ff2262ef9eb1fcda812104f9a7884deea25d1c4a38bba60f2aa183c2bb4ce3b899491b212109957d8e67482f11223c1c0a3a94e47201b67ad4451c57
6
+ metadata.gz: 318c0bec273609a0ecbb00c344b39e2b6eaa668a932726135a494d1a2ad37e5c3016d3a0d76bd73297e2c5c7f504d08418bfa8ea28ec91c92e1838c082664ddb
7
+ data.tar.gz: 117def939696e083df7d5b357117065dddccb2e668000250305cfce51f804b6f83adaefcffe58600447aaf259ab92d45871c756f76b4cc56a97c02972660a3dc
@@ -1074,10 +1074,12 @@ function format_visual_vote_clear() {//{{{
1074
1074
  function format_visual_forms() { //{{{
1075
1075
  if (save['state'] != "ready" && save['state'] != "stopped") {
1076
1076
  $(paths).each(function(k,e){
1077
+ if ($(e).attr('contenteditable')) { $(e).attr('contenteditable','false'); }
1077
1078
  $(e).attr('disabled','disable');
1078
1079
  });
1079
1080
  } else {
1080
1081
  $(paths).each(function(k,e){
1082
+ if ($(e).attr('contenteditable')) { $(e).attr('contenteditable','true'); }
1081
1083
  $(e).removeAttr('disabled');
1082
1084
  });
1083
1085
  }
@@ -1150,3 +1152,36 @@ function append_to_log(what,type,message) {//{{{
1150
1152
  }//}}}
1151
1153
 
1152
1154
  function report_failure(){}
1155
+
1156
+ function ui_pos(e,bl) {
1157
+ var url = $('body').attr('current-instance');
1158
+ var coll = [];
1159
+ $('g.element.primitive > g.activities.active, g.element.primitive > g.activities.passive').each(function(a,b){
1160
+ coll.push($(b).parent().attr('element-id'));
1161
+ });
1162
+ coll = bl(coll);
1163
+ var vals = "";
1164
+ $(coll).each(function(k,ele){
1165
+ vals += "<" + ele + ">at</" + ele + ">";
1166
+ });
1167
+ vals = "<content>" + vals + "</content>";
1168
+ $.ajax({
1169
+ type: "PUT",
1170
+ url: url + "/properties/values/positions/",
1171
+ data: ({content: vals}),
1172
+ success: monitor_instance_pos,
1173
+ error: report_failure
1174
+ });
1175
+ }
1176
+ function del_ui_pos(e) {
1177
+ ui_pos(e,function(coll){
1178
+ coll.splice(coll.indexOf($(e).attr('id')),1);
1179
+ return coll;
1180
+ });
1181
+ }
1182
+ function add_ui_pos(e) {
1183
+ ui_pos(e,function(coll){
1184
+ coll.push($(e).attr('id'));
1185
+ return coll;
1186
+ });
1187
+ }
@@ -161,6 +161,30 @@ function WFAdaptorManifestation(adaptor) {
161
161
  'params': ['> finalize, > update', xml_node]
162
162
  });
163
163
  }
164
+ if (xml_node.get(0).tagName == "call") {
165
+ var icon = self.elements.call.illustrator.svg.clone();
166
+ icon.children('g.replace').addClass('active');
167
+ var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
168
+ if (vtarget.length > 0) {
169
+ if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
170
+ menu['Position'] = [{
171
+ 'label': 'No Execution from here',
172
+ 'function_call': del_ui_pos,
173
+ 'menu_icon': icon,
174
+ 'type': undefined,
175
+ 'params': xml_node
176
+ }];
177
+ } else {
178
+ menu['Position'] = [{
179
+ 'label': 'Execute from here',
180
+ 'function_call': add_ui_pos,
181
+ 'menu_icon': icon,
182
+ 'type': undefined,
183
+ 'params': xml_node
184
+ }];
185
+ }
186
+ }
187
+ }
164
188
  new CustomMenu(e).contextmenu(menu);
165
189
  }
166
190
  return false;
@@ -212,7 +236,7 @@ function WFAdaptorManifestation(adaptor) {
212
236
  'type': 'primitive',
213
237
  'illustrator': {//{{{
214
238
  'endnodes': 'this',
215
- 'label': function(node){ return $('label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,''); },
239
+ 'label': function(node){ return $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,''); },
216
240
  'info': function(node){ return { 'element-endpoint': $(node).attr('endpoint') }; },
217
241
  'resolve_symbol': function(node) {
218
242
  if($('finalize,update', node).length > 0) {
@@ -987,7 +1011,7 @@ function WFAdaptorManifestation(adaptor) {
987
1011
  'parent': 'call',
988
1012
  'description': self.adaptor.theme_dir + 'rngs/callmanipulate.rng',
989
1013
  'illustrator': {//{{{
990
- 'label': function(node){return $('label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'')},
1014
+ 'label': function(node){return $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'')},
991
1015
  'info': function(node){ return { 'element-endpoint': $(node).attr('endpoint') }; },
992
1016
  'svg': self.adaptor.theme_dir + 'symbols/callmanipulate.svg'
993
1017
  },//}}}
@@ -161,6 +161,30 @@ function WFAdaptorManifestation(adaptor) {
161
161
  'params': ['> finalize, > update', xml_node]
162
162
  });
163
163
  }
164
+ if (xml_node.get(0).tagName == "call") {
165
+ var icon = self.elements.call.illustrator.svg.clone();
166
+ icon.children('g.replace').addClass('active');
167
+ var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
168
+ if (vtarget.length > 0) {
169
+ if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
170
+ menu['Position'] = [{
171
+ 'label': 'No Execution from here',
172
+ 'function_call': del_ui_pos,
173
+ 'menu_icon': icon,
174
+ 'type': undefined,
175
+ 'params': xml_node
176
+ }];
177
+ } else {
178
+ menu['Position'] = [{
179
+ 'label': 'Execute from here',
180
+ 'function_call': add_ui_pos,
181
+ 'menu_icon': icon,
182
+ 'type': undefined,
183
+ 'params': xml_node
184
+ }];
185
+ }
186
+ }
187
+ }
164
188
  new CustomMenu(e).contextmenu(menu);
165
189
  }
166
190
  return false;
@@ -212,7 +236,7 @@ function WFAdaptorManifestation(adaptor) {
212
236
  'type': 'primitive',
213
237
  'illustrator': {//{{{
214
238
  'endnodes': 'this',
215
- 'label': function(node){ return $('label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,''); },
239
+ 'label': function(node){ return $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,''); },
216
240
  'info': function(node){ return { 'element-endpoint': $(node).attr('endpoint') }; },
217
241
  'resolve_symbol': function(node) {
218
242
  if($('finalize,update', node).length > 0) {
@@ -987,7 +1011,7 @@ function WFAdaptorManifestation(adaptor) {
987
1011
  'parent': 'call',
988
1012
  'description': self.adaptor.theme_dir + 'rngs/callmanipulate.rng',
989
1013
  'illustrator': {//{{{
990
- 'label': function(node){return $('label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'')},
1014
+ 'label': function(node){return $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'')},
991
1015
  'info': function(node){ return { 'element-endpoint': $(node).attr('endpoint') }; },
992
1016
  'svg': self.adaptor.theme_dir + 'symbols/callmanipulate.svg'
993
1017
  },//}}}
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.4.11"
3
+ s.version = "1.4.14"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
@@ -44,7 +44,7 @@ module CPEE
44
44
  opts[:transformation_dslx] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','transformation_dslx.xsl'))
45
45
  opts[:transformation_service] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','transformation.xml'))
46
46
  opts[:empty_dslx] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','empty_dslx.xml'))
47
- opts[:notifications_init] ||= nil
47
+ opts[:notifications_init] ||= File.expand_path(File.join(__dir__,'..','..','server','resources','notifications'))
48
48
  opts[:infinite_loop_stop] ||= 10000
49
49
 
50
50
  opts[:runtime_cmds] << [
@@ -17,6 +17,7 @@ require 'securerandom'
17
17
  require 'xml/smart'
18
18
  require 'base64'
19
19
  require 'uri'
20
+ require 'redis'
20
21
  require 'json'
21
22
 
22
23
  module CPEE
@@ -92,7 +93,10 @@ module CPEE
92
93
  Riddl::Parameter::Simple.new("topic","state"),
93
94
  Riddl::Parameter::Simple.new("events","change")
94
95
  ]
95
- cblist[cbk] = cb, condition, instance
96
+ cblist.rpush(cbk, cb)
97
+ cblist.rpush(cbk, condition)
98
+ cblist.rpush(cbk, instance)
99
+ cblist.rpush(cbk, File.join(cpee,instance))
96
100
  end
97
101
  end
98
102
  end #}}}
@@ -192,16 +196,29 @@ module CPEE
192
196
 
193
197
  class ContinueTask < Riddl::Implementation #{{{
194
198
  def response
195
- cblist = @a[0]
199
+ cpee = @a[0]
200
+ cblist = @a[1]
196
201
  topic = @p[1].value
197
202
  event_name = @p[2].value
198
203
  notification = JSON.parse(@p[3].value)
199
204
 
200
- cb, condition, instance = cblist[@r.last]
205
+ key = @r.last
206
+ cb, condition, instance, instance_url = cblist.lrange(key,0,-1)
201
207
  if notification['state'] == condition
208
+ cblist.del(key)
209
+ srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
210
+ res = srv.resource("/#{instance}/properties/values/dataelements")
211
+ status, response = res.get
212
+ send = { 'CPEE-INSTANCE' => instance_url }
213
+ if status >= 200 && status < 300
214
+ doc = XML::Smart.string(response[0].value.read)
215
+ doc.register_namespace 'p', 'http://riddl.org/ns/common-patterns/properties/1.0'
216
+ doc.find('/p:value/*').each do |e|
217
+ send[e.qname.name] = e.text
218
+ end
219
+ end
202
220
  Riddl::Client.new(cb).put [
203
- # TODO extract all dataelements from instance
204
- Riddl::Parameter::Simple.new('instance',instance)
221
+ Riddl::Parameter::Complex.new('dataelements','application/json',JSON::generate(send))
205
222
  ]
206
223
  end
207
224
  end
@@ -210,7 +227,7 @@ module CPEE
210
227
  def self::implementation(opts)
211
228
  opts[:cpee] ||= 'http://localhost:9298/'
212
229
  opts[:self] ||= "http#{opts[:secure] ? 's' : ''}://#{opts[:host]}:#{opts[:port]}/"
213
- opts[:cblist] ||= {}
230
+ opts[:cblist] = Redis.new(path: "/tmp/redis.sock", db: 14)
214
231
  Proc.new do
215
232
  on resource do
216
233
  run InstantiateXML, opts[:cpee], true if post 'xmlsimple'
@@ -225,7 +242,7 @@ module CPEE
225
242
  end
226
243
  on resource 'callback' do
227
244
  on resource do
228
- run ContinueTask, opts[:cblist] if post
245
+ run ContinueTask, opts[:cpee], opts[:cblist] if post
229
246
  end
230
247
  end
231
248
  end
@@ -24,7 +24,7 @@
24
24
  </message>
25
25
 
26
26
  <message name="instance-id">
27
- <parameter name="id" type="integer"/>
27
+ <parameter name="id" type="string"/>
28
28
  </message>
29
29
 
30
30
  <message name="instance-new">
@@ -0,0 +1,413 @@
1
+ ---
2
+ log:
3
+ extension:
4
+ time: http://www.xes-standard.org/time.xesext
5
+ concept: http://www.xes-standard.org/concept.xesext
6
+ organisational: http://www.xes-standard.org/org.xesext
7
+ lifecycle: http://www.xes-standard.org/lifecycle.xesext
8
+ cpee: http://cpee.org/cpee.xesext
9
+ global:
10
+ trace:
11
+ concept:name: __INVALID__
12
+ cpee:name: __INVALID__
13
+ event:
14
+ concept:name: __INVALID__
15
+ concept:endpoint: ''
16
+ id:id: ''
17
+ lifecycle:transition: complete
18
+ cpee:lifecycle:transition: activity/call
19
+ time:timestamp: ''
20
+ classifier:
21
+ Data: data_send data_received data_changed data_values
22
+ Data_Received: data_receiver
23
+ Data_Send: data_send
24
+ Data_Changed: data_changer
25
+ Data_Values: data_values
26
+ trace:
27
+ concept:name: '697'
28
+ cpee:name: Enter info here
29
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
30
+ ---
31
+ event:
32
+ trace:id: '697'
33
+ concept:name: external
34
+ id:id: external
35
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
36
+ lifecycle:transition: unknown
37
+ cpee:lifecycle:transition: dataelements/change
38
+ list:
39
+ data_changer:
40
+ - persons
41
+ - card
42
+ - airline
43
+ - hotels
44
+ - from
45
+ - to
46
+ - costs
47
+ data_values:
48
+ persons: 3
49
+ card: Visa_12345
50
+ airline:
51
+ hotels: []
52
+ from: Vienna
53
+ to: Prague
54
+ costs: 0
55
+ time:timestamp: '2018-08-16T15:49:54.397+02:00'
56
+ ---
57
+ event:
58
+ trace:id: '697'
59
+ concept:name: external
60
+ id:id: external
61
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
62
+ lifecycle:transition: unknown
63
+ cpee:lifecycle:transition: endpoints/change
64
+ list:
65
+ data_changer:
66
+ - bookAir
67
+ - bookHotel
68
+ - approve
69
+ data_values:
70
+ bookAir: http://gruppe.wst.univie.ac.at/~mangler/services/airline.php
71
+ bookHotel: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
72
+ approve: http://gruppe.wst.univie.ac.at/~mangler/services/approval.php
73
+ time:timestamp: '2018-08-16T15:49:54.412+02:00'
74
+ ---
75
+ event:
76
+ trace:id: '697'
77
+ concept:name: Book Airline
78
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/airline.php
79
+ id:id: a1
80
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
81
+ lifecycle:transition: start
82
+ cpee:lifecycle:transition: activity/calling
83
+ list:
84
+ data_send:
85
+ - name: from
86
+ value: data.from
87
+ - name: to
88
+ value: data.to
89
+ - name: persons
90
+ value: data.persons
91
+ time:timestamp: '2018-08-16T15:49:56.843+02:00'
92
+ ---
93
+ event:
94
+ trace:id: '697'
95
+ concept:name: Book Airline
96
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/airline.php
97
+ id:id: a1
98
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
99
+ lifecycle:transition: unknown
100
+ cpee:lifecycle:transition: activity/receiving
101
+ list:
102
+ data_receiver:
103
+ - name: id
104
+ data: Aeroflot
105
+ - name: costs
106
+ data: '189'
107
+ time:timestamp: '2018-08-16T15:50:00.873+02:00'
108
+ ---
109
+ event:
110
+ trace:id: '697'
111
+ concept:name: Book Airline
112
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/airline.php
113
+ id:id: a1
114
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
115
+ lifecycle:transition: unknown
116
+ cpee:lifecycle:transition: dataelements/change
117
+ list:
118
+ data_changer:
119
+ - airline
120
+ - costs
121
+ data_values:
122
+ persons: 3
123
+ card: Visa_12345
124
+ airline: Aeroflot
125
+ hotels: []
126
+ from: Vienna
127
+ to: Prague
128
+ costs: 189.0
129
+ time:timestamp: '2018-08-16T15:50:00.907+02:00'
130
+ ---
131
+ event:
132
+ trace:id: '697'
133
+ concept:name: Book Airline
134
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/airline.php
135
+ id:id: a1
136
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
137
+ lifecycle:transition: complete
138
+ cpee:lifecycle:transition: activity/done
139
+ time:timestamp: '2018-08-16T15:50:00.917+02:00'
140
+ ---
141
+ event:
142
+ trace:id: '697'
143
+ id:id: a3
144
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
145
+ lifecycle:transition: complete
146
+ cpee:lifecycle:transition: activity/done
147
+ time:timestamp: '2018-08-16T15:50:00.958+02:00'
148
+ ---
149
+ event:
150
+ trace:id: '697'
151
+ id:id: a3
152
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
153
+ lifecycle:transition: unknown
154
+ cpee:lifecycle:transition: dataelements/change
155
+ list:
156
+ data_changer:
157
+ - persons
158
+ data_values:
159
+ persons: 2
160
+ card: Visa_12345
161
+ airline: Aeroflot
162
+ hotels: []
163
+ from: Vienna
164
+ to: Prague
165
+ costs: 189.0
166
+ time:timestamp: '2018-08-16T15:50:00.962+02:00'
167
+ ---
168
+ event:
169
+ trace:id: '697'
170
+ id:id: a3
171
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
172
+ lifecycle:transition: complete
173
+ cpee:lifecycle:transition: activity/done
174
+ time:timestamp: '2018-08-16T15:50:00.992+02:00'
175
+ ---
176
+ event:
177
+ trace:id: '697'
178
+ id:id: a3
179
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
180
+ lifecycle:transition: unknown
181
+ cpee:lifecycle:transition: dataelements/change
182
+ list:
183
+ data_changer:
184
+ - persons
185
+ data_values:
186
+ persons: 1
187
+ card: Visa_12345
188
+ airline: Aeroflot
189
+ hotels: []
190
+ from: Vienna
191
+ to: Prague
192
+ costs: 189.0
193
+ time:timestamp: '2018-08-16T15:50:01.009+02:00'
194
+ ---
195
+ event:
196
+ trace:id: '697'
197
+ id:id: a3
198
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
199
+ lifecycle:transition: unknown
200
+ cpee:lifecycle:transition: dataelements/change
201
+ list:
202
+ data_changer:
203
+ - persons
204
+ data_values:
205
+ persons: 0
206
+ card: Visa_12345
207
+ airline: Aeroflot
208
+ hotels: []
209
+ from: Vienna
210
+ to: Prague
211
+ costs: 189.0
212
+ time:timestamp: '2018-08-16T15:50:01.032+02:00'
213
+ ---
214
+ event:
215
+ trace:id: '697'
216
+ id:id: a3
217
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
218
+ lifecycle:transition: complete
219
+ cpee:lifecycle:transition: activity/done
220
+ time:timestamp: '2018-08-16T15:50:01.042+02:00'
221
+ ---
222
+ event:
223
+ trace:id: '697'
224
+ concept:name: Book Hotel
225
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
226
+ id:id: a2
227
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
228
+ lifecycle:transition: start
229
+ cpee:lifecycle:transition: activity/calling
230
+ list:
231
+ data_send:
232
+ - name: to
233
+ value: data.to
234
+ time:timestamp: '2018-08-16T15:50:01.088+02:00'
235
+ ---
236
+ event:
237
+ trace:id: '697'
238
+ concept:name: Book Hotel
239
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
240
+ id:id: a2
241
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
242
+ lifecycle:transition: start
243
+ cpee:lifecycle:transition: activity/calling
244
+ list:
245
+ data_send:
246
+ - name: to
247
+ value: data.to
248
+ time:timestamp: '2018-08-16T15:50:01.102+02:00'
249
+ ---
250
+ event:
251
+ trace:id: '697'
252
+ concept:name: Book Hotel
253
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
254
+ id:id: a2
255
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
256
+ lifecycle:transition: start
257
+ cpee:lifecycle:transition: activity/calling
258
+ list:
259
+ data_send:
260
+ - name: to
261
+ value: data.to
262
+ time:timestamp: '2018-08-16T15:50:01.118+02:00'
263
+ ---
264
+ event:
265
+ trace:id: '697'
266
+ concept:name: Book Hotel
267
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
268
+ id:id: a2
269
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
270
+ lifecycle:transition: unknown
271
+ cpee:lifecycle:transition: activity/receiving
272
+ list:
273
+ data_receiver:
274
+ - name: id
275
+ data: Mariott
276
+ - name: costs
277
+ data: '150'
278
+ time:timestamp: '2018-08-16T15:50:03.102+02:00'
279
+ ---
280
+ event:
281
+ trace:id: '697'
282
+ concept:name: Book Hotel
283
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
284
+ id:id: a2
285
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
286
+ lifecycle:transition: unknown
287
+ cpee:lifecycle:transition: activity/receiving
288
+ list:
289
+ data_receiver:
290
+ - name: id
291
+ data: Ibis
292
+ - name: costs
293
+ data: '154'
294
+ time:timestamp: '2018-08-16T15:50:03.112+02:00'
295
+ ---
296
+ event:
297
+ trace:id: '697'
298
+ concept:name: Book Hotel
299
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
300
+ id:id: a2
301
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
302
+ lifecycle:transition: complete
303
+ cpee:lifecycle:transition: activity/done
304
+ time:timestamp: '2018-08-16T15:50:03.139+02:00'
305
+ ---
306
+ event:
307
+ trace:id: '697'
308
+ concept:name: Book Hotel
309
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
310
+ id:id: a2
311
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
312
+ lifecycle:transition: unknown
313
+ cpee:lifecycle:transition: dataelements/change
314
+ list:
315
+ data_changer:
316
+ - costs
317
+ - hotels
318
+ data_values:
319
+ persons: 0
320
+ card: Visa_12345
321
+ airline: Aeroflot
322
+ hotels:
323
+ - Ibis
324
+ - Mariott
325
+ from: Vienna
326
+ to: Prague
327
+ costs: 493.0
328
+ time:timestamp: '2018-08-16T15:50:03.160+02:00'
329
+ ---
330
+ event:
331
+ trace:id: '697'
332
+ concept:name: Book Hotel
333
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
334
+ id:id: a2
335
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
336
+ lifecycle:transition: unknown
337
+ cpee:lifecycle:transition: dataelements/change
338
+ list:
339
+ data_changer:
340
+ - costs
341
+ - hotels
342
+ data_values:
343
+ persons: 0
344
+ card: Visa_12345
345
+ airline: Aeroflot
346
+ hotels:
347
+ - Ibis
348
+ - Mariott
349
+ from: Vienna
350
+ to: Prague
351
+ costs: 493.0
352
+ time:timestamp: '2018-08-16T15:50:03.184+02:00'
353
+ ---
354
+ event:
355
+ trace:id: '697'
356
+ concept:name: Book Hotel
357
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
358
+ id:id: a2
359
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
360
+ lifecycle:transition: unknown
361
+ cpee:lifecycle:transition: activity/receiving
362
+ list:
363
+ data_receiver:
364
+ - name: id
365
+ data: Rathaus
366
+ - name: costs
367
+ data: '121'
368
+ time:timestamp: '2018-08-16T15:50:03.200+02:00'
369
+ ---
370
+ event:
371
+ trace:id: '697'
372
+ concept:name: Book Hotel
373
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
374
+ id:id: a2
375
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
376
+ lifecycle:transition: complete
377
+ cpee:lifecycle:transition: activity/done
378
+ time:timestamp: '2018-08-16T15:50:03.210+02:00'
379
+ ---
380
+ event:
381
+ trace:id: '697'
382
+ concept:name: Book Hotel
383
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
384
+ id:id: a2
385
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
386
+ lifecycle:transition: unknown
387
+ cpee:lifecycle:transition: dataelements/change
388
+ list:
389
+ data_changer:
390
+ - costs
391
+ - hotels
392
+ data_values:
393
+ persons: 0
394
+ card: Visa_12345
395
+ airline: Aeroflot
396
+ hotels:
397
+ - Ibis
398
+ - Mariott
399
+ - Rathaus
400
+ from: Vienna
401
+ to: Prague
402
+ costs: 614.0
403
+ time:timestamp: '2018-08-16T15:50:03.233+02:00'
404
+ ---
405
+ event:
406
+ trace:id: '697'
407
+ concept:name: Book Hotel
408
+ concept:endpoint: http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php
409
+ id:id: a2
410
+ cpee:uuid: 3b0cfe66-5a3d-43de-b5a1-d7b9386be65a
411
+ lifecycle:transition: complete
412
+ cpee:lifecycle:transition: activity/done
413
+ time:timestamp: '2018-08-16T15:50:03.248+02:00'