Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3e2ca292b833d0a4da9c05fa958498575d6fc9e7
https://github.com/tribe29/checkmk/commit/3e2ca292b833d0a4da9c05fa958498575…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M cmk/core_helpers/__init__.py
M cmk/core_helpers/controller.py
M tests/unit/cmk/core_helpers/test_controller.py
M tests/unit/cmk/core_helpers/test_fetchers.py
Log Message:
-----------
Improve controller typing
Parsing the JSON representation of the fetchers earlier lets us
* have a Fetcher *instance* in the `run_fetchers` loop
* pass a Fetcher *instance* to `run_fetcher()`
* cleanly separate configuration parsing and running
The first point also makes it easier to iterate on cluster
nodes inside of the loop.
We also remove a few tests
* whitebox `run_checkers` tests
* tests obsoleted by the typing
* tests that check behavior that is actually not desired
CMK-7752
Change-Id: I9bf423ab25fa41a89e58336c240c9bea9c3f5b0b
Commit: 9d89c58c74d0172e93994db7a9b8a3fb79ef65e1
https://github.com/tribe29/checkmk/commit/9d89c58c74d0172e93994db7a9b8a3fb7…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2021-05-05 (Wed, 05 May 2021)
Changed paths:
M cmk/core_helpers/controller.py
M tests/unit/cmk/core_helpers/test_controller.py
Log Message:
-----------
Add `cluster_max_cachefile_age` to fetcher config
This is a global values from `cmk.base.default_config.base` and we
therefore save it in the global fetcher config as well.
CMK-7752
Change-Id: I26cbd363cc6c452e52a68685cc36d700c37133bf
Compare:
https://github.com/tribe29/checkmk/compare/d04367293ac8...9d89c58c74d0