cpee 1.3.104 → 1.3.105

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.
Files changed (72) hide show
  1. checksums.yaml +7 -0
  2. data/cockpit/README +4 -0
  3. data/cockpit/index.html +2 -5
  4. data/cockpit/js/instance.js +36 -23
  5. data/cockpit/js/ui.js +2 -2
  6. data/cockpit/testsets/Linear.xml +9 -11
  7. data/cockpit/testsets/index.xml +0 -5
  8. data/cpee.gemspec +1 -1
  9. data/lib/cpee/controller.rb +7 -0
  10. data/server/handlerwrappers/default.rb +13 -15
  11. data/server/handlerwrappers/rescue.rb +13 -15
  12. data/server/handlerwrappers/soap.rb +13 -15
  13. data/server/instances/1/notifications/0010e92c718702beba99b049a92e584d/consumer-secret +1 -0
  14. data/server/instances/1/notifications/0010e92c718702beba99b049a92e584d/producer-secret +1 -0
  15. data/server/instances/1/notifications/0010e92c718702beba99b049a92e584d/subscription.xml +27 -0
  16. data/server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/consumer-secret +1 -0
  17. data/server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/producer-secret +1 -0
  18. data/server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/subscription.xml +27 -0
  19. data/server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/consumer-secret +1 -0
  20. data/server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/producer-secret +1 -0
  21. data/server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/subscription.xml +27 -0
  22. data/server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/consumer-secret +1 -0
  23. data/server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/producer-secret +1 -0
  24. data/server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/subscription.xml +27 -0
  25. data/server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/consumer-secret +1 -0
  26. data/server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/producer-secret +1 -0
  27. data/server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/subscription.xml +27 -0
  28. data/server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/consumer-secret +1 -0
  29. data/server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/producer-secret +1 -0
  30. data/server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/subscription.xml +27 -0
  31. data/server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/consumer-secret +1 -0
  32. data/server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/producer-secret +1 -0
  33. data/server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/subscription.xml +27 -0
  34. data/server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/consumer-secret +1 -0
  35. data/server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/producer-secret +1 -0
  36. data/server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/subscription.xml +27 -0
  37. data/server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/consumer-secret +1 -0
  38. data/server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/producer-secret +1 -0
  39. data/server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/subscription.xml +27 -0
  40. data/server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/consumer-secret +1 -0
  41. data/server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/producer-secret +1 -0
  42. data/server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/subscription.xml +27 -0
  43. data/server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/consumer-secret +1 -0
  44. data/server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/producer-secret +1 -0
  45. data/server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/subscription.xml +27 -0
  46. data/server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/consumer-secret +1 -0
  47. data/server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/producer-secret +1 -0
  48. data/server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/subscription.xml +27 -0
  49. data/server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/consumer-secret +1 -0
  50. data/server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/producer-secret +1 -0
  51. data/server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/subscription.xml +27 -0
  52. data/server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/consumer-secret +1 -0
  53. data/server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/producer-secret +1 -0
  54. data/server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/subscription.xml +27 -0
  55. data/server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/consumer-secret +1 -0
  56. data/server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/producer-secret +1 -0
  57. data/server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/subscription.xml +27 -0
  58. data/server/instances/12/properties.xml +522 -0
  59. data/server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/consumer-secret +1 -0
  60. data/server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/producer-secret +1 -0
  61. data/server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/subscription.xml +27 -0
  62. data/{cockpit/testsets/ADVENTURE Dynamic Order.xml → server/instances/13/properties.xml} +136 -117
  63. data/server/resources/properties.schema.active +3 -0
  64. data/server/resources/properties.schema.finished +3 -0
  65. data/server/resources/properties.schema.inactive +3 -0
  66. data/server/resources/topics.xml +3 -0
  67. data/server/server.rb +14 -15
  68. metadata +64 -26
  69. data/cockpit/testsets/ADVENTURE Main Loop.xml +0 -327
  70. data/cockpit/testsets/ADVENTURE Order.xml +0 -424
  71. data/cockpit/testsets/ADVENTURE Performance Test 1.xml +0 -311
  72. data/cockpit/testsets/ADVENTURE Performance Test 2.xml +0 -297
@@ -33,16 +33,19 @@
33
33
  <state type="state" modifiable="true">
34
34
  <ready>
35
35
  <running putable="true"/>
