cpee 2.1.113 → 2.1.114

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3859cfffb2b5b418a0c0fdd564f305cbc7d1784292186a836e7df668f6725c49
4
- data.tar.gz: e280aad1800114b180814cd041ece98c25874d3212643bd32dff908e02851113
3
+ metadata.gz: 18b1d4bf1374bd11d7f886e70bffe237833a6dcd92755cb2d3ce6d89069eb7a9
4
+ data.tar.gz: 97320261f72f9aa36765cecb38612e3a51b551a303587b6938ea5451c8fde4f6
5
5
  SHA512:
6
- metadata.gz: e13bcfff5e5f761ef221a3b65696d349a64eb4d350367b852b180c11521006fd17b4e111c912cea377da6a2ba6f334405394bdbd5c623d222a9642770e38a07a
7
- data.tar.gz: 31ca360fae18519aa006cca38f81213a69e50ecb31b0aee2c2a11f3793ce006704b8fc0301f0c8df8ef6514aaf2a62d0a8b15efe520ee76cf05a5a87b436e316
6
+ metadata.gz: 6820d708a92fa15143439aebac23f4b4952bd68feed314e171d57d75c863a386a6064299a035da5673510993c479dfb8bb0ab6731bbaee9806cea9a1ba86cf02
7
+ data.tar.gz: 48f750879f5da583f61894044c7ae329fe81afa7a13298b57cd1a7a0f6efd69237c863df98e214ee927ca1147110afffa363c3a5370c26ef2f2eb2aa2de78586
@@ -451,7 +451,7 @@ function monitor_instance(cin,rep,load,exec) {// {{{
451
451
  }// }}}
452
452
 
453
453
  function translate_endpoint(ep) {
454
- return ep.replace(/\{[^\/\}]+\}/,'*');
454
+ return ep.replace(/\{[^\/\}]+\}/g,'*');
455
455
  }
456
456
 
457
457
  function get_resource(base, key, loc, cache) {
@@ -5,7 +5,7 @@ WFAdaptorManifestation = class extends WFAdaptorManifestationBase {
5
5
  this.striped = true;
6
6
  var dataflowExtract = function(subject,mixed,extract) { //{{{
7
7
  let dict = {};
8
- var regassi = /data\.([a-z_][a-zA-Z0-9_]*)\s*(=[^=]|\+\=|\-\=|\*\=|\/\=|<<|>>|\|\|=)/g; // we do not have to check for &gt;/&lt; version of stuff as only conditions are in attributes, and conditions can not contain assignments
8
+ var regassi = /data\.([a-z_][a-zA-Z0-9_]*)[a-zA-Z0-9_\]\["']*\s*(=[^=]|\+\=|\-\=|\*\=|\/\=|<<|>>|\|\|=)/g; // we do not have to check for &gt;/&lt; version of stuff as only conditions are in attributes, and conditions can not contain assignments
9
9
  var reg_not_assi = /data\.([a-z_][a-zA-Z0-9_]*)\s*/g;
10
10
 
11
11
  $(subject).each(function(_,ele){
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.113"
3
+ s.version = "2.1.114"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -44,6 +44,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
44
44
  end# }}}
45
45
  def self::inform_connectionwrapper_error(arguments,err) # {{{
46
46
  controller = arguments[0]
47
+ p err.message
48
+ puts err.backtrace
47
49
  begin
48
50
  if err.backtrace[0] !~ /, Line/
49
51
  controller.notify("executionhandler/error", :message => err.backtrace[0].gsub(/(Activity a\d+)/,'\1:'), :line => -1, :where => err.backtrace[0].match(/Activity a\d+/)[0])
@@ -348,6 +350,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
348
350
  else
349
351
  raise 'something bad happened, but we dont know what.'
350
352
  end
353
+ rescue
354
+ raise 'external script handler probably not running'
351
355
  end #}}}
352
356
 
353
357
  def argument_transform_value(obj, struct)
@@ -123,8 +123,10 @@
123
123
  </xsl:for-each>
124
124
  </xsl:otherwise>
125
125
  </xsl:choose>
126
- <xsl:text>, </xsl:text>
127
- <xsl:value-of select="@abandon"/>
126
+ <xsl:if test="@abandon">
127
+ <xsl:text>, </xsl:text>
128
+ <xsl:value-of select="@abandon"/>
129
+ </xsl:if>
128
130
  <xsl:call-template name="print-newline"/>
129
131
  </xsl:if>
130
132
  <xsl:if test="name()='stop'">
@@ -1 +1 @@
1
- 1764907
1
+ 169210
@@ -1 +1 @@
1
- 1764950
1
+ 169252
@@ -1 +1 @@
1
- 1764935
1
+ 169238
@@ -1 +1 @@
1
- 1764921
1
+ 169224
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: 2.1.113
4
+ version: 2.1.114
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler