cpee 1.3.163 → 1.3.164

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: 69f8d1bfce434451d5afc5cc643a4502d69f2eb6
4
- data.tar.gz: 5dcb9a1dccdfbdbc9a61b5b98b291576ea9b3889
3
+ metadata.gz: c9e39c003d6c60ea476a8befe15a93e3eeda0499
4
+ data.tar.gz: c362d7d34ad999b76ce606069d6b01b779b64f3d
5
5
  SHA512:
6
- metadata.gz: f1ff158933dc91a22bce210235e2856216a6a01e0c1b740fbcff95c9028f4b29cbf78855fc9ea19a1f046518d17c668d79717976296374afb42cfa6ede15949e
7
- data.tar.gz: 5d721bfe072f288e66d2a162c3e5d536f42886514d22fee9113c25e43e19dc05ea2c8b9329e38de33f220be6de9355deae19409562456a8a808916539154c48b
6
+ metadata.gz: 183a69191898278d48bb3eeb4bb83b002d32d1c3fef44474fec400c0dcd5b2412e58fc481c8c3096c5e320dfb64da86675158de6c29e5443a175b8435708e015
7
+ data.tar.gz: 7a560160ba66231876b568f043aae90793342464c8f6f0ee7e344bdbc2d65b8cbcd1681a61cf7a91210254c66d7449cad21c1f50c51bd11d41e27803e9a942fd
@@ -212,7 +212,7 @@
212
212
  <table class='compact'>
213
213
  <tbody class='debug'>
214
214
  <tr>
215
- <td>Vote to continue:</td>
215
+ <td>Debugging:</td>
216
216
  <td><input type="checkbox" name="votecontinue"/></td>
217
217
  </tr>
218
218
  </tbody>
@@ -24,6 +24,8 @@ var sub_more = 'topic' + '=' + 'running' + '&' +// {{{
24
24
  'events' + '=' + 'change' + '&' +
25
25
  'topic' + '=' + 'properties/endpoints' + '&' +
26
26
  'events' + '=' + 'change' + '&' +
27
+ 'topic' + '=' + 'properties/handlerwrapper' + '&' +
28
+ 'events' + '=' + 'result' + '&' +
27
29
  'topic' + '=' + 'properties/handlers' + '&' +
28
30
  'events' + '=' + 'change';// }}}
29
31
  var sub_less = 'topic' + '=' + 'running' + '&' +// {{{
@@ -38,6 +40,8 @@ var sub_less = 'topic' + '=' + 'running' + '&' +// {{{
38
40
  'events' + '=' + 'change' + '&' +
39
41
  'topic' + '=' + 'properties/endpoints' + '&' +
40
42
  'events' + '=' + 'change' + '&' +
43
+ 'topic' + '=' + 'properties/handlerwrapper' + '&' +
44
+ 'events' + '=' + 'result' + '&' +
41
45
  'topic' + '=' + 'properties/handlers' + '&' +
42
46
  'events' + '=' + 'change';// }}}
43
47
 
@@ -316,6 +320,7 @@ function monitor_instance_dsl() {// {{{
316
320
  manifestation.events.click(svgid,undefined);
317
321
  };
318
322
  $('#graphcanvas').redraw();
323
+ $('#graphcolumn div').redraw();
319
324
 
320
325
  monitor_instance_pos();
321
326
  }
