cpee 1.3.209 → 1.3.211

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +5 -5
  3. data/cockpit/contrib/transformation1.xsl +9 -9
  4. data/cockpit/index.html +6 -4
  5. data/cockpit/js/details.js +54 -56
  6. data/cockpit/js/instance.js +15 -5
  7. data/cockpit/js/parameters.js +28 -28
  8. data/cockpit/js/wfadaptor.js +32 -16
  9. data/cockpit/testsets/Centurio.xml +72 -0
  10. data/cockpit/testsets/Lego Plate.xml +1 -1
  11. data/cockpit/testsets/Lego Transporter.xml +11 -147
  12. data/cockpit/testsets/Linear.xml +3 -0
  13. data/cockpit/testsets/Syncing P34 1.xml +9 -1
  14. data/cockpit/testsets/Syncing P34 2.xml +9 -1
  15. data/cockpit/testsets/Syncing P34 3.xml +9 -1
  16. data/cockpit/testsets/Syncing P34.xml +9 -1
  17. data/cockpit/testsets/testsets.xml +1 -0
  18. data/cockpit/themes/default/theme.js +22 -21
  19. data/cockpit/themes/labels/theme.js +786 -0
  20. data/cpee.gemspec +4 -2
  21. data/lib/cpee/controller.rb +0 -5
  22. data/server/handlerwrappers/default.rb +9 -15
  23. data/server/handlerwrappers/soap.rb +10 -10
  24. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +1 -0
  25. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +1 -0
  26. data/server/instances/{6/notifications/0e9f3728f00c0562870110697bd8819c → 10/notifications/182434032285ca1d06a8b6554b8889c8}/subscription.xml +6 -21
  27. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +1 -0
  28. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +1 -0
  29. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +6 -0
  30. data/server/instances/10/properties.xml +187 -0
  31. data/server/instances/11/properties.xml +191 -0
  32. data/server/instances/12/properties.xml +191 -0
  33. data/server/instances/13/properties.xml +204 -0
  34. data/server/instances/14/properties.xml +31 -0
  35. data/server/instances/15/properties.xml +30 -0
  36. data/server/instances/16/properties.xml +29 -0
  37. data/server/instances/17/properties.xml +29 -0
  38. data/server/instances/18/properties.xml +31 -0
  39. data/server/instances/19/properties.xml +31 -0
  40. data/server/instances/20/properties.xml +191 -0
  41. data/server/instances/7/properties.xml +120 -0
  42. data/server/instances/8/properties.xml +118 -0
  43. data/server/instances/9/properties.xml +120 -0
  44. data/test/callback.rb +2 -2
  45. data/tools/cpee +38 -0
  46. data/tools/server/resources/notifications/logging/consumer-secret +1 -0
  47. data/tools/server/resources/notifications/logging/producer-secret +1 -0
  48. data/tools/server/resources/notifications/logging/subscription.xml +7 -0
  49. data/tools/server/resources/properties.init +47 -0
  50. data/tools/server/server.rb +14 -0
  51. metadata +33 -7
  52. data/server/instances/6/notifications/0e9f3728f00c0562870110697bd8819c/consumer-secret +0 -1
  53. data/server/instances/6/notifications/0e9f3728f00c0562870110697bd8819c/producer-secret +0 -1
