Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: cfebf190c7eb224315bcca0e40590ae0efc6238a
https://github.com/Checkmk/checkmk/commit/cfebf190c7eb224315bcca0e40590ae0e…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M cmk/gui/http.py
M cmk/gui/plugins/openapi/restful_objects/constructors.py
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M cmk/gui/wsgi/applications/rest_api.py
M cmk/utils/type_defs/__init__.py
M cmk/utils/type_defs/_misc.py
M tests/testlib/openapi_session.py
M tests/testlib/rest_api_client.py
Log Message:
-----------
Move `HTTPMethod` to gui
Actually, the type is only used in the openapi but moving it
there either creates dependency cycles or breaks 4000+ tests.
Anyway, `cmk.gui.http` is still an improvement from `cmk.utils`
as there is, to my knowledge, no HTTP-related code in utils or
base so this change still improves the cohesion.
Change-Id: I42ebe89c4b7b2c0a8891d3020475735155575fe0
Commit: 52357b02335dfff5aa62fb73bcfb4678bd3ebae4
https://github.com/Checkmk/checkmk/commit/52357b02335dfff5aa62fb73bcfb4678b…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/site_management/common.py
A cmk/gui/rest_api_types/site_connection.py
R cmk/utils/type_defs/rest_api_types/site_connection.py
M tests/testlib/rest_api_client.py
M tests/unit/cmk/gui/plugins/openapi/test_site_management.py
Log Message:
-----------
Move restapi-only types to gui
They actually have a single user in the openapi but
moving the types there breaks 4000+ tests. So let's
not be too ambitious and move the definitions under
gui for a start.
Change-Id: I0b10babc0553a5a26ff6f0bb0b9fbeaadc421c81
Commit: b9a4e05a38a32b1ca1c34cc6b7d64ff019b0723f
https://github.com/Checkmk/checkmk/commit/b9a4e05a38a32b1ca1c34cc6b7d64ff01…
Author: Sven Panne <sven.panne(a)checkmk.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M cmk/gui/views/command/base.py
Log Message:
-----------
Removed superfluous Union.
Change-Id: Ia37c68d8351d1088afca3fd1254a20f0e099d04f
Compare:
https://github.com/Checkmk/checkmk/compare/2397aaed71c1...b9a4e05a38a3