cpee 1.4.7 → 1.4.8
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 +5 -5
- data/cpee.gemspec +1 -1
- data/lib/cpee/controller.rb +41 -7
- data/lib/cpee/handler_properties.rb +9 -9
- data/lib/cpee/instantiation.rb +12 -6
- data/lib/instantiation.xml +1 -0
- data/log/elasticsearch.rb +120 -0
- data/log/logs/1/test +1 -0
- data/log/xes_yaml.rb +3 -20
- data/server/handlerwrappers/default.rb +10 -10
- data/server/instances/1/properties.xml +34 -122
- data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +1 -0
- data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +1 -0
- data/server/instances/{76/notifications/a59df784fab648f5327915fc6cf012ab → 10/notifications/182434032285ca1d06a8b6554b8889c8}/subscription.xml +6 -21
- data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +1 -0
- data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +1 -0
- data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +6 -0
- data/server/instances/10/properties.xml +141 -127
- data/server/instances/11/properties.xml +162 -179
- data/server/instances/12/properties.xml +163 -87
- data/server/instances/13/properties.xml +131 -2002
- data/server/instances/14/properties.xml +9 -2044
- data/server/instances/15/properties.xml +8 -2039
- data/server/instances/16/properties.xml +8 -2069
- data/server/instances/17/properties.xml +11 -2065
- data/server/instances/18/properties.xml +10 -2109
- data/server/instances/19/properties.xml +5 -90
- data/server/instances/2/properties.xml +10 -135
- data/server/instances/20/properties.xml +169 -9
- data/server/instances/21/properties.xml +122 -82
- data/server/instances/22/properties.xml +53 -2042
- data/server/instances/23/properties.xml +75 -68
- data/server/instances/24/properties.xml +82 -2033
- data/server/instances/25/properties.xml +121 -37
- data/server/instances/26/properties.xml +9 -9
- data/server/instances/27/properties.xml +48 -2044
- data/server/instances/28/properties.xml +83 -2058
- data/server/instances/29/properties.xml +83 -2072
- data/server/instances/3/properties.xml +76 -211
- data/server/instances/30/properties.xml +293 -112
- data/server/instances/31/properties.xml +332 -9
- data/server/instances/313/notifications/crisp/consumer-secret +1 -0
- data/server/instances/313/notifications/crisp/producer-secret +1 -0
- data/server/instances/313/notifications/crisp/subscription.xml +7 -0
- data/server/instances/313/notifications/logging/consumer-secret +1 -0
- data/server/instances/313/notifications/logging/producer-secret +1 -0
- data/server/instances/313/notifications/logging/subscription.xml +7 -0
- data/server/instances/313/notifications/logging_yaml/consumer-secret +1 -0
- data/server/instances/313/notifications/logging_yaml/producer-secret +1 -0
- data/server/instances/313/notifications/logging_yaml/subscription.xml +7 -0
- data/server/instances/313/properties.xml +524 -0
- data/server/instances/32/properties.xml +582 -65
- data/server/instances/33/properties.xml +113 -99
- data/server/instances/4/properties.xml +92 -9
- data/server/instances/5/properties.xml +49 -1505
- data/server/instances/6/properties.xml +186 -11
- data/server/instances/662/notifications/crisp/consumer-secret +1 -0
- data/server/instances/662/notifications/crisp/producer-secret +1 -0
- data/server/instances/662/notifications/crisp/subscription.xml +7 -0
- data/server/instances/662/notifications/logging/consumer-secret +1 -0
- data/server/instances/662/notifications/logging/producer-secret +1 -0
- data/server/instances/662/notifications/logging/subscription.xml +7 -0
- data/server/instances/662/notifications/logging_yaml/consumer-secret +1 -0
- data/server/instances/662/notifications/logging_yaml/producer-secret +1 -0
- data/server/instances/662/notifications/logging_yaml/subscription.xml +7 -0
- data/server/instances/662/properties.xml +427 -0
- data/server/instances/{46 → 663}/properties.xml +1 -1
- data/server/instances/664/properties.xml +425 -0
- data/server/instances/665/properties.xml +425 -0
- data/server/instances/666/properties.xml +427 -0
- data/server/instances/667/properties.xml +427 -0
- data/server/instances/668/properties.xml +425 -0
- data/server/instances/669/properties.xml +425 -0
- data/server/instances/670/properties.xml +31 -0
- data/server/instances/{75 → 671}/properties.xml +12 -12
- data/server/instances/672/properties.xml +199 -0
- data/server/instances/673/properties.xml +52 -0
- data/server/instances/7/properties.xml +82 -1691
- data/server/instances/8/properties.xml +53 -1738
- data/server/instances/9/properties.xml +95 -680
- metadata +42 -52
- data/server/instances/34/properties.xml +0 -183
- data/server/instances/35/properties.xml +0 -183
- data/server/instances/36/properties.xml +0 -185
- data/server/instances/37/properties.xml +0 -183
- data/server/instances/38/properties.xml +0 -183
- data/server/instances/39/properties.xml +0 -183
- data/server/instances/40/properties.xml +0 -183
- data/server/instances/41/properties.xml +0 -183
- data/server/instances/42/properties.xml +0 -183
- data/server/instances/43/properties.xml +0 -183
- data/server/instances/44/properties.xml +0 -183
- data/server/instances/45/properties.xml +0 -185
- data/server/instances/47/properties.xml +0 -185
- data/server/instances/48/properties.xml +0 -185
- data/server/instances/49/properties.xml +0 -185
- data/server/instances/50/properties.xml +0 -183
- data/server/instances/51/properties.xml +0 -183
- data/server/instances/52/properties.xml +0 -2129
- data/server/instances/53/properties.xml +0 -2129
- data/server/instances/54/properties.xml +0 -319
- data/server/instances/55/properties.xml +0 -2114
- data/server/instances/56/properties.xml +0 -2114
- data/server/instances/57/properties.xml +0 -2119
- data/server/instances/58/properties.xml +0 -2119
- data/server/instances/59/properties.xml +0 -2119
- data/server/instances/60/properties.xml +0 -2119
- data/server/instances/61/properties.xml +0 -2114
- data/server/instances/62/properties.xml +0 -2116
- data/server/instances/63/properties.xml +0 -2116
- data/server/instances/64/properties.xml +0 -2116
- data/server/instances/65/properties.xml +0 -76
- data/server/instances/66/properties.xml +0 -97
- data/server/instances/67/properties.xml +0 -184
- data/server/instances/68/properties.xml +0 -158
- data/server/instances/69/properties.xml +0 -156
- data/server/instances/70/properties.xml +0 -156
- data/server/instances/71/properties.xml +0 -156
- data/server/instances/72/properties.xml +0 -156
- data/server/instances/73/properties.xml +0 -156
- data/server/instances/74/properties.xml +0 -156
- data/server/instances/76/notifications/a59df784fab648f5327915fc6cf012ab/consumer-secret +0 -1
- data/server/instances/76/notifications/a59df784fab648f5327915fc6cf012ab/producer-secret +0 -1
- data/server/instances/76/properties.xml +0 -156
- data/server/resources/base.xml +0 -78
- data/server/resources/test.rb +0 -19
- data/server/resources/test.xml +0 -33
|
@@ -1,141 +1,73 @@
|
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
2
|
<attributes>
|
|
3
|
-
<
|
|
4
|
-
<info>2nd level insert bug</info>
|
|
3
|
+
<info>Linear</info>
|
|
5
4
|
<modeltype>CPEE</modeltype>
|
|
6
|
-
<theme>
|
|
5
|
+
<theme>default</theme>
|
|
6
|
+
<uuid>
|
|
7
|
+
|
|
8
|
+
e3ee0cf2-f36c-45a0-9dc7-d5a2b54cc3bd
|
|
9
|
+
aaaaaaaa-f36c-45a0-9dc7-d5a2b54cc3bd
|
|
10
|
+
|
|
11
|
+
aaaaaaaa-f36c-45a0-9dc7-d5a2b54cc3bd
|
|
12
|
+
</uuid>
|
|
7
13
|
</attributes>
|
|
8
14
|
<state>ready</state>
|
|
9
15
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
10
|
-
<positions
|
|
11
|
-
|
|
16
|
+
<positions>
|
|
17
|
+
<a1>after</a1>
|
|
18
|
+
</positions>
|
|
19
|
+
<dataelements>
|
|
20
|
+
<x/>
|
|
21
|
+
</dataelements>
|
|
12
22
|
<endpoints>
|
|
13
23
|
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
14
24
|
</endpoints>
|
|
15
|
-
<dsl>call :
|
|
16
|
-
|
|
17
|
-
|
|
25
|
+
<dsl>call :a1, :timeout, parameters: { :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
26
|
+
data.x += "a1,"
|
|
27
|
+
END
|
|
28
|
+
call :a2, :timeout, parameters: { :method => :post, :arguments => [⭐(:name => :timeout, :value => 4)] }, finalize: <<-END
|
|
29
|
+
data.x += "a2,"
|
|
18
30
|
END
|
|
19
|
-
|
|
31
|
+
call :a3, :timeout, parameters: { :method => :post, :arguments => [⭐(:name => :timeout, :value => 4)] }, finalize: <<-END
|
|
32
|
+
data.x += "a3,"
|
|
20
33
|
END
|
|
21
|
-
manipulate :a5
|
|
22
|
-
loop pre_test{} do
|
|
23
|
-
loop pre_test{} do
|
|
24
|
-
call :a4, nil, parameters: { :label => "", :method => :post, :arguments => nil }
|
|
25
|
-
call :a1, nil, parameters: { :label => "", :method => :post, :arguments => nil }, finalize: <<-END
|
|
26
|
-
sdfsdf sd sdf sd f sd sd sdf sdf sd f sd f df d ds fs d fs df sd sdf df d ds f d fd df fd fd fd
|
|
27
|
-
END
|
|
28
|
-
call :a6, nil, parameters: { :label => "Testfa", :method => :post, :arguments => nil }, update: <<-END
|
|
29
|
-
aaaaab
|
|
30
|
-
END
|
|
31
|
-
end
|
|
32
|
-
call :a7, nil, parameters: { :label => "", :method => :post, :arguments => nil }
|
|
33
|
-
end
|
|
34
|
-
manipulate :a8
|
|
35
34
|
</dsl>
|
|
36
35
|
<dslx>
|
|
37
36
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
38
|
-
|
|
37
|
+
<!--{{{-->
|
|
38
|
+
<call id="a1" endpoint="timeout">
|
|
39
39
|
<parameters>
|
|
40
|
-
|
|
40
|
+
<!--{{{-->
|
|
41
41
|
<method>:post</method>
|
|
42
|
-
<arguments
|
|
42
|
+
<arguments>
|
|
43
|
+
<timeout>2</timeout>
|
|
44
|
+
</arguments>
|
|
43
45
|
</parameters>
|
|
46
|
+
<!--}}}-->
|
|
47
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
|
44
48
|
</call>
|
|
45
|
-
<call id="a2" endpoint="">
|
|
49
|
+
<call id="a2" endpoint="timeout">
|
|
46
50
|
<parameters>
|
|
47
|
-
|
|
51
|
+
<!--{{{-->
|
|
48
52
|
<method>:post</method>
|
|
49
|
-
<arguments
|
|
53
|
+
<arguments>
|
|
54
|
+
<timeout>4</timeout>
|
|
55
|
+
</arguments>
|
|
50
56
|
</parameters>
|
|
51
|
-
|
|
52
|
-
<
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
57
|
+
<!--}}}-->
|
|
58
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
|
59
|
+
</call>
|
|
60
|
+
<call id="a3" endpoint="timeout">
|
|
61
|
+
<parameters>
|
|
62
|
+
<!--{{{-->
|
|
63
|
+
<method>:post</method>
|
|
64
|
+
<arguments>
|
|
65
|
+
<timeout>4</timeout>
|
|
66
|
+
</arguments>
|
|
67
|
+
</parameters>
|
|
68
|
+
<!--}}}-->
|
|
69
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
|
56
70
|
</call>
|
|
57
|
-
<manipulate id="a5" label="Tester"/>
|
|
58
|
-
<loop mode="pre_test" condition="">
|
|
59
|
-
<loop mode="pre_test" condition="">
|
|
60
|
-
<call id="a4" endpoint="">
|
|
61
|
-
<parameters>
|
|
62
|
-
<label/>
|
|
63
|
-
<method>:post</method>
|
|
64
|
-
<arguments/>
|
|
65
|
-
</parameters>
|
|
66
|
-
<finalize output="result"/>
|
|
67
|
-
<update output="result"/>
|
|
68
|
-
<_timing>
|
|
69
|
-
<_timing_min/>
|
|
70
|
-
<_timing_max/>
|
|
71
|
-
<_timing_avg/>
|
|
72
|
-
</_timing>
|
|
73
|
-
<_notes>
|
|
74
|
-
<_notes_general/>
|
|
75
|
-
<_notes_output/>
|
|
76
|
-
</_notes>
|
|
77
|
-
</call>
|
|
78
|
-
<call id="a1" endpoint="">
|
|
79
|
-
<parameters>
|
|
80
|
-
<label/>
|
|
81
|
-
<method>:post</method>
|
|
82
|
-
<arguments/>
|
|
83
|
-
</parameters>
|
|
84
|
-
<finalize output="result">sdfsdf sd sdf sd f sd sd sdf sdf sd f sd f df d ds fs d fs df sd sdf df d ds f d fd df fd fd fd</finalize>
|
|
85
|
-
<update output="result"/>
|
|
86
|
-
<_timing>
|
|
87
|
-
<_timing_min/>
|
|
88
|
-
<_timing_max/>
|
|
89
|
-
<_timing_avg/>
|
|
90
|
-
</_timing>
|
|
91
|
-
<_notes>
|
|
92
|
-
<_notes_general>asdasd&nbsp; sad as d as d as as d asd as d as d as d asd a sd a sd as d asd&nbsp; asd as&nbsp; as da d as d asd a sd asd a sd asd&nbsp; asd a sd a sd a sd ad
|
|
93
|
-
|
|
94
|
-
asdasd asd asd
|
|
95
|
-
asdasdasdad</_notes_general>
|
|
96
|
-
<_notes_output/>
|
|
97
|
-
</_notes>
|
|
98
|
-
</call>
|
|
99
|
-
<call id="a6" endpoint="">
|
|
100
|
-
<parameters>
|
|
101
|
-
<label>Testfa</label>
|
|
102
|
-
<method>:post</method>
|
|
103
|
-
<arguments/>
|
|
104
|
-
</parameters>
|
|
105
|
-
<finalize output="result"/>
|
|
106
|
-
<update output="result">aaaaab</update>
|
|
107
|
-
<_timing>
|
|
108
|
-
<_timing_min>1</_timing_min>
|
|
109
|
-
<_timing_max>4.2</_timing_max>
|
|
110
|
-
<_timing_avg/>
|
|
111
|
-
</_timing>
|
|
112
|
-
<_notes>
|
|
113
|
-
<_notes_general>Test</_notes_general>
|
|
114
|
-
<_notes_output>aa</_notes_output>
|
|
115
|
-
<_attachments/>
|
|
116
|
-
</_notes>
|
|
117
|
-
</call>
|
|
118
|
-
</loop>
|
|
119
|
-
<call id="a7" endpoint="">
|
|
120
|
-
<parameters>
|
|
121
|
-
<label/>
|
|
122
|
-
<method>:post</method>
|
|
123
|
-
<arguments/>
|
|
124
|
-
</parameters>
|
|
125
|
-
<finalize output="result"/>
|
|
126
|
-
<update output="result"/>
|
|
127
|
-
<_timing>
|
|
128
|
-
<_timing_min/>
|
|
129
|
-
<_timing_max/>
|
|
130
|
-
<_timing_avg/>
|
|
131
|
-
</_timing>
|
|
132
|
-
<_notes>
|
|
133
|
-
<_notes_general/>
|
|
134
|
-
<_notes_output/>
|
|
135
|
-
</_notes>
|
|
136
|
-
</call>
|
|
137
|
-
</loop>
|
|
138
|
-
<manipulate id="a8" label=""/>
|
|
139
71
|
</description>
|
|
140
72
|
</dslx>
|
|
141
73
|
<status>
|
|
@@ -144,112 +76,45 @@ asdasdasdad</_notes_general>
|
|
|
144
76
|
</status>
|
|
145
77
|
<description>
|
|
146
78
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
147
|
-
|
|
79
|
+
<!--{{{-->
|
|
80
|
+
<call id="a1" endpoint="timeout">
|
|
148
81
|
<parameters>
|
|
149
|
-
|
|
82
|
+
<!--{{{-->
|
|
150
83
|
<method>:post</method>
|
|
151
|
-
<arguments
|
|
84
|
+
<arguments>
|
|
85
|
+
<timeout>2</timeout>
|
|
86
|
+
</arguments>
|
|
152
87
|
</parameters>
|
|
88
|
+
<!--}}}-->
|
|
89
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
|
153
90
|
</call>
|
|
154
|
-
<call id="a2" endpoint="">
|
|
91
|
+
<call id="a2" endpoint="timeout">
|
|
155
92
|
<parameters>
|
|
156
|
-
|
|
93
|
+
<!--{{{-->
|
|
157
94
|
<method>:post</method>
|
|
158
|
-
<arguments
|
|
95
|
+
<arguments>
|
|
96
|
+
<timeout>4</timeout>
|
|
97
|
+
</arguments>
|
|
159
98
|
</parameters>
|
|
160
|
-
|
|
161
|
-
<
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
99
|
+
<!--}}}-->
|
|
100
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
|
101
|
+
</call>
|
|
102
|
+
<call id="a3" endpoint="timeout">
|
|
103
|
+
<parameters>
|
|
104
|
+
<!--{{{-->
|
|
105
|
+
<method>:post</method>
|
|
106
|
+
<arguments>
|
|
107
|
+
<timeout>4</timeout>
|
|
108
|
+
</arguments>
|
|
109
|
+
</parameters>
|
|
110
|
+
<!--}}}-->
|
|
111
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
|
165
112
|
</call>
|
|
166
|
-
<manipulate id="a5" label="Tester"/>
|
|
167
|
-
<loop mode="pre_test" condition="">
|
|
168
|
-
<loop mode="pre_test" condition="">
|
|
169
|
-
<call id="a4" endpoint="">
|
|
170
|
-
<parameters>
|
|
171
|
-
<label/>
|
|
172
|
-
<method>:post</method>
|
|
173
|
-
<arguments/>
|
|
174
|
-
</parameters>
|
|
175
|
-
<finalize output="result"/>
|
|
176
|
-
<update output="result"/>
|
|
177
|
-
<_timing>
|
|
178
|
-
<_timing_min/>
|
|
179
|
-
<_timing_max/>
|
|
180
|
-
<_timing_avg/>
|
|
181
|
-
</_timing>
|
|
182
|
-
<_notes>
|
|
183
|
-
<_notes_general/>
|
|
184
|
-
<_notes_output/>
|
|
185
|
-
</_notes>
|
|
186
|
-
</call>
|
|
187
|
-
<call id="a1" endpoint="">
|
|
188
|
-
<parameters>
|
|
189
|
-
<label/>
|
|
190
|
-
<method>:post</method>
|
|
191
|
-
<arguments/>
|
|
192
|
-
</parameters>
|
|
193
|
-
<finalize output="result">sdfsdf sd sdf sd f sd sd sdf sdf sd f sd f df d ds fs d fs df sd sdf df d ds f d fd df fd fd fd</finalize>
|
|
194
|
-
<update output="result"/>
|
|
195
|
-
<_timing>
|
|
196
|
-
<_timing_min/>
|
|
197
|
-
<_timing_max/>
|
|
198
|
-
<_timing_avg/>
|
|
199
|
-
</_timing>
|
|
200
|
-
<_notes>
|
|
201
|
-
<_notes_general>asdasd&nbsp; sad as d as d as as d asd as d as d as d asd a sd a sd as d asd&nbsp; asd as&nbsp; as da d as d asd a sd asd a sd asd&nbsp; asd a sd a sd a sd ad
|
|
202
|
-
|
|
203
|
-
asdasd asd asd
|
|
204
|
-
asdasdasdad</_notes_general>
|
|
205
|
-
<_notes_output/>
|
|
206
|
-
</_notes>
|
|
207
|
-
</call>
|
|
208
|
-
<call id="a6" endpoint="">
|
|
209
|
-
<parameters>
|
|
210
|
-
<label>Testfa</label>
|
|
211
|
-
<method>:post</method>
|
|
212
|
-
<arguments/>
|
|
213
|
-
</parameters>
|
|
214
|
-
<finalize output="result"/>
|
|
215
|
-
<update output="result">aaaaab</update>
|
|
216
|
-
<_timing>
|
|
217
|
-
<_timing_min>1</_timing_min>
|
|
218
|
-
<_timing_max>4.2</_timing_max>
|
|
219
|
-
<_timing_avg/>
|
|
220
|
-
</_timing>
|
|
221
|
-
<_notes>
|
|
222
|
-
<_notes_general>Test</_notes_general>
|
|
223
|
-
<_notes_output>aa</_notes_output>
|
|
224
|
-
<_attachments/>
|
|
225
|
-
</_notes>
|
|
226
|
-
</call>
|
|
227
|
-
</loop>
|
|
228
|
-
<call id="a7" endpoint="">
|
|
229
|
-
<parameters>
|
|
230
|
-
<label/>
|
|
231
|
-
<method>:post</method>
|
|
232
|
-
<arguments/>
|
|
233
|
-
</parameters>
|
|
234
|
-
<finalize output="result"/>
|
|
235
|
-
<update output="result"/>
|
|
236
|
-
<_timing>
|
|
237
|
-
<_timing_min/>
|
|
238
|
-
<_timing_max/>
|
|
239
|
-
<_timing_avg/>
|
|
240
|
-
</_timing>
|
|
241
|
-
<_notes>
|
|
242
|
-
<_notes_general/>
|
|
243
|
-
<_notes_output/>
|
|
244
|
-
</_notes>
|
|
245
|
-
</call>
|
|
246
|
-
</loop>
|
|
247
|
-
<manipulate id="a8" label=""/>
|
|
248
113
|
</description>
|
|
249
114
|
</description>
|
|
250
115
|
<transformation>
|
|
251
116
|
<description type="copy"/>
|
|
252
|
-
<dataelements type="
|
|
253
|
-
<endpoints type="
|
|
117
|
+
<dataelements type="rest"/>
|
|
118
|
+
<endpoints type="rest"/>
|
|
254
119
|
</transformation>
|
|
255
120
|
</properties>
|
|
@@ -1,103 +1,208 @@
|
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
2
|
<attributes>
|
|
3
|
-
<uuid>
|
|
4
|
-
<info>
|
|
5
|
-
<modeltype>
|
|
3
|
+
<uuid>55c9f9fe-d2eb-4494-a64c-f1bcbe459a55</uuid>
|
|
4
|
+
<info>a1200993</info>
|
|
5
|
+
<modeltype>Signavio</modeltype>
|
|
6
6
|
<theme>labels</theme>
|
|
7
7
|
</attributes>
|
|
8
|
-
<state>
|
|
8
|
+
<state>finished</state>
|
|
9
9
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
10
10
|
<positions/>
|
|
11
|
-
<dataelements
|
|
11
|
+
<dataelements>
|
|
12
|
+
<passportStatus>0</passportStatus>
|
|
13
|
+
<visaStatus>0</visaStatus>
|
|
14
|
+
<jobStatus>0</jobStatus>
|
|
15
|
+
<money>0</money>
|
|
16
|
+
<adress>null</adress>
|
|
17
|
+
</dataelements>
|
|
12
18
|
<endpoints>
|
|
13
19
|
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
14
20
|
</endpoints>
|
|
15
|
-
<dsl>call :a1,
|
|
16
|
-
data.
|
|
17
|
-
data.scheibenbauform = result.scheibenbauform
|
|
18
|
-
data.eigenspannungswert = result.eigenspannungswert
|
|
19
|
-
data.taetigkeiten = []
|
|
21
|
+
<dsl>call :a1, :timeout, parameters: { :label => "\"Save money for living expenses in Austria\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
22
|
+
data.money=10000
|
|
20
23
|
END
|
|
21
|
-
call :a2,
|
|
22
|
-
data.
|
|
23
|
-
data.mineigenspannungswert = result.mineigenspannungswert
|
|
24
|
+
call :a2, :timeout, parameters: { :label => "\"Check if passport still valid\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
25
|
+
data.passportStatus=0
|
|
24
26
|
END
|
|
25
27
|
choose :exclusive do
|
|
26
|
-
alternative
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
END
|
|
32
|
-
end
|
|
33
|
-
otherwise do
|
|
34
|
-
manipulate :a3, <<-END
|
|
35
|
-
data.taetigkeiten << "Abpressen"
|
|
36
|
-
END
|
|
37
|
-
end
|
|
38
|
-
end
|
|
28
|
+
alternative "data.passportStatus==0" do
|
|
29
|
+
call :a4, :timeout, parameters: { :label => "Renew passport", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
30
|
+
data.passportStatus=1
|
|
31
|
+
data.money=data.money-60
|
|
32
|
+
END
|
|
39
33
|
end
|
|
40
34
|
end
|
|
35
|
+
call :a6, :timeout, parameters: { :label => "\"Check if visa is needed\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
36
|
+
data.visaStatus=1
|
|
37
|
+
END
|
|
38
|
+
choose :exclusive do
|
|
39
|
+
alternative "data.passportStatus==1" do
|
|
40
|
+
call :a5, :timeout, parameters: { :label => "Apply for visa", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
41
|
+
data.visaStatus=0
|
|
42
|
+
data.money=data.money-110
|
|
43
|
+
END
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
call :a10, :timeout, parameters: { :label => "\"Apply for \\"Rot-Weiß-Rot\\" card\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
47
|
+
data.money=data.money-200
|
|
48
|
+
END
|
|
49
|
+
parallel :wait => -1 do
|
|
50
|
+
parallel_branch do
|
|
51
|
+
call :a12, :timeout, parameters: { :label => "\"Organise bank account\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
52
|
+
data.money=data.money+100
|
|
53
|
+
END
|
|
54
|
+
end
|
|
55
|
+
parallel_branch do
|
|
56
|
+
call :a13, :timeout, parameters: { :label => "\"Organise accomodation\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
57
|
+
data.adress="Sonnenallee 51/1/16"
|
|
58
|
+
END
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
call :a15, :timeout, parameters: { :label => "\"Enter Austria\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
62
|
+
data.money=data.money-1000
|
|
63
|
+
data.jobStatus=1
|
|
64
|
+
END
|
|
65
|
+
loop pre_test{data.jobStatus==0} do
|
|
66
|
+
call :a3, :timeout, parameters: { :label => "Search for a job", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
67
|
+
data.jobStatus=1
|
|
68
|
+
END
|
|
69
|
+
end
|
|
41
70
|
</dsl>
|
|
42
71
|
<dslx>
|
|
43
72
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
44
|
-
<call id="a1" endpoint="">
|
|
73
|
+
<call id="a1" endpoint="timeout">
|
|
74
|
+
<parameters>
|
|
75
|
+
<label>"Save money for living expenses in Austria"</label>
|
|
76
|
+
<method>:post</method>
|
|
77
|
+
<arguments>
|
|
78
|
+
<timeout>2</timeout>
|
|
79
|
+
</arguments>
|
|
80
|
+
</parameters>
|
|
81
|
+
<finalize output="result">data.money=10000
|
|
82
|
+
</finalize>
|
|
83
|
+
<update output="result"/>
|
|
84
|
+
</call>
|
|
85
|
+
<call id="a2" endpoint="timeout">
|
|
45
86
|
<parameters>
|
|
46
|
-
<label>
|
|
87
|
+
<label>"Check if passport still valid"</label>
|
|
47
88
|
<method>:post</method>
|
|
48
|
-
<arguments
|
|
89
|
+
<arguments>
|
|
90
|
+
<timeout>2</timeout>
|
|
91
|
+
</arguments>
|
|
49
92
|
</parameters>
|
|
50
|
-
<finalize output="result"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
data.eigenspannungswert = result.eigenspannungswert
|
|
54
|
-
data.taetigkeiten = []</update>
|
|
55
|
-
<_timing>
|
|
56
|
-
<_timing_min/>
|
|
57
|
-
<_timing_max/>
|
|
58
|
-
<_timing_avg/>
|
|
59
|
-
</_timing>
|
|
60
|
-
<_notes>
|
|
61
|
-
<_notes_general/>
|
|
62
|
-
<_notes_output/>
|
|
63
|
-
<_attachments/>
|
|
64
|
-
</_notes>
|
|
93
|
+
<finalize output="result">data.passportStatus=0
|
|
94
|
+
</finalize>
|
|
95
|
+
<update output="result"/>
|
|
65
96
|
</call>
|
|
66
|
-
<
|
|
97
|
+
<choose mode="exclusive">
|
|
98
|
+
<alternative condition="data.passportStatus==0">
|
|
99
|
+
<call id="a4" endpoint="timeout">
|
|
100
|
+
<parameters>
|
|
101
|
+
<label>Renew passport</label>
|
|
102
|
+
<method>:post</method>
|
|
103
|
+
<arguments>
|
|
104
|
+
<timeout>2</timeout>
|
|
105
|
+
</arguments>
|
|
106
|
+
</parameters>
|
|
107
|
+
<finalize output="result">data.passportStatus=1
|
|
108
|
+
data.money=data.money-60</finalize>
|
|
109
|
+
<update output="result"/>
|
|
110
|
+
</call>
|
|
111
|
+
</alternative>
|
|
112
|
+
<otherwise/>
|
|
113
|
+
</choose>
|
|
114
|
+
<call id="a6" endpoint="timeout">
|
|
67
115
|
<parameters>
|
|
68
|
-
<label>
|
|
116
|
+
<label>"Check if visa is needed"</label>
|
|
69
117
|
<method>:post</method>
|
|
70
118
|
<arguments>
|
|
71
|
-
<
|
|
72
|
-
<scheibenmaterial>data.scheibenmaterial</scheibenmaterial>
|
|
119
|
+
<timeout>2</timeout>
|
|
73
120
|
</arguments>
|
|
74
121
|
</parameters>
|
|
75
|
-
<finalize output="result">data.
|
|
76
|
-
data.mineigenspannungswert = result.mineigenspannungswert</finalize>
|
|
122
|
+
<finalize output="result">data.visaStatus=1</finalize>
|
|
77
123
|
<update output="result"/>
|
|
78
|
-
<_timing>
|
|
79
|
-
<_timing_min/>
|
|
80
|
-
<_timing_max/>
|
|
81
|
-
<_timing_avg/>
|
|
82
|
-
</_timing>
|
|
83
|
-
<_notes>
|
|
84
|
-
<_notes_general/>
|
|
85
|
-
<_notes_output/>
|
|
86
|
-
<_attachments/>
|
|
87
|
-
</_notes>
|
|
88
124
|
</call>
|
|
89
125
|
<choose mode="exclusive">
|
|
90
|
-
<alternative condition="data.
|
|
91
|
-
<
|
|
92
|
-
<
|
|
93
|
-
<
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
126
|
+
<alternative condition="data.passportStatus==1">
|
|
127
|
+
<call id="a5" endpoint="timeout">
|
|
128
|
+
<parameters>
|
|
129
|
+
<label>Apply for visa</label>
|
|
130
|
+
<method>:post</method>
|
|
131
|
+
<arguments>
|
|
132
|
+
<timeout>2</timeout>
|
|
133
|
+
</arguments>
|
|
134
|
+
</parameters>
|
|
135
|
+
<finalize output="result">data.visaStatus=0
|
|
136
|
+
data.money=data.money-110</finalize>
|
|
137
|
+
<update output="result"/>
|
|
138
|
+
</call>
|
|
99
139
|
</alternative>
|
|
140
|
+
<otherwise/>
|
|
100
141
|
</choose>
|
|
142
|
+
<call id="a10" endpoint="timeout">
|
|
143
|
+
<parameters>
|
|
144
|
+
<label>"Apply for \"Rot-Weiß-Rot\" card"</label>
|
|
145
|
+
<method>:post</method>
|
|
146
|
+
<arguments>
|
|
147
|
+
<timeout>2</timeout>
|
|
148
|
+
</arguments>
|
|
149
|
+
</parameters>
|
|
150
|
+
<finalize output="result">data.money=data.money-200</finalize>
|
|
151
|
+
<update output="result"/>
|
|
152
|
+
</call>
|
|
153
|
+
<parallel wait="-1">
|
|
154
|
+
<parallel_branch>
|
|
155
|
+
<call id="a12" endpoint="timeout">
|
|
156
|
+
<parameters>
|
|
157
|
+
<label>"Organise bank account"</label>
|
|
158
|
+
<method>:post</method>
|
|
159
|
+
<arguments>
|
|
160
|
+
<timeout>2</timeout>
|
|
161
|
+
</arguments>
|
|
162
|
+
</parameters>
|
|
163
|
+
<finalize output="result">data.money=data.money+100</finalize>
|
|
164
|
+
<update output="result"/>
|
|
165
|
+
</call>
|
|
166
|
+
</parallel_branch>
|
|
167
|
+
<parallel_branch>
|
|
168
|
+
<call id="a13" endpoint="timeout">
|
|
169
|
+
<parameters>
|
|
170
|
+
<label>"Organise accomodation"</label>
|
|
171
|
+
<method>:post</method>
|
|
172
|
+
<arguments>
|
|
173
|
+
<timeout>2</timeout>
|
|
174
|
+
</arguments>
|
|
175
|
+
</parameters>
|
|
176
|
+
<finalize output="result">data.adress="Sonnenallee 51/1/16"</finalize>
|
|
177
|
+
<update output="result"/>
|
|
178
|
+
</call>
|
|
179
|
+
</parallel_branch>
|
|
180
|
+
</parallel>
|
|
181
|
+
<call id="a15" endpoint="timeout">
|
|
182
|
+
<parameters>
|
|
183
|
+
<label>"Enter Austria"</label>
|
|
184
|
+
<method>:post</method>
|
|
185
|
+
<arguments>
|
|
186
|
+
<timeout>2</timeout>
|
|
187
|
+
</arguments>
|
|
188
|
+
</parameters>
|
|
189
|
+
<finalize output="result">data.money=data.money-1000
|
|
190
|
+
data.jobStatus=1</finalize>
|
|
191
|
+
<update output="result"/>
|
|
192
|
+
</call>
|
|
193
|
+
<loop mode="pre_test" condition="data.jobStatus==0">
|
|
194
|
+
<call id="a3" endpoint="timeout">
|
|
195
|
+
<parameters>
|
|
196
|
+
<label>Search for a job</label>
|
|
197
|
+
<method>:post</method>
|
|
198
|
+
<arguments>
|
|
199
|
+
<timeout>2</timeout>
|
|
200
|
+
</arguments>
|
|
201
|
+
</parameters>
|
|
202
|
+
<finalize output="result">data.jobStatus=1</finalize>
|
|
203
|
+
<update output="result"/>
|
|
204
|
+
</call>
|
|
205
|
+
</loop>
|
|
101
206
|
</description>
|
|
102
207
|
</dslx>
|
|
103
208
|
<status>
|
|
@@ -106,63 +211,139 @@ data.mineigenspannungswert = result.mineigenspannungswert</finalize>
|
|
|
106
211
|
</status>
|
|
107
212
|
<description>
|
|
108
213
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
109
|
-
<call id="a1" endpoint="">
|
|
214
|
+
<call id="a1" endpoint="timeout">
|
|
215
|
+
<parameters>
|
|
216
|
+
<label>"Save money for living expenses in Austria"</label>
|
|
217
|
+
<method>:post</method>
|
|
218
|
+
<arguments>
|
|
219
|
+
<timeout>2</timeout>
|
|
220
|
+
</arguments>
|
|
221
|
+
</parameters>
|
|
222
|
+
<finalize output="result">data.money=10000
|
|
223
|
+
</finalize>
|
|
224
|
+
<update output="result"/>
|
|
225
|
+
</call>
|
|
226
|
+
<call id="a2" endpoint="timeout">
|
|
110
227
|
<parameters>
|
|
111
|
-
<label>
|
|
228
|
+
<label>"Check if passport still valid"</label>
|
|
112
229
|
<method>:post</method>
|
|
113
|
-
<arguments
|
|
230
|
+
<arguments>
|
|
231
|
+
<timeout>2</timeout>
|
|
232
|
+
</arguments>
|
|
114
233
|
</parameters>
|
|
115
|
-
<finalize output="result"
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
data.eigenspannungswert = result.eigenspannungswert
|
|
119
|
-
data.taetigkeiten = []</update>
|
|
120
|
-
<_timing>
|
|
121
|
-
<_timing_min/>
|
|
122
|
-
<_timing_max/>
|
|
123
|
-
<_timing_avg/>
|
|
124
|
-
</_timing>
|
|
125
|
-
<_notes>
|
|
126
|
-
<_notes_general/>
|
|
127
|
-
<_notes_output/>
|
|
128
|
-
<_attachments/>
|
|
129
|
-
</_notes>
|
|
234
|
+
<finalize output="result">data.passportStatus=0
|
|
235
|
+
</finalize>
|
|
236
|
+
<update output="result"/>
|
|
130
237
|
</call>
|
|
131
|
-
<
|
|
238
|
+
<choose mode="exclusive">
|
|
239
|
+
<alternative condition="data.passportStatus==0">
|
|
240
|
+
<call id="a4" endpoint="timeout">
|
|
241
|
+
<parameters>
|
|
242
|
+
<label>Renew passport</label>
|
|
243
|
+
<method>:post</method>
|
|
244
|
+
<arguments>
|
|
245
|
+
<timeout>2</timeout>
|
|
246
|
+
</arguments>
|
|
247
|
+
</parameters>
|
|
248
|
+
<finalize output="result">data.passportStatus=1
|
|
249
|
+
data.money=data.money-60</finalize>
|
|
250
|
+
<update output="result"/>
|
|
251
|
+
</call>
|
|
252
|
+
</alternative>
|
|
253
|
+
<otherwise/>
|
|
254
|
+
</choose>
|
|
255
|
+
<call id="a6" endpoint="timeout">
|
|
132
256
|
<parameters>
|
|
133
|
-
<label>
|
|
257
|
+
<label>"Check if visa is needed"</label>
|
|
134
258
|
<method>:post</method>
|
|
135
259
|
<arguments>
|
|
136
|
-
<
|
|
137
|
-
<scheibenmaterial>data.scheibenmaterial</scheibenmaterial>
|
|
260
|
+
<timeout>2</timeout>
|
|
138
261
|
</arguments>
|
|
139
262
|
</parameters>
|
|
140
|
-
<finalize output="result">data.
|
|
141
|
-
data.mineigenspannungswert = result.mineigenspannungswert</finalize>
|
|
263
|
+
<finalize output="result">data.visaStatus=1</finalize>
|
|
142
264
|
<update output="result"/>
|
|
143
|
-
<_timing>
|
|
144
|
-
<_timing_min/>
|
|
145
|
-
<_timing_max/>
|
|
146
|
-
<_timing_avg/>
|
|
147
|
-
</_timing>
|
|
148
|
-
<_notes>
|
|
149
|
-
<_notes_general/>
|
|
150
|
-
<_notes_output/>
|
|
151
|
-
<_attachments/>
|
|
152
|
-
</_notes>
|
|
153
265
|
</call>
|
|
154
266
|
<choose mode="exclusive">
|
|
155
|
-
<alternative condition="data.
|
|
156
|
-
<
|
|
157
|
-
<
|
|
158
|
-
<
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
267
|
+
<alternative condition="data.passportStatus==1">
|
|
268
|
+
<call id="a5" endpoint="timeout">
|
|
269
|
+
<parameters>
|
|
270
|
+
<label>Apply for visa</label>
|
|
271
|
+
<method>:post</method>
|
|
272
|
+
<arguments>
|
|
273
|
+
<timeout>2</timeout>
|
|
274
|
+
</arguments>
|
|
275
|
+
</parameters>
|
|
276
|
+
<finalize output="result">data.visaStatus=0
|
|
277
|
+
data.money=data.money-110</finalize>
|
|
278
|
+
<update output="result"/>
|
|
279
|
+
</call>
|
|
164
280
|
</alternative>
|
|
281
|
+
<otherwise/>
|
|
165
282
|
</choose>
|
|
283
|
+
<call id="a10" endpoint="timeout">
|
|
284
|
+
<parameters>
|
|
285
|
+
<label>"Apply for \"Rot-Weiß-Rot\" card"</label>
|
|
286
|
+
<method>:post</method>
|
|
287
|
+
<arguments>
|
|
288
|
+
<timeout>2</timeout>
|
|
289
|
+
</arguments>
|
|
290
|
+
</parameters>
|
|
291
|
+
<finalize output="result">data.money=data.money-200</finalize>
|
|
292
|
+
<update output="result"/>
|
|
293
|
+
</call>
|
|
294
|
+
<parallel wait="-1">
|
|
295
|
+
<parallel_branch>
|
|
296
|
+
<call id="a12" endpoint="timeout">
|
|
297
|
+
<parameters>
|
|
298
|
+
<label>"Organise bank account"</label>
|
|
299
|
+
<method>:post</method>
|
|
300
|
+
<arguments>
|
|
301
|
+
<timeout>2</timeout>
|
|
302
|
+
</arguments>
|
|
303
|
+
</parameters>
|
|
304
|
+
<finalize output="result">data.money=data.money+100</finalize>
|
|
305
|
+
<update output="result"/>
|
|
306
|
+
</call>
|
|
307
|
+
</parallel_branch>
|
|
308
|
+
<parallel_branch>
|
|
309
|
+
<call id="a13" endpoint="timeout">
|
|
310
|
+
<parameters>
|
|
311
|
+
<label>"Organise accomodation"</label>
|
|
312
|
+
<method>:post</method>
|
|
313
|
+
<arguments>
|
|
314
|
+
<timeout>2</timeout>
|
|
315
|
+
</arguments>
|
|
316
|
+
</parameters>
|
|
317
|
+
<finalize output="result">data.adress="Sonnenallee 51/1/16"</finalize>
|
|
318
|
+
<update output="result"/>
|
|
319
|
+
</call>
|
|
320
|
+
</parallel_branch>
|
|
321
|
+
</parallel>
|
|
322
|
+
<call id="a15" endpoint="timeout">
|
|
323
|
+
<parameters>
|
|
324
|
+
<label>"Enter Austria"</label>
|
|
325
|
+
<method>:post</method>
|
|
326
|
+
<arguments>
|
|
327
|
+
<timeout>2</timeout>
|
|
328
|
+
</arguments>
|
|
329
|
+
</parameters>
|
|
330
|
+
<finalize output="result">data.money=data.money-1000
|
|
331
|
+
data.jobStatus=1</finalize>
|
|
332
|
+
<update output="result"/>
|
|
333
|
+
</call>
|
|
334
|
+
<loop mode="pre_test" condition="data.jobStatus==0">
|
|
335
|
+
<call id="a3" endpoint="timeout">
|
|
336
|
+
<parameters>
|
|
337
|
+
<label>Search for a job</label>
|
|
338
|
+
<method>:post</method>
|
|
339
|
+
<arguments>
|
|
340
|
+
<timeout>2</timeout>
|
|
341
|
+
</arguments>
|
|
342
|
+
</parameters>
|
|
343
|
+
<finalize output="result">data.jobStatus=1</finalize>
|
|
344
|
+
<update output="result"/>
|
|
345
|
+
</call>
|
|
346
|
+
</loop>
|
|
166
347
|
</description>
|
|
167
348
|
</description>
|
|
168
349
|
<transformation>
|