cpee 1.3.119 → 1.3.120

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/cockpit/contrib/graph_example.svg +1166 -0
  2. data/cockpit/contrib/legend.svg +817 -0
  3. data/cockpit/contrib/tree_example.svg +788 -0
  4. data/cockpit/css/ui.css +41 -14
  5. data/cockpit/index.html +82 -35
  6. data/cockpit/js/instance.js +38 -28
  7. data/cockpit/js/ui.js +18 -1
  8. data/cockpit/js/wfadaptor.cpee.js +3 -20
  9. data/cockpit/lib/contextmenu.css +8 -2
  10. data/cockpit/lib/jquery.cookie.js +117 -0
  11. data/cockpit/lib/wfadaptor.css +4 -0
  12. data/cockpit/testsets/Concurrent.xml +2 -2
  13. data/cockpit/testsets/Coopis Testset.xml +39 -37
  14. data/cockpit/testsets/Endpoints and Data Manipulation.xml +14 -12
  15. data/cockpit/testsets/ICSOC Testset.xml +61 -59
  16. data/cockpit/testsets/Linear.xml +31 -29
  17. data/cockpit/testsets/Mangler 1.xml +57 -55
  18. data/cockpit/testsets/Mangler 2.xml +60 -58
  19. data/cockpit/testsets/RESCUE - Book Movie - Local.xml +68 -66
  20. data/cockpit/testsets/RESCUE - Book Movie.xml +68 -66
  21. data/cockpit/testsets/RESCUE - Loop-Parallel Injection.xml +61 -59
  22. data/cockpit/testsets/SOPROMO Test Sonification.xml +38 -36
  23. data/cockpit/testsets/Syncing P34 1.xml +31 -29
  24. data/cockpit/testsets/Syncing P34 2.xml +31 -29
  25. data/cockpit/testsets/Syncing P34 3.xml +31 -29
  26. data/cockpit/testsets/Syncing P34.xml +31 -29
  27. data/cockpit/testsets/TEST - Bad Loop.xml +129 -127
  28. data/cockpit/testsets/TEST - Wrong Positions.xml +142 -140
  29. data/cpee.gemspec +1 -1
  30. data/server/handlerwrappers/default.rb +13 -0
  31. data/server/resources/properties.init +3 -1
  32. data/server/resources/transformation_dslx.xsl +3 -0
  33. metadata +6 -6
  34. data/server/instances/1/notifications/9a9f296b8446be3ee15a99fbb94543dd/consumer-secret +0 -1
  35. data/server/instances/1/notifications/9a9f296b8446be3ee15a99fbb94543dd/producer-secret +0 -1
  36. data/server/instances/1/notifications/9a9f296b8446be3ee15a99fbb94543dd/subscription.xml +0 -27
  37. data/server/instances/1/properties.xml +0 -41
@@ -8,139 +8,141 @@
8
8
  <endpoints>
9
9
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
10
10
  </endpoints>
