cpee 1.3.187 → 1.3.188

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,138 @@
1
+ <log xmlns="http://www.xes-standard.org/" xes.version="1.0" xes.features="nested-attributes" openxes.version="1.0RC7">
2
+ <extension name="Time" prefix="time" uri="http://www.xes-standard.org/time.xesext"/>
3
+ <extension name="Concept" prefix="concept" uri="http://www.xes-standard.org/concept.xesext"/>
4
+ <extension name="Organizational" prefix="org" uri="http://www.xes-standard.org/org.xesext"/>
5
+ <trace>
6
+ <string key="concept:name" value="Instance 43"/>
7
+ <string key="concept:name" value="Instance 43"/>
8
+ <string key="concept:name" value="Instance 43"/>
9
+ <event>
10
+ <string key="concept:name" value=""/>
11
+ <list key="data_send">
12
+ <string key="timeout" value="2"/>
13
+ </list>
14
+ <list key="data_received">
15
+ <string key="html_text" value="Timeout: 2"/>
16
+ </list>
17
+ <date key="time:timestamp" value="2016-11-21 18:45:36 +0100"/>
18
+ </event>
19
+ <string key="concept:name" value="Instance 43"/>
20
+ <string key="concept:name" value="Instance 43"/>
21
+ <event>
22
+ <string key="concept:name" value=""/>
23
+ <list key="data_send">
24
+ <string key="timeout" value="2"/>
25
+ </list>
26
+ <list key="data_received">
27
+ <string key="html_text" value="Timeout: 2"/>
28
+ </list>
29
+ <date key="time:timestamp" value="2016-11-21 18:45:38 +0100"/>
30
+ </event>
31
+ <string key="concept:name" value="Instance 43"/>
32
+ <event>
33
+ <string key="concept:name" value=""/>
34
+ <list key="data_send">
35
+ <string key="timeout" value="3"/>
36
+ </list>
37
+ <list key="data_received">
38
+ <string key="html_text" value="Timeout: 3"/>
39
+ </list>
40
+ <date key="time:timestamp" value="2016-11-21 18:45:39 +0100"/>
41
+ </event>
42
+ <string key="concept:name" value="Instance 43"/>
43
+ <string key="concept:name" value="Instance 43"/>
44
+ <event>
45
+ <string key="concept:name" value=""/>
46
+ <list key="data_send">
47
+ <string key="timeout" value="1"/>
48
+ </list>
49
+ <list key="data_received">
50
+ <string key="html_text" value="Timeout: 1"/>
51
+ </list>
52
+ <date key="time:timestamp" value="2016-11-21 18:45:40 +0100"/>
53
+ </event>
54
+ <string key="concept:name" value="Instance 43"/>
55
+ <event>
56
+ <string key="concept:name" value=""/>
57
+ <date key="time:timestamp" value="2016-11-21 18:45:40 +0100"/>
58
+ </event>
59
+ <string key="concept:name" value="Instance 43"/>
60
+ <event>
61
+ <string key="concept:name" value=""/>
62
+ <list key="data_send">
63
+ <string key="timeout" value="1"/>
64
+ </list>
65
+ <list key="data_received">
66
+ <string key="html_text" value="Timeout: 1"/>
67
+ </list>
68
+ <date key="time:timestamp" value="2016-11-21 18:45:41 +0100"/>
69
+ </event>
70
+ <string key="concept:name" value="Instance 43"/>
71
+ <event>
72
+ <string key="concept:name" value=""/>
73
+ <date key="time:timestamp" value="2016-11-21 18:45:42 +0100"/>
74
+ </event>
75
+ <string key="concept:name" value="Instance 43"/>
76
+ <event>
77
+ <string key="concept:name" value=""/>
78
+ <list key="data_send">
79
+ <string key="timeout" value="1"/>
80
+ </list>
81
+ <list key="data_received">
82
+ <string key="html_text" value="Timeout: 1"/>
83
+ </list>
84
+ <date key="time:timestamp" value="2016-11-21 18:45:43 +0100"/>
85
+ </event>
86
+ <string key="concept:name" value="Instance 43"/>
87
+ <event>
88
+ <string key="concept:name" value=""/>
89
+ <date key="time:timestamp" value="2016-11-21 18:45:43 +0100"/>
90
+ </event>
91
+ <string key="concept:name" value="Instance 43"/>
92
+ <event>
93
+ <string key="concept:name" value=""/>
94
+ <list key="data_send">
95
+ <string key="timeout" value="1"/>
96
+ </list>
97
+ <list key="data_received">
98
+ <string key="html_text" value="Timeout: 1"/>
99
+ </list>
100
+ <date key="time:timestamp" value="2016-11-21 18:45:44 +0100"/>
101
+ </event>
102
+ <string key="concept:name" value="Instance 43"/>
103
+ <event>
104
+ <string key="concept:name" value=""/>
105
+ <date key="time:timestamp" value="2016-11-21 18:45:44 +0100"/>
106
+ </event>
107
+ <string key="concept:name" value="Instance 43"/>
108
+ <event>
109
+ <string key="concept:name" value=""/>
110
+ <list key="data_send">
111
+ <string key="timeout" value="1"/>
112
+ </list>
113
+ <list key="data_received">
114
+ <string key="html_text" value="Timeout: 1"/>
115
+ </list>
116
+ <date key="time:timestamp" value="2016-11-21 18:45:45 +0100"/>
117
+ </event>
118
+ <string key="concept:name" value="Instance 43"/>
119
+ <event>
120
+ <string key="concept:name" value=""/>
121
+ <date key="time:timestamp" value="2016-11-21 18:45:45 +0100"/>
122
+ </event>
123
+ <string key="concept:name" value="Instance 43"/>
124
+ <string key="concept:name" value="Instance 43"/>
125
+ <event>
126
+ <string key="concept:name" value=""/>
127
+ <list key="data_send">
128
+ <string key="timeout" value="1"/>
129
+ </list>
130
+ <list key="data_received">
131
+ <string key="html_text" value="Timeout: 1"/>
132
+ </list>
133
+ <date key="time:timestamp" value="2016-11-21 18:45:46 +0100"/>
134
+ </event>
135
+ <string key="concept:name" value="Instance 43"/>
136
+ <string key="concept:name" value="Instance 43"/>
137
+ </trace>
138
+ </log>
@@ -0,0 +1 @@
1
+ 5e1a65e6b2e2b676519fccca90d83440
@@ -0,0 +1 @@
1
+ 287071a1f4a6a63c0ffdcaa70f6de030
@@ -0,0 +1,176 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <info>Test</info>
4
+ <modeltype>CPEE</modeltype>
5
+ <theme>default</theme>
6
+ </attributes>
7
+ <state>finished</state>
8
+ <handlerwrapper>LogHandlerWrapper</handlerwrapper>
9
+ <positions/>
10
+ <dataelements>
11
+ <i>0</i>
12
+ </dataelements>
13
+ <endpoints>
14
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
15
+ </endpoints>
16
+ <dsl>call :a2, :timeout, parameters: { :label =&gt; nil, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 2} }
17
+ parallel :wait =&gt; -1 do
18
+ parallel_branch do ||
19
+ call :a3, :timeout, parameters: { :label =&gt; nil, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 2} }
20
+ end
21
+ parallel_branch do ||
22
+ call :a4, :timeout, parameters: { :label =&gt; nil, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 3} }
23
+ end
24
+ end
25
+ loop pre_test{data.i &gt; 0} do
26
+ call :a6, :timeout, parameters: { :label =&gt; nil, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 1} }
27
+ manipulate :a7, &lt;&lt;-END
28
+ data.i -= 1
29
+ END
30
+ end
31
+ choose :exclusive do
32
+ alternative "true" do
33
+ call :a5, :timeout, parameters: { :label =&gt; nil, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 1} }
34
+ end
35
+ end
36
+ </dsl>
37
+ <dslx>
38
+ <description xmlns="http://cpee.org/ns/description/1.0">
39
+ <call id="a2" endpoint="timeout">
40
+ <parameters>
41
+ <label/>
42
+ <method>:post</method>
43
+ <arguments>
44
+ <timeout>2</timeout>
45
+ </arguments>
46
+ </parameters>
47
+ <finalize output="result"/>
48
+ <update output="result"/>
49
+ </call>
50
+ <parallel wait="-1">
51
+ <parallel_branch pass="" local="">
52
+ <call id="a3" endpoint="timeout">
53
+ <parameters>
54
+ <label/>
55
+ <method>:post</method>
56
+ <arguments>
57
+ <timeout>2</timeout>
58
+ </arguments>
59
+ </parameters>
60
+ </call>
61
+ </parallel_branch>
62
+ <parallel_branch pass="" local="">
63
+ <call id="a4" endpoint="timeout">
64
+ <parameters>
65
+ <label/>
66
+ <method>:post</method>
67
+ <arguments>
68
+ <timeout>3</timeout>
69
+ </arguments>
70
+ </parameters>
71
+ </call>
72
+ </parallel_branch>
73
+ </parallel>
74
+ <loop mode="pre_test" condition="data.i &gt; 0">
75
+ <call id="a6" endpoint="timeout">
76
+ <parameters>
77
+ <label/>
78
+ <method>:post</method>
79
+ <arguments>
80
+ <timeout>1</timeout>
81
+ </arguments>
82
+ </parameters>
83
+ </call>
84
+ <manipulate id="a7">data.i -= 1</manipulate>
85
+ </loop>
86
+ <choose mode="exclusive">
87
+ <alternative condition="true">
88
+ <call id="a5" endpoint="timeout">
89
+ <parameters>
90
+ <label/>
91
+ <method>:post</method>
92
+ <arguments>
93
+ <timeout>1</timeout>
94
+ </arguments>
95
+ </parameters>
96
+ </call>
97
+ </alternative>
98
+ <otherwise/>
99
+ </choose>
100
+ </description>
101
+ </dslx>
102
+ <status>
103
+ <id>0</id>
104
+ <message>undefined</message>
105
+ </status>
106
+ <description>
107
+ <description xmlns="http://cpee.org/ns/description/1.0">
108
+ <call id="a2" endpoint="timeout">
109
+ <parameters>
110
+ <label/>
111
+ <method>:post</method>
112
+ <arguments>
113
+ <timeout>2</timeout>
114
+ </arguments>
115
+ </parameters>
116
+ <finalize output="result"/>
117
+ <update output="result"/>
118
+ </call>
119
+ <parallel wait="-1">
120
+ <parallel_branch pass="" local="">
121
+ <call id="a3" endpoint="timeout">
122
+ <parameters>
123
+ <label/>
124
+ <method>:post</method>
125
+ <arguments>
126
+ <timeout>2</timeout>
127
+ </arguments>
128
+ </parameters>
129
+ </call>
130
+ </parallel_branch>
131
+ <parallel_branch pass="" local="">
132
+ <call id="a4" endpoint="timeout">
133
+ <parameters>
134
+ <label/>
135
+ <method>:post</method>
136
+ <arguments>
137
+ <timeout>3</timeout>
138
+ </arguments>
139
+ </parameters>
140
+ </call>
141
+ </parallel_branch>
142
+ </parallel>
143
+ <loop mode="pre_test" condition="data.i &gt; 0">
144
+ <call id="a6" endpoint="timeout">
145
+ <parameters>
146
+ <label/>
147
+ <method>:post</method>
148
+ <arguments>
149
+ <timeout>1</timeout>
150
+ </arguments>
151
+ </parameters>
152
+ </call>
153
+ <manipulate id="a7">data.i -= 1</manipulate>
154
+ </loop>
155
+ <choose mode="exclusive">
156
+ <alternative condition="true">
157
+ <call id="a5" endpoint="timeout">
158
+ <parameters>
159
+ <label/>
160
+ <method>:post</method>
161
+ <arguments>
162
+ <timeout>1</timeout>
163
+ </arguments>
164
+ </parameters>
165
+ </call>
166
+ </alternative>
167
+ <otherwise/>
168
+ </choose>
169
+ </description>
170
+ </description>
171
+ <transformation>
172
+ <description type="copy"/>
173
+ <dataelements type="none"/>
174
+ <endpoints type="none"/>
175
+ </transformation>
176
+ </properties>
@@ -49,17 +49,12 @@
49
49
  <xsl:text>, parameters: { </xsl:text>
50
50
  <xsl:apply-templates select="d:parameters"/>
51
51
  <xsl:text> }</xsl:text>
52
- <xsl:choose>
53
- <xsl:when test="count(d:finalize | d:update)=2">
54
- <xsl:text>, finalize: &lt;&lt;-END, update: &lt;&lt;-END</xsl:text>
55
- </xsl:when>
56
- <xsl:when test="d:finalize">
57
- <xsl:text>, finalize: &lt;&lt;-END</xsl:text>
58
- </xsl:when>
59
- <xsl:when test="d:update">
60
- <xsl:text>, update: &lt;&lt;-END</xsl:text>
61
- </xsl:when>
62
- </xsl:choose>
52
+ <xsl:if test="d:finalize and d:finalize/text()">
53
+ <xsl:text>, finalize: &lt;&lt;-END</xsl:text>
54
+ </xsl:if>
55
+ <xsl:if test="d:update and d:update/text()">
56
+ <xsl:text>, update: &lt;&lt;-END</xsl:text>
57
+ </xsl:if>
63
58
  <xsl:apply-templates select="d:finalize" mode="part-of-call">
64
59
  <xsl:with-param name="myspace">
65
60
  <xsl:value-of select="$myspace"/>
@@ -258,37 +253,39 @@
258
253
  <xsl:call-template name="print-newline"/>
259
254
  </xsl:template>
260
255
  <xsl:template match="d:otherwise">
261
- <xsl:param name="myspace"/>
262
- <xsl:call-template name="print-space">
263
- <xsl:with-param name="i">1</xsl:with-param>
264
- <xsl:with-param name="count">
265
- <xsl:value-of select="$myspace+$myspacemultiplier"/>
266
- </xsl:with-param>
267
- </xsl:call-template>
268
- <xsl:text>otherwise </xsl:text>
269
- <xsl:for-each select="@*[not(name()='language' or name()='condition' or name()='svg-label')]">
270
- <xsl:if test="position() &gt;1">, </xsl:if>
271
- <xsl:text>:</xsl:text>
272
- <xsl:value-of select="name(.)"/>
273
- <xsl:text> => "</xsl:text>
274
- <xsl:value-of select="."/>
275
- <xsl:text>"</xsl:text>
276
- </xsl:for-each>
277
- <xsl:text> do</xsl:text>
278
- <xsl:call-template name="print-newline"/>
279
- <xsl:apply-templates>
280
- <xsl:with-param name="myspace">
281
- <xsl:value-of select="$myspace+$myspacemultiplier"/>
282
- </xsl:with-param>
283
- </xsl:apply-templates>
284
- <xsl:call-template name="print-space">
285
- <xsl:with-param name="i">1</xsl:with-param>
286
- <xsl:with-param name="count">
287
- <xsl:value-of select="$myspace+$myspacemultiplier"/>
288
- </xsl:with-param>
289
- </xsl:call-template>
290
- <xsl:text>end</xsl:text>
291
- <xsl:call-template name="print-newline"/>
256
+ <xsl:if test="text()">
257
+ <xsl:param name="myspace"/>
258
+ <xsl:call-template name="print-space">
259
+ <xsl:with-param name="i">1</xsl:with-param>
260
+ <xsl:with-param name="count">
261
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
262
+ </xsl:with-param>
263
+ </xsl:call-template>
264
+ <xsl:text>otherwise </xsl:text>
265
+ <xsl:for-each select="@*[not(name()='language' or name()='condition' or name()='svg-label')]">
266
+ <xsl:if test="position() &gt;1">, </xsl:if>
267
+ <xsl:text>:</xsl:text>
268
+ <xsl:value-of select="name(.)"/>
269
+ <xsl:text> => "</xsl:text>
270
+ <xsl:value-of select="."/>
271
+ <xsl:text>"</xsl:text>
272
+ </xsl:for-each>
273
+ <xsl:text> do</xsl:text>
274
+ <xsl:call-template name="print-newline"/>
275
+ <xsl:apply-templates>
276
+ <xsl:with-param name="myspace">
277
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
278
+ </xsl:with-param>
279
+ </xsl:apply-templates>
280
+ <xsl:call-template name="print-space">
281
+ <xsl:with-param name="i">1</xsl:with-param>
282
+ <xsl:with-param name="count">
283
+ <xsl:value-of select="$myspace+$myspacemultiplier"/>
284
+ </xsl:with-param>
285
+ </xsl:call-template>
286
+ <xsl:text>end</xsl:text>
287
+ <xsl:call-template name="print-newline"/>
288
+ </xsl:if>
292
289
  </xsl:template>
293
290
  <xsl:template match="d:parallel_branch">
294
291
  <xsl:param name="myspace"/>
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.187
4
+ version: 1.3.188
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-11-18 00:00:00.000000000 Z
14
+ date: 2016-11-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: riddl
@@ -314,11 +314,20 @@ files:
314
314
  - server/instances/35/properties.xml
315
315
  - server/instances/36/properties.xml
316
316
  - server/instances/37/properties.xml
317
- - server/instances/38/notifications/b1c2a4fd87a36e2b663faf2c601499a3/consumer-secret
318
- - server/instances/38/notifications/b1c2a4fd87a36e2b663faf2c601499a3/producer-secret
319
- - server/instances/38/notifications/b1c2a4fd87a36e2b663faf2c601499a3/subscription.xml
320
317
  - server/instances/38/properties.xml
318
+ - server/instances/39/log.xes
319
+ - server/instances/39/properties.xml
321
320
  - server/instances/4/properties.xml
321
+ - server/instances/40/properties.xml
322
+ - server/instances/41/log.xes
323
+ - server/instances/41/properties.xml
324
+ - server/instances/42/log.xes
325
+ - server/instances/42/properties.xml
326
+ - server/instances/43/log.xes
327
+ - server/instances/43/notifications/f66c804e47c37eac47c5891e66e4e52d/consumer-secret
328
+ - server/instances/43/notifications/f66c804e47c37eac47c5891e66e4e52d/producer-secret
329
+ - server/instances/43/notifications/f66c804e47c37eac47c5891e66e4e52d/subscription.xml
330
+ - server/instances/43/properties.xml
322
331
  - server/instances/5/properties.xml
323
332
  - server/instances/6/properties.xml
324
333
  - server/instances/7/properties.xml
@@ -332,7 +341,6 @@ files:
332
341
  - server/resources/topics.xml
333
342
  - server/resources/transformation.xml
334
343
  - server/resources/transformation_dslx.xsl
335
- - server/server.pid
336
344
  - server/server.rb
337
345
  - test/callback.rb
338
346
  homepage: http://cpee.org/
@@ -347,7 +355,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
347
355
  requirements:
348
356
  - - ">="
349
357
  - !ruby/object:Gem::Version
350
- version: 1.9.3
358
+ version: 2.0.0
351
359
  required_rubygems_version: !ruby/object:Gem::Requirement
352
360
  requirements:
353
361
  - - ">="