36
+ <simulating putable="true"/>
36
37
  </ready>
37
38
  <running>
38
39
  <stopping putable="true"/>
39
40
  <finished putable="false"/>
40
41
  </running>
42
+ <simulating/>
41
43
  <stopping>
42
44
  <stopped putable="false"/>
43
45
  </stopping>
44
46
  <stopped>
45
47
  <running putable="true"/>
48
+ <simulating putable="true"/>
46
49
  </stopped>
47
50
  <finished/>
48
51
  </state>
@@ -33,16 +33,19 @@
33
33
  <state type="state" modifiable="false">
34
34
  <ready>
35
35
  <running putable="true"/>
36
+ <simulating putable="true"/>
36
37
  </ready>
37
38
  <running>
38
39
  <stopping putable="true"/>
39
40
  <finished putable="false"/>
40
41
  </running>
42
+ <simulating/>
41
43
  <stopping>
42
44
  <stopped putable="false"/>
43
45
  </stopping>
44
46
  <stopped>
45
47
  <running putable="true"/>
48
+ <simulating putable="true"/>
46
49
  </stopped>
47
50
  <finished/>
48
51
  </state>
@@ -33,16 +33,19 @@
33
33
  <state type="state" modifiable="true">
34
34
  <ready>
35
35
  <running putable="true"/>
36
+ <simulating putable="true"/>
36
37
  </ready>
37
38
  <running>
38
39
  <stopping putable="true"/>
39
40
  <finished putable="false"/>
40
41
  </running>
42
+ <simulating/>
41
43
  <stopping>
42
44
  <stopped putable="false"/>
43
45
  </stopping>
44
46
  <stopped>
45
47
  <running putable="true"/>
48
+ <simulating putable="true"/>
46
49
  </stopped>
47
50
  <finished/>
48
51
  </state>
@@ -52,4 +52,7 @@
52
52
  <event>debug</event>
53
53
  <event>info</event>
54
54
  </topic>
55
+ <topic id='simulating'>
56
+ <event>step</event>
57
+ </topic>
55
58
  </topics>
@@ -1,19 +1,18 @@
1
1
  #!/usr/bin/ruby
2
- <!--
3
- This file is part of CPEE.
4
-
5
- CPEE is free software: you can redistribute it and/or modify it under the terms
6
- of the GNU General Public License as published by the Free Software Foundation,
7
- either version 3 of the License, or (at your option) any later version.
8
-
9
- CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
10
- WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
-
13
- You should have received a copy of the GNU General Public License along with
14
- CPEE (file COPYING in the main directory). If not, see
15
- <http://www.gnu.org/licenses/>.
16
- -->
2
+ #
3
+ # This file is part of CPEE.
4
+ #
5
+ # CPEE is free software: you can redistribute it and/or modify it under the terms
6
+ # of the GNU General Public License as published by the Free Software Foundation,
7
+ # either version 3 of the License, or (at your option) any later version.
8
+ #
9
+ # CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
10
+ # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
+ # PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+ #
13
+ # You should have received a copy of the GNU General Public License along with
14
+ # CPEE (file COPYING in the main directory). If not, see
15
+ # <http://www.gnu.org/licenses/>.
17
16
 
18
17
  require File.expand_path(File.dirname(__FILE__) + '/../lib/cpee/implementation')
19
18
 
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.104
5
- prerelease:
4
+ version: 1.3.105
6
5
  platform: ruby
7
6
  authors:
8
7
  - Juergen eTM Mangler
@@ -11,54 +10,48 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-06-27 00:00:00.000000000 Z
13
+ date: 2013-06-30 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: riddl
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
- - - ! '>='
19
+ - - '>='
22
20
  - !ruby/object:Gem::Version
23
21
  version: '0'
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
- - - ! '>='
26
+ - - '>='
30
27
  - !ruby/object:Gem::Version
31
28
  version: '0'
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: weel
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
- - - ! '>='
33
+ - - '>='
38
34
  - !ruby/object:Gem::Version
39
35
  version: '0'
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
- - - ! '>='
40
+ - - '>='
46
41
  - !ruby/object:Gem::Version
47
42
  version: '0'
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: savon
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
- - - ! '>='
47
+ - - '>='
54
48
  - !ruby/object:Gem::Version
55
49
  version: '0'
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
- - - ! '>='
54
+ - - '>='
62
55
  - !ruby/object:Gem::Version
