Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 153b257ef46cc9c2a41aab3113e2c56d36b1b56b
https://github.com/Checkmk/checkmk/commit/153b257ef46cc9c2a41aab3113e2c56d3…
Author: Gav <gavin.mcguigan(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
A .werks/16100
M tests/testlib/rest_api_client.py
Log Message:
-----------
16100 FIX licensing: the 'settings' field is now required for license
configuration
This werk addresses an issue found by our QA team with regards to the
following endpoint
PUT /domain-types/licensing/actions/configure/invoke
Previously, we got an internal server error when attempting to call
this endpoint with no 'settings' field or with no data for the 'settings'
field. We have now made 'settings' a required field and the correct
request data must be present.
Examples of correct request data
C+:
{
"settings": {
"mode": "offline"
}
}
C-:
or
C+:
{
"settings": {
"mode": "online",
"credentials": {
"username": "application-account-id",
"password": "application-account-password"
}}
}
C-:
CMK-14100
Change-Id: Iebdc6e8ab73c561801b12360b25899b702bf8d8d
Change-Id: I6b80a38f2fa737e9bead94e05e36c27280fd4560
Commit: 3c0fcd656e579422f1706fc5ff84e42ba029f3ab
https://github.com/Checkmk/checkmk/commit/3c0fcd656e579422f1706fc5ff84e42ba…
Author: Christoph Rauch <christoph.rauch(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M Pipfile
M Pipfile.lock
M agent-receiver/agent_receiver/models.py
M agent-receiver/setup.py
M cmk/base/plugins/agent_based/aws_status.py
M cmk/base/plugins/agent_based/gcp_cost.py
M cmk/base/plugins/agent_based/graylog_failures.py
M cmk/base/plugins/agent_based/kube_node_conditions.py
M cmk/base/plugins/agent_based/utils/azure.py
M cmk/base/plugins/agent_based/utils/azure_app_gateway.py
M cmk/base/plugins/agent_based/utils/checkmk.py
M cmk/base/plugins/agent_based/utils/esx_vsphere.py
M cmk/base/plugins/agent_based/utils/kube.py
M cmk/base/plugins/agent_based/utils/robotmk_api.py
M cmk/gui/key_mgmt.py
M cmk/gui/plugins/wato/special_agents/kube.py
M cmk/special_agents/agent_aws.py
M cmk/special_agents/agent_datadog.py
M cmk/special_agents/agent_kube.py
M cmk/special_agents/utils_kubernetes/agent_handlers/cluster_handler.py
M cmk/special_agents/utils_kubernetes/agent_handlers/common.py
M cmk/special_agents/utils_kubernetes/agent_handlers/namespace_handler.py
M cmk/special_agents/utils_kubernetes/agent_handlers/node_handler.py
M
cmk/special_agents/utils_kubernetes/agent_handlers/persistent_volume_claim_handler.py
M cmk/special_agents/utils_kubernetes/performance.py
M cmk/special_agents/utils_kubernetes/prometheus_api.py
M cmk/special_agents/utils_kubernetes/query.py
M cmk/special_agents/utils_kubernetes/schemata/api.py
M cmk/special_agents/utils_kubernetes/schemata/section.py
M cmk/special_agents/utils_kubernetes/transform.py
M cmk/special_agents/utils_kubernetes/transform_any.py
M cmk/utils/backup/job.py
M cmk/utils/packaging/_mkp.py
M cmk/utils/packaging/_type_defs.py
M cmk/utils/prediction/_prediction.py
M cmk/utils/store/_file.py
M cmk/utils/user.py
M cmk/utils/werks/__init__.py
M cmk/utils/werks/werk.py
M cmk/utils/werks/werkv1.py
M cmk/utils/werks/werkv2.py
M tests/integration/cmk/base/test_services_prediction.py
M tests/unit/agent_receiver/conftest.py
M tests/unit/cmk/base/plugins/agent_based/esx_vsphere_vm_util.py
M tests/unit/cmk/base/plugins/agent_based/test_aws_status.py
M tests/unit/cmk/base/plugins/agent_based/test_esx_vsphere_vm_cpu.py
M tests/unit/cmk/base/plugins/agent_based/test_esx_vsphere_vm_datastores.py
M tests/unit/cmk/base/plugins/agent_based/test_esx_vsphere_vm_heartbeat.py
M tests/unit/cmk/base/plugins/agent_based/test_gcp_status.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_cronjob.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_daemonset.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_deployment.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_node.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_pod.py
M tests/unit/cmk/base/plugins/agent_based/test_inventory_kube_statefulset.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_collector_info.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_cpu.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_cronjob_status.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_node_conditions.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_node_count.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_persistent_volume_claim.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_conditions.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_containers.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_pod_resources.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_resource_quota_cpu.py
M tests/unit/cmk/base/plugins/agent_based/test_kube_resource_quota_memory.py
M tests/unit/cmk/base/plugins/agent_based/test_openshift_queries.py
M tests/unit/cmk/base/plugins/agent_based/utils/test_kube_resources.py
M tests/unit/cmk/base/test_prediction.py
M tests/unit/cmk/special_agents/agent_kube/factory.py
M tests/unit/cmk/special_agents/agent_kube/test_agent_kube_api.py
M tests/unit/cmk/special_agents/agent_kube/test_agent_kube_api_server.py
M tests/unit/cmk/special_agents/agent_kube/test_agent_kube_metadata.py
M tests/unit/cmk/special_agents/agent_kube/test_deployment.py
M tests/unit/cmk/special_agents/agent_kube/test_node.py
M tests/unit/cmk/special_agents/agent_kube/test_pvc.py
M tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_api_nodes.py
M
tests/unit/cmk/special_agents/agent_kubernetes/test_agent_kubernetes_section_schemas.py
M tests/unit/cmk/special_agents/utils_kubernetes/test_api_server.py
M tests/unit/cmk/update_config/plugins/actions/test_update_backup.py
M tests/unit/cmk/utils/packaging/test_manifest.py
M tests/unit/cmk/utils/test_store.py
M tests/unit/cmk/utils/werks/test_werks.py
Log Message:
-----------
Revert "pydantic 2: upgrade pydantic v1 package to pydantic v2"
This reverts commit 9abe7111876aad607b179a7ca3c2339ce39a5d66.
Commit: fa96581ce0caaa1b98b6edc3ba6beb552b402fd9
https://github.com/Checkmk/checkmk/commit/fa96581ce0caaa1b98b6edc3ba6beb552…
Author: Simon Jess <simon.jess(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M cmk/gui/graphing/_utils.py
Log Message:
-----------
Remove some 'None's
Change-Id: I668e845060f6a00467e9e3f36e2f9973e87985a7
Commit: 1c6510a7794afb291aafd631f0b8c04b407327fe
https://github.com/Checkmk/checkmk/commit/1c6510a7794afb291aafd631f0b8c04b4…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
R tests/unit/agents/special/_innovaphone_vcrtrace
R tests/unit/agents/special/test_agent_alertmanager.py
R tests/unit/agents/special/test_sa_innovaphone.py
R tests/unit/agents/special/test_sa_vsphere.py
R tests/unit/agents/special/test_special_agent_bi.py
A tests/unit/cmk/special_agents/_innovaphone_vcrtrace
A tests/unit/cmk/special_agents/test_agent_alertmanager.py
A tests/unit/cmk/special_agents/test_sa_innovaphone.py
A tests/unit/cmk/special_agents/test_sa_vsphere.py
A tests/unit/cmk/special_agents/test_special_agent_bi.py
Log Message:
-----------
Move special agent tests to the right place
Change-Id: I11a6c902c9d252c361292fca3a56de67873f0315
Commit: 25d6c4a0cf6e79e99ac4fc587267859c4310e5c2
https://github.com/Checkmk/checkmk/commit/25d6c4a0cf6e79e99ac4fc587267859c4…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M tests/testlib/pylint_checker_cmk_module_layers.py
M tests/unit/checks/checktestlib.py
M tests/unit/checks/test_agent_3par.py
M tests/unit/checks/test_agent_acme_sbc.py
M tests/unit/checks/test_agent_allnet_ip_sensoric.py
M tests/unit/checks/test_agent_cisco_prime.py
M tests/unit/checks/test_agent_fritzbox.py
M tests/unit/checks/test_agent_ibmsvc.py
M tests/unit/checks/test_agent_innovaphone.py
M tests/unit/checks/test_agent_kube.py
M tests/unit/checks/test_agent_random.py
M tests/unit/checks/test_agent_salesforce.py
M tests/unit/checks/test_agent_siemens_plc.py
M tests/unit/conftest.py
Log Message:
-----------
Prevent cross-component imports in unit tests
The test code is not special compared to the regular program code in
regards to layering. It also need to respect the rules we have in the
other program code.
So far all tests were completely excluded from the layer checker, which
was only meant as a temporary exclusion to get started with the checker.
Turns out it was not so temporary.
This change now at enables the layer checker for `tests/unit`.
A few local suppressions are still in place, at least this is all local
now.
Change-Id: I0c1e5e2045ad37af700283be5fa61c9872840d69
Commit: 93d0936258895b591afa46a52e2ba92c95ae6967
https://github.com/Checkmk/checkmk/commit/93d0936258895b591afa46a52e2ba92c9…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
M tests/testlib/pylint_checker_cmk_module_layers.py
Log Message:
-----------
Enable layer checker in tests.composition and tests.extension_compatibility
Change-Id: I6828241744fd01d98a852ecc205686b0073ab1d3
Commit: 1286cd3607bdebd5bea2c899b1133332c054e1f6
https://github.com/Checkmk/checkmk/commit/1286cd3607bdebd5bea2c899b1133332c…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-09-14 (Thu, 14 Sep 2023)
Changed paths:
R tests/integration/cmk/lib/snmplib/__init__.py
R tests/integration/cmk/lib/snmplib/conftest.py
R tests/integration/cmk/lib/snmplib/helper_get_single_oid.py
R tests/integration/cmk/lib/snmplib/helper_get_snmp_table.py
R tests/integration/cmk/lib/snmplib/helper_walk_for_export.py
R tests/integration/cmk/lib/snmplib/snmp_data/1.3.6.1.6.1.1.0.snmprec
R tests/integration/cmk/lib/snmplib/snmp_data/1.3.6.1.6.1.1.0/127.0.0.1.snmprec
R tests/integration/cmk/lib/snmplib/snmp_data/__init__.py
R tests/integration/cmk/lib/snmplib/snmp_data/cmk-walk/localhost
R tests/integration/cmk/lib/snmplib/snmp_data/public.snmprec
R tests/integration/cmk/lib/snmplib/snmp_helpers.py
R tests/integration/cmk/lib/snmplib/test_snmp_modes.py
R tests/integration/cmk/lib/snmplib/test_snmp_table.py
A tests/integration/cmk/snmplib/__init__.py
A tests/integration/cmk/snmplib/conftest.py
A tests/integration/cmk/snmplib/helper_get_single_oid.py
A tests/integration/cmk/snmplib/helper_get_snmp_table.py
A tests/integration/cmk/snmplib/helper_walk_for_export.py
A tests/integration/cmk/snmplib/snmp_data/1.3.6.1.6.1.1.0.snmprec
A tests/integration/cmk/snmplib/snmp_data/1.3.6.1.6.1.1.0/127.0.0.1.snmprec
A tests/integration/cmk/snmplib/snmp_data/__init__.py
A tests/integration/cmk/snmplib/snmp_data/cmk-walk/localhost
A tests/integration/cmk/snmplib/snmp_data/public.snmprec
A tests/integration/cmk/snmplib/snmp_helpers.py
A tests/integration/cmk/snmplib/test_snmp_modes.py
A tests/integration/cmk/snmplib/test_snmp_table.py
M tests/testlib/pylint_checker_cmk_module_layers.py
Log Message:
-----------
Enable layer checker in tests.integration
Change-Id: I222caac3b64b8a8d174b976a70b9deb7c4cacf13
Compare:
https://github.com/Checkmk/checkmk/compare/a6eac95d812a...1286cd3607bd