cpee 1.4.15 → 1.4.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/js/instance.js +15 -6
  3. data/cockpit/js/wfadaptor.js +18 -3
  4. data/cockpit/themes/compact/theme.js +5 -3
  5. data/cockpit/themes/default/rngs/choose.rng +2 -2
  6. data/cockpit/themes/default/rngs/parallel.rng +2 -2
  7. data/cockpit/themes/default/theme.js +5 -3
  8. data/cockpit/themes/extended/theme.js +1042 -0
  9. data/cockpit/track.html +118 -0
  10. data/cpee.gemspec +1 -1
  11. data/lib/cpee/controller.rb +24 -8
  12. data/lib/cpee/implementation.rb +3 -6
  13. data/server/handlerwrappers/default.rb +1 -1
  14. data/server/resources/properties.init +5 -4
  15. data/server/resources/properties.schema.active +9 -1
  16. data/server/resources/properties.schema.finished +8 -0
  17. data/server/resources/properties.schema.inactive +8 -0
  18. data/tools/cpee +42 -19
  19. metadata +4 -109
  20. data/log/logs/1/test +0 -1
  21. data/log/logs/3b0cfe66-5a3d-43de-b5a1-d7b9386be65a.xes.yaml +0 -413
  22. data/server/instances/1/properties.xml +0 -62
  23. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +0 -1
  24. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +0 -1
  25. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/subscription.xml +0 -23
  26. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +0 -1
  27. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +0 -1
  28. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +0 -6
  29. data/server/instances/10/properties.xml +0 -187
  30. data/server/instances/11/properties.xml +0 -191
  31. data/server/instances/12/properties.xml +0 -191
  32. data/server/instances/13/properties.xml +0 -204
  33. data/server/instances/14/properties.xml +0 -31
  34. data/server/instances/15/properties.xml +0 -30
  35. data/server/instances/16/properties.xml +0 -29
  36. data/server/instances/17/properties.xml +0 -29
  37. data/server/instances/18/properties.xml +0 -31
  38. data/server/instances/19/properties.xml +0 -31
  39. data/server/instances/2/properties.xml +0 -31
  40. data/server/instances/20/properties.xml +0 -191
  41. data/server/instances/21/properties.xml +0 -156
  42. data/server/instances/22/properties.xml +0 -118
  43. data/server/instances/23/properties.xml +0 -118
  44. data/server/instances/24/properties.xml +0 -156
  45. data/server/instances/25/properties.xml +0 -156
  46. data/server/instances/26/properties.xml +0 -156
  47. data/server/instances/27/properties.xml +0 -140
  48. data/server/instances/28/properties.xml +0 -156
  49. data/server/instances/29/properties.xml +0 -156
  50. data/server/instances/3/properties.xml +0 -120
  51. data/server/instances/30/properties.xml +0 -354
  52. data/server/instances/31/properties.xml +0 -354
  53. data/server/instances/313/notifications/crisp/consumer-secret +0 -1
  54. data/server/instances/313/notifications/crisp/producer-secret +0 -1
  55. data/server/instances/313/notifications/crisp/subscription.xml +0 -7
  56. data/server/instances/313/notifications/logging/consumer-secret +0 -1
  57. data/server/instances/313/notifications/logging/producer-secret +0 -1
  58. data/server/instances/313/notifications/logging/subscription.xml +0 -7
  59. data/server/instances/313/notifications/logging_yaml/consumer-secret +0 -1
  60. data/server/instances/313/notifications/logging_yaml/producer-secret +0 -1
  61. data/server/instances/313/notifications/logging_yaml/subscription.xml +0 -7
  62. data/server/instances/313/properties.xml +0 -524
  63. data/server/instances/32/properties.xml +0 -628
  64. data/server/instances/33/properties.xml +0 -156
  65. data/server/instances/4/properties.xml +0 -114
  66. data/server/instances/5/properties.xml +0 -114
  67. data/server/instances/6/properties.xml +0 -206
  68. data/server/instances/662/notifications/crisp/consumer-secret +0 -1
  69. data/server/instances/662/notifications/crisp/producer-secret +0 -1
  70. data/server/instances/662/notifications/crisp/subscription.xml +0 -7
  71. data/server/instances/662/notifications/logging/consumer-secret +0 -1
  72. data/server/instances/662/notifications/logging/producer-secret +0 -1
  73. data/server/instances/662/notifications/logging/subscription.xml +0 -7
  74. data/server/instances/662/notifications/logging_yaml/consumer-secret +0 -1
  75. data/server/instances/662/notifications/logging_yaml/producer-secret +0 -1
  76. data/server/instances/662/notifications/logging_yaml/subscription.xml +0 -7
  77. data/server/instances/662/properties.xml +0 -427
  78. data/server/instances/663/properties.xml +0 -31
  79. data/server/instances/664/properties.xml +0 -425
  80. data/server/instances/665/properties.xml +0 -425
  81. data/server/instances/666/properties.xml +0 -427
  82. data/server/instances/667/properties.xml +0 -427
  83. data/server/instances/668/properties.xml +0 -425
  84. data/server/instances/669/properties.xml +0 -425
  85. data/server/instances/670/properties.xml +0 -31
  86. data/server/instances/671/properties.xml +0 -158
  87. data/server/instances/672/properties.xml +0 -199
  88. data/server/instances/673/properties.xml +0 -52
  89. data/server/instances/674/properties.xml +0 -75
  90. data/server/instances/675/notifications/10fa09a02f1a981a931ebe75d8cabe48/consumer-secret +0 -1
  91. data/server/instances/675/notifications/10fa09a02f1a981a931ebe75d8cabe48/producer-secret +0 -1
  92. data/server/instances/675/notifications/10fa09a02f1a981a931ebe75d8cabe48/subscription.xml +0 -6
  93. data/server/instances/675/properties.xml +0 -74
  94. data/server/instances/676/properties.xml +0 -76
  95. data/server/instances/677/properties.xml +0 -76
  96. data/server/instances/678/properties.xml +0 -74
  97. data/server/instances/679/properties.xml +0 -76
  98. data/server/instances/680/properties.xml +0 -76
  99. data/server/instances/681/properties.xml +0 -156
  100. data/server/instances/682/properties.xml +0 -156
  101. data/server/instances/683/properties.xml +0 -156
  102. data/server/instances/684/properties.xml +0 -156
  103. data/server/instances/685/properties.xml +0 -156
  104. data/server/instances/686/properties.xml +0 -156
  105. data/server/instances/687/properties.xml +0 -156
  106. data/server/instances/688/properties.xml +0 -118
  107. data/server/instances/689/properties.xml +0 -156
  108. data/server/instances/690/properties.xml +0 -156
  109. data/server/instances/691/properties.xml +0 -129
  110. data/server/instances/692/properties.xml +0 -31
  111. data/server/instances/693/properties.xml +0 -118
  112. data/server/instances/694/properties.xml +0 -118
  113. data/server/instances/695/properties.xml +0 -156
  114. data/server/instances/696/properties.xml +0 -156
  115. data/server/instances/697/notifications/ruleengine/consumer-secret +0 -1
  116. data/server/instances/697/notifications/ruleengine/producer-secret +0 -1
  117. data/server/instances/697/notifications/ruleengine/subscription.xml +0 -16
  118. data/server/instances/697/properties.xml +0 -156
  119. data/server/instances/698/notifications/ruleengine/consumer-secret +0 -1
  120. data/server/instances/698/notifications/ruleengine/producer-secret +0 -1
  121. data/server/instances/698/notifications/ruleengine/subscription.xml +0 -16
  122. data/server/instances/698/properties.xml +0 -31
  123. data/server/instances/7/properties.xml +0 -156
  124. data/server/instances/8/properties.xml +0 -118
  125. data/server/instances/9/properties.xml +0 -120
  126. data/server/server.pid +0 -1
@@ -1,62 +0,0 @@
1
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <attributes>
3
- <uuid/>
4
- <info>Lego Plate</info>
5
- <modeltype>CPEE</modeltype>
6
- </attributes>
7
- <state>stopped</state>
8
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
9
- <positions/>
10
- <dataelements>
11
- <i>0</i>
12
- </dataelements>
13
- <endpoints>
14
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
15
- <move>http://plate.wst.univie.ac.at:9200/go-next</move>
16
- </endpoints>
17
- <dsl>loop pre_test{i&lt;2} do
18
- call :a1, :move, parameters: { :label =&gt; "Move to next station", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
19
- data.i= data.i + 1
20
- END
21
- end
22
- </dsl>
23
- <dslx>
24
- <description xmlns="http://cpee.org/ns/description/1.0">
25
- <loop mode="pre_test" condition="i&lt;2">
26
- <call id="a1" endpoint="move">
27
- <parameters>
28
- <label>Move to next station</label>
29
- <method>:post</method>
30
- <arguments/>
31
- </parameters>
32
- <finalize output="result">data.i= data.i + 1</finalize>
33
- <update output="result"/>
34
- </call>
35
- </loop>
36
- </description>
37
- </dslx>
38
- <status>
39
- <id>0</id>
40
- <message>undefined</message>
41
- </status>
42
- <description>
43
- <description xmlns="http://cpee.org/ns/description/1.0">
44
- <loop mode="pre_test" condition="i&lt;2">
45
- <call id="a1" endpoint="move">
46
- <parameters>
47
- <label>Move to next station</label>
48
- <method>:post</method>
49
- <arguments/>
50
- </parameters>
51
- <finalize output="result">data.i= data.i + 1</finalize>
52
- <update output="result"/>
53
- </call>
54
- </loop>
55
- </description>
56
- </description>
57
- <transformation>
58
- <description type="copy"/>
59
- <dataelements type="none"/>
60
- <endpoints type="none"/>
61
- </transformation>
62
- </properties>
@@ -1,23 +0,0 @@
1
- <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://localhost:9299/events">
2
- <topic id="activity">
3
- <event>calling</event>
4
- <event>failed</event>
5
- <event>manipulating</event>
6
- <event>done</event>
7
- </topic>
8
- <topic id="dataelements">
9
- <event>change</event>
10
- </topic>
11
- <topic id="endpoints">
12
- <event>change</event>
13
- </topic>
14
- <topic id="description">
15
- <event>error</event>
16
- </topic>
17
- <topic id="state">
18
- <event>change</event>
19
- </topic>
20
- <topic id="status">
21
- <event>change</event>
22
- </topic>
23
- </subscription>
@@ -1,6 +0,0 @@
1
- <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://solo.wst.univie.ac.at:9299/log">
2
- <topic id="activity">
3
- <event>calling</event>
4
- <event>done</event>
5
- </topic>
6
- </subscription>
@@ -1,187 +0,0 @@
1
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <attributes>
3
- <uuid>cb9f41ef-e119-43a5-b8fa-5851ec3faef1</uuid>
4
- <info>s</info>
5
- <modeltype>Signavio</modeltype>
6
- </attributes>
7
- <state>ready</state>
8
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
9
- <positions/>
10
- <dataelements>
11
- <x>_begin</x>
12
- <nasty>What a nasty bug</nasty>
13
- </dataelements>
14
- <endpoints>
15
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
- </endpoints>
17
- <dsl>call :a1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4), ⭐(:name =&gt; :bug, :value =&gt; data.nasty)] }, finalize: &lt;&lt;-END
18
- data.x += "done"
19
- END
20
- parallel :wait =&gt; 2 do
21
- parallel_branch do
22
- call :a2_1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 6)] }
23
- end
24
- parallel_branch do
25
- call :a2_2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
26
- end
27
- end
28
- manipulate :a3, &lt;&lt;-END
29
- data.x += '_end'
30
- END
31
- choose :inclusive do
32
- alternative "data.x != nil" do
33
- call :a4_1, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 4)] }
34
- end
35
- otherwise do
36
- call :a4_2, :timeout, parameters: { :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 10)] }
37
- end
38
- end
39
- </dsl>
40
- <dslx>
41
- <description xmlns="http://cpee.org/ns/description/1.0">
42
- <call id="a1" endpoint="timeout">
43
- <parameters>
44
- <!--{{{-->
45
- <method>:post</method>
46
- <arguments>
47
- <timeout>4</timeout>
48
- <bug>data.nasty</bug>
49
- </arguments>
50
- </parameters>
51
- <!--}}}-->
52
- <finalize output="result">data.x += "done"</finalize>
53
- </call>
54
- <parallel wait="2">
55
- <parallel_branch>
56
- <call id="a2_1" endpoint="timeout">
57
- <parameters>
58
- <!--{{{-->
59
- <method>:post</method>
60
- <arguments>
61
- <timeout>6</timeout>
62
- </arguments>
63
- </parameters>
64
- <!--}}}-->
65
- </call>
66
- </parallel_branch>
67
- <parallel_branch>
68
- <call id="a2_2" endpoint="timeout">
69
- <parameters>
70
- <!--{{{-->
71
- <method>:post</method>
72
- <arguments>
73
- <timeout>2</timeout>
74
- </arguments>
75
- </parameters>
76
- <!--}}}-->
77
- </call>
78
- </parallel_branch>
79
- </parallel>
80
- <manipulate id="a3">data.x += '_end'</manipulate>
81
- <choose>
82
- <alternative condition="data.x != nil">
83
- <call id="a4_1" endpoint="timeout">
84
- <parameters>
85
- <!--{{{-->
86
- <method>:post</method>
87
- <arguments>
88
- <timeout>4</timeout>
89
- </arguments>
90
- </parameters>
91
- <!--}}}-->
92
- </call>
93
- </alternative>
94
- <otherwise>
95
- <call id="a4_2" endpoint="timeout">
96
- <parameters>
97
- <!--{{{-->
98
- <method>:post</method>
99
- <arguments>
100
- <timeout>10</timeout>
101
- </arguments>
102
- </parameters>
103
- <!--}}}-->
104
- </call>
105
- </otherwise>
106
- </choose>
107
- </description>
108
- </dslx>
109
- <status>
110
- <id>0</id>
111
- <message>undefined</message>
112
- </status>
113
- <description>
114
- <description xmlns="http://cpee.org/ns/description/1.0">
115
- <call id="a1" endpoint="timeout">
116
- <parameters>
117
- <!--{{{-->
118
- <method>:post</method>
119
- <arguments>
120
- <timeout>4</timeout>
121
- <bug>data.nasty</bug>
122
- </arguments>
123
- </parameters>
124
- <!--}}}-->
125
- <finalize output="result">data.x += "done"</finalize>
126
- </call>
127
- <parallel wait="2">
128
- <parallel_branch>
129
- <call id="a2_1" endpoint="timeout">
130
- <parameters>
131
- <!--{{{-->
132
- <method>:post</method>
133
- <arguments>
134
- <timeout>6</timeout>
135
- </arguments>
136
- </parameters>
137
- <!--}}}-->
138
- </call>
139
- </parallel_branch>
140
- <parallel_branch>
141
- <call id="a2_2" endpoint="timeout">
142
- <parameters>
143
- <!--{{{-->
144
- <method>:post</method>
145
- <arguments>
146
- <timeout>2</timeout>
147
- </arguments>
148
- </parameters>
149
- <!--}}}-->
150
- </call>
151
- </parallel_branch>
152
- </parallel>
153
- <manipulate id="a3">data.x += '_end'</manipulate>
154
- <choose>
155
- <alternative condition="data.x != nil">
156
- <call id="a4_1" endpoint="timeout">
157
- <parameters>
158
- <!--{{{-->
159
- <method>:post</method>
160
- <arguments>
161
- <timeout>4</timeout>
162
- </arguments>
163
- </parameters>
164
- <!--}}}-->
165
- </call>
166
- </alternative>
167
- <otherwise>
168
- <call id="a4_2" endpoint="timeout">
169
- <parameters>
170
- <!--{{{-->
171
- <method>:post</method>
172
- <arguments>
173
- <timeout>10</timeout>
174
- </arguments>
175
- </parameters>
176
- <!--}}}-->
177
- </call>
178
- </otherwise>
179
- </choose>
180
- </description>
181
- </description>
182
- <transformation>
183
- <description type="copy"/>
184
- <dataelements type="rest"/>
185
- <endpoints type="rest"/>
186
- </transformation>
187
- </properties>
@@ -1,191 +0,0 @@
1
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <attributes>
3
- <uuid>c2358d41-8c8e-4113-8e4c-88b5ff490985</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>