cpee 1.3.220 → 1.3.221

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 (44) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/js/instance.js +3 -3
  3. data/cockpit/js/wfadaptor.js +13 -8
  4. data/cpee.gemspec +2 -1
  5. data/log/chain.xml +27 -0
  6. data/log/logoverlay.xml +2 -2
  7. data/log/non_tamp.rb +156 -0
  8. data/log/yaml/server.rb +12 -12
  9. data/server/instances/313/notifications/crisp/consumer-secret +1 -0
  10. data/server/instances/313/notifications/crisp/producer-secret +1 -0
  11. data/server/instances/313/notifications/crisp/subscription.xml +7 -0
  12. data/server/instances/313/notifications/logging/consumer-secret +1 -0
  13. data/server/instances/313/notifications/logging/producer-secret +1 -0
  14. data/server/instances/313/notifications/logging/subscription.xml +7 -0
  15. data/server/instances/313/notifications/logging_yaml/consumer-secret +1 -0
  16. data/server/instances/313/notifications/logging_yaml/producer-secret +1 -0
  17. data/server/instances/313/notifications/logging_yaml/subscription.xml +7 -0
  18. data/server/instances/313/properties.xml +524 -0
  19. data/server/instances/6/properties.xml +5 -2
  20. data/server/instances/662/notifications/crisp/consumer-secret +1 -0
  21. data/server/instances/662/notifications/crisp/producer-secret +1 -0
  22. data/server/instances/662/notifications/crisp/subscription.xml +7 -0
  23. data/server/instances/662/notifications/logging/consumer-secret +1 -0
  24. data/server/instances/662/notifications/logging/producer-secret +1 -0
  25. data/server/instances/662/notifications/logging/subscription.xml +7 -0
  26. data/server/instances/662/notifications/logging_yaml/consumer-secret +1 -0
  27. data/server/instances/662/notifications/logging_yaml/producer-secret +1 -0
  28. data/server/instances/662/notifications/logging_yaml/subscription.xml +7 -0
  29. data/server/instances/662/properties.xml +427 -0
  30. data/server/instances/663/properties.xml +31 -0
  31. data/server/instances/664/properties.xml +425 -0
  32. data/server/instances/665/properties.xml +425 -0
  33. data/server/instances/666/properties.xml +427 -0
  34. data/server/instances/667/properties.xml +427 -0
  35. data/server/instances/668/properties.xml +425 -0
  36. data/server/instances/669/properties.xml +425 -0
  37. data/server/instances/670/properties.xml +31 -0
  38. data/server/instances/671/properties.xml +158 -0
  39. data/server/instances/672/properties.xml +199 -0
  40. data/server/instances/673/properties.xml +52 -0
  41. metadata +49 -5
  42. data/server/instances/33/notifications/d1b6606197334cda2bffaa2ea02707bf/consumer-secret +0 -1
  43. data/server/instances/33/notifications/d1b6606197334cda2bffaa2ea02707bf/producer-secret +0 -1
  44. data/server/instances/33/notifications/d1b6606197334cda2bffaa2ea02707bf/subscription.xml +0 -42
