Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 4e98dcffc94fe9e3cc5728740b55481590d1b0cc
https://github.com/tribe29/checkmk/commit/4e98dcffc94fe9e3cc5728740b5548159…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
A .werks/13643
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
13643 Bulk host create/update calls now report succeeded and failed hosts
The REST API calls cmk/bulk_create/invoke and bulk-update/invoke may perform
only parts of the requested actions in some cases. The endpoints now report
additional structured information regarding the failed hosts and the cause of
the issue and the collection of succeeded hosts.
Change-Id: I3e7ae079efc883417fe01bc40fe1eb47e96f08a2
Commit: 3aebc239b6ecae04bea53b764ac58b9e983f314d
https://github.com/tribe29/checkmk/commit/3aebc239b6ecae04bea53b764ac58b9e9…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
Log Message:
-----------
Add problem response schema for bulk host endpoints
In case some hosts are failing validations, the endpoints return with
HTTP 400 reporting a list of failed hosts with the failure reason and a
list of succeeded hosts. This change adds a schema definition for the
specific error response.
Change-Id: Ibc81b8a82b10e2a09852677a83f01d0b9811692c
Compare:
https://github.com/tribe29/checkmk/compare/3467f124d7a9...3aebc239b6ec