Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 922a97949d5cfb66166e69cb877da10dd115670f
https://github.com/Checkmk/checkmk/commit/922a97949d5cfb66166e69cb877da10dd…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M cmk/gui/watolib/services.py
Log Message:
-----------
discovery: make checkbox_id invertable
We actually want to be able to get the services
back from the services checkbox_ids.
A hash function is designed to prevent just that.
Also note that the previous function was not injective,
as it would have conflated services of the form
("x_y", "z") and ("x", "y_z").
Change-Id: I837f9bd584ea2b75fd6d8a6493b0c3b0486bdcca
Commit: c5e2f56592476409fcc77fff4ae3b7563f322753
https://github.com/Checkmk/checkmk/commit/c5e2f56592476409fcc77fff4ae3b7563…
Author: Moritz Kiemer <moritz.kiemer(a)checkmk.com>
Date: 2023-07-17 (Mon, 17 Jul 2023)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/service_discovery/__init__.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/services.py
M tests/unit/cmk/gui/watolib/test_services.py
Log Message:
-----------
consolidate two arguments
We combine 'update_services' and 'show_checkboxes'.
Note that the function is not in the business of
showing anything, so "show_checkboxes" is irritating.
We also pass the list of the seleceted serivces directly,
resolving the checkbox ids is not this functions job.
Change-Id: I8dc00e3df2058729b1a1e4944545d2369a66f85b
Compare:
https://github.com/Checkmk/checkmk/compare/7560fca6245e...c5e2f5659247