cpee 2.1.34 → 2.1.35

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: 8457b0e49c82e8b44919cd7357de2ecc51067f9df04c81b17ec7b6fea57f9b3a
4
- data.tar.gz: e391eee4876c1c6e653f0db52072c2f8e93434a8513e6200503549bab804ffbf
3
+ metadata.gz: 9d51113f31c9a1cc17df846e5a4db4562bd4aa4776ddd9be5ad5c7fafc462d1b
4
+ data.tar.gz: '081e8ab3753052f9605117fbd0373bee54263b4505eeeab98e26aacff346390d'
5
5
  SHA512:
6
- metadata.gz: 2e19e6b803139d751fc5d58f4c7d2e79f8ca4efc6a5c5c7b79db23a20586a07f755fe0340f537f85af5eda52a0c1de1ee0a787b21cd57206fe5f3d6dd3ec62fb
7
- data.tar.gz: 48811e367128497ee1896adda017ebf524a14d08b5c3038222580f22ea37805a5c63bdf3d5dc9dbfd85c06d4e42d4132ecba3308cdd5a008b8497792fdd80690
6
+ metadata.gz: 3cd05fdbc4d1e1db9ab63101e4a454e5448797499bf46bff39481982f63146a636c17ecc18266e74111cc48ad40319e93a95b5d6c94e4527e97d762e54fe5252
7
+ data.tar.gz: 1c4ccd6e6ab1edb7dd204f3978f1b266e872aff554970294f2b139c459f1a4ecb626b4554161b09cf3f4f5442a7e94cbf4ddb853ea2d977c7003f7543f17f1e5
@@ -1,3 +1,4 @@
1
+ <?xml version="1.0"?>
1
2
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
3
  <executionhandler>ruby</executionhandler>
3
4
  <dataelements>
@@ -11,7 +12,9 @@
11
12
  </dataelements>
12
13
  <endpoints>
13
14
  <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
15
+ <timeout>https://cpee.org/services/timeout.php</timeout>
14
16
  <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
17
+ <subprocess>https://cpee.org/flow/start/url/</subprocess>
15
18
  <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
16
19
  </endpoints>
17
20
  <attributes>
@@ -19,14 +22,19 @@
19
22
  <info>Coopis 2010</info>
20
23
  <creator>Christine Ashcreek</creator>
21
24
  <author>Christine Ashcreek</author>
25
+ <modeltype>CPEE</modeltype>
22
26
  <design_stage>development</design_stage>
27
+ <guarded>none</guarded>
23
28
  <design_dir>Templates.dir</design_dir>
29
+ <guarded_id/>
30
+ <model_uuid>a1cbb855-90e3-4d8c-b44b-d3ba7bff9f4e</model_uuid>
31
+ <model_version/>
24
32
  </attributes>
25
33
  <description>
26
34
  <description xmlns="http://cpee.org/ns/description/1.0">
27
35
  <call id="a1" endpoint="bookAir">
28
36
  <parameters>
29
- <label>Book Airline</label>
37
+ <label>Book Airline 1</label>
30
38
  <method>:post</method>
31
39
  <arguments>
32
40
  <from>data.from</from>
@@ -35,12 +43,40 @@
35
43
  </arguments>
36
44
  </parameters>
37
45
  <code>
46
+ <prepare/>
38
47
  <finalize output="result">data.airline = result.value('id')
39
48
  data.costs += result.value('costs').to_f
40
49
  status.update 1, 'Hotel'</finalize>
50
+ <update output="result"/>
51
+ <rescue output="result"/>
41
52
  </code>
42
- <annotations/>
43
- <documentation/>
53
+ <annotations>
54
+ <_timing>
55
+ <_timing_weight/>
56
+ <_timing_avg/>
57
+ <explanations/>
58
+ </_timing>
59
+ <_context_data_analysis>
60
+ <probes/>
61
+ <ips/>
62
+ </_context_data_analysis>
63
+ <report>
64
+ <url/>
65
+ </report>
66
+ <_notes>
67
+ <_notes_general/>
68
+ </_notes>
69
+ </annotations>
70
+ <documentation>
71
+ <input/>
72
+ <output/>
73
+ <implementation>
74
+ <description/>
75
+ </implementation>
76
+ <code>
77
+ <description/>
78
+ </code>
79
+ </documentation>
44
80
  </call>
45
81
  <parallel wait="-1" cancel="last">
46
82
  <loop mode="pre_test" condition="data.persons &gt; 0">
@@ -86,4 +122,4 @@ data.costs += result.value('costs').to_f</finalize>
86
122
  <dataelements type="none"/>
87
123
  <endpoints type="none"/>
88
124
  </transformation>
89
- </testset>
125
+ </testset>
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.34"
3
+ s.version = "2.1.35"
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.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -319,7 +319,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
319
319
  @handler_returnValue = simplify_result(result)
320
320
  @handler_returnOptions = options
321
321
  if options['CPEE_EVENT']
322
- @controller.notify("task/#{headers['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
322
+ @controller.notify("task/#{options['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
323
323
  end
324
324
  if options['CPEE_UPDATE']
325
325
  if options['CPEE_UPDATE_STATUS']
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: 2.1.34
4
+ version: 2.1.35
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: tools
12
12
  cert_chain: []
13
- date: 2022-05-03 00:00:00.000000000 Z
13
+ date: 2022-05-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl