Branch: refs/heads/2.1.0
Home:
https://github.com/tribe29/checkmk
Commit: 3513322840337f4f314d6f87cf49fbe038deeec2
https://github.com/tribe29/checkmk/commit/3513322840337f4f314d6f87cf49fbe03…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
R cmk/gui/plugins/openapi/endpoints/time_period.py
A cmk/gui/plugins/openapi/endpoints/time_periods/__init__.py
A cmk/gui/plugins/openapi/endpoints/time_periods/request_schemas.py
A cmk/gui/plugins/openapi/endpoints/time_periods/response_schemas.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
Log Message:
-----------
rest-api: move time period endpoints to their own module
Change-Id: I92ddd06eb944b35c4fe540d98e132abeb2ba77c9
Commit: 6ea76b7e6004f77c8b2cd7b1e3535a5cbeeb3326
https://github.com/tribe29/checkmk/commit/6ea76b7e6004f77c8b2cd7b1e3535a5cb…
Author: Gav <gavin.mcguigan(a)tribe29.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
A .werks/15378
M cmk/gui/plugins/openapi/endpoints/time_periods/__init__.py
M cmk/gui/plugins/openapi/endpoints/time_periods/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_time_period.py
Log Message:
-----------
15378 FIX timeperiod: day & time_ranges now load deafults when not included in the
request
This werk is to fix an issue when creating time periods via the rest-api.
Previously when creating a time period, you could send an empty nested
value for active_time_ranges. Now, if the attributes day or time_ranges
are not given, the defaults are used.
CMK-12181
Change-Id: Ic18278e3e47d3a4fd8aa116311eaa21c8a4a7e08
Compare:
https://github.com/tribe29/checkmk/compare/ebf36ec84ded...6ea76b7e6004