Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 38c8b412ccc0154e5ae33bb1b83cc6203f887bae
https://github.com/tribe29/checkmk/commit/38c8b412ccc0154e5ae33bb1b83cc6203…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-01-29 (Fri, 29 Jan 2021)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/testing.py
M livestatus/api/python/livestatus.py
Log Message:
-----------
livestatus.py: add site parameter to SingleSiteConnection
* this is needed for future changes in the testing
framework
Change-Id: I407753e43653eefcc8c7ac201f135aff1abed916
Commit: a9e4c6d524cca698bb4c7259b42b34c400800f93
https://github.com/tribe29/checkmk/commit/a9e4c6d524cca698bb4c7259b42b34c40…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-01-29 (Fri, 29 Jan 2021)
Changed paths:
M livestatus/api/python/livestatus.py
M tests/unit/livestatus/test_livestatus_unit.py
Log Message:
-----------
livestatus.py: extract _parse_socket_url
* add doctests and improve error handling
Change-Id: I5870a4d356759854c1afe2ddd72888c54fc83a98
Commit: c554375f29e8eed4da58241798677d14ba6c36d9
https://github.com/tribe29/checkmk/commit/c554375f29e8eed4da58241798677d14b…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-01-29 (Fri, 29 Jan 2021)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/testing.py
M tests/unit/cmk/ec/test_host_config.py
M tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_local_connection.py
M tests/unit/cmk/gui/plugins/visuals/test_filters.py
M tests/unit/cmk/gui/test_views.py
Log Message:
-----------
REST API: add multi-site support to MockLivestatusConnection
* set_sites, can now configure any number of sites. These will
then be used by the mocking fixture (mock_livestatus)
* add_table supports site_name as additional parameter,
with which tables can be added to specific sites. If
no specific site is chosen, the first site is used.
* for each configured site a mocked socket will be created,
which handles the communication with livestatus.py
* queries will be expected on all configured sites
* commands will be expected only on the first configured site
* NOTE: data consistency (e.g. each host only on one site) will
not be checked. This is the responsibility of the programmer
writing the test.
Change-Id: If73422a274ecef33e320a5262b6fc7b3f291e5df
Compare:
https://github.com/tribe29/checkmk/compare/5488450b21e3...c554375f29e8