cpee 2.1.97 → 2.1.98
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/wfadaptor.css +37 -33
- data/cockpit/js/details.js +9 -4
- data/cockpit/js/instance.js +2 -2
- data/cockpit/js/wfadaptor.js +11 -1
- data/cockpit/model.html +6 -1
- data/cockpit/themes/base.js +20 -19
- data/cockpit/themes/control/rngs/call.rng +2 -4
- data/cockpit/themes/control/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/control/rngs/manipulate.rng +2 -4
- data/cockpit/themes/control/rngs/start.rng +2 -4
- data/cockpit/themes/control/symbols/alternative.svg +2 -2
- data/cockpit/themes/control/symbols/call.svg +5 -5
- data/cockpit/themes/control/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/control/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/control/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/control/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/control/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/control/symbols/choose.svg +2 -2
- data/cockpit/themes/control/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/control/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/control/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/control/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/control/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/control/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/control/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/control/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/control/symbols/complex.svg +1 -1
- data/cockpit/themes/control/symbols/critical.svg +1 -1
- data/cockpit/themes/control/symbols/escape.svg +2 -2
- data/cockpit/themes/control/symbols/event_end.svg +1 -1
- data/cockpit/themes/control/symbols/loop.svg +2 -2
- data/cockpit/themes/control/symbols/loop_end.svg +2 -2
- data/cockpit/themes/control/symbols/manipulate.svg +5 -5
- data/cockpit/themes/control/symbols/otherwise.svg +1 -1
- data/cockpit/themes/control/symbols/parallel.svg +1 -1
- data/cockpit/themes/control/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/control/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/control/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/control/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/control/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/control/symbols/scripts.svg +1 -1
- data/cockpit/themes/control/symbols/start.svg +1 -1
- data/cockpit/themes/control/symbols/start_event.svg +1 -1
- data/cockpit/themes/control/symbols/stop.svg +1 -1
- data/cockpit/themes/control/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/dataflow/rngs/call.rng +2 -4
- data/cockpit/themes/dataflow/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/dataflow/rngs/manipulate.rng +2 -4
- data/cockpit/themes/dataflow/rngs/start.rng +2 -4
- data/cockpit/themes/dataflow/symbols/alternative.svg +2 -2
- data/cockpit/themes/dataflow/symbols/call.svg +5 -5
- data/cockpit/themes/dataflow/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/dataflow/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/dataflow/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/dataflow/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/dataflow/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/dataflow/symbols/choose.svg +2 -2
- data/cockpit/themes/dataflow/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/dataflow/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/dataflow/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/dataflow/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/dataflow/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/dataflow/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/dataflow/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/dataflow/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/dataflow/symbols/complex.svg +1 -1
- data/cockpit/themes/dataflow/symbols/critical.svg +1 -1
- data/cockpit/themes/dataflow/symbols/escape.svg +2 -2
- data/cockpit/themes/dataflow/symbols/event_end.svg +1 -1
- data/cockpit/themes/dataflow/symbols/loop.svg +2 -2
- data/cockpit/themes/dataflow/symbols/loop_end.svg +2 -2
- data/cockpit/themes/dataflow/symbols/manipulate.svg +5 -5
- data/cockpit/themes/dataflow/symbols/otherwise.svg +1 -1
- data/cockpit/themes/dataflow/symbols/parallel.svg +1 -1
- data/cockpit/themes/dataflow/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/dataflow/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/dataflow/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/dataflow/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/dataflow/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/dataflow/symbols/scripts.svg +1 -1
- data/cockpit/themes/dataflow/symbols/start.svg +1 -1
- data/cockpit/themes/dataflow/symbols/start_event.svg +1 -1
- data/cockpit/themes/dataflow/symbols/stop.svg +1 -1
- data/cockpit/themes/dataflow/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/default/rngs/call.rng +2 -4
- data/cockpit/themes/default/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/default/rngs/manipulate.rng +2 -4
- data/cockpit/themes/default/rngs/start.rng +2 -4
- data/cockpit/themes/default/symbols/alternative.svg +2 -2
- data/cockpit/themes/default/symbols/call.svg +5 -5
- data/cockpit/themes/default/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/default/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/default/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/default/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/default/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/default/symbols/choose.svg +2 -2
- data/cockpit/themes/default/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/default/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/default/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/default/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/default/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/default/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/default/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/default/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/default/symbols/complex.svg +1 -1
- data/cockpit/themes/default/symbols/critical.svg +1 -1
- data/cockpit/themes/default/symbols/escape.svg +2 -2
- data/cockpit/themes/default/symbols/event_end.svg +1 -1
- data/cockpit/themes/default/symbols/loop.svg +2 -2
- data/cockpit/themes/default/symbols/loop_end.svg +2 -2
- data/cockpit/themes/default/symbols/manipulate.svg +5 -5
- data/cockpit/themes/default/symbols/otherwise.svg +1 -1
- data/cockpit/themes/default/symbols/parallel.svg +1 -1
- data/cockpit/themes/default/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/default/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/default/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/default/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/default/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/default/symbols/scripts.svg +1 -1
- data/cockpit/themes/default/symbols/start.svg +1 -1
- data/cockpit/themes/default/symbols/start_event.svg +1 -1
- data/cockpit/themes/default/symbols/stop.svg +1 -1
- data/cockpit/themes/default/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/extended/rngs/call.rng +2 -4
- data/cockpit/themes/extended/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/extended/rngs/manipulate.rng +2 -4
- data/cockpit/themes/extended/rngs/start.rng +2 -4
- data/cockpit/themes/extended/symbols/alternative.svg +2 -2
- data/cockpit/themes/extended/symbols/call.svg +5 -5
- data/cockpit/themes/extended/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/extended/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/extended/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/extended/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/extended/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/extended/symbols/choose.svg +2 -2
- data/cockpit/themes/extended/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/extended/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/extended/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/extended/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/extended/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/extended/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/extended/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/extended/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/extended/symbols/complex.svg +1 -1
- data/cockpit/themes/extended/symbols/critical.svg +1 -1
- data/cockpit/themes/extended/symbols/escape.svg +2 -2
- data/cockpit/themes/extended/symbols/event_end.svg +1 -1
- data/cockpit/themes/extended/symbols/loop.svg +2 -2
- data/cockpit/themes/extended/symbols/loop_end.svg +2 -2
- data/cockpit/themes/extended/symbols/manipulate.svg +5 -5
- data/cockpit/themes/extended/symbols/otherwise.svg +1 -1
- data/cockpit/themes/extended/symbols/parallel.svg +1 -1
- data/cockpit/themes/extended/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/extended/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/extended/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/extended/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/extended/symbols/scripts.svg +1 -1
- data/cockpit/themes/extended/symbols/start.svg +1 -1
- data/cockpit/themes/extended/symbols/start_event.svg +1 -1
- data/cockpit/themes/extended/symbols/stop.svg +1 -1
- data/cockpit/themes/extended/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/felix/symbols/alternative.svg +2 -2
- data/cockpit/themes/felix/symbols/call.svg +5 -5
- data/cockpit/themes/felix/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/felix/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/felix/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/felix/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/felix/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/felix/symbols/choose.svg +2 -2
- data/cockpit/themes/felix/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/felix/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/felix/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/felix/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/felix/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/felix/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/felix/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/felix/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/felix/symbols/complex.svg +1 -1
- data/cockpit/themes/felix/symbols/critical.svg +1 -1
- data/cockpit/themes/felix/symbols/escape.svg +2 -2
- data/cockpit/themes/felix/symbols/event_end.svg +1 -1
- data/cockpit/themes/felix/symbols/loop.svg +2 -2
- data/cockpit/themes/felix/symbols/loop_end.svg +2 -2
- data/cockpit/themes/felix/symbols/manipulate.svg +5 -5
- data/cockpit/themes/felix/symbols/otherwise.svg +1 -1
- data/cockpit/themes/felix/symbols/parallel.svg +1 -1
- data/cockpit/themes/felix/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/felix/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/felix/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/felix/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/felix/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/felix/symbols/scripts.svg +1 -1
- data/cockpit/themes/felix/symbols/start.svg +1 -1
- data/cockpit/themes/felix/symbols/start_event.svg +1 -1
- data/cockpit/themes/felix/symbols/stop.svg +1 -1
- data/cockpit/themes/felix/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/model/rngs/wait_for_signal.rng +1 -0
- data/cockpit/themes/model/symbols/alternative.svg +2 -2
- data/cockpit/themes/model/symbols/call.svg +5 -5
- data/cockpit/themes/model/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/model/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/model/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/model/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/model/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/model/symbols/choose.svg +2 -2
- data/cockpit/themes/model/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/model/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/model/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/model/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/model/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/model/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/model/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/model/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/model/symbols/complex.svg +1 -1
- data/cockpit/themes/model/symbols/critical.svg +1 -1
- data/cockpit/themes/model/symbols/escape.svg +2 -2
- data/cockpit/themes/model/symbols/event_end.svg +1 -1
- data/cockpit/themes/model/symbols/loop.svg +2 -2
- data/cockpit/themes/model/symbols/loop_end.svg +2 -2
- data/cockpit/themes/model/symbols/manipulate.svg +5 -5
- data/cockpit/themes/model/symbols/otherwise.svg +1 -1
- data/cockpit/themes/model/symbols/parallel.svg +1 -1
- data/cockpit/themes/model/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/model/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/model/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/model/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/model/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/model/symbols/scripts.svg +1 -1
- data/cockpit/themes/model/symbols/start.svg +1 -1
- data/cockpit/themes/model/symbols/start_event.svg +1 -1
- data/cockpit/themes/model/symbols/stop.svg +1 -1
- data/cockpit/themes/model/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/model/theme.js +444 -669
- data/cockpit/themes/packed/rngs/call.rng +2 -4
- data/cockpit/themes/packed/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/packed/rngs/manipulate.rng +2 -4
- data/cockpit/themes/packed/rngs/start.rng +2 -4
- data/cockpit/themes/packed/symbols/alternative.svg +2 -2
- data/cockpit/themes/packed/symbols/call.svg +5 -5
- data/cockpit/themes/packed/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/packed/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/packed/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/packed/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/packed/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/packed/symbols/choose.svg +2 -2
- data/cockpit/themes/packed/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/packed/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/packed/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/packed/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/packed/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/packed/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/packed/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/packed/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/packed/symbols/complex.svg +1 -1
- data/cockpit/themes/packed/symbols/critical.svg +1 -1
- data/cockpit/themes/packed/symbols/escape.svg +2 -2
- data/cockpit/themes/packed/symbols/event_end.svg +1 -1
- data/cockpit/themes/packed/symbols/loop.svg +2 -2
- data/cockpit/themes/packed/symbols/loop_end.svg +2 -2
- data/cockpit/themes/packed/symbols/manipulate.svg +5 -5
- data/cockpit/themes/packed/symbols/otherwise.svg +1 -1
- data/cockpit/themes/packed/symbols/parallel.svg +1 -1
- data/cockpit/themes/packed/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/packed/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/packed/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/packed/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/packed/symbols/scripts.svg +1 -1
- data/cockpit/themes/packed/symbols/start.svg +1 -1
- data/cockpit/themes/packed/symbols/start_event.svg +1 -1
- data/cockpit/themes/packed/symbols/stop.svg +1 -1
- data/cockpit/themes/packed/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/preset/rngs/call.rng +2 -4
- data/cockpit/themes/preset/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/preset/rngs/manipulate.rng +2 -4
- data/cockpit/themes/preset/rngs/start.rng +2 -4
- data/cockpit/themes/preset/symbols/alternative.svg +2 -2
- data/cockpit/themes/preset/symbols/call.svg +5 -5
- data/cockpit/themes/preset/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/preset/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/preset/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/preset/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/preset/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/preset/symbols/choose.svg +2 -2
- data/cockpit/themes/preset/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/preset/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/preset/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/preset/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/preset/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/preset/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/preset/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/preset/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/preset/symbols/complex.svg +1 -1
- data/cockpit/themes/preset/symbols/critical.svg +1 -1
- data/cockpit/themes/preset/symbols/escape.svg +2 -2
- data/cockpit/themes/preset/symbols/event_end.svg +1 -1
- data/cockpit/themes/preset/symbols/loop.svg +2 -2
- data/cockpit/themes/preset/symbols/loop_end.svg +2 -2
- data/cockpit/themes/preset/symbols/manipulate.svg +5 -5
- data/cockpit/themes/preset/symbols/otherwise.svg +1 -1
- data/cockpit/themes/preset/symbols/parallel.svg +1 -1
- data/cockpit/themes/preset/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/preset/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/preset/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/preset/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/preset/symbols/scripts.svg +1 -1
- data/cockpit/themes/preset/symbols/start.svg +1 -1
- data/cockpit/themes/preset/symbols/start_event.svg +1 -1
- data/cockpit/themes/preset/symbols/stop.svg +1 -1
- data/cockpit/themes/preset/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/presetaltid/rngs/call.rng +2 -4
- data/cockpit/themes/presetaltid/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/presetaltid/rngs/manipulate.rng +2 -4
- data/cockpit/themes/presetaltid/rngs/start.rng +2 -4
- data/cockpit/themes/presetaltid/symbols/alternative.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/call.svg +5 -5
- data/cockpit/themes/presetaltid/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/presetaltid/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/presetaltid/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/presetaltid/symbols/choose.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/complex.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/critical.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/escape.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/event_end.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/loop.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/loop_end.svg +2 -2
- data/cockpit/themes/presetaltid/symbols/manipulate.svg +5 -5
- data/cockpit/themes/presetaltid/symbols/otherwise.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/parallel.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/presetaltid/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/scripts.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/start.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/start_event.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/stop.svg +1 -1
- data/cockpit/themes/presetaltid/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/presetid/rngs/call.rng +2 -4
- data/cockpit/themes/presetid/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/presetid/rngs/manipulate.rng +2 -4
- data/cockpit/themes/presetid/rngs/start.rng +2 -4
- data/cockpit/themes/presetid/symbols/alternative.svg +2 -2
- data/cockpit/themes/presetid/symbols/call.svg +5 -5
- data/cockpit/themes/presetid/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/presetid/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/presetid/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/presetid/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/presetid/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/presetid/symbols/choose.svg +2 -2
- data/cockpit/themes/presetid/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/presetid/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/presetid/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/presetid/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/presetid/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/presetid/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/presetid/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/presetid/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/presetid/symbols/complex.svg +1 -1
- data/cockpit/themes/presetid/symbols/critical.svg +1 -1
- data/cockpit/themes/presetid/symbols/escape.svg +2 -2
- data/cockpit/themes/presetid/symbols/event_end.svg +1 -1
- data/cockpit/themes/presetid/symbols/loop.svg +2 -2
- data/cockpit/themes/presetid/symbols/loop_end.svg +2 -2
- data/cockpit/themes/presetid/symbols/manipulate.svg +5 -5
- data/cockpit/themes/presetid/symbols/otherwise.svg +1 -1
- data/cockpit/themes/presetid/symbols/parallel.svg +1 -1
- data/cockpit/themes/presetid/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/presetid/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/presetid/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/presetid/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/presetid/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/presetid/symbols/scripts.svg +1 -1
- data/cockpit/themes/presetid/symbols/start.svg +1 -1
- data/cockpit/themes/presetid/symbols/start_event.svg +1 -1
- data/cockpit/themes/presetid/symbols/stop.svg +1 -1
- data/cockpit/themes/presetid/symbols/wait_for_signal.svg +4 -4
- data/cockpit/themes/reduced/rngs/call.rng +2 -4
- data/cockpit/themes/reduced/rngs/callmanipulate.rng +2 -4
- data/cockpit/themes/reduced/rngs/manipulate.rng +2 -4
- data/cockpit/themes/reduced/rngs/start.rng +2 -4
- data/cockpit/themes/reduced/symbols/alternative.svg +2 -2
- data/cockpit/themes/reduced/symbols/call.svg +5 -5
- data/cockpit/themes/reduced/symbols/call_sensor.svg +7 -7
- data/cockpit/themes/reduced/symbols/callmanipulate.svg +6 -6
- data/cockpit/themes/reduced/symbols/callmanipulate_sensor.svg +8 -8
- data/cockpit/themes/reduced/symbols/callmanipulate_sensor_signal.svg +10 -10
- data/cockpit/themes/reduced/symbols/callmanipulate_signal.svg +8 -8
- data/cockpit/themes/reduced/symbols/choose.svg +2 -2
- data/cockpit/themes/reduced/symbols/choose_exclusive.svg +2 -2
- data/cockpit/themes/reduced/symbols/choose_exclusive_finish.svg +1 -1
- data/cockpit/themes/reduced/symbols/choose_inclusive.svg +2 -2
- data/cockpit/themes/reduced/symbols/choose_inclusive_finish.svg +1 -1
- data/cockpit/themes/reduced/symbols/closed_loop.svg +1 -1
- data/cockpit/themes/reduced/symbols/closed_loop_cancel.svg +2 -2
- data/cockpit/themes/reduced/symbols/closed_loop_control.svg +2 -2
- data/cockpit/themes/reduced/symbols/closed_loop_measuring.svg +2 -2
- data/cockpit/themes/reduced/symbols/complex.svg +1 -1
- data/cockpit/themes/reduced/symbols/critical.svg +1 -1
- data/cockpit/themes/reduced/symbols/escape.svg +2 -2
- data/cockpit/themes/reduced/symbols/event_end.svg +1 -1
- data/cockpit/themes/reduced/symbols/loop.svg +2 -2
- data/cockpit/themes/reduced/symbols/loop_end.svg +2 -2
- data/cockpit/themes/reduced/symbols/manipulate.svg +5 -5
- data/cockpit/themes/reduced/symbols/otherwise.svg +1 -1
- data/cockpit/themes/reduced/symbols/parallel.svg +1 -1
- data/cockpit/themes/reduced/symbols/parallel_branch.svg +1 -1
- data/cockpit/themes/reduced/symbols/parallel_branch_event.svg +4 -4
- data/cockpit/themes/reduced/symbols/parallel_branch_normal.svg +1 -1
- data/cockpit/themes/reduced/symbols/parallel_eventbased_exclusive.svg +1 -1
- data/cockpit/themes/reduced/symbols/parallel_eventbased_parallel.svg +1 -1
- data/cockpit/themes/reduced/symbols/scripts.svg +1 -1
- data/cockpit/themes/reduced/symbols/start.svg +1 -1
- data/cockpit/themes/reduced/symbols/start_event.svg +1 -1
- data/cockpit/themes/reduced/symbols/stop.svg +1 -1
- data/cockpit/themes/reduced/symbols/wait_for_signal.svg +4 -4
- data/cpee.gemspec +1 -1
- data/server/executionhandlers/eval/backend/{run → run.rb} +0 -2
- data/server/executionhandlers/eval/connection.rb +72 -42
- data/server/executionhandlers/eval/controller.rb +6 -0
- data/server/executionhandlers/eval/dsl_to_dslx.xsl +65 -42
- data/server/executionhandlers/eval/execution.rb +16 -15
- data/server/executionhandlers/ruby/connection.rb +1 -0
- metadata +3 -3
- data/cockpit/js_libs.zip +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
2
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
3
3
|
<line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
|
|
4
4
|
<line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
|
|
5
5
|
<line x1="8.5" y1="15.5" x2="22.5" y2="15.5" class="stand"/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path class="
|
|
2
|
+
<path class="colorstyle execstyle stand" d="m 3.5 27 l 12 -24 l 12 24 z"/>
|
|
3
3
|
<path class="normal" style="fill:#000000;" d="m 16.5 11 l 0 8 l -2 0 l 0 -8 z"/>
|
|
4
4
|
<path class="normal" style="fill:#000000;" d="m 16.5 21 l 0 2 l -2 0 l 0 -2 z"/>
|
|
5
5
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<circle cx="15" cy="15" r="14" class="stand
|
|
3
|
-
<circle cx="15" cy="15" r="11" class="stand
|
|
2
|
+
<circle cx="15" cy="15" r="14" class="stand"/>
|
|
3
|
+
<circle cx="15" cy="15" r="11" class="stand colorstyle"/>
|
|
4
4
|
<polygon points="10.5,20.5 15,8.5 20.5,20.5 15,15.5 10.5,20.5" class="black"/>
|
|
5
5
|
</svg>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<g class="part-normal">
|
|
3
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
3
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
4
4
|
<line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
|
|
5
5
|
<line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
|
|
6
6
|
</g>
|
|
7
7
|
<g class="part-start">
|
|
8
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
8
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
9
9
|
<line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
|
|
10
10
|
<line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
|
|
11
11
|
</g>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<g class="part-normal">
|
|
3
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
3
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
4
4
|
<line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
|
|
5
5
|
<line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
|
|
6
6
|
</g>
|
|
7
7
|
<g class="part-start">
|
|
8
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
8
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
9
9
|
<line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
|
|
10
10
|
<line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
|
|
11
11
|
</g>
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<g class="part-normal">
|
|
3
|
-
<rect x="1" y="1" width="28" height="28" rx="4" class="
|
|
3
|
+
<rect x="1" y="1" width="28" height="28" rx="4" class="execstyle colorstyle stand"/>
|
|
4
4
|
<path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
|
|
5
5
|
</g>
|
|
6
6
|
<g class="part-start" clip-path="url(#startclip)">
|
|
7
|
-
<rect x="1" y="1" width="38" height="28" rx="4" class="
|
|
7
|
+
<rect x="1" y="1" width="38" height="28" rx="4" class="execstyle colorstyle stand"/>
|
|
8
8
|
<path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
|
|
9
9
|
</g>
|
|
10
10
|
<g class="part-end" clip-path="url(#endclip)">
|
|
11
|
-
<rect x="1" y="1" width="28" height="28" rx="4" class="
|
|
11
|
+
<rect x="1" y="1" width="28" height="28" rx="4" class="execstyle colorstyle stand"/>
|
|
12
12
|
</g>
|
|
13
13
|
<g class="part-middle" transform="translate(27,0)">
|
|
14
14
|
<rect x="0" y="1" width="220" height="28" class="standwithout colorstyle"/>
|
|
15
|
-
<line x1="0" y1="1" x2="220" y2="1" class="standline
|
|
16
|
-
<line x1="0" y1="29" x2="220" y2="29" class="standline
|
|
15
|
+
<line x1="0" y1="1" x2="220" y2="1" class="standline execstyle" />
|
|
16
|
+
<line x1="0" y1="29" x2="220" y2="29" class="standline execstyle" />
|
|
17
17
|
<text transform="translate(0,20)" class="label"></text>
|
|
18
18
|
</g>
|
|
19
19
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<circle cx="15" cy="15" r="11" class="standtrans"/>
|
|
3
|
-
<line x1="9" y1="21" x2="21" y2="9" class="stand
|
|
3
|
+
<line x1="9" y1="21" x2="21" y2="9" class="stand"/>
|
|
4
4
|
<line x1="15.6" y1="4" x2="15.6" y2="27" class="edge"/>
|
|
5
5
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
2
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
3
3
|
<line x1="15.5" y1="9.5" x2="15.5" y2="21.5" class="stand"/>
|
|
4
4
|
<line x1="9.5" y1="15.5" x2="21.5" y2="15.5" class="stand"/>
|
|
5
5
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<rect x="11" y="6" width="9" height="18" rx="0" class="white"/>
|
|
3
|
-
<path class="
|
|
3
|
+
<path class="stand" d="M 11,5 C 2,9 2,21 11,25 M 20,5 C 29,9 29,21 20,25" style="stroke-dasharray:1,4;"/>
|
|
4
4
|
<line x1="15.6" y1="4" x2="15.6" y2="27" class="edge"/>
|
|
5
5
|
</svg>
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="3" width="24" height="24" rx="4" class="colorstyle
|
|
2
|
+
<rect x="1" y="3" width="24" height="24" rx="4" class="colorstyle execstyle stand"/>
|
|
3
3
|
|
|
4
|
-
<circle cx="24" cy="15" r="9" class="
|
|
5
|
-
<circle cx="24" cy="15" r="7" class="
|
|
4
|
+
<circle cx="24" cy="15" r="9" class="execstyle standthin" style="stroke-dasharray: 1,2"/>
|
|
5
|
+
<circle cx="24" cy="15" r="7" class="execstyle standthin" style="stroke-dasharray: 1,2"/>
|
|
6
6
|
<line x1="24" y1="11" x2="20" y2="18" class="stand"/>
|
|
7
7
|
<line x1="20" y1="18" x2="28" y2="18" class="stand"/>
|
|
8
8
|
<line x1="28" y1="18" x2="24" y2="11" class="stand"/>
|
|
9
9
|
|
|
10
|
-
<circle cx="55.5" cy="15" r="14" class="colorstyle
|
|
10
|
+
<circle cx="55.5" cy="15" r="14" class="colorstyle execstyle stand"/>
|
|
11
11
|
<line x1="55.5" y1="11" x2="51.5" y2="18" class="stand"/>
|
|
12
12
|
<line x1="51.5" y1="18" x2="59.5" y2="18" class="stand"/>
|
|
13
13
|
<line x1="59.5" y1="18" x2="55.5" y2="11" class="stand"/>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<rect x="11" y="6" width="9" height="18" rx="0" class="white"/>
|
|
3
|
-
<path class="
|
|
3
|
+
<path class="stand" d="M 11,5 C 2,9 2,21 11,25 M 20,5 C 29,9 29,21 20,25" style="stroke-dasharray:1,4;"/>
|
|
4
4
|
<line x1="15.6" y1="4" x2="15.6" y2="27" class="edge"/>
|
|
5
5
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
2
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
3
3
|
<circle cx="15.5" cy="15.5" r="8" class="standthin colorstyle"/>
|
|
4
4
|
<circle cx="15.5" cy="15.5" r="6" class="standthin colorstyle"/>
|
|
5
5
|
<path
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle
|
|
2
|
+
<rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle stand"/>
|
|
3
3
|
<circle cx="15.5" cy="15.5" r="8" class="standthin colorstyle"/>
|
|
4
4
|
<circle cx="15.5" cy="15.5" r="6" class="standthin colorstyle"/>
|
|
5
5
|
<line x1="12.5" y1="15.5" x2="18.5" y2="15.5" class="stand"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="1" y="1" width="28" height="28" rx="4" class="
|
|
2
|
+
<rect x="1" y="1" width="28" height="28" rx="4" class="execstyle stand"/>
|
|
3
3
|
<path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
|
|
4
4
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<circle cx="15" cy="15" r="14" class="colorstyle
|
|
2
|
+
<circle cx="15" cy="15" r="14" class="colorstyle execstyle stand"/>
|
|
3
3
|
<rect x="7" y="10" width="16" height="11" class="black" style="fill: none"/>
|
|
4
4
|
<path d="m 7,10 8,6 8,-6" class="black" style="fill: none"/>
|
|
5
5
|
</svg>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<circle cx="15.5" cy="15.5" r="14" class="colorstyle
|
|
2
|
+
<circle cx="15.5" cy="15.5" r="14" class="colorstyle execstyle stand"/>
|
|
3
3
|
<line x1="12.5" y1="22.5" x2="12.5" y2="8.5" class="stand"/>
|
|
4
4
|
<line x1="17.5" y1="22.5" x2="17.5" y2="8.5" class="stand"/>
|
|
5
5
|
</svg>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<svg class="clickable" xmlns="http://www.w3.org/2000/svg">
|
|
2
2
|
<g class="part-normal">
|
|
3
|
-
<circle cx="15.5" cy="15" r="14" class="
|
|
4
|
-
<circle cx="15.5" cy="15" r="11" class="colorstyle
|
|
3
|
+
<circle cx="15.5" cy="15" r="14" class="stand"/>
|
|
4
|
+
<circle cx="15.5" cy="15" r="11" class="colorstyle execstyle stand"/>
|
|
5
5
|
<line x1="15.5" y1="08" x2="09.5" y2="19" class="stand"/>
|
|
6
6
|
<line x1="09.5" y1="19" x2="21.5" y2="19" class="stand"/>
|
|
7
7
|
<line x1="21.5" y1="19" x2="15.5" y2="08" class="stand"/>
|
|
8
8
|
</g>
|
|
9
9
|
<g class="part-start">
|
|
10
|
-
<circle cx="15.5" cy="15" r="14" class="
|
|
11
|
-
<circle cx="15.5" cy="15" r="11" class="colorstyle
|
|
10
|
+
<circle cx="15.5" cy="15" r="14" class="stand"/>
|
|
11
|
+
<circle cx="15.5" cy="15" r="11" class="colorstyle execstyle stand"/>
|
|
12
12
|
<line x1="15.5" y1="08" x2="09.5" y2="19" class="stand"/>
|
|
13
13
|
<line x1="09.5" y1="19" x2="21.5" y2="19" class="stand"/>
|
|
14
14
|
<line x1="21.5" y1="19" x2="15.5" y2="08" class="stand"/>
|
data/cpee.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee"
|
|
3
|
-
s.version = "2.1.
|
|
3
|
+
s.version = "2.1.98"
|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
|
5
5
|
s.license = "LGPL-3.0-or-later"
|
|
6
6
|
s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
|
|
@@ -36,23 +36,33 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
36
36
|
def self::inform_syntax_error(arguments,err,code)# {{{
|
|
37
37
|
# TODO extract spot (code) where error happened for better error handling (ruby 3.1 only)
|
|
38
38
|
# https://github.com/rails/rails/pull/45818/commits/3beb2aff3be712e44c34a588fbf35b79c0246ca5
|
|
39
|
-
puts err.message
|
|
40
|
-
puts err.backtrace
|
|
41
39
|
controller = arguments[0]
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
begin
|
|
41
|
+
controller.notify("description/error", :message => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):\s(.*)/)[4] + err.message, :line => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[3], :where => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[1])
|
|
42
|
+
rescue => e
|
|
43
|
+
controller.notify("description/error", :message => err.message)
|
|
44
|
+
end
|
|
45
45
|
end# }}}
|
|
46
46
|
def self::inform_connectionwrapper_error(arguments,err) # {{{
|
|
47
47
|
controller = arguments[0]
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
begin
|
|
49
|
+
if err.backtrace[0] !~ /, Line/
|
|
50
|
+
controller.notify("executionhandler/error", :message => err.backtrace[0].gsub(/(Activity a\d+)/,'\1:'), :line => -1, :where => err.backtrace[0].match(/Activity a\d+/)[0])
|
|
51
|
+
else
|
|
52
|
+
controller.notify("executionhandler/error", :message => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):\s(.*)/)[4] + err.message, :line => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[3], :where => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[1])
|
|
53
|
+
end
|
|
54
|
+
rescue => e
|
|
55
|
+
controller.notify("executionhandler/error", :message => err.message)
|
|
56
|
+
end
|
|
51
57
|
end # }}}
|
|
52
58
|
def self::inform_position_change(arguments,ipc={}) # {{{
|
|
53
59
|
controller = arguments[0]
|
|
54
60
|
controller.notify("position/change", ipc)
|
|
55
61
|
end # }}}
|
|
62
|
+
def self::inform_activity_minimal(arguments,what,uuid,label,position) # {{{
|
|
63
|
+
controller = arguments[0]
|
|
64
|
+
controller.notify("activity/#{what}", :ecid => Thread.current.__id__, :'activity-uuid' => uuid, :label => label, :activity => position)
|
|
65
|
+
end # }}}
|
|
56
66
|
|
|
57
67
|
def initialize(arguments,position=nil,continue=nil) # {{{
|
|
58
68
|
@controller = arguments[0]
|
|
@@ -74,6 +84,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
74
84
|
'base' => @controller.base_url,
|
|
75
85
|
'instance' => @controller.instance_id,
|
|
76
86
|
'instance_url' => @controller.instance_url,
|
|
87
|
+
'instance_url_encoded' => Riddl::Protocols::Utils::escape(@controller.instance_url),
|
|
77
88
|
'instance_uuid' => @controller.uuid
|
|
78
89
|
},
|
|
79
90
|
:task => {
|
|
@@ -112,7 +123,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
112
123
|
params << Riddl::Header.new("CPEE-CALLBACK-ID",callback)
|
|
113
124
|
params << Riddl::Header.new("CPEE-ACTIVITY",@handler_position)
|
|
114
125
|
params << Riddl::Header.new("CPEE-LABEL",@label||'')
|
|
115
|
-
params << Riddl::Header.new("CPEE-
|
|
126
|
+
params << Riddl::Header.new("CPEE-SIM-TARGET",@controller.attributes['sim_target']) if @controller.attributes['sim_target']
|
|
116
127
|
@controller.attributes.each do |key,value|
|
|
117
128
|
params << Riddl::Header.new("CPEE-ATTR-#{key.to_s.gsub(/_/,'-')}",value)
|
|
118
129
|
end
|
|
@@ -131,11 +142,11 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
131
142
|
@guard_files += result
|
|
132
143
|
|
|
133
144
|
if status == 561
|
|
134
|
-
if @controller.attributes['
|
|
135
|
-
gettrans = Riddl::Client.new(@controller.attributes['
|
|
145
|
+
if @controller.attributes['sim_translate']
|
|
146
|
+
gettrans = Riddl::Client.new(@controller.attributes['sim_translate'])
|
|
136
147
|
gtstatus, gtresult, gtheaders = gettrans.get
|
|
137
148
|
if gtstatus >= 200 && gtstatus < 300
|
|
138
|
-
transwhat = case headers['CPEE-
|
|
149
|
+
transwhat = case headers['CPEE-SIM-TASKTYPE']
|
|
139
150
|
when 'i'; 'instantiation'
|
|
140
151
|
when 'ir'; 'ipc-receive'
|
|
141
152
|
when 'is'; 'ipc-send'
|
|
@@ -155,20 +166,25 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
155
166
|
a[k_ht] = headers[hname] if headers[hname]
|
|
156
167
|
end
|
|
157
168
|
end
|
|
158
|
-
params.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
169
|
+
p = params.find{|p| p.name == k }
|
|
170
|
+
if p.nil?
|
|
171
|
+
p = Riddl::Parameter::Simple.new(k,'{}')
|
|
172
|
+
params << p
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
if a.is_a? String
|
|
176
|
+
p.value = a
|
|
177
|
+
elsif a.is_a? Hash
|
|
178
|
+
ohash = JSON::parse(p.value) rescue {}
|
|
179
|
+
ohash.merge!(a)
|
|
180
|
+
p.value = JSON.generate(ohash)
|
|
168
181
|
end
|
|
169
182
|
end
|
|
170
183
|
end
|
|
171
184
|
end
|
|
185
|
+
|
|
186
|
+
order = { 'behavior' => 1, 'url' => 2, 'init' => 3, 'endpoints' => 4, 'attributes' => 5, 'customization' => 6 }
|
|
187
|
+
params.sort!{|a,b| order[a.name].to_i <=> order[b.name].to_i }
|
|
172
188
|
end
|
|
173
189
|
else
|
|
174
190
|
@handler_endpoint = @handler_endpoint_orig
|
|
@@ -188,10 +204,10 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
188
204
|
callback result, headers
|
|
189
205
|
elsif headers['CPEE_CALLBACK'] && headers['CPEE_CALLBACK'] == 'true' && result.empty?
|
|
190
206
|
if headers['CPEE_INSTANTIATION']
|
|
191
|
-
@controller.notify("task/instantiation", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']))
|
|
207
|
+
@controller.notify("task/instantiation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(headers['CPEE_INSTANTIATION']))
|
|
192
208
|
end
|
|
193
209
|
if headers['CPEE_EVENT']
|
|
194
|
-
@controller.notify("task/#{headers['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint)
|
|
210
|
+
@controller.notify("task/#{headers['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint)
|
|
195
211
|
end
|
|
196
212
|
# do nothing, later on things will happend
|
|
197
213
|
else
|
|
@@ -205,7 +221,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
205
221
|
@label = parameters[:label]
|
|
206
222
|
@anno = parameters.delete(:annotations) rescue nil
|
|
207
223
|
@controller.notify("status/resource_utilization", :mib => GetProcessMem.new.mb, **Process.times.to_h)
|
|
208
|
-
@controller.notify("activity/calling", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :passthrough => passthrough, :endpoint => @handler_endpoint, :parameters => parameters
|
|
224
|
+
@controller.notify("activity/calling", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :passthrough => passthrough, :endpoint => @handler_endpoint, :parameters => parameters)
|
|
225
|
+
@controller.notify("activity/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
|
|
209
226
|
if passthrough.to_s.empty?
|
|
210
227
|
proto_curl parameters
|
|
211
228
|
else
|
|
@@ -215,6 +232,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
215
232
|
end # }}}
|
|
216
233
|
def activity_manipulate_handle(parameters) #{{{
|
|
217
234
|
@label = parameters[:label]
|
|
235
|
+
@anno = parameters.delete(:annotations) rescue nil
|
|
236
|
+
@controller.notify("activity/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
|
|
218
237
|
end #}}}
|
|
219
238
|
|
|
220
239
|
def activity_result_value # {{{
|
|
@@ -242,20 +261,18 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
242
261
|
end #}}}
|
|
243
262
|
|
|
244
263
|
def inform_activity_done # {{{
|
|
245
|
-
@controller.notify("activity/done", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position)
|
|
264
|
+
@controller.notify("activity/done", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position)
|
|
246
265
|
@controller.notify("status/resource_utilization", :mib => GetProcessMem.new.mb, **Process.times.to_h)
|
|
247
266
|
end # }}}
|
|
248
267
|
def inform_activity_manipulate # {{{
|
|
249
|
-
@controller.notify("activity/manipulating", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position)
|
|
268
|
+
@controller.notify("activity/manipulating", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position)
|
|
250
269
|
end # }}}
|
|
251
270
|
def inform_activity_failed(err) # {{{
|
|
252
|
-
|
|
253
|
-
puts err.backtrace
|
|
254
|
-
@controller.notify("activity/failed", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :message => err.message, :line => err.backtrace[0].match(/(.*?):(\d+):/)[2], :where => err.backtrace[0].match(/(.*?):(\d+):/)[1])
|
|
271
|
+
@controller.notify("activity/failed", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :message => err.backtrace[0].match(/(.*?):(\d+):\s(.*)/)[3], :line => err.backtrace[0].match(/(.*?):(\d+):/)[2], :where => err.backtrace[0].match(/(.*?):(\d+):/)[1])
|
|
255
272
|
end # }}}
|
|
256
273
|
def inform_manipulate_change(status,changed_dataelements,changed_endpoints,dataelements,endpoints) # {{{
|
|
257
274
|
unless status.nil?
|
|
258
|
-
@controller.notify("status/change", :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :id => status.id, :message => status.message)
|
|
275
|
+
@controller.notify("status/change", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :endpoint => @handler_endpoint, :label => @label, :activity => @handler_position, :data => { :id => status.id, :message => status.message } )
|
|
259
276
|
end
|
|
260
277
|
unless changed_dataelements.nil? || changed_dataelements.empty?
|
|
261
278
|
de = dataelements.slice(*changed_dataelements).transform_values { |v| enc = CPEE::EvalRuby::Translation::detect_encoding(v); (enc == 'OTHER' ? v : (v.encode('UTF-8',enc) rescue CPEE::EvalRuby::Translation::convert_to_base64(v))) }
|
|
@@ -275,22 +292,28 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
275
292
|
|
|
276
293
|
def callback(result=nil,options={}) #{{{
|
|
277
294
|
recv = CPEE::EvalRuby::Translation::structurize_result(result)
|
|
278
|
-
@controller.notify("activity/receiving", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv
|
|
295
|
+
@controller.notify("activity/receiving", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
|
|
279
296
|
|
|
280
297
|
@guard_files += result
|
|
281
298
|
|
|
282
299
|
if options['CPEE_INSTANTIATION']
|
|
283
|
-
@controller.notify("task/instantiation", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(options['CPEE_INSTANTIATION']))
|
|
300
|
+
@controller.notify("task/instantiation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => CPEE::ValueHelper.parse(options['CPEE_INSTANTIATION']))
|
|
284
301
|
end
|
|
285
302
|
if options['CPEE_EVENT']
|
|
286
|
-
@controller.notify("task/#{options['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
|
|
303
|
+
@controller.notify("task/#{options['CPEE_EVENT'].gsub(/[^\w_-]/,'')}", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
|
|
304
|
+
end
|
|
305
|
+
if options['CPEE_STATUS']
|
|
306
|
+
@controller.notify("activity/status", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :status => options['CPEE_STATUS'])
|
|
307
|
+
end
|
|
308
|
+
|
|
309
|
+
if options['CPEE_STATUS'] || options['CPEE_EVENT']
|
|
310
|
+
@handler_returnValue = nil
|
|
311
|
+
@handler_returnOptions = nil
|
|
287
312
|
else
|
|
288
313
|
@handler_returnValue = recv
|
|
289
314
|
@handler_returnOptions = options
|
|
290
315
|
end
|
|
291
|
-
|
|
292
|
-
@controller.notify("activity/status", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :status => options['CPEE_STATUS'])
|
|
293
|
-
end
|
|
316
|
+
|
|
294
317
|
if options['CPEE_UPDATE']
|
|
295
318
|
@handler_continue.continue WEEL::Signal::UpdateAgain
|
|
296
319
|
else
|
|
@@ -342,7 +365,9 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
342
365
|
end #}}}
|
|
343
366
|
def test_condition(__dataelements,__endpoints,__local,__additional,__code,__args={}) #{{{
|
|
344
367
|
__struct = WEEL::ReadStructure.new(__dataelements,__endpoints,__local,__additional).instance_eval(__code,'Condition',1)
|
|
345
|
-
|
|
368
|
+
|
|
369
|
+
@controller.notify("gateway/decide", :ecid => Thread.current.__id__, :instance_uuid => @controller.uuid, :code => __code, :condition => (__struct ? "true" : "false"))
|
|
370
|
+
@controller.notify("gateway/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => {})
|
|
346
371
|
__struct
|
|
347
372
|
end #}}}
|
|
348
373
|
def manipulate(__readonly,__lock,__dataelements,__endpoints,__status,__local,__additional,__code,__where,__result=nil,__options=nil) #{{{
|
|
@@ -356,10 +381,15 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
|
356
381
|
__struct
|
|
357
382
|
end #}}}
|
|
358
383
|
|
|
359
|
-
def split_branches(branches) # factual, so for inclusive or [[a],[b],[c,d,e]]{{{
|
|
360
|
-
|
|
384
|
+
def split_branches(id, branches = []) # factual, so for inclusive or [[a],[b],[c,d,e]] {{{
|
|
385
|
+
payload = { :instance_uuid => @controller.uuid, :ecid => id.to_s }
|
|
386
|
+
payload[:branches] = branches.length if branches.length > 0
|
|
387
|
+
@controller.notify("gateway/split", payload )
|
|
361
388
|
end #}}}
|
|
362
|
-
def join_branches(branches) # factual, so for inclusive or [[a],[b],[c,d,e]]{{{
|
|
363
|
-
|
|
389
|
+
def join_branches(id, branches = []) # factual, so for inclusive or [[a],[b],[c,d,e]] {{{
|
|
390
|
+
payload = { :instance_uuid => @controller.uuid, :ecid => id.to_s }
|
|
391
|
+
payload[:branches] = branches if branches.length > 0
|
|
392
|
+
payload[:branches_length] = branches.length if branches.length > 0
|
|
393
|
+
@controller.notify("gateway/join", payload )
|
|
364
394
|
end #}}}
|
|
365
395
|
end
|
|
@@ -125,6 +125,12 @@ class Controller
|
|
|
125
125
|
def dataelements
|
|
126
126
|
@instance.data
|
|
127
127
|
end
|
|
128
|
+
def url_result_transformation
|
|
129
|
+
@opts[:url_result_transformation]
|
|
130
|
+
end
|
|
131
|
+
def url_code
|
|
132
|
+
@opts[:url_code]
|
|
133
|
+
end
|
|
128
134
|
|
|
129
135
|
def start
|
|
130
136
|
if vote("state/change", :state => 'running')
|