Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: eff8c9e301017d1cd356cb44114a3a2d720269ee
https://github.com/tribe29/checkmk/commit/eff8c9e301017d1cd356cb44114a3a2d7…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M cmk/gui/plugins/openapi/utils.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
M tests/unit/cmk/gui/wsgi/test_wsgi_router.py
Log Message:
-----------
REST API: improve error handling
* each http endpoint can now have a different error schema for each
HTTP status code >= 400 (i.e. error status codes)
* typing improvements
Change-Id: Ic4b0a8e942a38e4902c6ec9c50865b2f5e13c57c
Commit: 1845558521f2016d286399b6a7540efbce675845
https://github.com/tribe29/checkmk/commit/1845558521f2016d286399b6a7540efbc…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 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
Commit: d5f2d84c5420f9dcb69e65b16c38c570ee5a32e5
https://github.com/tribe29/checkmk/commit/d5f2d84c5420f9dcb69e65b16c38c570e…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2022-04-04 (Mon, 04 Apr 2022)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_config.py
Log Message:
-----------
Add response schema to bulk update call
Change-Id: I17869005e058261b571a3bf45a4a2cf2d7e4e5fd
Compare:
https://github.com/tribe29/checkmk/compare/41c8f4ffab4a...d5f2d84c5420