@@ -0,0 +1,158 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>33a1e880-b47c-42fd-ba76-a05de024d59b</uuid>
4
+ <info>Enter info here</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>labels</theme>
7
+ </attributes>
8
+ <state>stopped</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions>
11
+ <a3>at</a3>
12
+ </positions>
13
+ <dataelements>
14
+ <persons>2</persons>
15
+ <card>Visa_12345</card>
16
+ <airline>American Airlines</airline>
17
+ <hotels>[]</hotels>
18
+ <from>Vienna</from>
19
+ <to>Prague</to>
20
+ <costs>513.0</costs>
21
+ </dataelements>
22
+ <endpoints>
23
+ <bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
24
+ <bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
25
+ <approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
26
+ </endpoints>
27
+ <dsl>call :a1, :bookAir, parameters: { :label =&gt; "Book Airline", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :from, :value =&gt; data.from), ⭐(:name =&gt; :to, :value =&gt; data.to), ⭐(:name =&gt; :persons, :value =&gt; data.persons)] }, finalize: &lt;&lt;-END
28
+ data.airline = result.value('id')
29
+ data.costs += result.value('costs').to_f
30
+ status.update 1, 'Hotel'
31
+ END
32
+ parallel do
33
+ loop pre_test{data.persons &gt; 0} do
34
+ parallel_branch data.persons do |p|
35
+ call :a2, :bookHotel, parameters: { :label =&gt; "Book Hotel", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :to, :value =&gt; data.to)] }, finalize: &lt;&lt;-END
36
+ data.hotels &lt;&lt; result.value('id')
37
+ data.costs += result.value('costs').to_f
38
+ END
39
+ end
40
+ manipulate :a3, &lt;&lt;-END
41
+ data.persons -= 1
42
+ END
43
+ end
44
+ end
45
+ choose :inclusive do
46
+ alternative test{data.costs &gt; 700} do
47
+ call :a4, :approve, parameters: { :label =&gt; "Approve Hotel", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :costs, :value =&gt; data.costs)] }
48
+ end
49
+ end
50
+ </dsl>
51
+ <dslx>
52
+ <description xmlns="http://cpee.org/ns/description/1.0">
53
+ <call id="a1" endpoint="bookAir">
54
+ <parameters>
55
+ <label>Book Airline</label>
56
+ <method>:post</method>
57
+ <arguments>
58
+ <from>data.from</from>
59
+ <to>data.to</to>
60
+ <persons>data.persons</persons>
61
+ </arguments>
62
+ </parameters>
63
+ <finalize output="result">data.airline = result.value('id')
64
+ data.costs += result.value('costs').to_f
65
+ status.update 1, 'Hotel'</finalize>
66
+ </call>
67
+ <parallel>
68
+ <loop mode="pre_test" condition="data.persons &gt; 0">
69
+ <parallel_branch pass="data.persons" local="p">
70
+ <call id="a2" endpoint="bookHotel">
71
+ <parameters>
72
+ <label>Book Hotel</label>
73
+ <method>:post</method>
74
+ <arguments>
75
+ <to>data.to</to>
76
+ </arguments>
77
+ </parameters>
78
+ <finalize output="result">data.hotels &lt;&lt; result.value('id')
79
+ data.costs += result.value('costs').to_f</finalize>
80
+ </call>
81
+ </parallel_branch>
82
+ <manipulate id="a3">data.persons -= 1</manipulate>
83
+ </loop>
84
+ </parallel>
85
+ <choose mode="inclusive">
86
+ <alternative condition="data.costs &gt; 700">
87
+ <call id="a4" endpoint="approve">
88
+ <parameters>
89
+ <label>Approve Hotel</label>
90
+ <method>:post</method>
91
+ <arguments>
92
+ <costs>data.costs</costs>
93
+ </arguments>
94
+ </parameters>
95
+ </call>
96
+ </alternative>
97
+ </choose>
98
+ </description>
99
+ </dslx>
100
+ <status>
101
+ <id>0</id>
102
+ <message>undefined</message>
103
+ </status>
104
+ <description>
105
+ <description xmlns="http://cpee.org/ns/description/1.0">
106
+ <call id="a1" endpoint="bookAir">
107
+ <parameters>
108
+ <label>Book Airline</label>
109
+ <method>:post</method>
110
+ <arguments>
111
+ <from>data.from</from>
112
+ <to>data.to</to>
113
+ <persons>data.persons</persons>
114
+ </arguments>
115
+ </parameters>
116
+ <finalize output="result">data.airline = result.value('id')
117
+ data.costs += result.value('costs').to_f
118
+ status.update 1, 'Hotel'</finalize>
119
+ </call>
120
+ <parallel>
121
+ <loop mode="pre_test" condition="data.persons &gt; 0">
122
+ <parallel_branch pass="data.persons" local="p">
123
+ <call id="a2" endpoint="bookHotel">
124
+ <parameters>
125
+ <label>Book Hotel</label>
126
+ <method>:post</method>
127
+ <arguments>
128
+ <to>data.to</to>
129
+ </arguments>
130
+ </parameters>
131
+ <finalize output="result">data.hotels &lt;&lt; result.value('id')
132
+ data.costs += result.value('costs').to_f</finalize>
133
+ </call>
134
+ </parallel_branch>
135
+ <manipulate id="a3">data.persons -= 1</manipulate>
136
+ </loop>
137
+ </parallel>
138
+ <choose mode="inclusive">
139
+ <alternative condition="data.costs &gt; 700">
140
+ <call id="a4" endpoint="approve">
141
+ <parameters>
142
+ <label>Approve Hotel</label>
143
+ <method>:post</method>
144
+ <arguments>
145
+ <costs>data.costs</costs>
146
+ </arguments>
147
+ </parameters>
148
+ </call>
149
+ </alternative>
150
+ </choose>
151
+ </description>
152
+ </description>
153
+ <transformation>
154
+ <description type="copy"/>
155
+ <dataelements type="rest"/>
156
+ <endpoints type="rest"/>
157
+ </transformation>
158
+ </properties>
@@ -0,0 +1,199 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>ca30480f-cb22-42d0-b972-93cd369dbaa1</uuid>
4
+ <info>Enter info here</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>ready</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements>
12
+ <feedback>true</feedback>
13
+ </dataelements>
14
+ <endpoints>
15
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
+ </endpoints>
17
+ <dsl>parallel do
18
+ parallel_branch do
19
+ loop pre_test{data.feedback} do
20
+ call :design, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
21
+ call :validate, :timeout, parameters: { :label =&gt; "Validate", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
22
+ call :publish, :timeout, parameters: { :label =&gt; "Publish", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 1)] }
23
+ end
24
+ end
25
+ parallel_branch do
26
+ loop pre_test{data.feedback} do
27
+ call :prepare, :timeout, parameters: { :label =&gt; "Prepare", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
28
+ call :fab, :timeout, parameters: { :label =&gt; "Fabricate", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
29
+ call :evaluate, :timeout, parameters: { :label =&gt; "Evaluate", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
30
+ end
31
+ end
32
+ end
33
+ </dsl>
34
+ <dslx>
35
+ <description xmlns="http://cpee.org/ns/description/1.0">
36
+ <parallel>
37
+ <parallel_branch>
38
+ <loop mode="pre_test" condition="data.feedback">
39
+ <call id="design" endpoint="timeout">
40
+ <parameters>
41
+ <label/>
42
+ <method>:post</method>
43
+ <arguments>
44
+ <timeout>4</timeout>
45
+ </arguments>
46
+ </parameters>
47
+ </call>
48
+ <call id="validate" endpoint="timeout">
49
+ <parameters>
50
+ <!--{{{-->
51
+ <label>Validate</label>
52
+ <method>:post</method>
53
+ <arguments>
54
+ <timeout>2</timeout>
55
+ </arguments>
56
+ </parameters>
57
+ <!--}}}-->
58
+ </call>
59
+ <call id="publish" endpoint="timeout">
60
+ <parameters>
61
+ <!--{{{-->
62
+ <label>Publish</label>
63
+ <method>:post</method>
64
+ <arguments>
65
+ <timeout>1</timeout>
66
+ </arguments>
67
+ </parameters>
68
+ <!--}}}-->
69
+ </call>
70
+ </loop>
71
+ </parallel_branch>
72
+ <parallel_branch>
73
+ <loop mode="pre_test" condition="data.feedback">
74
+ <call id="prepare" endpoint="timeout">
75
+ <parameters>
76
+ <!--{{{-->
77
+ <label>Prepare</label>
78
+ <method>:post</method>
79
+ <arguments>
80
+ <timeout>4</timeout>
81
+ </arguments>
82
+ </parameters>
83
+ <!--}}}-->
84
+ </call>
85
+ <call id="fab" endpoint="timeout">
86
+ <parameters>
87
+ <!--{{{-->
88
+ <label>Fabricate</label>
89
+ <method>:post</method>
90
+ <arguments>
91
+ <timeout>4</timeout>
92
+ </arguments>
93
+ </parameters>
94
+ <!--}}}-->
95
+ </call>
96
+ <call id="evaluate" endpoint="timeout">
97
+ <parameters>
98
+ <!--{{{-->
99
+ <label>Evaluate</label>
100
+ <method>:post</method>
101
+ <arguments>
102
+ <timeout>4</timeout>
103
+ </arguments>
104
+ </parameters>
105
+ <!--}}}-->
106
+ </call>
107
+ </loop>
108
+ </parallel_branch>
109
+ </parallel>
110
+ </description>
111
+ </dslx>
112
+ <status>
113
+ <id>0</id>
114
+ <message>undefined</message>
115
+ </status>
116
+ <description>
117
+ <description xmlns="http://cpee.org/ns/description/1.0">
118
+ <parallel>
119
+ <parallel_branch>
120
+ <loop mode="pre_test" condition="data.feedback">
121
+ <call id="design" endpoint="timeout">
122
+ <parameters>
123
+ <label/>
124
+ <method>:post</method>
125
+ <arguments>
126
+ <timeout>4</timeout>
127
+ </arguments>
128
+ </parameters>
129
+ </call>
130
+ <call id="validate" endpoint="timeout">
131
+ <parameters>
132
+ <!--{{{-->
133
+ <label>Validate</label>
134
+ <method>:post</method>
135
+ <arguments>
136
+ <timeout>2</timeout>
137
+ </arguments>
138
+ </parameters>
139
+ <!--}}}-->
140
+ </call>
141
+ <call id="publish" endpoint="timeout">
142
+ <parameters>
143
+ <!--{{{-->
144
+ <label>Publish</label>
145
+ <method>:post</method>
146
+ <arguments>
147
+ <timeout>1</timeout>
148
+ </arguments>
149
+ </parameters>
150
+ <!--}}}-->
151
+ </call>
152
+ </loop>
153
+ </parallel_branch>
154
+ <parallel_branch>
155
+ <loop mode="pre_test" condition="data.feedback">
156
+ <call id="prepare" endpoint="timeout">
157
+ <parameters>
158
+ <!--{{{-->
159
+ <label>Prepare</label>
160
+ <method>:post</method>
161
+ <arguments>
162
+ <timeout>4</timeout>
163
+ </arguments>
164
+ </parameters>
165
+ <!--}}}-->
166
+ </call>
167
+ <call id="fab" endpoint="timeout">
168
+ <parameters>
169
+ <!--{{{-->
170
+ <label>Fabricate</label>
171
+ <method>:post</method>
172
+ <arguments>
173
+ <timeout>4</timeout>
174
+ </arguments>
175
+ </parameters>
176
+ <!--}}}-->
177
+ </call>
178
+ <call id="evaluate" endpoint="timeout">
179
+ <parameters>
180
+ <!--{{{-->
181
+ <label>Evaluate</label>
182
+ <method>:post</method>
183
+ <arguments>
184
+ <timeout>4</timeout>
185
+ </arguments>
186
+ </parameters>
187
+ <!--}}}-->
188
+ </call>
189
+ </loop>
190
+ </parallel_branch>
191
+ </parallel>
192
+ </description>
193
+ </description>
194
+ <transformation>
195
+ <description type="copy"/>
196
+ <dataelements type="rest"/>
197
+ <endpoints type="rest"/>
198
+ </transformation>
199
+ </properties>
@@ -0,0 +1,52 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>43210b32-bf80-43b0-a6c2-867f74617b59</uuid>
4
+ <info>Enter info here</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>ready</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements/>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl>call :a1, nil, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
16
+ </dsl>
17
+ <dslx>
18
+ <description xmlns="http://cpee.org/ns/description/1.0">
19
+ <call id="a1" endpoint="">
20
+ <parameters>
21
+ <label/>
22
+ <method>:post</method>
23
+ <arguments/>
24
+ </parameters>
25
+ <finalize output="result"/>
26
+ <update output="result"/>
27
+ </call>
28
+ </description>
29
+ </dslx>
30
+ <status>
31
+ <id>0</id>
32
+ <message>undefined</message>
33
+ </status>
34
+ <description>
35
+ <description xmlns="http://cpee.org/ns/description/1.0">
36
+ <call id="a1" endpoint="">
37
+ <parameters>
38
+ <label/>
39
+ <method>:post</method>
40
+ <arguments/>
41
+ </parameters>
42
+ <finalize output="result"/>
43
+ <update output="result"/>
44
+ </call>
45
+ </description>
46
+ </description>
47
+ <transformation>
48
+ <description type="copy"/>
49
+ <dataelements type="none"/>
50
+ <endpoints type="none"/>
51
+ </transformation>
52
+ </properties>
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.3.220
4
+ version: 1.3.221
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: tools
13
13
  cert_chain: []
14
- date: 2017-12-01 00:00:00.000000000 Z
14
+ date: 2018-01-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: riddl
@@ -69,6 +69,20 @@ dependencies:
69
69
  - - "~>"
70
70
  - !ruby/object:Gem::Version
71
71
  version: '1.6'
72
+ - !ruby/object:Gem::Dependency
73
+ name: json
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - "~>"
77
+ - !ruby/object:Gem::Version
78
+ version: '2.1'
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - "~>"
84
+ - !ruby/object:Gem::Version
85
+ version: '2.1'
72
86
  description: see http://cpee.org
73
87
  email: juergen.mangler@gmail.com
74
88
  executables:
@@ -316,9 +330,11 @@ files:
316
330
  - lib/engine/callbacks.rng
317
331
  - lib/engine/instance-info.rng
318
332
  - lib/engine/instances.rng
333
+ - log/chain.xml
319
334
  - log/log.xml
320
335
  - log/logoverlay.xml
321
336
  - log/logs/1/test
337
+ - log/non_tamp.rb
322
338
  - log/server.rb
323
339
  - log/template.xes
324
340
  - log/topics.xml
@@ -360,14 +376,42 @@ files:
360
376
  - server/instances/3/properties.xml
361
377
  - server/instances/30/properties.xml
362
378
  - server/instances/31/properties.xml
379
+ - server/instances/313/notifications/crisp/consumer-secret
380
+ - server/instances/313/notifications/crisp/producer-secret
381
+ - server/instances/313/notifications/crisp/subscription.xml
382
+ - server/instances/313/notifications/logging/consumer-secret
383
+ - server/instances/313/notifications/logging/producer-secret
384
+ - server/instances/313/notifications/logging/subscription.xml
385
+ - server/instances/313/notifications/logging_yaml/consumer-secret
386
+ - server/instances/313/notifications/logging_yaml/producer-secret
387
+ - server/instances/313/notifications/logging_yaml/subscription.xml
388
+ - server/instances/313/properties.xml
363
389
  - server/instances/32/properties.xml
364
- - server/instances/33/notifications/d1b6606197334cda2bffaa2ea02707bf/consumer-secret
365
- - server/instances/33/notifications/d1b6606197334cda2bffaa2ea02707bf/producer-secret
366
- - server/instances/33/notifications/d1b6606197334cda2bffaa2ea02707bf/subscription.xml
367
390
  - server/instances/33/properties.xml
368
391
  - server/instances/4/properties.xml
369
392
  - server/instances/5/properties.xml
370
393
  - server/instances/6/properties.xml
394
+ - server/instances/662/notifications/crisp/consumer-secret
395
+ - server/instances/662/notifications/crisp/producer-secret
396
+ - server/instances/662/notifications/crisp/subscription.xml
397
+ - server/instances/662/notifications/logging/consumer-secret
398
+ - server/instances/662/notifications/logging/producer-secret
399
+ - server/instances/662/notifications/logging/subscription.xml
400
+ - server/instances/662/notifications/logging_yaml/consumer-secret
401
+ - server/instances/662/notifications/logging_yaml/producer-secret
402
+ - server/instances/662/notifications/logging_yaml/subscription.xml
403
+ - server/instances/662/properties.xml
404
+ - server/instances/663/properties.xml
405
+ - server/instances/664/properties.xml
406
+ - server/instances/665/properties.xml
407
+ - server/instances/666/properties.xml
408
+ - server/instances/667/properties.xml
409
+ - server/instances/668/properties.xml
410
+ - server/instances/669/properties.xml
411
+ - server/instances/670/properties.xml
412
+ - server/instances/671/properties.xml
413
+ - server/instances/672/properties.xml
414
+ - server/instances/673/properties.xml
371
415
  - server/instances/7/properties.xml
372
416
  - server/instances/8/properties.xml
373
417
  - server/instances/9/properties.xml