63
56
  version: '0'
64
57
  description: see http://cpee.org
@@ -169,18 +162,60 @@ files:
169
162
  - server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/subscription.xml
170
163
  - server/instances/5/notifications/02ebbf888bd3efd11924f4c416d784e4/producer-secret
171
164
  - server/instances/5/properties.xml
165
+ - server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/consumer-secret
166
+ - server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/subscription.xml
167
+ - server/instances/1/notifications/7edbe1c01634abcd7d6af78aaf49a0cf/producer-secret
168
+ - server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/consumer-secret
169
+ - server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/subscription.xml
170
+ - server/instances/1/notifications/d705b78256ff1dc5818d20994f16fada/producer-secret
171
+ - server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/consumer-secret
172
+ - server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/subscription.xml
173
+ - server/instances/1/notifications/21409c12c1e724205b543b96c00ccb6a/producer-secret
174
+ - server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/consumer-secret
175
+ - server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/subscription.xml
176
+ - server/instances/1/notifications/157078b54cf38e4d9451156da3860adb/producer-secret
172
177
  - server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/consumer-secret
173
178
  - server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/subscription.xml
174
179
  - server/instances/1/notifications/1d41ebf5e52bf039b3c3873fddb8e9bd/producer-secret
175
180
  - server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/consumer-secret
176
181
  - server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/subscription.xml
177
182
  - server/instances/1/notifications/fa690a88cc565dfa53b13ced355cd039/producer-secret
183
+ - server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/consumer-secret
184
+ - server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/subscription.xml
185
+ - server/instances/1/notifications/83064c2a5d1d7f9ad3c1f1ffb8e7e9db/producer-secret
186
+ - server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/consumer-secret
187
+ - server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/subscription.xml
188
+ - server/instances/1/notifications/f81368a6d30d4a07eedb1db5c5cde084/producer-secret
189
+ - server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/consumer-secret
190
+ - server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/subscription.xml
191
+ - server/instances/1/notifications/1d67171cffc19ef276c6422466a37a93/producer-secret
192
+ - server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/consumer-secret
193
+ - server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/subscription.xml
194
+ - server/instances/1/notifications/2c11156c72dbd2f67356e3c05b93b8d1/producer-secret
195
+ - server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/consumer-secret
196
+ - server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/subscription.xml
197
+ - server/instances/1/notifications/c1a285ed17c5d283478cc5fc6cfc628c/producer-secret
198
+ - server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/consumer-secret
199
+ - server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/subscription.xml
200
+ - server/instances/1/notifications/1918856047a1c6b18a7610e44a89a01b/producer-secret
178
201
  - server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/consumer-secret
179
202
  - server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/subscription.xml
180
203
  - server/instances/1/notifications/66ad546f13c6c7c84f36215c24dd2e6e/producer-secret
204
+ - server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/consumer-secret
205
+ - server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/subscription.xml
206
+ - server/instances/1/notifications/e4e2495e44235851b958ac6938a08140/producer-secret
207
+ - server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/consumer-secret
208
+ - server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/subscription.xml
209
+ - server/instances/1/notifications/78bfde4c4c3eb9e0225f89c5cff0dabb/producer-secret
210
+ - server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/consumer-secret
211
+ - server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/subscription.xml
212
+ - server/instances/1/notifications/92a147faaa1c31c6dc4cf000897f2e18/producer-secret
181
213
  - server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/consumer-secret
182
214
  - server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/subscription.xml
183
215
  - server/instances/1/notifications/9f23b768395a19cc1dd6c2d2a243c78e/producer-secret
216
+ - server/instances/1/notifications/0010e92c718702beba99b049a92e584d/consumer-secret
217
+ - server/instances/1/notifications/0010e92c718702beba99b049a92e584d/subscription.xml
218
+ - server/instances/1/notifications/0010e92c718702beba99b049a92e584d/producer-secret
184
219
  - server/instances/1/properties.xml
185
220
  - server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/consumer-secret
186
221
  - server/instances/9/notifications/54e96913d66f1dd69ec82d2b52268232/subscription.xml
@@ -189,6 +224,10 @@ files:
189
224
  - server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/subscription.xml
190
225
  - server/instances/9/notifications/5debc1fd138fdc80940cd5647003ed45/producer-secret
191
226
  - server/instances/9/properties.xml