@@ -0,0 +1,191 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>ec8a7ec9-0514-41ba-bfd7-f9d562f60b8e</uuid>
4
+ <info>Enter info here</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>ready</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements>
12
+ <feedback>true</feedback>
13
+ </dataelements>
14
+ <endpoints>
15
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
+ </endpoints>
17
+ <dsl>parallel do
18
+ parallel_branch do
19
+ loop pre_test{data.feedback} do
20
+ call :design, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
21
+ call :validate, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
22
+ call :publish, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 1)] }
23
+ end
24
+ end
25
+ parallel_branch do
26
+ loop pre_test{data.feedback} do
27
+ call :prepare, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
28
+ call :fab, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
29
+ call :evaluate, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
30
+ end
31
+ end
32
+ end
33
+ </dsl>
34
+ <dslx>
35
+ <description xmlns="http://cpee.org/ns/description/1.0">
36
+ <parallel>
37
+ <parallel_branch>
38
+ <loop mode="pre_test" condition="data.feedback">
39
+ <call id="design" endpoint="timeout">
40
+ <parameters>
41
+ <!--{{{-->
42
+ <method>:post</method>
43
+ <arguments>
44
+ <timeout>4</timeout>
45
+ </arguments>
46
+ </parameters>
47
+ <!--}}}-->
48
+ </call>
49
+ <call id="validate" endpoint="timeout">
50
+ <parameters>
51
+ <!--{{{-->
52
+ <method>:post</method>
53
+ <arguments>
54
+ <timeout>2</timeout>
55
+ </arguments>
56
+ </parameters>
57
+ <!--}}}-->
58
+ </call>
59
+ <call id="publish" endpoint="timeout">
60
+ <parameters>
61
+ <!--{{{-->
62
+ <method>:post</method>
63
+ <arguments>
64
+ <timeout>1</timeout>
65
+ </arguments>
66
+ </parameters>
67
+ <!--}}}-->
68
+ </call>
69
+ </loop>
70
+ </parallel_branch>
71
+ <parallel_branch>
72
+ <loop mode="pre_test" condition="data.feedback">
73
+ <call id="prepare" endpoint="timeout">
74
+ <parameters>
75
+ <!--{{{-->
76
+ <method>:post</method>
77
+ <arguments>
78
+ <timeout>4</timeout>
79
+ </arguments>
80
+ </parameters>
81
+ <!--}}}-->
82
+ </call>
83
+ <call id="fab" endpoint="timeout">
84
+ <parameters>
85
+ <!--{{{-->
86
+ <method>:post</method>
87
+ <arguments>
88
+ <timeout>4</timeout>
89
+ </arguments>
90
+ </parameters>
91
+ <!--}}}-->
92
+ </call>
93
+ <call id="evaluate" endpoint="timeout">
94
+ <parameters>
95
+ <!--{{{-->
96
+ <method>:post</method>
97
+ <arguments>
98
+ <timeout>4</timeout>
99
+ </arguments>
100
+ </parameters>
101
+ <!--}}}-->
102
+ </call>
103
+ </loop>
104
+ </parallel_branch>
105
+ </parallel>
106
+ </description>
107
+ </dslx>
108
+ <status>
109
+ <id>0</id>
110
+ <message>undefined</message>
111
+ </status>
112
+ <description>
113
+ <description xmlns="http://cpee.org/ns/description/1.0">
114
+ <parallel>
115
+ <parallel_branch>
116
+ <loop mode="pre_test" condition="data.feedback">
117
+ <call id="design" endpoint="timeout">
118
+ <parameters>
119
+ <!--{{{-->
120
+ <method>:post</method>
121
+ <arguments>
122
+ <timeout>4</timeout>
123
+ </arguments>
124
+ </parameters>
125
+ <!--}}}-->
126
+ </call>
127
+ <call id="validate" endpoint="timeout">
128
+ <parameters>
129
+ <!--{{{-->
130
+ <method>:post</method>
131
+ <arguments>
132
+ <timeout>2</timeout>
133
+ </arguments>
134
+ </parameters>
135
+ <!--}}}-->
136
+ </call>
137
+ <call id="publish" endpoint="timeout">
138
+ <parameters>
139
+ <!--{{{-->
140
+ <method>:post</method>
141
+ <arguments>
142
+ <timeout>1</timeout>
143
+ </arguments>
144
+ </parameters>
145
+ <!--}}}-->
146
+ </call>
147
+ </loop>
148
+ </parallel_branch>
149
+ <parallel_branch>
150
+ <loop mode="pre_test" condition="data.feedback">
151
+ <call id="prepare" endpoint="timeout">
152
+ <parameters>
153
+ <!--{{{-->
154
+ <method>:post</method>
155
+ <arguments>
156
+ <timeout>4</timeout>
157
+ </arguments>
158
+ </parameters>
159
+ <!--}}}-->
160
+ </call>
161
+ <call id="fab" endpoint="timeout">
162
+ <parameters>
163
+ <!--{{{-->
164
+ <method>:post</method>
165
+ <arguments>
166
+ <timeout>4</timeout>
167
+ </arguments>
168
+ </parameters>
169
+ <!--}}}-->
170
+ </call>
171
+ <call id="evaluate" endpoint="timeout">
172
+ <parameters>
173
+ <!--{{{-->
174
+ <method>:post</method>
175
+ <arguments>
176
+ <timeout>4</timeout>
177
+ </arguments>
178
+ </parameters>
179
+ <!--}}}-->
180
+ </call>
181
+ </loop>
182
+ </parallel_branch>
183
+ </parallel>
184
+ </description>
185
+ </description>
186
+ <transformation>
187
+ <description type="copy"/>
188
+ <dataelements type="rest"/>
189
+ <endpoints type="rest"/>
190
+ </transformation>
191
+ </properties>
@@ -0,0 +1,204 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>250c640a-95b4-47a6-84e3-9ba493c1cc7e</uuid>
4
+ <info>Enter info here</info>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>ready</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements>
12
+ <feedback>true</feedback>
13
+ </dataelements>
14
+ <endpoints>
15
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
+ </endpoints>
17
+ <dsl>parallel do
18
+ parallel_branch do
19
+ loop pre_test{data.feedback} do
20
+ call :design, :timeout, parameters: { :label =&gt; "testerer", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
21
+ call :validate, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
22
+ call :publish, :timeout, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 1)] }
23
+ end
24
+ end
25
+ parallel_branch do
26
+ loop pre_test{data.feedback} do
27
+ call :prepare, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
28
+ call :fab, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
29
+ call :evaluate, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
30
+ end
31
+ end
32
+ end
33
+ call :a1, nil, parameters: { :label =&gt; "", :method =&gt; :post, :arguments =&gt; nil }
34
+ </dsl>
35
+ <dslx>
36
+ <description xmlns="http://cpee.org/ns/description/1.0">
37
+ <parallel>
38
+ <parallel_branch>
39
+ <loop mode="pre_test" condition="data.feedback">
40
+ <call id="design" endpoint="timeout">
41
+ <parameters>
42
+ <label>testerer</label>
43
+ <method>:post</method>
44
+ <arguments>
45
+ <timeout>4</timeout>
46
+ </arguments>
47
+ </parameters>
48
+ </call>
49
+ <call id="validate" endpoint="timeout">
50
+ <parameters>
51
+ <label/>
52
+ <method>:post</method>
53
+ <arguments>
54
+ <timeout>2</timeout>
55
+ </arguments>
56
+ </parameters>
57
+ </call>
58
+ <call id="publish" endpoint="timeout">
59
+ <parameters>
60
+ <label/>
61
+ <method>:post</method>
62
+ <arguments>
63
+ <timeout>1</timeout>
64
+ </arguments>
65
+ </parameters>
66
+ </call>
67
+ </loop>
68
+ </parallel_branch>
69
+ <parallel_branch>
70
+ <loop mode="pre_test" condition="data.feedback">
71
+ <call id="prepare" endpoint="timeout">
72
+ <parameters>
73
+ <!--{{{-->
74
+ <method>:post</method>
75
+ <arguments>
76
+ <timeout>4</timeout>
77
+ </arguments>
78
+ </parameters>
79
+ <!--}}}-->
80
+ </call>
81
+ <call id="fab" endpoint="timeout">
82
+ <parameters>
83
+ <!--{{{-->
84
+ <method>:post</method>
85
+ <arguments>
86
+ <timeout>4</timeout>
87
+ </arguments>
88
+ </parameters>
89
+ <!--}}}-->
90
+ </call>
91
+ <call id="evaluate" endpoint="timeout">
92
+ <parameters>
93
+ <!--{{{-->
94
+ <method>:post</method>
95
+ <arguments>
96
+ <timeout>4</timeout>
97
+ </arguments>
98
+ </parameters>
99
+ <!--}}}-->
100
+ </call>
101
+ </loop>
102
+ </parallel_branch>
103
+ </parallel>
104
+ <call id="a1" endpoint="">
105
+ <parameters>
106
+ <label/>
107
+ <method>:post</method>
108
+ <arguments/>
109
+ </parameters>
110
+ <finalize output="result"/>
111
+ <update output="result"/>
112
+ </call>
113
+ </description>
114
+ </dslx>
115
+ <status>
116
+ <id>0</id>
117
+ <message>undefined</message>
118
+ </status>
119
+ <description>
120
+ <description xmlns="http://cpee.org/ns/description/1.0">
121
+ <parallel>
122
+ <parallel_branch>
123
+ <loop mode="pre_test" condition="data.feedback">
124
+ <call id="design" endpoint="timeout">
125
+ <parameters>
126
+ <label>testerer</label>
127
+ <method>:post</method>
128
+ <arguments>
129
+ <timeout>4</timeout>
130
+ </arguments>
131
+ </parameters>
132
+ </call>
133
+ <call id="validate" endpoint="timeout">
134
+ <parameters>
135
+ <label/>
136
+ <method>:post</method>
137
+ <arguments>
138
+ <timeout>2</timeout>
139
+ </arguments>
140
+ </parameters>
141
+ </call>
142
+ <call id="publish" endpoint="timeout">
143
+ <parameters>
144
+ <label/>
145
+ <method>:post</method>
146
+ <arguments>
147
+ <timeout>1</timeout>
148
+ </arguments>
149
+ </parameters>
150
+ </call>
151
+ </loop>
152
+ </parallel_branch>
153
+ <parallel_branch>
154
+ <loop mode="pre_test" condition="data.feedback">
155
+ <call id="prepare" endpoint="timeout">
156
+ <parameters>
157
+ <!--{{{-->
158
+ <method>:post</method>
159
+ <arguments>
160
+ <timeout>4</timeout>
161
+ </arguments>
162
+ </parameters>
163
+ <!--}}}-->
164
+ </call>
165
+ <call id="fab" endpoint="timeout">
166
+ <parameters>
167
+ <!--{{{-->
168
+ <method>:post</method>
169
+ <arguments>
170
+ <timeout>4</timeout>
171
+ </arguments>
172
+ </parameters>
173
+ <!--}}}-->
174
+ </call>
175
+ <call id="evaluate" endpoint="timeout">
176
+ <parameters>
177
+ <!--{{{-->
178
+ <method>:post</method>
179
+ <arguments>
180
+ <timeout>4</timeout>
181
+ </arguments>
182
+ </parameters>
183
+ <!--}}}-->
184
+ </call>
185
+ </loop>
186
+ </parallel_branch>
187
+ </parallel>
188
+ <call id="a1" endpoint="">
189
+ <parameters>
190
+ <label/>
191
+ <method>:post</method>
192
+ <arguments/>
193
+ </parameters>
194
+ <finalize output="result"/>
195
+ <update output="result"/>
196
+ </call>
197
+ </description>
198
+ </description>
199
+ <transformation>
200
+ <description type="copy"/>
201
+ <dataelements type="rest"/>
202
+ <endpoints type="rest"/>
203
+ </transformation>
204
+ </properties>
@@ -0,0 +1,31 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>5f4a8545-5b26-4eb5-9b81-1378f835ffef</uuid>
4
+ <info/>
5
+ <modeltype>CPEE</modeltype>
6
+ <theme>default</theme>
7
+ </attributes>
8
+ <state>ready</state>
9
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
+ <positions/>
11
+ <dataelements/>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl/>
16
+ <dslx>
17
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
18
+ </dslx>
19
+ <status>
20
+ <id>0</id>
21
+ <message>undefined</message>
22
+ </status>
23
+ <description>
24
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
25
+ </description>
26
+ <transformation>
27
+ <description type="copy"/>
28
+ <dataelements type="none"/>
29
+ <endpoints type="none"/>
30
+ </transformation>
31
+ </properties>
@@ -0,0 +1,30 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <uuid>bd252a11-194b-4600-ab74-3cda8e8395d9</uuid>
4
+ <modeltype>CPEE</modeltype>
5
+ <theme>default</theme>
6
+ </attributes>
7
+ <state>ready</state>
8
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
9
+ <positions/>
10
+ <dataelements/>
11
+ <endpoints>
12
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
13
+ </endpoints>
14
+ <dsl/>
15
+ <dslx>
16
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
17
+ </dslx>
18
+ <status>
19
+ <id>0</id>
20
+ <message>undefined</message>
21
+ </status>
22
+ <description>
23
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
24
+ </description>
25
+ <transformation>
26
+ <description type="copy"/>
27
+ <dataelements type="none"/>
28
+ <endpoints type="none"/>
29
+ </transformation>
30
+ </properties>