Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 3ed9ccbb052c738c0fd8ab89ca0e7378f93cbd9b
https://github.com/Checkmk/checkmk/commit/3ed9ccbb052c738c0fd8ab89ca0e7378f…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/automations/results.py
M cmk/base/agent_based/discovery/autodiscovery.py
M cmk/base/automations/check_mk.py
M cmk/checkengine/discovery/__init__.py
A cmk/checkengine/discovery/_autodiscovery.py
M cmk/gui/watolib/bulk_discovery.py
M cmk/utils/type_defs/__init__.py
M cmk/utils/type_defs/_misc.py
M tests/integration/cmk/base/test_automations.py
M tests/unit/cmk/automations/test_results.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
Log Message:
-----------
Move `DiscoveryResult` to discovery module
CMK-13768
Change-Id: Ia31ec2bc9b4d037d0017b29a18f726ce96472d84
Commit: d723c159d78709e2497f7762ca6961c8e942b20d
https://github.com/Checkmk/checkmk/commit/d723c159d78709e2497f7762ca6961c8e…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/base/config.py
M cmk/base/core_nagios.py
M cmk/base/default_config/base.py
M cmk/base/modes/check_mk.py
M cmk/bi/lib.py
M cmk/bi/trees.py
M cmk/bi/type_defs.py
M cmk/utils/type_defs/__init__.py
M cmk/utils/type_defs/host.py
Log Message:
-----------
Localize HostState and HostgroupName
Move those two low-value aliases where they are used. Having code
that's barely used at the same place as HostAddress and HostName that
are used everywhere is really not a good idea.
CMK-13768
Change-Id: I2097b48a426162d68f8339d6ffcfe06ba5fe573c
Commit: 3d01e90e6993fcdfd5c160e00c6a3e85a043dc9c
https://github.com/Checkmk/checkmk/commit/3d01e90e6993fcdfd5c160e00c6a3e85a…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-15 (Thu, 15 Jun 2023)
Changed paths:
M cmk/automations/results.py
M cmk/base/_autochecks.py
M cmk/base/agent_based/checking/_checking.py
M cmk/base/agent_based/discovery/_discovered_services.py
M cmk/base/agent_based/discovery/_discovery.py
M cmk/base/agent_based/discovery/autodiscovery.py
M cmk/base/agent_based/discovery/commandline.py
M cmk/base/agent_based/discovery/preview.py
M cmk/base/api/agent_based/cluster_mode.py
M cmk/base/api/agent_based/utils.py
M cmk/base/api/agent_based/value_store/_global_state.py
M cmk/base/api/agent_based/value_store/_utils.py
M cmk/base/automations/check_mk.py
M cmk/base/check_api.py
M cmk/base/checkers.py
M cmk/base/config.py
M cmk/base/core.py
M cmk/base/core_config.py
M cmk/base/core_nagios.py
M cmk/base/default_config/base.py
M cmk/base/diagnostics.py
M cmk/base/dump_host.py
M cmk/base/events.py
M cmk/base/export.py
M cmk/base/ip_lookup.py
M cmk/base/legacy_checks/check_http.py
M cmk/base/legacy_checks/check_smtp.py
M cmk/base/legacy_checks/check_traceroute.py
M cmk/base/modes/__init__.py
M cmk/base/modes/check_mk.py
M cmk/base/notify.py
M cmk/base/parent_scan.py
M cmk/base/plugins/agent_based/checkmk_agent.py
M cmk/base/plugins/agent_based/logwatch_ec.py
M cmk/base/prediction.py
M cmk/base/rrd.py
M cmk/base/sources/_builder.py
M cmk/base/sources/_sources.py
M cmk/bi/aggregation.py
M cmk/bi/computer.py
M cmk/bi/data_fetcher.py
M cmk/bi/lib.py
M cmk/bi/search.py
M cmk/bi/trees.py
M cmk/checkengine/_api.py
M cmk/checkengine/_markers.py
M cmk/checkengine/_parseragent.py
M cmk/checkengine/_parsersnmp.py
M cmk/checkengine/_typedefs.py
M cmk/checkengine/checkresults.py
M cmk/checkengine/crash_reporting.py
M cmk/checkengine/discovery/_autochecks.py
M cmk/checkengine/discovery/_host_labels.py
M cmk/checkengine/error_handling.py
M cmk/checkengine/host_sections.py
M cmk/checkengine/inventory.py
M cmk/checkengine/plugin_contexts.py
M cmk/checkengine/sectionparser.py
M cmk/checkengine/submitters.py
M cmk/checkengine/summarize.py
M cmk/ec/core_queries.py
M cmk/ec/event.py
M cmk/ec/host_config.py
M cmk/ec/main.py
M cmk/fetchers/_ipmi.py
M cmk/fetchers/_piggyback.py
M cmk/fetchers/_tcp.py
M cmk/fetchers/config.py
M cmk/fetchers/filecache/_cache.py
M cmk/gui/autocompleters.py
M cmk/gui/availability.py
M cmk/gui/bi/view.py
M cmk/gui/dashboard/dashlet/dashlets/graph.py
M cmk/gui/inventory.py
M cmk/gui/logwatch.py
M cmk/gui/mkeventd/views.py
M cmk/gui/node_visualization.py
M cmk/gui/painter/v0/helpers.py
M cmk/gui/plugins/metrics/graph_images.py
M cmk/gui/plugins/metrics/graph_templates.py
M cmk/gui/plugins/metrics/rrd_fetch.py
M cmk/gui/plugins/metrics/utils.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/host_internal.py
M cmk/gui/plugins/wato/utils/__init__.py
M cmk/gui/prediction.py
M cmk/gui/robotmk.py
M cmk/gui/type_defs.py
M cmk/gui/view.py
M cmk/gui/view_breadcrumbs.py
M cmk/gui/views/availability.py
M cmk/gui/views/command/commands.py
M cmk/gui/views/icon/page_ajax_popup_action_menu.py
M cmk/gui/views/inventory/__init__.py
M cmk/gui/views/visual_type.py
M cmk/gui/wato/pages/bulk_discovery.py
M cmk/gui/wato/pages/folders.py
M cmk/gui/wato/pages/host_rename.py
M cmk/gui/wato/pages/hosts.py
M cmk/gui/wato/pages/object_parameters.py
M cmk/gui/wato/pages/parentscan.py
M cmk/gui/wato/pages/pattern_editor.py
M cmk/gui/wato/pages/random_hosts.py
M cmk/gui/wato/pages/rulesets.py
M cmk/gui/wato/pages/services.py
M cmk/gui/watolib/agent_registration.py
M cmk/gui/watolib/automatic_host_removal.py
M cmk/gui/watolib/bakery.py
M cmk/gui/watolib/builtin_attributes.py
M cmk/gui/watolib/check_mk_automations.py
M cmk/gui/watolib/config_domain_name.py
M cmk/gui/watolib/config_domains.py
M cmk/gui/watolib/host_attributes.py
M cmk/gui/watolib/host_label_sync.py
M cmk/gui/watolib/host_rename.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/network_scan.py
M cmk/gui/watolib/services.py
M cmk/snmplib/snmp_cache.py
M cmk/snmplib/snmp_table.py
M cmk/snmplib/type_defs.py
M cmk/update_config/plugins/actions/autochecks.py
M cmk/utils/agent_registration.py
M cmk/utils/auto_queue.py
A cmk/utils/hostaddress.py
M cmk/utils/labels.py
M cmk/utils/misc.py
M cmk/utils/notify_types.py
M cmk/utils/piggyback.py
M cmk/utils/prediction.py
M cmk/utils/rulesets/ruleset_matcher.py
M cmk/utils/store/host_storage.py
M cmk/utils/structured_data.py
M cmk/utils/translations.py
M cmk/utils/type_defs/__init__.py
R cmk/utils/type_defs/host.py
M omd/packages/maintenance/diskspace
M
tests/composition/controller_site_interactions/test_proxy_register_import_workflow.py
M tests/composition/controller_site_interactions/test_register_workflow.py
M
tests/composition/controller_site_interactions/test_rename_preserves_registration.py
M tests/composition/controller_site_interactions/test_status.py
M tests/integration/cmk/base/test_automations.py
M tests/integration/cmk/base/test_services_prediction.py
M tests/integration/cmk/lib/snmplib/helper_get_single_oid.py
M tests/integration/cmk/lib/snmplib/snmp_helpers.py
M tests/integration/cmk/lib/snmplib/test_snmp_modes.py
M tests/integration/cmk/lib/snmplib/test_snmp_table.py
M tests/testlib/__init__.py
M tests/testlib/agent.py
M tests/testlib/base.py
M tests/testlib/event_console.py
M tests/testlib/snmp.py
M tests/unit/checks/conftest.py
M tests/unit/checks/generictests/run.py
M tests/unit/checks/test_mem_win.py
M tests/unit/cmk/automations/test_results.py
M tests/unit/cmk/base/agent_based/checking/test_checking.py
M tests/unit/cmk/base/agent_based/checking/test_cluster_modes.py
M tests/unit/cmk/base/agent_based/discovery/test_discovery.py
M tests/unit/cmk/base/agent_based/test_base_inventory.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_broker.py
M tests/unit/cmk/base/agent_based/test_data_provider_parsed_sections_resolver.py
M tests/unit/cmk/base/agent_based/test_data_provider_sections_parser.py
M tests/unit/cmk/base/agent_based/test_error_handling.py
M tests/unit/cmk/base/agent_based/test_utils.py
M tests/unit/cmk/base/api/agent_based/test_utils_check_levels_predictive.py
M tests/unit/cmk/base/api/agent_based/value_store/test_vs_global_state.py
M tests/unit/cmk/base/api/agent_based/value_store/test_vs_utils.py
M tests/unit/cmk/base/autochecks/test_autochecks.py
M tests/unit/cmk/base/autochecks/test_autochecks_utils.py
M tests/unit/cmk/base/conftest.py
M tests/unit/cmk/base/plugins/agent_based/test_check_plugin_properties.py
M tests/unit/cmk/base/plugins/agent_based/test_diskstat.py
M tests/unit/cmk/base/plugins/agent_based/test_logwatch_ec.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_cpu_load.py
M tests/unit/cmk/base/sources/test_data_sources.py
M tests/unit/cmk/base/sources/test_snmp_data_source.py
M tests/unit/cmk/base/test_auto_queue.py
M tests/unit/cmk/base/test_base_crash_reporting.py
M tests/unit/cmk/base/test_check_table.py
M tests/unit/cmk/base/test_config.py
M tests/unit/cmk/base/test_core_config.py
M tests/unit/cmk/base/test_core_nagios.py
M tests/unit/cmk/base/test_discovered_labels.py
M tests/unit/cmk/base/test_ip_lookup.py
M tests/unit/cmk/base/test_item_state.py
M tests/unit/cmk/base/test_mgmt_board.py
M tests/unit/cmk/base/test_modes_check_mk.py
M tests/unit/cmk/base/test_unit_automations.py
M tests/unit/cmk/bi/bi_test_data/sample_config.py
M tests/unit/cmk/checkers/test_classic_snmp.py
M tests/unit/cmk/checkers/test_factory.py
M tests/unit/cmk/checkers/test_fetchers.py
M tests/unit/cmk/checkers/test_host_sections.py
M tests/unit/cmk/checkers/test_parsers.py
M tests/unit/cmk/checkers/test_summarizers.py
M tests/unit/cmk/ec/test_ec_changestate.py
M tests/unit/cmk/ec/test_ec_delete.py
M tests/unit/cmk/ec/test_ec_event_server.py
M tests/unit/cmk/ec/test_ec_status.py
M tests/unit/cmk/ec/test_ec_update.py
M tests/unit/cmk/ec/test_host_config.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/mkeventd/test_wato.py
M tests/unit/cmk/gui/plugins/metrics/test_rrd_fetch.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_internal.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_service_discovery.py
M tests/unit/cmk/gui/test_gui_inventory.py
M tests/unit/cmk/gui/test_node_visualization.py
M tests/unit/cmk/gui/watolib/test_automatic_host_removal.py
M tests/unit/cmk/gui/watolib/test_host_label_sync.py
M tests/unit/cmk/gui/watolib/test_hosts_and_folders.py
M tests/unit/cmk/gui/watolib/test_services.py
M tests/unit/cmk/gui/watolib/test_watolib_search.py
M tests/unit/cmk/snmplib/test_snmp_scan.py
M tests/unit/cmk/snmplib/test_snmplib_snmp_table.py
M tests/unit/cmk/snmplib/test_snmplib_snmp_table_walk_cache.py
M tests/unit/cmk/utils/rulesets/test_ruleset_matcher.py
M tests/unit/cmk/utils/rulesets/test_tuple_rulesets.py
M tests/unit/cmk/utils/structured_data/test_structured_data.py
M tests/unit/cmk/utils/test_agent_registration.py
M tests/unit/cmk/utils/test_check_utils.py
M tests/unit/cmk/utils/test_labels.py
M tests/unit/cmk/utils/test_piggyback.py
M tests/unit/cmk/utils/test_prediction_commons.py
M tests/update/test_update.py
Log Message:
-----------
Move HostAddress (and HostName) to top level
general type + no external deps -> no nesting
CMK-13768
Change-Id: I6a438dd62c3b274d3864f7026261ac2a328bcd56
Compare:
https://github.com/Checkmk/checkmk/compare/d9d67b00b9b8...3d01e90e6993