cpee 1.3.109 → 1.3.110

Sign up to get free protection for your applications and to get access to all the features.
@@ -81,7 +81,7 @@ button.highlight { background-color: #cc0000; }
81
81
  #dat_dataelements input:first-child { border: 0 none; width: 8em; }
82
82
  #dat_dataelements input:last-child { border: 0 none; width: 100%; }
83
83
 
84
- #dat_dsl {
84
+ #areadsl pre {
85
85
  margin: 1em;
86
86
  font-family: monospace;
87
87
  font-size:1.3em;
@@ -30,7 +30,7 @@ $(document).ready(function() {
30
30
  save_main($(event.target).parents('div.tabbed'));
31
31
  }); //}}}
32
32
 
33
- $('#dat_details input.pair_name, #dat_details input.prop_value, #dat_details textarea.prop_value, #dat_details select.prop_value, #dat_details input.pair_value').live('keyup',function(e){ mark_main_save($(e.target).parents('div.tabbed')); });
33
+ $('#dat_details input.pair_name, #dat_details input.prop_value, #dat_details textarea.prop_value, #dat_details select.prop_value, #dat_details input.pair_value').live('keyup',function(e){ mark_main_save($(e.target).parents('div.tabbed')); });
34
34
  });
35
35
 
36
36
  function mark_main_save(top) { //{{{
@@ -103,16 +103,16 @@ function serialize_details(parent) { //{{{
103
103
  });
104
104
  }
105
105
 
