cpee 1.3.189 → 1.3.190

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d211ffeb9e90a4d9922995a30431485fd868cdfc
4
- data.tar.gz: 9664f5da7d3d0a9bb2aba654d11f42d618243362
3
+ metadata.gz: 664ed004156d72278958f176a3de68ba7f8f8fd3
4
+ data.tar.gz: fa4a8adb9d198ae2564a8ca4c4d2a5320184cfaa
5
5
  SHA512:
6
- metadata.gz: '0890a45cdaff78864593bcd660238a924553b31b05fdb9b8c66b999812fd5fbc3fa2624db5003c5297fb90fac25640b2a4cd64c5cba0832934f7645b60b3847c'
7
- data.tar.gz: 6bc56f7aac0c0bdb870a331bce9f2d7acd5cc9fd5135f93969b2f4088cfb30ce32e40677f4ff286a44f8aaaeb6b746ebcca541ca4673d7f69a110a7e82ef77f9
6
+ metadata.gz: ca85bc3be6c95e025cb0fb6f9e781df1bb98609914329a7e5d18e5fed3057656a6dfa8408307e65e508f64e900eba84aac39d0985fcf7dbd815281967cc1721b
7
+ data.tar.gz: 0a183617b446a588e24d8b92ca2d1f2caf8bd9a6567eb3cc22976c1d4ed33d062bbbea4286da0f2fdcf6a52fde9755c49de04f97bfbbf81c7efe11bfecacea33
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.3.189"
3
+ s.version = "1.3.190"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
@@ -2,7 +2,7 @@
2
2
  <attributes>
3
3
  <info>Test</info>
4
4
  <modeltype>CPEE</modeltype>
5
- <theme>cpee</theme>
5
+ <theme>default</theme>
6
6
  </attributes>
7
7
  <state>ready</state>
8
8
  <handlerwrapper>LogHandlerWrapper</handlerwrapper>
@@ -13,7 +13,7 @@
13
13
  <endpoints>
14
14
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
15
15
  </endpoints>
16
- <dsl>call :a2, :timeout, parameters: { :label =&gt; Sonja, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 2} }
16
+ <dsl>call :a2, :timeout, parameters: { :label =&gt; "Sonja", :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 2} }
17
17
  parallel :wait =&gt; -1 do
18
18
  parallel_branch do ||
19
19
  call :a3, :timeout, parameters: { :label =&gt; nil, :method =&gt; :post, :arguments =&gt; {:timeout =&gt; 2} }
@@ -38,7 +38,7 @@ end
38
38
  <description xmlns="http://cpee.org/ns/description/1.0">
39
39
  <call id="a2" endpoint="timeout">
40
40
  <parameters>
41
- <label>Sonja</label>
41
+ <label>"Sonja"</label>
42
42
  <method>:post</method>
43
43
  <arguments>
44
44
  <timeout>2</timeout>
@@ -107,7 +107,7 @@ end
107
107
  <description xmlns="http://cpee.org/ns/description/1.0">
108
108
  <call id="a2" endpoint="timeout">
109
109
  <parameters>
110
- <label>Sonja</label>
110
+ <label>"Sonja"</label>
111
111
  <method>:post</method>
112
112
  <arguments>
113
113
  <timeout>2</timeout>
@@ -322,10 +322,18 @@
322
322
  <xsl:call-template name="print-newline"/>
323
323
  </xsl:template>
324
324
  <xsl:template match="d:parameters">
325
- <xsl:apply-templates select="d:*" mode="parameter"/>
325
+ <xsl:apply-templates select="d:label" mode="parameter"/>
326
+ <xsl:apply-templates select="d:*[not(name()='label')]" mode="parameter"/>
326
327
  </xsl:template>
327
- <xsl:template match="d:*" mode="parameter">
328
- <xsl:if test="position() &gt;1">, </xsl:if>
328
+ <xsl:template match="d:label" mode="parameter">
329
+ <xsl:text>:</xsl:text>
330
+ <xsl:value-of select="name()"/>
331
+ <xsl:text> =&gt; "</xsl:text>
332
+ <xsl:value-of select="text()"/>
333
+ <xsl:text>"</xsl:text>
334
+ </xsl:template>
335
+ <xsl:template match="d:*[not(name()='label')]" mode="parameter">
336
+ <xsl:if test="count(preceding-sibling::*) &gt; 0">, </xsl:if>
329
337
  <xsl:text>:</xsl:text>
330
338
  <xsl:value-of select="name()"/>
331
339
  <xsl:text> =&gt; </xsl:text>
@@ -381,8 +389,9 @@
381
389
  <xsl:template name="print-content">
382
390
  <xsl:param name="myspace"/>
383
391
  <xsl:if test="text()">
384
- <xsl:call-template name="print-newline"/>
385
- <xsl:value-of select="text()"/>
392
+ <xsl:for-each select="str:tokenize(text(), '&#x0A;')">
393
+ <xsl:value-of select="concat('&#x0A;',concat(str:padding($myspace+$myspacemultiplier+$myspacemultiplier),normalize-space(.)))" />
394
+ </xsl:for-each>
386
395
  <xsl:call-template name="print-newline"/>
387
396
  <xsl:call-template name="print-space">
388
397
  <xsl:with-param name="i">1</xsl:with-param>
@@ -409,8 +418,9 @@
409
418
  <xsl:text>, &lt;&lt;-END</xsl:text>
410
419
  </xsl:otherwise>
411
420
  </xsl:choose>
412
- <xsl:call-template name="print-newline"/>
413
- <xsl:value-of select="text()"/>
421
+ <xsl:for-each select="str:tokenize(text(), '&#x0A;')">
422
+ <xsl:value-of select="concat('&#x0A;',concat(str:padding($myspace+$myspacemultiplier+$myspacemultiplier),normalize-space(.)))" />
423
+ </xsl:for-each>
414
424
  <xsl:call-template name="print-newline"/>
415
425
  <xsl:call-template name="print-space">
416
426
  <xsl:with-param name="i">1</xsl:with-param>
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.189
4
+ version: 1.3.190
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -328,9 +328,9 @@ files:
328
328
  - server/instances/44/log.xes
329
329
  - server/instances/44/properties.xml
330
330
  - server/instances/45/log.xes
331
- - server/instances/45/notifications/7d1bd93a743784ab3600acb22b18f933/consumer-secret
332
- - server/instances/45/notifications/7d1bd93a743784ab3600acb22b18f933/producer-secret
333
- - server/instances/45/notifications/7d1bd93a743784ab3600acb22b18f933/subscription.xml
331
+ - server/instances/45/notifications/f69cbc7424b9b0682c3e435e2577215c/consumer-secret
332
+ - server/instances/45/notifications/f69cbc7424b9b0682c3e435e2577215c/producer-secret
333
+ - server/instances/45/notifications/f69cbc7424b9b0682c3e435e2577215c/subscription.xml
334
334
  - server/instances/45/properties.xml
335
335
  - server/instances/5/properties.xml
336
336
  - server/instances/6/properties.xml