cpee 2.1.52 → 2.1.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cockpit/css/{resources.css → resources-label.css} +0 -7
- data/cockpit/css/resources-svg.css +20 -0
- data/cockpit/css/ui.css +0 -4
- data/cockpit/edit.html +5 -1
- data/cockpit/graph.html +4 -0
- data/cockpit/index.html +3 -2
- data/cockpit/js/details.js +4 -14
- data/cockpit/js/edit.js +3 -0
- data/cockpit/js/instance.js +129 -139
- data/cockpit/js/modifiers.js +4 -14
- data/cockpit/js/parameters.js +4 -10
- data/cockpit/js/wfadaptor.js +0 -27
- data/cockpit/model.html +2 -0
- data/cockpit/templates/Coopis 2010.xml +8 -1
- data/cockpit/templates/Worklist.xml +6 -7
- data/cockpit/themes/compact/rngs/call.rng +3 -3
- data/cockpit/themes/compact/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/compact/rngs/parallel.rng +2 -2
- data/cockpit/themes/compact/rngs/start.rng +3 -3
- data/cockpit/themes/compact/theme.js +38 -22
- data/cockpit/themes/control/rngs/call.rng +3 -3
- data/cockpit/themes/control/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/control/rngs/parallel.rng +2 -2
- data/cockpit/themes/control/rngs/start.rng +3 -3
- data/cockpit/themes/control/theme.js +76 -10
- data/cockpit/themes/dataflow/rngs/call.rng +3 -3
- data/cockpit/themes/dataflow/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/dataflow/rngs/parallel.rng +2 -2
- data/cockpit/themes/dataflow/rngs/start.rng +3 -3
- data/cockpit/themes/dataflow/theme.js +48 -32
- data/cockpit/themes/default/rngs/call.rng +3 -3
- data/cockpit/themes/default/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/default/rngs/parallel.rng +2 -2
- data/cockpit/themes/default/rngs/start.rng +3 -3
- data/cockpit/themes/default/theme.js +38 -22
- data/cockpit/themes/extended/rngs/call.rng +3 -3
- data/cockpit/themes/extended/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/extended/rngs/parallel.rng +2 -2
- data/cockpit/themes/extended/rngs/start.rng +3 -3
- data/cockpit/themes/extended/theme.js +38 -22
- data/cockpit/themes/felix/rngs/alternative.rng +25 -0
- data/cockpit/themes/felix/rngs/call.rng +229 -0
- data/cockpit/themes/felix/rngs/callmanipulate.rng +259 -0
- data/cockpit/themes/felix/rngs/choose.rng +14 -0
- data/cockpit/themes/felix/rngs/closed_loop.rng +62 -0
- data/cockpit/themes/felix/rngs/closed_loop_cancel.rng +5 -0
- data/cockpit/themes/felix/rngs/closed_loop_control.rng +31 -0
- data/cockpit/themes/felix/rngs/closed_loop_measuring.rng +12 -0
- data/cockpit/themes/felix/rngs/critical.rng +5 -0
- data/cockpit/themes/felix/rngs/escape.rng +1 -0
- data/cockpit/themes/felix/rngs/group.rng +3 -0
- data/cockpit/themes/felix/rngs/loop.rng +22 -0
- data/cockpit/themes/felix/rngs/manipulate.rng +20 -0
- data/cockpit/themes/felix/rngs/otherwise.rng +22 -0
- data/cockpit/themes/felix/rngs/parallel.rng +27 -0
- data/cockpit/themes/felix/rngs/parallel_branch.rng +2 -0
- data/cockpit/themes/felix/rngs/scripts.rng +23 -0
- data/cockpit/themes/felix/rngs/start.rng +121 -0
- data/cockpit/themes/felix/rngs/stop.rng +5 -0
- data/cockpit/themes/felix/rngs/terminate.rng +1 -0
- data/cockpit/themes/felix/symbols/alternative.svg +5 -0
- data/cockpit/themes/felix/symbols/arrow.svg +3 -0
- data/cockpit/themes/felix/symbols/call.svg +6 -0
- data/cockpit/themes/felix/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/felix/symbols/callmanipulate.svg +8 -0
- data/cockpit/themes/felix/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/felix/symbols/choose.svg +5 -0
- data/cockpit/themes/felix/symbols/choose_exclusive.svg +5 -0
- data/cockpit/themes/felix/symbols/choose_inclusive.svg +4 -0
- data/cockpit/themes/felix/symbols/closed_loop.svg +5 -0
- data/cockpit/themes/felix/symbols/closed_loop_cancel.svg +5 -0
- data/cockpit/themes/felix/symbols/closed_loop_control.svg +5 -0
- data/cockpit/themes/felix/symbols/closed_loop_measuring.svg +6 -0
- data/cockpit/themes/felix/symbols/complex.svg +8 -0
- data/cockpit/themes/felix/symbols/critical.svg +4 -0
- data/cockpit/themes/felix/symbols/delete.svg +4 -0
- data/cockpit/themes/felix/symbols/end.svg +3 -0
- data/cockpit/themes/felix/symbols/escape.svg +5 -0
- data/cockpit/themes/felix/symbols/event_end.svg +3 -0
- data/cockpit/themes/felix/symbols/loop.svg +5 -0
- data/cockpit/themes/felix/symbols/manipulate.svg +4 -0
- data/cockpit/themes/felix/symbols/otherwise.svg +5 -0
- data/cockpit/themes/felix/symbols/parallel.svg +5 -0
- data/cockpit/themes/felix/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/felix/symbols/parallel_branch_compact.svg +4 -0
- data/cockpit/themes/felix/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/felix/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/felix/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/felix/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/felix/symbols/scripts.svg +4 -0
- data/cockpit/themes/felix/symbols/start.svg +3 -0
- data/cockpit/themes/felix/symbols/start_event.svg +5 -0
- data/cockpit/themes/felix/symbols/stop.svg +5 -0
- data/cockpit/themes/felix/symbols/terminate.svg +4 -0
- data/cockpit/themes/felix/theme.js +1531 -0
- data/cockpit/themes/model/rngs/call.rng +10 -10
- data/cockpit/themes/model/rngs/callmanipulate.rng +10 -10
- data/cockpit/themes/model/theme.js +14 -3
- data/cockpit/themes/packed/rngs/call.rng +3 -3
- data/cockpit/themes/packed/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/packed/rngs/parallel.rng +2 -2
- data/cockpit/themes/packed/rngs/start.rng +3 -3
- data/cockpit/themes/packed/theme.js +38 -22
- data/cockpit/themes/preset/rngs/call.rng +3 -3
- data/cockpit/themes/preset/rngs/callmanipulate.rng +3 -3
- data/cockpit/themes/preset/rngs/parallel.rng +2 -2
- data/cockpit/themes/preset/rngs/start.rng +3 -3
- data/cockpit/themes/preset/theme.js +38 -22
- data/cockpit/track.html +4 -0
- data/cpee.gemspec +1 -1
- data/lib/cpee/implementation.rb +1 -1
- data/lib/cpee/implementation_properties.rb +23 -13
- data/lib/properties/state.rng +0 -2
- data/lib/properties.xml +0 -1
- data/server/executionhandlers/ruby/connection.rb +25 -16
- data/server/executionhandlers/ruby/controller.rb +1 -1
- data/server/executionhandlers/ruby/dsl_to_dslx.xsl +71 -61
- data/server/resources/states.dot +0 -4
- data/server/resources/states.xml +0 -6
- data/server/routing/end.pid +1 -0
- data/server/routing/forward-events-00.pid +1 -0
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/persist.pid +1 -0
- metadata +63 -17
- data/cockpit/css/replay.css +0 -55
- data/cockpit/js/replay.js +0 -40
- data/cockpit/replay.html +0 -53
- data/cockpit/themes/compact/symbols/test.svg +0 -74
- data/cockpit/themes/control/symbols/test.svg +0 -74
- data/cockpit/themes/dataflow/symbols/test.svg +0 -74
- data/cockpit/themes/default/symbols/test.svg +0 -74
- data/cockpit/themes/extended/symbols/test.svg +0 -74
- data/cockpit/themes/model/symbols/test.svg +0 -74
- data/cockpit/themes/packed/symbols/test.svg +0 -74
- data/cockpit/themes/preset/symbols/test.svg +0 -74
- data/server/executionhandlers/ruby/desc.xml +0 -107
- data/server/resources/test.pdf +0 -0
- data/server/server.conf +0 -4
|
@@ -42,8 +42,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
42
42
|
end# }}}
|
|
43
43
|
def self::inform_connectionwrapper_error(arguments,err) # {{{
|
|
44
44
|
controller = arguments[0]
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
puts err.message
|
|
46
|
+
puts err.backtrace
|
|
47
47
|
controller.notify("executionhandler/error", :message => err.backtrace[0].gsub(/([\w -_]+):(\d+):in.*/,'\\1, Line \2: ') + err.message)
|
|
48
48
|
end # }}}
|
|
49
49
|
def self::inform_position_change(arguments,ipc={}) # {{{
|
|
@@ -64,7 +64,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
64
64
|
@guard_items = []
|
|
65
65
|
end # }}}
|
|
66
66
|
|
|
67
|
-
def prepare(readonly, endpoints, parameters
|
|
67
|
+
def prepare(readonly, endpoints, parameters) #{{{
|
|
68
68
|
@handler_endpoint = endpoints.is_a?(Array) ? endpoints.map{ |ep| readonly.endpoints[ep] }.compact : readonly.endpoints[endpoints]
|
|
69
69
|
if @controller.attributes['twin_engine']
|
|
70
70
|
@handler_endpoint_orig = @handler_endpoint
|
|
@@ -127,7 +127,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
127
127
|
params << Riddl::Header.new("CPEE-CALLBACK-ID",callback)
|
|
128
128
|
params << Riddl::Header.new("CPEE-ACTIVITY",@handler_position)
|
|
129
129
|
params << Riddl::Header.new("CPEE-LABEL",@label||'')
|
|
130
|
-
params << Riddl::Header.new("CPEE-
|
|
130
|
+
params << Riddl::Header.new("CPEE-TWIN-TARGET",@controller.attributes['twin_target']) if @controller.attributes['twin_target']
|
|
131
131
|
@controller.attributes.each do |key,value|
|
|
132
132
|
params << Riddl::Header.new("CPEE-ATTR-#{key.to_s.gsub(/_/,'-')}",value)
|
|
133
133
|
end
|
|
@@ -142,6 +142,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
142
142
|
@handler_passthrough = callback
|
|
143
143
|
@controller.callback(self,callback,:'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position)
|
|
144
144
|
|
|
145
|
+
pp params
|
|
146
|
+
|
|
145
147
|
status, result, headers = client.request type => params
|
|
146
148
|
@guard_files += result
|
|
147
149
|
|
|
@@ -157,12 +159,29 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
157
159
|
else
|
|
158
160
|
'instantiation'
|
|
159
161
|
end
|
|
160
|
-
JSON::parse(gtresult.value.read).each do |e|
|
|
162
|
+
JSON::parse(gtresult.first.value.read).each do |e|
|
|
161
163
|
if e['type'] == transwhat
|
|
162
164
|
@handler_endpoint = e['endpoint'] if e['endpoint']
|
|
163
165
|
e['arguments']&.each do |k,a|
|
|
166
|
+
if a.is_a? String
|
|
167
|
+
hname = a.gsub(/-/,'_')
|
|
168
|
+
a = headers[hname] if headers[hname]
|
|
169
|
+
elsif a.is_a? Hash
|
|
170
|
+
a.each do |k_ht, a_ht|
|
|
171
|
+
hname = a_ht.gsub(/-/,'_')
|
|
172
|
+
a[k_ht] = headers[hname] if headers[hname]
|
|
173
|
+
end
|
|
174
|
+
end
|
|
164
175
|
params.each do |p|
|
|
165
|
-
|
|
176
|
+
if p.name == k
|
|
177
|
+
if a.is_a? String
|
|
178
|
+
p.value = a
|
|
179
|
+
elsif a.is_a? Hash
|
|
180
|
+
ohash = JSON::parse(p.value) rescue {}
|
|
181
|
+
ohash.merge!(a)
|
|
182
|
+
p.value = JSON.generate(ohash)
|
|
183
|
+
end
|
|
184
|
+
end
|
|
166
185
|
end
|
|
167
186
|
end
|
|
168
187
|
end
|
|
@@ -172,16 +191,6 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
172
191
|
@handler_endpoint = @handler_endpoint_orig
|
|
173
192
|
end
|
|
174
193
|
params.delete_if { |p| p.name == 'original_endpoint' }
|
|
175
|
-
params.each do |p|
|
|
176
|
-
if p.name == 'attributes'
|
|
177
|
-
t = JSON::parse(p.value) rescue {}
|
|
178
|
-
t['twin_engine'] = @controller.attributes['twin_engine'] if @controller.attributes['twin_engine']
|
|
179
|
-
t['twin_target'] = @controller.attributes['twin_target'] if @controller.attributes['twin_target']
|
|
180
|
-
t['twin_translate'] = @controller.attributes['twin_engine'] if @controller.attributes['twin_translate']
|
|
181
|
-
p.value = t.to_json
|
|
182
|
-
end
|
|
183
|
-
end
|
|
184
|
-
pp params
|
|
185
194
|
end
|
|
186
195
|
end while status == 561
|
|
187
196
|
|
|
@@ -290,6 +290,14 @@
|
|
|
290
290
|
</xsl:with-param>
|
|
291
291
|
</xsl:call-template>
|
|
292
292
|
<xsl:text>choose </xsl:text>
|
|
293
|
+
<xsl:choose>
|
|
294
|
+
<xsl:when test="@mode='exclusive'">
|
|
295
|
+
<xsl:text>:exclusive</xsl:text>
|
|
296
|
+
</xsl:when>
|
|
297
|
+
<xsl:otherwise>
|
|
298
|
+
<xsl:text>:inclusive</xsl:text>
|
|
299
|
+
</xsl:otherwise>
|
|
300
|
+
</xsl:choose>
|
|
293
301
|
<xsl:text> do</xsl:text>
|
|
294
302
|
<xsl:call-template name="print-newline"/>
|
|
295
303
|
<xsl:apply-templates>
|
|
@@ -594,67 +602,69 @@
|
|
|
594
602
|
</xsl:choose>
|
|
595
603
|
</xsl:template>
|
|
596
604
|
<xsl:template match="d:*" mode="sub">
|
|
597
|
-
<xsl:if test="
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
<xsl:
|
|
602
|
-
<xsl:
|
|
603
|
-
<xsl:
|
|
604
|
-
<xsl:
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
<xsl:
|
|
610
|
-
<xsl:
|
|
611
|
-
<xsl:
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
<xsl:
|
|
619
|
-
<xsl:
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
<xsl:
|
|
625
|
-
<xsl:
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
<xsl:
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
<xsl:
|
|
638
|
-
<xsl:
|
|
639
|
-
<xsl:
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
<xsl:
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
<xsl:
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
605
|
+
<xsl:if test="not(@rngui-nonfunctional)">
|
|
606
|
+
<xsl:if test="count(preceding-sibling::*[not(@rngui-nonfunctional)]) > 0">, </xsl:if>
|
|
607
|
+
<xsl:text>⭐(</xsl:text>
|
|
608
|
+
<xsl:text>:name => :</xsl:text>
|
|
609
|
+
<xsl:choose>
|
|
610
|
+
<xsl:when test="substring(name(),1,1) = '_'">
|
|
611
|
+
<xsl:call-template name="format-name">
|
|
612
|
+
<xsl:with-param name="tname">
|
|
613
|
+
<xsl:value-of select="substring(name(),2)"/>
|
|
614
|
+
</xsl:with-param>
|
|
615
|
+
</xsl:call-template>
|
|
616
|
+
</xsl:when>
|
|
617
|
+
<xsl:otherwise>
|
|
618
|
+
<xsl:call-template name="format-name">
|
|
619
|
+
<xsl:with-param name="tname">
|
|
620
|
+
<xsl:value-of select="name()"/>
|
|
621
|
+
</xsl:with-param>
|
|
622
|
+
</xsl:call-template>
|
|
623
|
+
</xsl:otherwise>
|
|
624
|
+
</xsl:choose>
|
|
625
|
+
<xsl:text>, :value => ->{ </xsl:text>
|
|
626
|
+
<xsl:choose>
|
|
627
|
+
<xsl:when test="not(node())">
|
|
628
|
+
<xsl:text>nil</xsl:text>
|
|
629
|
+
</xsl:when>
|
|
630
|
+
<xsl:when test="child::node()[not(self::text())]">
|
|
631
|
+
<!-- FUUUU, there is probably much more TODO. Updated Matthias und Juergen, we tested for ing-opcua/execute -->
|
|
632
|
+
<xsl:choose>
|
|
633
|
+
<xsl:when test="child::* and name(child::*)=concat(name(.),'_item') and count(child::*[not(name()=name(../child::*[1]))])=0">
|
|
634
|
+
<xsl:text>"[ </xsl:text>
|
|
635
|
+
<xsl:apply-templates select="*" mode="JSONArrayItem"/>
|
|
636
|
+
<xsl:text>]"</xsl:text>
|
|
637
|
+
</xsl:when>
|
|
638
|
+
<xsl:otherwise>
|
|
639
|
+
<xsl:text>"{ </xsl:text>
|
|
640
|
+
<xsl:apply-templates select="*" mode="JSONSUB"/>
|
|
641
|
+
<xsl:text>}"</xsl:text>
|
|
642
|
+
</xsl:otherwise>
|
|
643
|
+
</xsl:choose>
|
|
644
|
+
</xsl:when>
|
|
645
|
+
<xsl:otherwise>
|
|
646
|
+
<xsl:choose>
|
|
647
|
+
<xsl:when test="substring(text(),1,1) = '!'">
|
|
648
|
+
<xsl:value-of select="substring(text(),2)"/>
|
|
649
|
+
</xsl:when>
|
|
650
|
+
<xsl:otherwise>
|
|
651
|
+
<xsl:text>"</xsl:text>
|
|
652
|
+
<xsl:value-of select="str:replace(str:replace(text(),'\','\\'),'"','\"')"/>
|
|
653
|
+
<xsl:text>"</xsl:text>
|
|
654
|
+
</xsl:otherwise>
|
|
655
|
+
</xsl:choose>
|
|
656
|
+
</xsl:otherwise>
|
|
657
|
+
</xsl:choose>
|
|
658
|
+
<xsl:text> }</xsl:text>
|
|
659
|
+
<xsl:for-each select="@*">
|
|
660
|
+
<xsl:text>, :</xsl:text>
|
|
661
|
+
<xsl:value-of select="name()"/>
|
|
662
|
+
<xsl:text> => "</xsl:text>
|
|
663
|
+
<xsl:value-of select="string(.)"/>
|
|
664
|
+
<xsl:text>"</xsl:text>
|
|
665
|
+
</xsl:for-each>
|
|
666
|
+
<xsl:text>)</xsl:text>
|
|
667
|
+
</xsl:if>
|
|
658
668
|
</xsl:template>
|
|
659
669
|
|
|
660
670
|
<xsl:template match="d:finalize | d:update | d:prepare | d:rescue" mode="part-of-call">
|
data/server/resources/states.dot
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
digraph States {
|
|
2
2
|
ready -> running;
|
|
3
3
|
ready -> simulating;
|
|
4
|
-
ready -> replaying;
|
|
5
4
|
ready -> abandoned;
|
|
6
5
|
running -> stopping;
|
|
7
6
|
stopped -> running;
|
|
8
7
|
stopped -> simulating;
|
|
9
|
-
stopped -> replaying;
|
|
10
8
|
stopped -> abandoned;
|
|
11
9
|
|
|
12
10
|
running -> finishing;
|
|
13
11
|
simulating -> ready;
|
|
14
12
|
simulating -> stopped;
|
|
15
|
-
replaying -> stopping;
|
|
16
|
-
replaying -> finishing;
|
|
17
13
|
finishing -> finished;
|
|
18
14
|
stopping -> stopped;
|
|
19
15
|
}
|
data/server/resources/states.xml
CHANGED
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
<ready/>
|
|
9
9
|
<running/>
|
|
10
10
|
<simulating/>
|
|
11
|
-
<replaying/>
|
|
12
11
|
<abandoned/>
|
|
13
12
|
</ready>
|
|
14
13
|
<running><!-- in this state you can set the following state -->
|
|
@@ -20,7 +19,6 @@
|
|
|
20
19
|
<stopped><!-- in this state you can set the following four states -->
|
|
21
20
|
<running/>
|
|
22
21
|
<simulating/>
|
|
23
|
-
<replaying/>
|
|
24
22
|
<abandoned/>
|
|
25
23
|
<stopped/>
|
|
26
24
|
</stopped>
|
|
@@ -36,10 +34,6 @@
|
|
|
36
34
|
<ready/>
|
|
37
35
|
<stopped/>
|
|
38
36
|
</simulating>
|
|
39
|
-
<replaying>
|
|
40
|
-
<stopping/>
|
|
41
|
-
<finishing/>
|
|
42
|
-
</replaying>
|
|
43
37
|
<finishing>
|
|
44
38
|
<finished/>
|
|
45
39
|
</finishing>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1109498
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1109507
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1109504
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1109501
|
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: 2.1.
|
|
4
|
+
version: 2.1.54
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: tools
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2024-
|
|
13
|
+
date: 2024-03-20 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: riddl
|
|
@@ -171,8 +171,8 @@ files:
|
|
|
171
171
|
- cockpit/contrib/tree_example.svg
|
|
172
172
|
- cockpit/css/graph.css
|
|
173
173
|
- cockpit/css/model.css
|
|
174
|
-
- cockpit/css/
|
|
175
|
-
- cockpit/css/resources.css
|
|
174
|
+
- cockpit/css/resources-label.css
|
|
175
|
+
- cockpit/css/resources-svg.css
|
|
176
176
|
- cockpit/css/track.css
|
|
177
177
|
- cockpit/css/ui.css
|
|
178
178
|
- cockpit/css/wfadaptor.css
|
|
@@ -185,14 +185,12 @@ files:
|
|
|
185
185
|
- cockpit/js/model.js
|
|
186
186
|
- cockpit/js/modifiers.js
|
|
187
187
|
- cockpit/js/parameters.js
|
|
188
|
-
- cockpit/js/replay.js
|
|
189
188
|
- cockpit/js/resources.js
|
|
190
189
|
- cockpit/js/track.js
|
|
191
190
|
- cockpit/js/ui.js
|
|
192
191
|
- cockpit/js/wfadaptor.js
|
|
193
192
|
- cockpit/js_libs.zip
|
|
194
193
|
- cockpit/model.html
|
|
195
|
-
- cockpit/replay.html
|
|
196
194
|
- cockpit/rngs/attributes.rng
|
|
197
195
|
- cockpit/rngs/dataelements.rng
|
|
198
196
|
- cockpit/rngs/endpoints.rng
|
|
@@ -313,7 +311,6 @@ files:
|
|
|
313
311
|
- cockpit/themes/compact/symbols/start_event.svg
|
|
314
312
|
- cockpit/themes/compact/symbols/stop.svg
|
|
315
313
|
- cockpit/themes/compact/symbols/terminate.svg
|
|
316
|
-
- cockpit/themes/compact/symbols/test.svg
|
|
317
314
|
- cockpit/themes/compact/theme.js
|
|
318
315
|
- cockpit/themes/control/rngs/alternative.rng
|
|
319
316
|
- cockpit/themes/control/rngs/call.rng
|
|
@@ -369,7 +366,6 @@ files:
|
|
|
369
366
|
- cockpit/themes/control/symbols/start_event.svg
|
|
370
367
|
- cockpit/themes/control/symbols/stop.svg
|
|
371
368
|
- cockpit/themes/control/symbols/terminate.svg
|
|
372
|
-
- cockpit/themes/control/symbols/test.svg
|
|
373
369
|
- cockpit/themes/control/theme.js
|
|
374
370
|
- cockpit/themes/dataflow/rngs/alternative.rng
|
|
375
371
|
- cockpit/themes/dataflow/rngs/call.rng
|
|
@@ -425,7 +421,6 @@ files:
|
|
|
425
421
|
- cockpit/themes/dataflow/symbols/start_event.svg
|
|
426
422
|
- cockpit/themes/dataflow/symbols/stop.svg
|
|
427
423
|
- cockpit/themes/dataflow/symbols/terminate.svg
|
|
428
|
-
- cockpit/themes/dataflow/symbols/test.svg
|
|
429
424
|
- cockpit/themes/dataflow/theme.js
|
|
430
425
|
- cockpit/themes/default/rngs/alternative.rng
|
|
431
426
|
- cockpit/themes/default/rngs/call.rng
|
|
@@ -481,7 +476,6 @@ files:
|
|
|
481
476
|
- cockpit/themes/default/symbols/start_event.svg
|
|
482
477
|
- cockpit/themes/default/symbols/stop.svg
|
|
483
478
|
- cockpit/themes/default/symbols/terminate.svg
|
|
484
|
-
- cockpit/themes/default/symbols/test.svg
|
|
485
479
|
- cockpit/themes/default/theme.js
|
|
486
480
|
- cockpit/themes/extended/rngs/alternative.rng
|
|
487
481
|
- cockpit/themes/extended/rngs/call.rng
|
|
@@ -537,8 +531,62 @@ files:
|
|
|
537
531
|
- cockpit/themes/extended/symbols/start_event.svg
|
|
538
532
|
- cockpit/themes/extended/symbols/stop.svg
|
|
539
533
|
- cockpit/themes/extended/symbols/terminate.svg
|
|
540
|
-
- cockpit/themes/extended/symbols/test.svg
|
|
541
534
|
- cockpit/themes/extended/theme.js
|
|
535
|
+
- cockpit/themes/felix/rngs/alternative.rng
|
|
536
|
+
- cockpit/themes/felix/rngs/call.rng
|
|
537
|
+
- cockpit/themes/felix/rngs/callmanipulate.rng
|
|
538
|
+
- cockpit/themes/felix/rngs/choose.rng
|
|
539
|
+
- cockpit/themes/felix/rngs/closed_loop.rng
|
|
540
|
+
- cockpit/themes/felix/rngs/closed_loop_cancel.rng
|
|
541
|
+
- cockpit/themes/felix/rngs/closed_loop_control.rng
|
|
542
|
+
- cockpit/themes/felix/rngs/closed_loop_measuring.rng
|
|
543
|
+
- cockpit/themes/felix/rngs/critical.rng
|
|
544
|
+
- cockpit/themes/felix/rngs/escape.rng
|
|
545
|
+
- cockpit/themes/felix/rngs/group.rng
|
|
546
|
+
- cockpit/themes/felix/rngs/loop.rng
|
|
547
|
+
- cockpit/themes/felix/rngs/manipulate.rng
|
|
548
|
+
- cockpit/themes/felix/rngs/otherwise.rng
|
|
549
|
+
- cockpit/themes/felix/rngs/parallel.rng
|
|
550
|
+
- cockpit/themes/felix/rngs/parallel_branch.rng
|
|
551
|
+
- cockpit/themes/felix/rngs/scripts.rng
|
|
552
|
+
- cockpit/themes/felix/rngs/start.rng
|
|
553
|
+
- cockpit/themes/felix/rngs/stop.rng
|
|
554
|
+
- cockpit/themes/felix/rngs/terminate.rng
|
|
555
|
+
- cockpit/themes/felix/symbols/alternative.svg
|
|
556
|
+
- cockpit/themes/felix/symbols/arrow.svg
|
|
557
|
+
- cockpit/themes/felix/symbols/call.svg
|
|
558
|
+
- cockpit/themes/felix/symbols/call_sensor.svg
|
|
559
|
+
- cockpit/themes/felix/symbols/callmanipulate.svg
|
|
560
|
+
- cockpit/themes/felix/symbols/callmanipulate_sensor.svg
|
|
561
|
+
- cockpit/themes/felix/symbols/choose.svg
|
|
562
|
+
- cockpit/themes/felix/symbols/choose_exclusive.svg
|
|
563
|
+
- cockpit/themes/felix/symbols/choose_inclusive.svg
|
|
564
|
+
- cockpit/themes/felix/symbols/closed_loop.svg
|
|
565
|
+
- cockpit/themes/felix/symbols/closed_loop_cancel.svg
|
|
566
|
+
- cockpit/themes/felix/symbols/closed_loop_control.svg
|
|
567
|
+
- cockpit/themes/felix/symbols/closed_loop_measuring.svg
|
|
568
|
+
- cockpit/themes/felix/symbols/complex.svg
|
|
569
|
+
- cockpit/themes/felix/symbols/critical.svg
|
|
570
|
+
- cockpit/themes/felix/symbols/delete.svg
|
|
571
|
+
- cockpit/themes/felix/symbols/end.svg
|
|
572
|
+
- cockpit/themes/felix/symbols/escape.svg
|
|
573
|
+
- cockpit/themes/felix/symbols/event_end.svg
|
|
574
|
+
- cockpit/themes/felix/symbols/loop.svg
|
|
575
|
+
- cockpit/themes/felix/symbols/manipulate.svg
|
|
576
|
+
- cockpit/themes/felix/symbols/otherwise.svg
|
|
577
|
+
- cockpit/themes/felix/symbols/parallel.svg
|
|
578
|
+
- cockpit/themes/felix/symbols/parallel_branch.svg
|
|
579
|
+
- cockpit/themes/felix/symbols/parallel_branch_compact.svg
|
|
580
|
+
- cockpit/themes/felix/symbols/parallel_branch_event.svg
|
|
581
|
+
- cockpit/themes/felix/symbols/parallel_branch_normal.svg
|
|
582
|
+
- cockpit/themes/felix/symbols/parallel_eventbased_exclusive.svg
|
|
583
|
+
- cockpit/themes/felix/symbols/parallel_eventbased_parallel.svg
|
|
584
|
+
- cockpit/themes/felix/symbols/scripts.svg
|
|
585
|
+
- cockpit/themes/felix/symbols/start.svg
|
|
586
|
+
- cockpit/themes/felix/symbols/start_event.svg
|
|
587
|
+
- cockpit/themes/felix/symbols/stop.svg
|
|
588
|
+
- cockpit/themes/felix/symbols/terminate.svg
|
|
589
|
+
- cockpit/themes/felix/theme.js
|
|
542
590
|
- cockpit/themes/model/rngs/alternative.rng
|
|
543
591
|
- cockpit/themes/model/rngs/call.rng
|
|
544
592
|
- cockpit/themes/model/rngs/callmanipulate.rng
|
|
@@ -588,7 +636,6 @@ files:
|
|
|
588
636
|
- cockpit/themes/model/symbols/start_event.svg
|
|
589
637
|
- cockpit/themes/model/symbols/stop.svg
|
|
590
638
|
- cockpit/themes/model/symbols/terminate.svg
|
|
591
|
-
- cockpit/themes/model/symbols/test.svg
|
|
592
639
|
- cockpit/themes/model/theme.js
|
|
593
640
|
- cockpit/themes/packed/rngs/alternative.rng
|
|
594
641
|
- cockpit/themes/packed/rngs/call.rng
|
|
@@ -644,7 +691,6 @@ files:
|
|
|
644
691
|
- cockpit/themes/packed/symbols/start_event.svg
|
|
645
692
|
- cockpit/themes/packed/symbols/stop.svg
|
|
646
693
|
- cockpit/themes/packed/symbols/terminate.svg
|
|
647
|
-
- cockpit/themes/packed/symbols/test.svg
|
|
648
694
|
- cockpit/themes/packed/theme.js
|
|
649
695
|
- cockpit/themes/preset/rngs/alternative.rng
|
|
650
696
|
- cockpit/themes/preset/rngs/call.rng
|
|
@@ -700,7 +746,6 @@ files:
|
|
|
700
746
|
- cockpit/themes/preset/symbols/start_event.svg
|
|
701
747
|
- cockpit/themes/preset/symbols/stop.svg
|
|
702
748
|
- cockpit/themes/preset/symbols/terminate.svg
|
|
703
|
-
- cockpit/themes/preset/symbols/test.svg
|
|
704
749
|
- cockpit/themes/preset/theme.js
|
|
705
750
|
- cockpit/track.html
|
|
706
751
|
- cockpit/transformations.xml
|
|
@@ -761,7 +806,6 @@ files:
|
|
|
761
806
|
- server/executionhandlers/ruby/backend/run
|
|
762
807
|
- server/executionhandlers/ruby/connection.rb
|
|
763
808
|
- server/executionhandlers/ruby/controller.rb
|
|
764
|
-
- server/executionhandlers/ruby/desc.xml
|
|
765
809
|
- server/executionhandlers/ruby/dsl_to_dslx.xsl
|
|
766
810
|
- server/executionhandlers/ruby/execution.rb
|
|
767
811
|
- server/resources/empty_dslx.xml
|
|
@@ -770,14 +814,16 @@ files:
|
|
|
770
814
|
- server/resources/properties.init
|
|
771
815
|
- server/resources/states.dot
|
|
772
816
|
- server/resources/states.xml
|
|
773
|
-
- server/resources/test.pdf
|
|
774
817
|
- server/resources/topics.xml
|
|
775
818
|
- server/resources/transformation.xml
|
|
819
|
+
- server/routing/end.pid
|
|
776
820
|
- server/routing/end.rb
|
|
821
|
+
- server/routing/forward-events-00.pid
|
|
777
822
|
- server/routing/forward-events.rb
|
|
823
|
+
- server/routing/forward-votes.pid
|
|
778
824
|
- server/routing/forward-votes.rb
|
|
825
|
+
- server/routing/persist.pid
|
|
779
826
|
- server/routing/persist.rb
|
|
780
|
-
- server/server.conf
|
|
781
827
|
- server/server.pid
|
|
782
828
|
- server/server.rb
|
|
783
829
|
- tools/cpee
|
data/cockpit/css/replay.css
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
body {
|
|
2
|
-
-webkit-user-select: none;
|
|
3
|
-
-moz-user-select: -moz-none;
|
|
4
|
-
-ms-user-select: none;
|
|
5
|
-
user-select: none;
|
|
6
|
-
font-family: sans-serif;
|
|
7
|
-
font-size: 1em;
|
|
8
|
-
padding: 0;
|
|
9
|
-
margin: 0;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
#replayer {
|
|
13
|
-
display: flex;
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
flex-wrap: nowrap;
|
|
16
|
-
align-items: stretch;
|
|
17
|
-
height: 100vh;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
#replay {
|
|
21
|
-
width: 100%;
|
|
22
|
-
display: flex;
|
|
23
|
-
flex-direction: row;
|
|
24
|
-
flex-wrap: nowrap;
|
|
25
|
-
align-items: stretch;
|
|
26
|
-
padding: 1em 0;
|
|
27
|
-
flex: 0 0 auto;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
#replay span {
|
|
31
|
-
flex: 0 0 auto;
|
|
32
|
-
margin-left: 1em;
|
|
33
|
-
align-self: center;
|
|
34
|
-
}
|
|
35
|
-
#replay input {
|
|
36
|
-
margin: 0em 1em;
|
|
37
|
-
flex: 1 1 auto;
|
|
38
|
-
}
|
|
39
|
-
#replay button {
|
|
40
|
-
margin-right: 1em;
|
|
41
|
-
flex: 0 0 auto;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
#content {
|
|
45
|
-
width: 100%;
|
|
46
|
-
align-self: center;
|
|
47
|
-
flex: 1 1 auto;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
iframe {
|
|
51
|
-
border: 0 none;
|
|
52
|
-
padding: 0;
|
|
53
|
-
margin: 0;
|
|
54
|
-
overflow: scroll;
|
|
55
|
-
}
|
data/cockpit/js/replay.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
$(document).ready(function() {
|
|
2
|
-
$("#replay button").click(e => {
|
|
3
|
-
$.ajax({
|
|
4
|
-
url: $('#replay input').val(),
|
|
5
|
-
type: 'GET',
|
|
6
|
-
success: function(re) {
|
|
7
|
-
var de;
|
|
8
|
-
var ep;
|
|
9
|
-
var at;
|
|
10
|
-
var desc;
|
|
11
|
-
try {
|
|
12
|
-
jsyaml.loadAll(re,e => {
|
|
13
|
-
if (e.event && e.event['cpee:lifecycle:transition'] == 'dataelements/change') {
|
|
14
|
-
de = e.event.data.data_values;
|
|
15
|
-
}
|
|
16
|
-
if (e.event && e.event['cpee:lifecycle:transition'] == 'endpoints/change') {
|
|
17
|
-
ep = e.event.data.data_values;
|
|
18
|
-
}
|
|
19
|
-
if (e.event && e.event['cpee:lifecycle:transition'] == 'attributes/change') {
|
|
20
|
-
at = e.event.data.data_values;
|
|
21
|
-
}
|
|
22
|
-
if (e.event && e.event['cpee:description']) {
|
|
23
|
-
desc = e.event['cpee:description'];
|
|
24
|
-
}
|
|
25
|
-
if (e.event && e.event['cpee:state'] == 'running') {
|
|
26
|
-
throw BreakException;
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
} catch(e) { /* just to break out of the iterator. what a shitty language */ }
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
// load log with ajax
|
|
35
|
-
// extract process model
|
|
36
|
-
// initialize process model
|
|
37
|
-
// set attributes
|
|
38
|
-
// change start button to do replay
|
|
39
|
-
});
|
|
40
|
-
});
|
data/cockpit/replay.html
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<!--
|
|
2
|
-
This file is part of CPEE.
|
|
3
|
-
|
|
4
|
-
CPEE is free software: you can redistribute it and/or modify it under the terms
|
|
5
|
-
of the GNU General Public License as published by the Free Software Foundation,
|
|
6
|
-
either version 3 of the License, or (at your option) any later version.
|
|
7
|
-
|
|
8
|
-
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
9
|
-
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
10
|
-
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
|
11
|
-
|
|
12
|
-
You should have received a copy of the GNU General Public License along with
|
|
13
|
-
CPEE (file COPYING in the main directory). If not, see
|
|
14
|
-
<http://www.gnu.org/licenses/>.
|
|
15
|
-
-->
|
|
16
|
-
|
|
17
|
-
<!DOCTYPE html>
|
|
18
|
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
|
19
|
-
<head>
|
|
20
|
-
<meta charset="utf-8"/>
|
|
21
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
|
22
|
-
<title>CPEE Cockpit</title>
|
|
23
|
-
|
|
24
|
-
<!-- libs, do not modify. When local than load local libs. -->
|
|
25
|
-
<script type="text/javascript" src="/js_libs/jquery.min.js"></script>
|
|
26
|
-
<script type="text/javascript" src="/js_libs/jquery.browser.js"></script>
|
|
27
|
-
<script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
|
|
28
|
-
<script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
|
|
29
|
-
<script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
|
|
30
|
-
<script type="text/javascript" src="/js_libs/util.js"></script>
|
|
31
|
-
<script type="text/javascript" src="/js_libs/printf.js"></script>
|
|
32
|
-
<script type="text/javascript" src="/js_libs/strftime.min.js"></script>
|
|
33
|
-
<script type="text/javascript" src="/js_libs/parsequery.js"></script>
|
|
34
|
-
<script type="text/javascript" src="/js_libs/underscore.min.js"></script>
|
|
35
|
-
<script type="text/javascript" src="/js_libs/jquery.caret.min.js"></script>
|
|
36
|
-
<script type="text/javascript" src="/js_libs/jquery.cookie.js"></script>
|
|
37
|
-
<script type="text/javascript" src="/js_libs/js-yaml.min.js"></script>
|
|
38
|
-
|
|
39
|
-
<script type="text/javascript" src="/js_libs/uidash.js"></script>
|
|
40
|
-
<link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
|
|
41
|
-
|
|
42
|
-
<!-- custom stuff, play arround -->
|
|
43
|
-
<script type="text/javascript" src="js/replay.js"></script>
|
|
44
|
-
<link rel="stylesheet" href="css/ui.css" type="text/css"/>
|
|
45
|
-
<link rel="stylesheet" href="css/replay.css" type="text/css"/>
|
|
46
|
-
</head>
|
|
47
|
-
<body is="x-ui-">
|
|
48
|
-
<div id="replayer">
|
|
49
|
-
<div id="replay"><span>Replay:</span><input type="text" value="http://localhost/logs/4b92138d-1f68-4d18-b676-92fb1cbe2c78.xes.yaml"/><button>Prepare!</button></div>
|
|
50
|
-
<iframe id="content" src=""></iframe>
|
|
51
|
-
</div>
|
|
52
|
-
</body>
|
|
53
|
-
</html>
|