227
+ - server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/consumer-secret
228
+ - server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/subscription.xml
229
+ - server/instances/12/notifications/917f3f3d4e339ecbdfcb3626c73a6460/producer-secret
230
+ - server/instances/12/properties.xml
192
231
  - server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/consumer-secret
193
232
  - server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/subscription.xml
194
233
  - server/instances/3/notifications/27195e2503deaf25b3291394fe97985c/producer-secret
@@ -259,6 +298,10 @@ files:
259
298
  - server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/subscription.xml
260
299
  - server/instances/8/notifications/595259518a5cb2ce286bb39840f7a64c/producer-secret
261
300
  - server/instances/8/properties.xml
301
+ - server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/consumer-secret
302
+ - server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/subscription.xml
303
+ - server/instances/13/notifications/bab68e2d01b9136571ecb2e1a5e9d736/producer-secret
304
+ - server/instances/13/properties.xml
262
305
  - server/resources/properties.schema.inactive
263
306
  - server/resources/properties.schema.active
264
307
  - server/resources/topics.xml
@@ -305,10 +348,10 @@ files:
305
348
  - cockpit/js/parameters.js
306
349
  - cockpit/js/ui.js
307
350
  - cockpit/js/wfadaptor.cpee.js
351
+ - cockpit/README
308
352
  - cockpit/css/ui.css
309
353
  - cockpit/testsets/RESCUE - Book Movie - Local.xml
310
354
  - cockpit/testsets/RESCUE - Book Movie.xml
311
- - cockpit/testsets/ADVENTURE Performance Test 2.xml
312
355
  - cockpit/testsets/TEST - Wrong Positions.xml
313
356
  - cockpit/testsets/TEST - Bad Loop.xml
314
357
  - cockpit/testsets/Syncing P34 3.xml
@@ -317,15 +360,11 @@ files:
317
360
  - cockpit/testsets/Concurrent.xml
318
361
  - cockpit/testsets/Endpoints and Data Manipulation.xml
319
362
  - cockpit/testsets/Linear.xml
320
- - cockpit/testsets/ADVENTURE Main Loop.xml
321
363
  - cockpit/testsets/Syncing P34 1.xml
322
364
  - cockpit/testsets/Syncing P34.xml
323
365
  - cockpit/testsets/Coopis Testset.xml
324
- - cockpit/testsets/ADVENTURE Order.xml
325
366
  - cockpit/testsets/ICSOC Testset.xml
326
- - cockpit/testsets/ADVENTURE Performance Test 1.xml
327
367
  - cockpit/testsets/RESCUE - Loop-Parallel Injection.xml
328
- - cockpit/testsets/ADVENTURE Dynamic Order.xml
329
368
  - cockpit/testsets/Mangler 2.xml
330
369
  - cockpit/testsets/SOPROMO Test Sonification.xml
331
370
  - cockpit/testsets/Mangler 1.xml
@@ -351,27 +390,26 @@ files:
351
390
  homepage: http://cpee.org/
352
391
  licenses:
353
392
  - LGPL-3
393
+ metadata: {}
354
394
  post_install_message:
355
395
  rdoc_options: []
356
396
  require_paths:
357
397
  - lib
358
398
  required_ruby_version: !ruby/object:Gem::Requirement
359
- none: false
360
399
  requirements:
361
- - - ! '>='
400
+ - - '>='
362
401
  - !ruby/object:Gem::Version
363
402
  version: 1.9.3
364
403
  required_rubygems_version: !ruby/object:Gem::Requirement
365
- none: false
366
404
  requirements:
367
- - - ! '>='
405
+ - - '>='
368
406
  - !ruby/object:Gem::Version
369
407
  version: '0'
370
408
  requirements: []
371
409
  rubyforge_project:
372
- rubygems_version: 1.8.23
410
+ rubygems_version: 2.0.2
373
411
  signing_key:
374
- specification_version: 3
412
+ specification_version: 4
375
413
  summary: Preliminary release of cloud process execution engine (cpee). If you just
376
414
  need workflow execution, without a rest/xmpp service exposing it, then use WEEL
377
415
  test_files:
