cpee 1.5.18 → 1.5.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea9d542b499449a4e33a64bc10cb3b453a96252058d4c03e8a6c28f0d6a892a2
4
- data.tar.gz: 9f1cf3455862c75416b0eaa76853aada2e186cc927319c5dd7612dbbb04ed5d4
3
+ metadata.gz: 222045518cb8e94915945672b78bbb51e5f082d57fda08167f8bfdbb8cda9b6c
4
+ data.tar.gz: 6fa57b087b0b267dcae1ad91eacfbc0e30baf904a03929903da820b2b2d749a4
5
5
  SHA512:
6
- metadata.gz: d880d8ba6c5cc6fb881bc5ed394735d3b677d076c173f2fa0fa122ce07da58e882302c61afe537c6fcc5be592b431566f063207f6336c4af44b3eb005bd7a158
7
- data.tar.gz: 86e8e9ffb42669547b94fb94fcdd16a72a425a8158caac4e65828fbbbe7a542b764c1908c6d0c0a855e5011d119e821feaf14d10ee85f92b34aec6def9253e5b
6
+ metadata.gz: da53812dd836e7932c9e34c4340a5dda0fe854f5cc26c0cf66d08e749215f8bb1e56221ceb6ad93cdf3b8e797fbbf28faaed11a0526cf619a201b4cec52e3a34
7
+ data.tar.gz: f7c70ebacb30422df749a9c59d82e2fa9ef45f16ce4d4b13379284c1294d7242e3966af29d1a801f868bc388f695f66ad527a7d647921ed07f59b5b9a395aa0a
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.5.18"
3
+ s.version = "1.5.19"
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"
@@ -115,7 +115,7 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
115
115
  callback([ Riddl::Parameter::Complex.new('error','application/json',StringIO.new(JSON::generate({ 'status' => status, 'error' => c }))) ], headers)
116
116
  else
117
117
  if headers['CPEE_INSTANTIATION']
118
- @controller.notify("task/instantiation", :activity_uuid => @handler_activity_uuid , :instance => @controller.instance, :label => @label, :instance_name => @controller.info, :instance_uuid => @controller.uuid, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']), :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"), :attributes => @controller.attributes_translated)
118
+ @controller.notify("task/instantiation", :activity_uuid => @handler_activity_uuid, :instance => @controller.instance, :label => @label, :instance_name => @controller.info, :instance_uuid => @controller.uuid, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']), :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"), :attributes => @controller.attributes_translated)
119
119
  end
120
120
  if headers['CPEE_CALLBACK'] && headers['CPEE_CALLBACK'] == 'true' && result.any?
121
121
  headers['CPEE_UPDATE'] = true
@@ -180,15 +180,15 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
180
180
  def inform_manipulate_change(status,changed_dataelements,changed_endpoints,dataelements,endpoints) # {{{
181
181
  unless status.nil?
182
182
  @controller.serialize_status!
183
- @controller.notify("status/change", :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :id => status.id, :message => status.message, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
183
+ @controller.notify("status/change", :activity_uuid => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :id => status.id, :message => status.message, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
184
184
  end
185
185
  unless changed_dataelements.nil?
186
186
  @controller.serialize_dataelements!
187
- @controller.notify("dataelements/change", :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_dataelements, :values => dataelements, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
187
+ @controller.notify("dataelements/change", :activity_uuid => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_dataelements, :values => dataelements, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
188
188
  end
189
189
  unless changed_endpoints.nil?
190
190
  @controller.serialize_endpoints!
191
- @controller.notify("endpoints/change", :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_endpoints, :values => endpoints, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
191
+ @controller.notify("endpoints/change", :activity_uuid => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :instance_name => @controller.info, :instance => @controller.instance, :instance_uuid => @controller.uuid, :activity => @handler_position, :changed => changed_endpoints, :values => endpoints, :attributes => @controller.attributes_translated, :timestamp => Time.now.strftime("%Y-%m-%dT%H:%M:%S.%L%:z"))
192
192
  end
193
193
  end # }}}
194
194
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.18
4
+ version: 1.5.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler