Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a8fe19a9c9f755762d738eca42ca88acdfdc6978
https://github.com/tribe29/checkmk/commit/a8fe19a9c9f755762d738eca42ca88acd…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
A cmk/gui/site_config.py
M cmk/gui/sites.py
M cmk/gui/utils/logged_in.py
M tests/unit/cmk/gui/utils/test_logged_in.py
Log Message:
-----------
Split sites into two files
Separate the functions that user livestatus queries, `live()`, or
`states()` from the other functions.
These function require authentication from the user, which results in
circular dependencies sites -> logged_in -> sites.
Moreover, a live site and its configuration are indeed different
and separating them in two different modules increases the clarity
of the code.
CMK-10181
Change-Id: I71487b967007f73ec2e05cfec1a06bda4d504c6e