@@ -1,327 +0,0 @@
1
- <?xml version="1.0"?>
2
- <testset>
3
- <positions/>
4
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
- <dataelements><!--{{{-->
6
- <last>-1</last>
7
- </dataelements><!--}}}-->
8
- <handlers><!--{{{-->
9
- <handler url="http://localhost:9299/events">
10
- <events topic='properties/state'>change</events>
11
- </handler>
12
- </handlers><!--}}}-->
13
- <endpoints><!--{{{-->
14
- <correlation>http://localhost:9299/wait</correlation>
15
- <instantiation>http://localhost:9299/instantiate</instantiation>
16
- </endpoints> <!--}}}-->
17
- <description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
18
- <loop pre_test='true'>
19
- <call id="wait" endpoint="correlation">
20
- <parameters><!--{{{-->
21
- <label>Wait for Order</label>
22
- <method>post</method>
23
- <parameters>
24
- <what>"Order Message"</what>
25
- </parameters>
26
- </parameters><!--}}}-->
27
- <manipulate output="result">
28
- p result.first.value.read if result.length > 0
29
- </manipulate>
30
- </call>
31
- <call id="instantiate" endpoint="instantiation">
32
- <parameters><!--{{{-->
33
- <label>Instantiate Process ADVENTURE Order</label>
34
- <method>post</method>
35
- <parameters>
36
- <name>'ADVENTURE Order'</name>
37
- <mode>'automatic'</mode>
38
- </parameters>
39
- </parameters><!--}}}-->
40
- <manipulate output="result"> data.last = result.first.value</manipulate>
41
- </call>
42
- </loop>
43
- </description><!--}}}-->
44
- <transformation>
45
- <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://cpee.org/ns/description/1.0">
46
- <xsl:output method="text"/>
47
- <xsl:strip-space elements="*"/>
48
- <xsl:variable name="myspacemultiplier">2</xsl:variable>
49
-
50
- <xsl:template match="/">
51
- <xsl:apply-templates select="//d:description"/>
52
- </xsl:template>
53
-
54
- <xsl:template match="//d:description">
55
- <xsl:apply-templates>
56
- <xsl:with-param name="myspace"><xsl:value-of select="-1*$myspacemultiplier"/></xsl:with-param>
57
- </xsl:apply-templates>
58
- </xsl:template>
59
-
60
- <xsl:template match="*">
61
- <xsl:param name="myspace"/>
62
- <xsl:call-template name="print-space">
63
- <xsl:with-param name="i">1</xsl:with-param>
64
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
65
- </xsl:call-template>
66
- <xsl:if test="name()='call' or name()='manipulate'">
67
- <xsl:text>activity :</xsl:text>
68
- <xsl:value-of select="@id"/>
69
- </xsl:if>
70
- <xsl:if test="name()='call'">
71
- <xsl:text>, :call, :</xsl:text>
72
- <xsl:value-of select="@endpoint"/>
73
- <xsl:apply-templates select="d:parameters"/>
74
- <xsl:apply-templates select="d:manipulate" mode="part-of-call">
75
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
76
- </xsl:apply-templates>
77
- <xsl:call-template name="print-newline"/>
78
- </xsl:if>
79
- <xsl:if test="name()='manipulate'">
80
- <xsl:text>, :manipulate</xsl:text>
81
- <xsl:call-template name="print-content">
82
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
83
- </xsl:call-template>
84
- <xsl:call-template name="print-newline"/>
85
- </xsl:if>
86
- <xsl:if test="name()='parallel'">
87
- <xsl:text>parallel</xsl:text>
88
- <xsl:if test="@wait">
89
- <xsl:text> :wait => </xsl:text>
90
- <xsl:value-of select="@wait"/>
91
- </xsl:if>
92
- <xsl:text> do</xsl:text>
93
- <xsl:call-template name="print-newline"/>
94
- <xsl:apply-templates>
95
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
96
- </xsl:apply-templates>
97
- <xsl:call-template name="print-space">
98
- <xsl:with-param name="i">1</xsl:with-param>
99
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
100
- </xsl:call-template>
101
- <xsl:text>end</xsl:text>
102
- <xsl:call-template name="print-newline"/>
103
- </xsl:if>
104
- <xsl:if test="name()='loop'">
105
- <xsl:text>loop </xsl:text>
106
- <xsl:if test="@pre_test">
107
- <xsl:text>pre_test{</xsl:text>
108
- <xsl:value-of select="@pre_test"/>
109
- <xsl:text>} </xsl:text>
110
- </xsl:if>
111
- <xsl:if test="@post_test">
112
- <xsl:text>post_test{</xsl:text>
113
- <xsl:value-of select="@post_test"/>
114
- <xsl:text>} </xsl:text>
115
- </xsl:if>
116
- <xsl:text>do</xsl:text>
117
- <xsl:call-template name="print-newline"/>
118
- <xsl:apply-templates>
119
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
120
- </xsl:apply-templates>
121
- <xsl:call-template name="print-space">
122
- <xsl:with-param name="i">1</xsl:with-param>
123
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
124
- </xsl:call-template>
125
- <xsl:text>end</xsl:text>
126
- <xsl:call-template name="print-newline"/>
127
- </xsl:if>
128
- <xsl:if test="name()='choose'">
129
- <xsl:text>choose do</xsl:text>
130
- <xsl:call-template name="print-newline"/>
131
- <xsl:apply-templates>
132
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
133
- </xsl:apply-templates>
134
- <xsl:call-template name="print-space">
135
- <xsl:with-param name="i">1</xsl:with-param>
136
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
137
- </xsl:call-template>
138
- <xsl:text>end</xsl:text>
139
- <xsl:call-template name="print-newline"/>
140
- </xsl:if>
141
- <xsl:if test="name()='group'">
142
- <xsl:apply-templates>
143
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
144
- </xsl:apply-templates>
145
- <xsl:call-template name="print-newline"/>
146
- </xsl:if>
147
- <xsl:if test="name()='critical'">
148
- <xsl:text>critical :</xsl:text>
149
- <xsl:value-of select="@sid"/>
150
- <xsl:text> do</xsl:text>
151
- <xsl:call-template name="print-newline"/>
152
- <xsl:apply-templates>
153
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
154
- </xsl:apply-templates>
155
- <xsl:call-template name="print-space">
156
- <xsl:with-param name="i">1</xsl:with-param>
157
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
158
- </xsl:call-template>
159
- <xsl:text>end</xsl:text>
160
- <xsl:call-template name="print-newline"/>
161
- </xsl:if>
162
- </xsl:template>
163
-
164
- <xsl:template match="d:alternative">
165
- <xsl:param name="myspace"/>
166
- <xsl:call-template name="print-space">
167
- <xsl:with-param name="i">1</xsl:with-param>
168
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
169
- </xsl:call-template>
170
- <xsl:text>alternative </xsl:text>
171
- <xsl:value-of select="@condition"/>
172
- <xsl:text> do</xsl:text>
173
- <xsl:call-template name="print-newline"/>
174
- <xsl:apply-templates>
175
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
176
- </xsl:apply-templates>
177
- <xsl:call-template name="print-space">
178
- <xsl:with-param name="i">1</xsl:with-param>
179
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
180
- </xsl:call-template>
181
- <xsl:text>end</xsl:text>
182
- <xsl:call-template name="print-newline"/>
183
- </xsl:template>
184
-
185
- <xsl:template match="d:otherwise">
186
- <xsl:param name="myspace"/>
187
- <xsl:call-template name="print-space">
188
- <xsl:with-param name="i">1</xsl:with-param>
189
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
190
- </xsl:call-template>
191
- <xsl:text>otherwise do</xsl:text>
192
- <xsl:call-template name="print-newline"/>
193
- <xsl:apply-templates>
194
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
195
- </xsl:apply-templates>
196
- <xsl:call-template name="print-space">
197
- <xsl:with-param name="i">1</xsl:with-param>
198
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
199
- </xsl:call-template>
200
- <xsl:text>end</xsl:text>
201
- <xsl:call-template name="print-newline"/>
202
- </xsl:template>
203
-
204
- <xsl:template match="d:parallel_branch">
205
- <xsl:param name="myspace"/>
206
- <xsl:call-template name="print-space">
207
- <xsl:with-param name="i">1</xsl:with-param>
208
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
209
- </xsl:call-template>
210
- <xsl:text>parallel_branch</xsl:text>
211
- <xsl:if test="@pass">
212
- <xsl:text> </xsl:text>
213
- <xsl:value-of select="@pass"/>
214
- </xsl:if>
215
- <xsl:text> do</xsl:text>
216
- <xsl:if test="@local">
217
- <xsl:text> |</xsl:text>
218
- <xsl:value-of select="@local"/>
219
- <xsl:text>|</xsl:text>
220
- </xsl:if>
221
- <xsl:call-template name="print-newline"/>
222
- <xsl:apply-templates>
223
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
224
- </xsl:apply-templates>
225
- <xsl:call-template name="print-space">
226
- <xsl:with-param name="i">1</xsl:with-param>
227
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
228
- </xsl:call-template>
229
- <xsl:text>end</xsl:text>
230
- <xsl:call-template name="print-newline"/>
231
- </xsl:template>
232
-
233
- <xsl:template match="d:parameters">
234
- <xsl:apply-templates select="d:*" mode="parameter"/>
235
- </xsl:template>
236
-
237
- <xsl:template match="d:*" mode="parameter">
238
- <xsl:text>, :</xsl:text>
239
- <xsl:value-of select="name()"/>
240
- <xsl:text> => </xsl:text>
241
- <xsl:choose>
242
- <xsl:when test="count(*) > 0">
243
- <xsl:text>[</xsl:text>
244
- <xsl:apply-templates select="d:*" mode="sub-parameter"/>
245
- <xsl:text>]</xsl:text>
246
- </xsl:when>
247
- <xsl:otherwise>
248
- <xsl:choose>
249
- <xsl:when test="@type = 'symbolic'">
250
- <xsl:value-of select="text()"/>
251
- </xsl:when>
252
- <xsl:otherwise>
253
- <xsl:text>"</xsl:text>
254
- <xsl:value-of select="text()"/>
255
- <xsl:text>"</xsl:text>
256
- </xsl:otherwise>
257
- </xsl:choose>
258
- </xsl:otherwise>
259
- </xsl:choose>
260
- </xsl:template>
261
-
262
- <xsl:template match="d:*" mode="sub-parameter">
263
- <xsl:text> { :</xsl:text>
264
- <xsl:value-of select="name()"/>
265
- <xsl:text> => </xsl:text>
266
- <xsl:value-of select="text()"/>
267
- <xsl:text> }</xsl:text>
268
- <xsl:choose>
269
- <xsl:when test="generate-id(.) = generate-id(../*[last()])">
270
- <xsl:text> </xsl:text>
271
- </xsl:when>
272
- <xsl:otherwise>
273
- <xsl:text>,</xsl:text>
274
- </xsl:otherwise>
275
- </xsl:choose>
276
- </xsl:template>
277
-
278
- <xsl:template match="d:manipulate" mode="part-of-call">
279
- <xsl:param name="myspace"/>
280
- <xsl:call-template name="print-content">
281
- <xsl:with-param name="myspace"><xsl:value-of select="$myspace"/></xsl:with-param>
282
- </xsl:call-template>
283
- </xsl:template>
284
-
285
- <xsl:template name="print-content">
286
- <xsl:param name="myspace"/>
287
- <xsl:if test="text()">
288
- <xsl:text> do </xsl:text>
289
- <xsl:if test="@output">
290
- <xsl:text>|</xsl:text>
291
- <xsl:value-of select="@output"/>
292
- <xsl:text>|</xsl:text>
293
- </xsl:if>
294
- <xsl:call-template name="print-newline"/>
295
- <xsl:value-of select="text()"/>
296
- <xsl:call-template name="print-newline"/>
297
- <xsl:call-template name="print-space">
298
- <xsl:with-param name="i">1</xsl:with-param>
299
- <xsl:with-param name="count"><xsl:value-of select="$myspace+$myspacemultiplier"/></xsl:with-param>
300
- </xsl:call-template>
301
- <xsl:text>end</xsl:text>
302
- </xsl:if>
303
- </xsl:template>
304
-
305
- <xsl:template name="print-space">
306
- <xsl:param name="i"/>
307
- <xsl:param name="count"/>
308
- <xsl:if test="$i &lt;= $count">
309
- <xsl:text> </xsl:text>
310
- <xsl:call-template name="print-space">
311
- <xsl:with-param name="i">
312
- <xsl:value-of select="$i + 1"/>
313
- </xsl:with-param>
314
- <xsl:with-param name="count">
315
- <xsl:value-of select="$count"/>
316
- </xsl:with-param>
317
- </xsl:call-template>
318
- </xsl:if>
319
- </xsl:template>
320
- <xsl:template name="print-newline">
321
- <xsl:text>
322
- </xsl:text>
323
- </xsl:template>
324
-
325
- </xsl:stylesheet>
326
- </transformation>
327
- </testset>