106
- if ($('textarea.pname_manipulate',parent).length > 0) {
106
+ if ($('textarea.pname_script',parent).length > 0) {
107
107
  var mani = $X('<manipulate xmlns="http://cpee.org/ns/description/1.0"/>');
108
- mani.text($('textarea.pname_manipulate',parent).val());
108
+ mani.text($('textarea.pname_script',parent).val());
109
109
  xml.append(mani);
110
110
  }
111
111
  break;
112
112
  case 'manipulate':
113
113
  xml.attr('id',$('input.pname_id').val());
114
- if ($('textarea.pname_manipulate',parent).length > 0) {
115
- xml.text($('textarea.pname_manipulate',parent).val());
114
+ if ($('textarea.pname_script',parent).length > 0) {
115
+ xml.text($('textarea.pname_script',parent).val());
116
116
  }
117
117
  break;
118
118
  case 'loop':
@@ -294,6 +294,7 @@ function monitor_instance_dsl() {// {{{
294
294
  res = res.replace(/activity\s+\[:([A-Za-z][a-zA-Z0-9_]+)([^\]]*\])/g,"<span class='activities' id=\"activity-$1\">activity [:$1$2</span>");
295
295
 
296
296
  ctv.append(res);
297
+
297
298
  $.ajax({
298
299
  type: "GET",
299
300
  url: url + "/properties/values/description/",
@@ -5,7 +5,7 @@
5
5
  </positions><!--}}}-->
6
6
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
7
7
  <dataelements><!--{{{-->
8
- <x>""</x>
8
+ <x/>
9
9
  </dataelements><!--}}}-->
10
10
  <handlers/>
11
11
  <endpoints><!--{{{-->
@@ -3,7 +3,7 @@
3
3
  <positions/>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
5
  <dataelements><!--{{{-->
6
- <x>""</x>
6
+ <x/>
7
7
  </dataelements><!--}}}-->
8
8
  <handlers><!--{{{-->
9
9
  <handler url="http://localhost:9299/1/events">
@@ -3,7 +3,7 @@
3
3
  <positions/>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
5
  <dataelements><!--{{{-->
6
- <x>""</x>
6
+ <x/>
7
7
  </dataelements><!--}}}-->
8
8
  <handlers><!--{{{-->
9
9
  <handler url="http://localhost:9299/1/events">
@@ -3,7 +3,7 @@
3
3
  <positions/>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
5
  <dataelements><!--{{{-->
6
- <x>""</x>
6
+ <x/>
7
7
  </dataelements><!--}}}-->
8
8
  <handlers><!--{{{-->
9
9
  <handler url="http://localhost:9299/1/events">
@@ -3,7 +3,7 @@
3
3
  <positions/>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
5
  <dataelements><!--{{{-->
6
- <x>""</x>
6
+ <x/>
7
7
  </dataelements><!--}}}-->
8
8
  <handlers><!--{{{-->
9
9
  <handler url="http://localhost:9299/1/events">
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.3.109"
3
+ s.version = "1.3.110"
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"
@@ -122,13 +122,10 @@ module CPEE
122
122
 
123
123
  class NewInstance < Riddl::Implementation #{{{
124
124
  def response
125
- p 'rrr'
126
125
  controller = @a[0]
127
126
  opts = @a[1]
128
127
  name = @p[0].value
129
128
  id = controller.keys.sort.last.to_i
130
- p 'rrr'
131
- p name
132
129
 
133
130
  while true
134
131
  id += 1
@@ -0,0 +1,27 @@
1
+ <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
2
+ <topic id="running">
3
+ <event>activity_calling</event>
4
+ <event>activity_manipulating</event>
5
+ <event>activity_failed</event>
6
+ <event>activity_done</event>
7
+ </topic>
8
+ <topic id="properties/position">
9
+ <event>change</event>
10
+ </topic>
11
+ <topic id="properties/description">
12
+ <event>change</event>
13
+ <event>error</event>
14
+ </topic>
15
+ <topic id="properties/state">
16
+ <event>change</event>
17
+ </topic>
18
+ <topic id="properties/dataelements">
19
+ <event>change</event>
20
+ </topic>
21
+ <topic id="properties/endpoints">
22
+ <event>change</event>
23
+ </topic>
24
+ <topic id="properties/handlers">
25
+ <event>change</event>
26
+ </topic>
27
+ </subscription>
@@ -0,0 +1,41 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ This file is part of CPEE.
4
+
5
+ CPEE is free software: you can redistribute it and/or modify it under the terms
6
+ of the GNU General Public License as published by the Free Software Foundation,
7
+ either version 3 of the License, or (at your option) any later version.
8
+
9
+ CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
10
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License along with
14
+ CPEE (file COPYING in the main directory). If not, see
15
+ <http://www.gnu.org/licenses/>.
16
+ -->
17
+
18
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
19
+ <info/>
20
+ <state>ready</state>
21
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
22
+ <positions/>
23
+ <dataelements/>
24
+ <endpoints>
25
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
26
+ </endpoints>
27
+ <dsl/>
28
+ <dslx/>
29
+ <status>
30
+ <id>0</id>
31
+ <message>undefined</message>
32
+ </status>
33
+ <description>
34
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
35
+ </description>
36
+ <transformation>
37
+ <description type='copy'/>
38
+ <dataelements type='xslt'/>
39
+ <endpoints type='xslt'/>
40
+ </transformation>
41
+ </properties>
@@ -30,6 +30,7 @@
30
30
  <topic id='properties/description'>
31
31
  <event>change</event>
32
32
  <event>error</event>
33
+ <vote>modify</vote>
33
34
  </topic>
34
35
  <topic id='properties/state'>
35
36
  <event>change</event>
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.109
4
+ version: 1.3.110
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Juergen eTM Mangler
@@ -10,11 +11,12 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2013-09-23 00:00:00.000000000 Z
14
+ date: 2013-10-13 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: riddl
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
21
  - - ! '>='
20
22
  - !ruby/object:Gem::Version
@@ -22,6 +24,7 @@ dependencies:
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
29
  - - ! '>='
27
30
  - !ruby/object:Gem::Version
@@ -29,6 +32,7 @@ dependencies:
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: weel
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
37
  - - ! '>='
34
38
  - !ruby/object:Gem::Version
@@ -36,6 +40,7 @@ dependencies:
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
45
  - - ! '>='
41
46
  - !ruby/object:Gem::Version
@@ -43,6 +48,7 @@ dependencies:
43
48
  - !ruby/object:Gem::Dependency
44
49
  name: savon
45
50
  requirement: !ruby/object:Gem::Requirement
51
+ none: false
46
52
  requirements:
47
53
  - - ! '>='
48
54
  - !ruby/object:Gem::Version
@@ -50,6 +56,7 @@ dependencies:
50
56
  type: :runtime
51
57
  prerelease: false
52
58
  version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
53
60
  requirements:
54
61
  - - ! '>='
55
62
  - !ruby/object:Gem::Version
@@ -61,81 +68,85 @@ extensions: []
61
68
  extra_rdoc_files:
62
69
  - README
63
70
  files:
64
- - server/resources/topics.xml
65
- - server/resources/transformation.xml
66
- - server/resources/transformation_dslx.xsl
71
+ - server/server.rb
72
+ - server/instances/1/properties.xml
73
+ - server/instances/1/notifications/9a9f296b8446be3ee15a99fbb94543dd/consumer-secret
74
+ - server/instances/1/notifications/9a9f296b8446be3ee15a99fbb94543dd/subscription.xml
75
+ - server/instances/1/notifications/9a9f296b8446be3ee15a99fbb94543dd/producer-secret
67
76
  - server/resources/properties.schema.active
68
- - server/resources/properties.schema.inactive
69
- - server/resources/properties.init
70
77
  - server/resources/properties.schema.finished
71
- - server/server.rb
72
- - server/handlerwrappers/default.rb
78
+ - server/resources/transformation_dslx.xsl
79
+ - server/resources/properties.init
80
+ - server/resources/transformation.xml
81
+ - server/resources/properties.schema.inactive
82
+ - server/resources/topics.xml
73
83
  - server/handlerwrappers/rescue.rb
84
+ - server/handlerwrappers/default.rb
74
85
  - server/handlerwrappers/soap.rb
75
86
  - lib/engine.xml
76
- - lib/cpee/empty_workflow.rb
77
- - lib/cpee/handler_notifications.rb
78
- - lib/cpee/implementation.rb
79
- - lib/cpee/controller.rb
80
87
  - lib/cpee/handler_properties.rb
88
+ - lib/cpee/controller.rb
81
89
  - lib/cpee/callback.rb
82
- - lib/cpee.xml
83
- - lib/engine/callbacks.rng
90
+ - lib/cpee/implementation.rb
91
+ - lib/cpee/handler_notifications.rb
92
+ - lib/cpee/empty_workflow.rb
84
93
  - lib/engine/instance-info.rng
94
+ - lib/engine/callbacks.rng
85
95
  - lib/engine/instances.rng
86
- - cockpit/js/details.js
87
- - cockpit/js/wfadaptor.cpee.js
88
- - cockpit/js/parameters.js
89
- - cockpit/js/ui.js
90
- - cockpit/js/instance.js
91
- - cockpit/lib/util.js
92
- - cockpit/lib/jquery-ui.custom.min.txt
93
- - cockpit/lib/contextmenu.css
94
- - cockpit/lib/contextmenu.js
95
- - cockpit/lib/underscore.min.js
96
- - cockpit/lib/jquery-ui.custom.min.js
96
+ - lib/cpee.xml
97
+ - cockpit/css/ui.css
98
+ - cockpit/contrib/transformation2.xsl
99
+ - cockpit/contrib/transformation1.xsl
100
+ - cockpit/contrib/symbols.svg
101
+ - cockpit/index.html
102
+ - cockpit/lib/jquery.caret.min.js
97
103
  - cockpit/lib/strftime.min.js
104
+ - cockpit/lib/wfadaptor.js
105
+ - cockpit/lib/wfadaptor.css
106
+ - cockpit/lib/jquery-ui.custom.min.js
98
107
  - cockpit/lib/parsequery.js
99
- - cockpit/lib/jquery.caret.min.js
100
- - cockpit/lib/ui.css
108
+ - cockpit/lib/util.js
109
+ - cockpit/lib/ui.js
101
110
  - cockpit/lib/wfadaptor-doc/demo2.html
102
111
  - cockpit/lib/wfadaptor-doc/demo1.html
103
112
  - cockpit/lib/wfadaptor-doc/index.html
104
- - cockpit/lib/ui.js
105
- - cockpit/lib/jquery.svgdom.js
106
- - cockpit/lib/wfadaptor.css
107
- - cockpit/lib/jquery.min.js
108
113
  - cockpit/lib/printf.js
109
- - cockpit/lib/wfadaptor.js
110
- - cockpit/testsets/Concurrent.xml
114
+ - cockpit/lib/jquery-ui.custom.min.txt
115
+ - cockpit/lib/underscore.min.js
116
+ - cockpit/lib/contextmenu.js
117
+ - cockpit/lib/contextmenu.css
118
+ - cockpit/lib/ui.css
119
+ - cockpit/lib/jquery.min.js
120
+ - cockpit/lib/jquery.svgdom.js
111
121
  - cockpit/testsets/RESCUE - Book Movie - Local.xml
112
- - cockpit/testsets/index.xml
113
- - cockpit/testsets/Syncing P34 2.xml
114
- - cockpit/testsets/Mangler 1.xml
115
- - cockpit/testsets/Syncing P34 1.xml
116
- - cockpit/testsets/RESCUE - Book Movie.xml
117
- - cockpit/testsets/Syncing P34.xml
118
122
  - cockpit/testsets/Syncing P34 3.xml
119
- - cockpit/testsets/TEST - Wrong Positions.xml
123
+ - cockpit/testsets/Linear.xml
120
124
  - cockpit/testsets/SOPROMO Test Sonification.xml
121
- - cockpit/testsets/ICSOC Testset.xml
122
- - cockpit/testsets/Mangler 2.xml
125
+ - cockpit/testsets/Mangler 1.xml
126
+ - cockpit/testsets/RESCUE - Book Movie.xml
127
+ - cockpit/testsets/TEST - Bad Loop.xml
128
+ - cockpit/testsets/index.xml
123
129
  - cockpit/testsets/RESCUE - Loop-Parallel Injection.xml
130
+ - cockpit/testsets/ICSOC Testset.xml
131
+ - cockpit/testsets/Syncing P34.xml
132
+ - cockpit/testsets/Syncing P34 1.xml
124
133
  - cockpit/testsets/Endpoints and Data Manipulation.xml
125
- - cockpit/testsets/Linear.xml
134
+ - cockpit/testsets/Mangler 2.xml
126
135
  - cockpit/testsets/Coopis Testset.xml
127
- - cockpit/testsets/TEST - Bad Loop.xml
128
- - cockpit/css/ui.css
129
- - cockpit/index.html
130
- - cockpit/contrib/transformation1.xsl
131
- - cockpit/contrib/transformation2.xsl
132
- - cockpit/contrib/symbols.svg
136
+ - cockpit/testsets/Concurrent.xml
137
+ - cockpit/testsets/TEST - Wrong Positions.xml
138
+ - cockpit/testsets/Syncing P34 2.xml
133
139
  - cockpit/README
134
- - contrib/logo2.svg
135
- - contrib/logo2a.svg
136
- - contrib/logo2a.png
137
- - contrib/logo2.png
140
+ - cockpit/js/instance.js
141
+ - cockpit/js/details.js
142
+ - cockpit/js/ui.js
143
+ - cockpit/js/parameters.js
144
+ - cockpit/js/wfadaptor.cpee.js
138
145
  - contrib/logo2-small.png
146
+ - contrib/logo2.png
147
+ - contrib/logo2a.png
148
+ - contrib/logo2a.svg
149
+ - contrib/logo2.svg
139
150
  - contrib/Screenshot at 2011-09-28 02:38:11.png
140
151
  - COPYING
141
152
  - FEATURES
@@ -150,26 +161,27 @@ files:
150
161
  homepage: http://cpee.org/
151
162
  licenses:
152
163
  - LGPL-3
153
- metadata: {}
154
164
  post_install_message:
155
165
  rdoc_options: []
156
166
  require_paths:
157
167
  - lib
158
168
  required_ruby_version: !ruby/object:Gem::Requirement
169
+ none: false
159
170
  requirements:
160
171
  - - ! '>='
161
172
  - !ruby/object:Gem::Version
162
173
  version: 1.9.3
163
174
  required_rubygems_version: !ruby/object:Gem::Requirement
175
+ none: false
164
176
  requirements:
165
177
  - - ! '>='
166
178
  - !ruby/object:Gem::Version
167
179
  version: '0'
168
180
  requirements: []
169
181
  rubyforge_project:
170
- rubygems_version: 2.0.3
182
+ rubygems_version: 1.8.23
171
183
  signing_key:
172
- specification_version: 4
184
+ specification_version: 3
173
185
  summary: Preliminary release of cloud process execution engine (cpee). If you just
174
186
  need workflow execution, without a rest/xmpp service exposing it, then use WEEL
175
187
  test_files:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: e155f6c16307fcc5fa133bfb0c868548f2f8cc7c
4
- data.tar.gz: eb7e2f12962df69fac06a788db5de5dbaab88cac
5
- SHA512:
6
- metadata.gz: af4f5c81f0fd94a9e55b108a4cef17e1e73cb7ea6a5362aa810ed604553b015bbefb847ee773cb319d510de6351efe523a5d4a3eaeaeb6c7c74ad537e8813882
7
- data.tar.gz: 3a59aeef48dc29be671eb085262fe16692e0c6d7a7df5487e8ffe282ed5b3fa4211ac4f415df00a5b2e4d66be3f60e8db0474439b582434a0ddf86441b5cb12e