Module: check_mk
Branch: master
Commit: 70eb920fe5dae6e2121d73feea728e9c150caadd
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=70eb920fe5dae6…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Feb 4 19:51:47 2019 +0100
Disentangled Livestatus Proxy and socket connection settings
The Livestatus socket connection settings (address and port) were
part of the Livestatus Proxy settings in previous versions. This
resulted in several problems.
From the user view: It was not possible to toggle
Livestatus Proxy
on and of without having to remember the connection settings to
re-enter it after enabling or disabling the proxy.
From the internal view: There were several places in
the code
that had to deal with both kind of socket setting structures in
order to get the destination address.
CMK-1535
Change-Id: If1ec2306b14aff6d5c54822d688c2997ca4cfa30
---
cmk/gui/config.py | 40 +++++++++++------
cmk/gui/plugins/wato/ac_tests.py | 3 +-
cmk/gui/sites.py | 23 +++++++---
cmk/gui/wato/pages/sites.py | 1 +
cmk/gui/watolib/sites.py | 84 +++++++++++++++++------------------
tests/unit/cmk/gui/test_gui_config.py | 41 ++++++++++++-----
tests/unit/cmk/gui/test_sites.py | 49 +++++++++++++-------
7 files changed, 150 insertions(+), 91 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=70eb920fe5…