@@ -582,20 +587,22 @@ function set_testset(testset) {// {{{
582
587
  load_testset_endpoints(url,testset);
583
588
  load_testset_pos(url,testset);
584
589
 
585
- var ser = '';
586
- $("testset > transformation > *",testset).each(function(){
587
- ser += $(this).serializeXML() + "\n";
588
- });
589
- var val = "<content>" + ser + "</content>";
590
- $.ajax({
591
- type: "PUT",
592
- url: url + "/properties/values/transformation",
593
- data: ({content: val}),
594
- success: function() {
595
- load_testset_des(url,testset);
596
- },
597
- error: report_failure
598
- });
590
+ if ($("testset > transformation",testset).length > 0) {
591
+ var ser = '';
592
+ $("testset > transformation > *",testset).each(function(){
593
+ ser += $(this).serializeXML() + "\n";
594
+ });
595
+ var val = "<content>" + ser + "</content>";
596
+ $.ajax({
597
+ type: "PUT",
598
+ url: url + "/properties/values/transformation",
599
+ data: ({content: val}),
600
+ success: function() {
601
+ load_testset_des(url,testset);
602
+ },
603
+ error: report_failure
604
+ });
605
+ }
599
606
 
600
607
  load_testset_hw(url,testset);
601
608
  $.ajax({
@@ -679,6 +686,7 @@ function load_des(url,model) { //{{{
679
686
  } //}}}
680
687
 
681
688
  function load_testset_des(url,testset) {// {{{
689
+ if ($("testset > description",testset).length == 0) { return; }
682
690
  var ser = '';
683
691
  $("testset > description > *",testset).each(function(){
684
692
  ser += $(this).serializeXML() + "\n";
@@ -697,6 +705,7 @@ function load_testset_hw(url,testset) {// {{{
697
705
  });
698
706
  } // }}}
699
707
  function load_testset_dataelements(url,testset) {// {{{
708
+ if ($("testset > dataelements",testset).length == 0) { return; }
700
709
  var ser = '';
701
710
  $("testset > dataelements > *",testset).each(function(){
702
711
  ser += $(this).serializeXML() + "\n";
@@ -710,6 +719,7 @@ function load_testset_dataelements(url,testset) {// {{{
710
719
  });
711
720
  }// }}}
712
721
  function load_testset_endpoints(url,testset) {// {{{
722
+ if ($("testset > endpoints",testset).length == 0) { return; }
713
723
  var ser = '';
714
724
  $("testset > endpoints > *",testset).each(function(){
715
725
  ser += $(this).serializeXML() + "\n";
@@ -723,6 +733,7 @@ function load_testset_endpoints(url,testset) {// {{{
723
733
  });
724
734
  }// }}}
725
735
  function load_testset_pos(url,testset) {// {{{
736
+ if ($("testset > positions",testset).length == 0) { return; }
726
737
  var ser = '';
727
738
  $("testset > positions > *",testset).each(function(){
728
739
  ser += $(this).serializeXML() + "\n";
@@ -732,6 +743,7 @@ function load_testset_pos(url,testset) {// {{{
732
743
  type: "PUT",
733
744
  url: url + "/properties/values/positions/",
734
745
  data: ({content: val}),
746
+ success: monitor_instance_pos,
735
747
  error: report_failure
736
748
  });
737
749
  }// }}}
@@ -15,7 +15,7 @@
15
15
  */
16
16
 
17
17
  // TODO: changes in svg-script:
18
- // 1) drawing frunctions
18
+ // 1) drawing functions
19
19
  // 2) creation of svg-container (Bug: arrows on lines)
20
20
  // 3) after-function to insert using namespace of description
21
21
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.3.163"
3
+ s.version = "1.3.164"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
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"
@@ -253,7 +253,7 @@ module CPEE
253
253
  nb = branch.last.new_branch
254
254
  if trcs.finished?
255
255
  puts '--> branch down to ' + (down + 1).to_s if debug
256
- build_ttree nb, Traces.new([[Break.new(self.object_id)]]), endnode, debug, down + 1
256
+ # build_ttree nb, Traces.new([[Break.new(self.object_id)]]), endnode, debug, down + 1
257
257
  puts '--> branch up from ' + (down + 1).to_s if debug
258
258
  else
259
259
  puts '--> branch down to ' + (down + 1).to_s if debug
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.163
4
+ version: 1.3.164
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-10-11 00:00:00.000000000 Z
13
+ date: 2014-10-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl