Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: e06e990356e50580591a7a82cf50af266249a140
https://github.com/tribe29/checkmk/commit/e06e990356e50580591a7a82cf50af266…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2020-12-11 (Fri, 11 Dec 2020)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/commands/acknowledgments.py
M cmk/gui/plugins/openapi/livestatus_helpers/commands/comment.py
M cmk/gui/plugins/openapi/livestatus_helpers/commands/downtimes.py
M cmk/gui/plugins/openapi/livestatus_helpers/commands/force_schedule.py
M cmk/gui/plugins/openapi/livestatus_helpers/commands/lowlevel.py
M cmk/gui/plugins/openapi/livestatus_helpers/testing.py
M livestatus/api/python/livestatus.py
M tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_downtime_commands.py
M tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_local_connection.py
M tests/unit/conftest.py
Log Message:
-----------
livestatus.py: refactor querying
* split out network related methods
* in MockLiveStatusConnection only mock those network methods
* remove query/command methods from MockLiveStatusConnection
* when mocking always go through the real connection object
* typing
* tests
Change-Id: Ic440eb06ae0dbcff418ae68ae44a7de01382e144
Commit: 4371606e09ed9cd105d605d6bb7ad7bb7a6b5de6
https://github.com/tribe29/checkmk/commit/4371606e09ed9cd105d605d6bb7ad7bb7…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2020-12-11 (Fri, 11 Dec 2020)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/testing.py
M livestatus/api/python/livestatus.py
Log Message:
-----------
Mocking LiveStatus: move mocks one layer deeper
* mocks now operate on the socket level
* this means, that all the low-level methods in
livestatus.py don't need to be mocked any more
* interface to the test helpers hasn't changed
Change-Id: I48c74f352dcbdca2bb99aa030bb0d5840ddf705f
Commit: a1f653c5911899fe71f487e784701f1049a3db3c
https://github.com/tribe29/checkmk/commit/a1f653c5911899fe71f487e784701f104…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2020-12-11 (Fri, 11 Dec 2020)
Changed paths:
M livestatus/api/python/livestatus.py
M tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_local_connection.py
Log Message:
-----------
Livestatus: intercept queries
* collect executed queries on each site individually
in a thread-local collection
* trigger intercepting with a context manager
* test for this feature
Change-Id: Ifbb6ff852556ecfac8a45dba2b9958b2aa1ec7e8
Compare:
https://github.com/tribe29/checkmk/compare/d342c9851353...a1f653c59118