11
- <description xmlns="http://cpee.org/ns/description/1.0">
12
- <parallel>
13
- <parallel_branch>
14
- <loop pre_test='data.feedback'>
15
- <call id="publish" endpoint="timeout">
16
- <parameters><!--{{{-->
17
- <method>post</method>
18
- <parameters>
19
- <timeout>1</timeout>
20
- </parameters>
21
- </parameters><!--}}}-->
22
- </call>
23
- <choose>
24
- <alternative condition="data.x != nil">
25
- <call id="a4_1" endpoint="timeout">
11
+ <description>
12
+ <description xmlns="http://cpee.org/ns/description/1.0">
13
+ <parallel>
14
+ <parallel_branch>
15
+ <loop pre_test='data.feedback'>
16
+ <call id="publish" endpoint="timeout">
26
17
  <parameters><!--{{{-->
27
- <method>post</method>
28
- <parameters>
29
- <timeout>4</timeout>
30
- </parameters>
31
- </parameters><!--}}}-->
32
- </call>
33
- </alternative>
34
- <otherwise>
35
- <call id="a4_2" endpoint="timeout">
36
- <parameters><!--{{{-->
37
- <method>post</method>
38
- <parameters>
39
- <timeout>10</timeout>
40
- </parameters>
41
- </parameters><!--}}}-->
42
- </call>
43
- </otherwise>
44
- </choose>
45
- <choose>
46
- <alternative condition="data.x != nil">
47
- <call id="a4_1" endpoint="timeout">
48
- <parameters><!--{{{-->
49
- <method>post</method>
50
- <parameters>
51
- <timeout>4</timeout>
52
- </parameters>
53
- </parameters><!--}}}-->
54
- </call>
55
- </alternative>
56
- <otherwise>
57
- <call id="a4_2" endpoint="timeout">
58
- <parameters><!--{{{-->
59
- <method>post</method>
60
- <parameters>
61
- <timeout>10</timeout>
62
- </parameters>
63
- </parameters><!--}}}-->
64
- </call>
65
- </otherwise>
66
- </choose>
67
- </loop>
68
- <call id="a4_1" endpoint="timeout">
69
- <parameters><!--{{{-->
70
- <method>post</method>
71
- <parameters>
72
- <timeout>4</timeout>
73
- </parameters>
74
- </parameters><!--}}}-->
75
- </call>
76
- </parallel_branch>
77
- <parallel_branch>
78
- <loop pre_test='data.feedback'>
79
- <call id="prepare" endpoint="timeout">
80
- <parameters><!--{{{-->
18
+ <method>post</method>
19
+ <parameters>
20
+ <timeout>1</timeout>
21
+ </parameters>
22
+ </parameters><!--}}}-->
23
+ </call>
24
+ <choose>
25
+ <alternative condition="data.x != nil">
26
+ <call id="a4_1" endpoint="timeout">
27
+ <parameters><!--{{{-->
28
+ <method>post</method>
29
+ <parameters>
30
+ <timeout>4</timeout>
31
+ </parameters>
32
+ </parameters><!--}}}-->
33
+ </call>
34
+ </alternative>
35
+ <otherwise>
36
+ <call id="a4_2" endpoint="timeout">
37
+ <parameters><!--{{{-->
38
+ <method>post</method>
39
+ <parameters>
40
+ <timeout>10</timeout>
41
+ </parameters>
42
+ </parameters><!--}}}-->
43
+ </call>
44
+ </otherwise>
45
+ </choose>
46
+ <choose>
47
+ <alternative condition="data.x != nil">
48
+ <call id="a4_1" endpoint="timeout">
49
+ <parameters><!--{{{-->
50
+ <method>post</method>
51
+ <parameters>
52
+ <timeout>4</timeout>
53
+ </parameters>
54
+ </parameters><!--}}}-->
55
+ </call>
56
+ </alternative>
57
+ <otherwise>
58
+ <call id="a4_2" endpoint="timeout">
59
+ <parameters><!--{{{-->
60
+ <method>post</method>
61
+ <parameters>
62
+ <timeout>10</timeout>
63
+ </parameters>
64
+ </parameters><!--}}}-->
65
+ </call>
66
+ </otherwise>
67
+ </choose>
68
+ </loop>
69
+ <call id="a4_1" endpoint="timeout">
70
+ <parameters><!--{{{-->
81
71
  <method>post</method>
82
72
  <parameters>
83
73
  <timeout>4</timeout>
84
74
  </parameters>
85
75
  </parameters><!--}}}-->
