Branch: refs/heads/2.3.0
Home: https://github.com/Checkmk/checkmk
Commit: c6e0a12785ee50b7b15e01943dbe0d136ea25300
https://github.com/Checkmk/checkmk/commit/c6e0a12785ee50b7b15e01943dbe0d136…
Author: Sofia Colakovic <sofia.colakovic(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
R cmk/base/legacy_checks/check_sql.py
A cmk/plugins/collection/server_side_calls/sql.py
R tests/unit/checks/test_check_sql.py
A tests/unit/cmk/plugins/collection/server_side_calls/test_sql.py
Log Message:
-----------
sql: migrate active check to SSC API
Change-Id: I804c25047a606a79a5cf02c019cc5cf1eb0ed486
(cherry picked from commit 2c11126742be4b888145b28f3559e7c223dc7763)
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/2.3.0
Home: https://github.com/Checkmk/checkmk
Commit: ce1e2ee81d07c8badbe8a5592f505b5de2f1f41c
https://github.com/Checkmk/checkmk/commit/ce1e2ee81d07c8badbe8a5592f505b5de…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16210.md
M cmk/gui/openapi/endpoints/folder_config/__init__.py
M cmk/gui/openapi/endpoints/folder_config/request_schemas.py
M cmk/gui/watolib/hosts_and_folders.py
M cmk/gui/watolib/predefined_conditions.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/openapi/test_openapi_folder_config.py
Log Message:
-----------
16210 FIX folder_config: Prevent unintentional deletion of a non-empty folder
Prior to this Werk, the REST API could delete non-empty folders without any further check. With this Werk, the endpoint now accepts the delete_method query parameter. The possible values are:
- recursive: Deletes the folder and all the elements it contains.
- abort_on_nonempty: Deletes the folder only if it is not empty
If no delete_method is provided, "recursive" is asumed and the behaviour is the same as before this Werk.
The enpoint will return a 409 status code when trying to delete a folder that contains hosts, rules, subfolders or is referenced by another object.
Use example:
`curl -X 'DELETE' 'http://example.com/my_site/check_mk/api/1.0/objects/folder_config/my_folder…' -H 'accept: */*`
SUP-16540
Change-Id: I3b94ed9eef56a94f6e4b8d1908f0bfd5527b35ac
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/2.3.0
Home: https://github.com/Checkmk/checkmk
Commit: 567e9901dfcd194430dd84552104140dcb8dd94a
https://github.com/Checkmk/checkmk/commit/567e9901dfcd194430dd84552104140dc…
Author: Wontek Hong <wontek.hong(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
A .werks/16501.md
M bin/.f12
A bin/cmk-trigger-api-spec-job
M omd/packages/apache-omd/skel/etc/init.d/apache
M tests/testlib/pylint_checker_cmk_module_layers.py
Log Message:
-----------
16501 omd: trigger openapi-spec generation job during start, restart & reload
Werk 15724 introduces a mechanism for regenerating the API specification,
which, in certain instances, is executed as a background job due to the
potential time required for completion. This update modifies the omd start,
restart, and reload commands to initiate this specific background job upon
execution. Users should be aware that triggering the job does not result
in immediate availability of the updated documentation; there may be a
delay before the documentation is updated. This saves the user from having
to trigger and wait for the specification regeneration manually in case
relevant changes have been made outside the user interface and the apache
process needs to be restarted.
Based on werk 15724 the specification is now updated in these situations:
* post-create hook: Create the initial spec after a site has been created
* post rename action: Update the spec after a site has been copied, restored or renamed
* update-config action: Update the spec after the site has been updated
* omd apache: Update the spec when the apache process is started, restarted or reloaded
Change-Id: I769d927192e1ec03fd2f433839caf7eca7c733bb
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/master
Home: https://github.com/Checkmk/checkmk
Commit: 36dd31e77618f4a18d7b4e40e53818d188c2c37b
https://github.com/Checkmk/checkmk/commit/36dd31e77618f4a18d7b4e40e53818d18…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M tests/Makefile
Log Message:
-----------
Separate targets for doctests and unit tests
This also avoids counting the doctests in the code coverage: doctests
are documentation and must not contribute to the coverage.
Also: one necessary step to support pytest-8
CMK-14467
Change-Id: I589742068b8be78b13b7ea13baf42f8ad6fed23a
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications
Branch: refs/heads/2.2.0
Home: https://github.com/Checkmk/checkmk
Commit: 6b39b1deeb23bd3edd21432ece727836c3bde48f
https://github.com/Checkmk/checkmk/commit/6b39b1deeb23bd3edd21432ece727836c…
Author: Leonardo Petrora <leonardo.petrora(a)checkmk.com>
Date: 2024-03-07 (Thu, 07 Mar 2024)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/rule/__init__.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_rules.py
Log Message:
-----------
Fix validation of value_raw when creating or modifying a rule
CMK-15322
Change-Id: Ide91a687addc8f728c84c6ae419f0bbbfabc11bb
To unsubscribe from these emails, change your notification settings at https://github.com/Checkmk/checkmk/settings/notifications