Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d9be8084b22913a8233e1ae2611378c2760d8382
https://github.com/tribe29/checkmk/commit/d9be8084b22913a8233e1ae2611378c27…
Author: Tom Baerwinkel <tom.baerwinkel(a)tribe29.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M cmk/gui/background_job.py
M cmk/gui/crash_reporting.py
M cmk/gui/dashboard.py
M cmk/gui/forms.py
M cmk/gui/gui_background_job.py
M cmk/gui/main_menu.py
M cmk/gui/metrics.py
M cmk/gui/node_visualization.py
M cmk/gui/pages.py
M cmk/gui/permissions.py
M cmk/gui/plugins/dashboard/utils.py
M cmk/gui/plugins/dashboard/view.py
M cmk/gui/plugins/sidebar/quicksearch.py
M cmk/gui/plugins/sidebar/utils.py
M cmk/gui/plugins/userdb/ldap_connector.py
M cmk/gui/plugins/userdb/utils.py
M cmk/gui/plugins/views/__init__.py
M cmk/gui/plugins/views/icons/utils.py
M cmk/gui/plugins/views/inventory.py
M cmk/gui/plugins/views/utils.py
M cmk/gui/plugins/visuals/inventory.py
M cmk/gui/plugins/visuals/utils.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/plugins/wato/utils/main_menu.py
M cmk/gui/plugins/watolib/utils.py
M cmk/gui/plugins/webapi/utils.py
M cmk/gui/views.py
M cmk/gui/visuals.py
M cmk/gui/wato/pages/automation.py
M cmk/gui/wato/pages/global_settings.py
M cmk/gui/wato/pages/notifications.py
M cmk/gui/wato/pages/object_parameters.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/analyze_configuration.py
M cmk/gui/watolib/automation_commands.py
M cmk/gui/watolib/global_settings.py
M cmk/gui/watolib/host_attributes.py
M cmk/gui/watolib/rulespecs.py
M cmk/utils/crash_reporting.py
M cmk/utils/plugin_registry.py
M tests/unit/cmk/gui/plugins/visuals/test_filters.py
M tests/unit/cmk/gui/test_dashboard.py
M tests/unit/cmk/gui/test_views.py
M tests/unit/cmk/gui/test_visuals.py
M tests/unit/cmk/gui/watolib/test_rulespecs.py
M tests/unit/cmk/utils/test_plugin_registry.py
Log Message:
-----------
Replace ClassRegistry and InstanceRegistry by Registry
The classes ClassRegistry and InstanceRegistry are replaced
by the class Registry. Registry can handle the registration
of both classes and instances. The docstring of Registry
describes how both types of registries can be defined. All
existing registries are migrated to the new Registry class.
Since mypy can now perform type checks for the objects
stored inside the registries over 70 new typing errors
were revealed. They are fixed or suppressed in this commit
as well to make the CI happy. Errors that are not fixed in
this commit are suppressed with a FIXME comment.
Change-Id: I8e9ebfeaf9da1997f551741a53accd19ade48295