86
- </call>
87
- <parallel>
88
- <choose>
89
- <parallel_branch>
90
- <alternative condition="data.x != nil">
91
- <call id="a4_1" endpoint="timeout">
92
- <parameters><!--{{{-->
93
- <method>post</method>
94
- <parameters>
95
- <timeout>4</timeout>
96
- </parameters>
97
- </parameters><!--}}}-->
98
- </call>
99
- </alternative>
100
- </parallel_branch>
101
- <parallel_branch>
102
- <alternative condition="data.x.nil?">
103
- <call id="a4_2" endpoint="timeout">
104
- <parameters><!--{{{-->
105
- <method>post</method>
106
- <parameters>
107
- <timeout>10</timeout>
108
- </parameters>
109
- </parameters><!--}}}-->
110
- </call>
111
- </alternative>
112
- </parallel_branch>
113
- </choose>
114
- <choose>
115
- <parallel_branch>
116
- <alternative condition="data.x != nil">
117
- <call id="a4_1" endpoint="timeout">
118
- <parameters><!--{{{-->
119
- <method>post</method>
120
- <parameters>
121
- <timeout>4</timeout>
122
- </parameters>
123
- </parameters><!--}}}-->
124
- </call>
125
- </alternative>
126
- </parallel_branch>
127
- <parallel_branch>
128
- <alternative condition="data.x.nil?">
129
- <call id="a4_2" endpoint="timeout">
130
- <parameters><!--{{{-->
131
- <method>post</method>
132
- <parameters>
133
- <timeout>10</timeout>
134
- </parameters>
135
- </parameters><!--}}}-->
136
- </call>
137
- </alternative>
138
- </parallel_branch>
139
- </choose>
140
- </parallel>
141
- </loop>
142
- </parallel_branch>
143
- </parallel>
76
+ </call>
77
+ </parallel_branch>
78
+ <parallel_branch>
79
+ <loop pre_test='data.feedback'>
80
+ <call id="prepare" endpoint="timeout">
81
+ <parameters><!--{{{-->
82
+ <method>post</method>
83
+ <parameters>
84
+ <timeout>4</timeout>
85
+ </parameters>
86
+ </parameters><!--}}}-->
87
+ </call>
88
+ <parallel>
89
+ <choose>
90
+ <parallel_branch>
91
+ <alternative condition="data.x != nil">
92
+ <call id="a4_1" endpoint="timeout">
93
+ <parameters><!--{{{-->
94
+ <method>post</method>
95
+ <parameters>
96
+ <timeout>4</timeout>
97
+ </parameters>
98
+ </parameters><!--}}}-->
99
+ </call>
100
+ </alternative>
101
+ </parallel_branch>
102
+ <parallel_branch>
103
+ <alternative condition="data.x.nil?">
104
+ <call id="a4_2" endpoint="timeout">
105
+ <parameters><!--{{{-->
106
+ <method>post</method>
107
+ <parameters>
108
+ <timeout>10</timeout>
109
+ </parameters>
110
+ </parameters><!--}}}-->
111
+ </call>
112
+ </alternative>
113
+ </parallel_branch>
114
+ </choose>
115
+ <choose>
116
+ <parallel_branch>
117
+ <alternative condition="data.x != nil">
118
+ <call id="a4_1" endpoint="timeout">
119
+ <parameters><!--{{{-->
120
+ <method>post</method>
121
+ <parameters>
122
+ <timeout>4</timeout>
123
+ </parameters>
124
+ </parameters><!--}}}-->
125
+ </call>
126
+ </alternative>
127
+ </parallel_branch>
128
+ <parallel_branch>
129
+ <alternative condition="data.x.nil?">
130
+ <call id="a4_2" endpoint="timeout">
131
+ <parameters><!--{{{-->
132
+ <method>post</method>
133
+ <parameters>
134
+ <timeout>10</timeout>
135
+ </parameters>
136
+ </parameters><!--}}}-->
137
+ </call>
138
+ </alternative>
139
+ </parallel_branch>
140
+ </choose>
141
+ </parallel>
142
+ </loop>
143
+ </parallel_branch>
144
+ </parallel>
145
+ </description>
144
146
  </description>
145
147
  <transformation>
146
148
  <description type='copy'/>
@@ -9,153 +9,155 @@
9
9
  <services>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</services>
10
10
  <injection>http://localhost:9290/injection/handler</injection>
11
11
  </endpoints>
12
- <description xmlns="http://cpee.org/ns/description/1.0">
13
- <parallel>
14
- <parallel_branch>
15
- <call id="b1_a01" endpoint="services">
16
- <parameters><!--{{{-->
17
- <service/>
18
- <parameters>
19
- <op1>data.wait</op1>
20
- </parameters>
21
- </parameters><!--}}}-->
22
- <manipulate output="result">
23
- data.wait -= 1
24
- </manipulate>
25
- </call>
26
- <manipulate id="b1_a02">
27
- data.wait += 1
28
- </manipulate>
29
- <parallel>
30
- <parallel_branch>
31
- <call id="b1_a03" endpoint="services">
32
- <parameters><!--{{{-->
33
- <service/>
34
- <parameters>
35
- <op1>data.wait</op1>
36
- </parameters>
37
- </parameters><!--}}}-->
38
- <manipulate output="result">
39
- data.wait -= 1
40
- </manipulate>
41
- </call>
42
- <call id="b1_a04" endpoint="services">
43
- <parameters><!--{{{-->
44
- <service/>
45
- <parameters>
46
- <op1>data.wait</op1>
47
- </parameters>
48
- </parameters><!--}}}-->
49
- <manipulate output="result">
50
- data.wait -= 1
51
- </manipulate>
52
- </call>
53
- <manipulate id="b1_a05">
54
- data.wait += 1
55
- </manipulate>
56
- </parallel_branch>
57
- <parallel_branch>
58
- <call id="b1_a06" endpoint="services">
59
- <parameters><!--{{{-->
60
- <service/>
61
- <parameters>
62
- <op1>data.wait</op1>
63
- </parameters>
64
- </parameters><!--}}}-->
65
- <manipulate output="result">
66
- data.wait -= 1
67
- </manipulate>
68
- </call>
69
- <manipulate id="b1_a07">
70
- data.wait += 1
12
+ <description>
13
+ <description xmlns="http://cpee.org/ns/description/1.0">
14
+ <parallel>
15
+ <parallel_branch>
16
+ <call id="b1_a01" endpoint="services">
17
+ <parameters><!--{{{-->
18
+ <service/>
19
+ <parameters>
20
+ <op1>data.wait</op1>
21
+ </parameters>
22
+ </parameters><!--}}}-->
23
+ <manipulate output="result">
24
+ data.wait -= 1
71
25
  </manipulate>
72
- <call id="b1_a08" endpoint="services">
73
- <parameters><!--{{{-->
74
- <service/>
75
- <parameters>
76
- <op1>data.wait</op1>
77
- </parameters>
78
- </parameters><!--}}}-->
79
- <manipulate output="result">
80
- data.wait -= 1
81
- </manipulate>
82
- </call>
83
- </parallel_branch>
84
- </parallel>
85
- </parallel_branch>
86
- <parallel_branch>
87
- <call id="b2_a01" endpoint="services">
88
- <parameters><!--{{{-->
89
- <service/>
90
- <parameters>
91
- <op1>data.wait</op1>
92
- </parameters>
93
- </parameters><!--}}}-->
94
- <manipulate output="result">
95
- data.wait -= 1
26
+ </call>
27
+ <manipulate id="b1_a02">
28
+ data.wait += 1
96
29
  </manipulate>
97
- </call>
98
- <manipulate id="b2_a02">
99
- data.wait += 1
100
- </manipulate>
101
- <parallel>
102
- <parallel_branch>
103
- <call id="b2_a03" endpoint="services">
104
- <parameters><!--{{{-->
105
- <service/>
106
- <parameters>
107
- <op1>data.wait</op1>
108
- </parameters>
109
- </parameters><!--}}}-->
110
- <manipulate output="result">
111
- data.wait -= 1
30
+ <parallel>
31
+ <parallel_branch>
32
+ <call id="b1_a03" endpoint="services">
33
+ <parameters><!--{{{-->
34
+ <service/>
35
+ <parameters>
36
+ <op1>data.wait</op1>
37
+ </parameters>
38
+ </parameters><!--}}}-->
39
+ <manipulate output="result">
40
+ data.wait -= 1
41
+ </manipulate>
42
+ </call>
43
+ <call id="b1_a04" endpoint="services">
44
+ <parameters><!--{{{-->
45
+ <service/>
46
+ <parameters>
47
+ <op1>data.wait</op1>
48
+ </parameters>
49
+ </parameters><!--}}}-->
50
+ <manipulate output="result">
51
+ data.wait -= 1
52
+ </manipulate>
53
+ </call>
54
+ <manipulate id="b1_a05">
55
+ data.wait += 1
112
56
  </manipulate>
113
- </call>
114
- <call id="b2_a04" endpoint="services">
115
- <parameters><!--{{{-->
116
- <service/>
117
- <parameters>
118
- <op1>data.wait</op1>
119
- </parameters>
120
- </parameters><!--}}}-->
121
- <manipulate output="result">
122
- data.wait -= 1
57
+ </parallel_branch>
58
+ <parallel_branch>
59
+ <call id="b1_a06" endpoint="services">
60
+ <parameters><!--{{{-->
61
+ <service/>
62
+ <parameters>
63
+ <op1>data.wait</op1>
64
+ </parameters>
65
+ </parameters><!--}}}-->
66
+ <manipulate output="result">
67
+ data.wait -= 1
68
+ </manipulate>
69
+ </call>
70
+ <manipulate id="b1_a07">
71
+ data.wait += 1
123
72
  </manipulate>
124
- </call>
125
- <manipulate id="b2_a05">
126
- data.wait += 1
73
+ <call id="b1_a08" endpoint="services">
74
+ <parameters><!--{{{-->
75
+ <service/>
76
+ <parameters>
77
+ <op1>data.wait</op1>
78
+ </parameters>
79
+ </parameters><!--}}}-->
80
+ <manipulate output="result">
81
+ data.wait -= 1
82
+ </manipulate>
83
+ </call>
84
+ </parallel_branch>
85
+ </parallel>
86
+ </parallel_branch>
87
+ <parallel_branch>
88
+ <call id="b2_a01" endpoint="services">
89
+ <parameters><!--{{{-->
90
+ <service/>
91
+ <parameters>
92
+ <op1>data.wait</op1>
93
+ </parameters>
94
+ </parameters><!--}}}-->
95
+ <manipulate output="result">
96
+ data.wait -= 1
127
97
  </manipulate>
128
- </parallel_branch>
129
- <parallel_branch>
130
- <call id="b2_a06" endpoint="services">
131
- <parameters><!--{{{-->
132
- <service/>
133
- <parameters>
134
- <op1>data.wait</op1>
135
- </parameters>
136
- </parameters><!--}}}-->
137
- <manipulate output="result">
138
- data.wait -= 1
98
+ </call>
99
+ <manipulate id="b2_a02">
100
+ data.wait += 1
101
+ </manipulate>
102
+ <parallel>
103
+ <parallel_branch>
104
+ <call id="b2_a03" endpoint="services">
105
+ <parameters><!--{{{-->
106
+ <service/>
107
+ <parameters>
108
+ <op1>data.wait</op1>
109
+ </parameters>
110
+ </parameters><!--}}}-->
111
+ <manipulate output="result">
112
+ data.wait -= 1
113
+ </manipulate>
114
+ </call>
115
+ <call id="b2_a04" endpoint="services">
116
+ <parameters><!--{{{-->
117
+ <service/>
118
+ <parameters>
119
+ <op1>data.wait</op1>
120
+ </parameters>
121
+ </parameters><!--}}}-->
122
+ <manipulate output="result">
123
+ data.wait -= 1
124
+ </manipulate>
125
+ </call>
126
+ <manipulate id="b2_a05">
127
+ data.wait += 1
139
128
  </manipulate>
140
- </call>
141
- <manipulate id="b2_a07">
142
- data.wait += 1
143
- </manipulate>
144
- <call id="b2_a08" endpoint="services">
145
- <parameters><!--{{{-->
146
- <service/>
147
- <parameters>
148
- <op1>data.wait</op1>
149
- </parameters>
150
- </parameters><!--}}}-->
151
- <manipulate output="result">
152
- data.wait -= 1
129
+ </parallel_branch>
130
+ <parallel_branch>
131
+ <call id="b2_a06" endpoint="services">
132
+ <parameters><!--{{{-->
133
+ <service/>
134
+ <parameters>
135
+ <op1>data.wait</op1>
136
+ </parameters>
137
+ </parameters><!--}}}-->
138
+ <manipulate output="result">
139
+ data.wait -= 1
140
+ </manipulate>
141
+ </call>
142
+ <manipulate id="b2_a07">
143
+ data.wait += 1
153
144
  </manipulate>
154
- </call>
155
- </parallel_branch>
156
- </parallel>
157
- </parallel_branch>
158
- </parallel>
145
+ <call id="b2_a08" endpoint="services">
146
+ <parameters><!--{{{-->
147
+ <service/>
148
+ <parameters>
149
+ <op1>data.wait</op1>
150
+ </parameters>
151
+ </parameters><!--}}}-->
152
+ <manipulate output="result">
153
+ data.wait -= 1
154
+ </manipulate>
155
+ </call>
156
+ </parallel_branch>
157
+ </parallel>
158
+ </parallel_branch>
159
+ </parallel>
160
+ </description>
159
161
  </description>
160
162
  <transformation>
161
163
  <description type='copy'/>