Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: f81166f1ffa93d05630992bdc2055dc53c383dbd
https://github.com/Checkmk/checkmk/commit/f81166f1ffa93d05630992bdc2055dc53…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M cmk/gui/mkeventd/wato.py
M cmk/gui/plugins/openapi/endpoints/folder_config/__init__.py
M cmk/gui/plugins/openapi/endpoints/host_config/__init__.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/host_diagnose.py
M cmk/gui/wato/pages/hosts.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/watolib/host_attributes.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/network_scan.py
M cmk/gui/watolib/tags.py
M cmk/utils/translations.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
M tests/unit/cmk/gui/watolib/test_hosts_and_folders.py
M tests/unit/cmk/update_config/plugins/actions/test_hosts_and_folders.py
Log Message:
-----------
Make HostAttributes a TypedDict
It's just a start. There are various possible improvements we can make
here, a few of them:
The host attributes may contain tags and custom attributes, which
can currently not be understood by the typing system.
There are also host- and folder exclusive attributes. To make the typing
understand the difference, we would have to have independent types for
host attributes and folder attributes.
We could also differentiate between effective attributes (where all
members are mandatory) and the explicit attributes (where all members
are optional).
Review all the dynamic attribute accesses and consider alternatives
which can be understood by the typing.
Change-Id: I8de3a27be60ab3ae6709b8015e79108c94cdf029
Commit: e997120b074ab4fe3df3a9adc8634c79b1ea9acf
https://github.com/Checkmk/checkmk/commit/e997120b074ab4fe3df3a9adc8634c79b…
Author: Simon Jess <simon.jess(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
A .werks/15405
M cmk/gui/views/inventory/__init__.py
M cmk/utils/structured_data.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/gui/views/test_views_inventory.py
M tests/unit/cmk/utils/structured_data/test_structured_data.py
Log Message:
-----------
15405 FIX HW/SW Inventory Retention Intervals: Current entries are were falsely greyed
out
Change-Id: I6bef14741e82aadb2729c61905f0d69847a639ce
Commit: 9cafb585a5c254913589f81f543918ba88132cb2
https://github.com/Checkmk/checkmk/commit/9cafb585a5c254913589f81f543918ba8…
Author: Simon Jess <simon.jess(a)checkmk.com>
Date: 2023-07-13 (Thu, 13 Jul 2023)
Changed paths:
M cmk/utils/structured_data.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
Log Message:
-----------
inventory: Improve _RetentionInterval
Change-Id: Ibe8981a2036d1d74455b542b9bac66d7b829915d
Compare:
https://github.com/Checkmk/checkmk/compare/bb8da3795e62...9cafb585a5c2