Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a7bdfec27b8c7da8e56d8e31cb5d20b85a8b8b54
https://github.com/tribe29/checkmk/commit/a7bdfec27b8c7da8e56d8e31cb5d20b85…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
A .werks/12941
M cmk/gui/fields/__init__.py
M cmk/gui/fields/attributes.py
M cmk/gui/fields/definitions.py
M cmk/gui/openapi.py
M cmk/gui/plugins/openapi/endpoints/downtime.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/time_period.py
M cmk/gui/plugins/openapi/endpoints/utils.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/request_schemas.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M cmk/gui/plugins/wato/builtin_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_downtime.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_etags.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
12941 FIX REST API: convert known host attributes to well defined structure
Previously the outbound structure of host and folder attributes was not defined. The
internal
structure of the values were directly passed through. This was confusing because the
inbound
structure of these attributes was already defined, leading to 2 distinct structures of the
same
thing.
This is no longer the case. This werk introduces documentation and validation/conversion
of outbound
host and folder attributes.
Some attribute values may now be different due to this change. Please check your scripts.
Change-Id: I768c00e0bfd63a9f446c777e907efb011d107b47
Commit: 8ba5474272d6966e29bc98dc4d1a12cdc535b71b
https://github.com/tribe29/checkmk/commit/8ba5474272d6966e29bc98dc4d1a12cdc…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
A .werks/12945
M cmk/gui/fields/definitions.py
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
M cmk/gui/watolib/hosts_and_folders.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_folder_config.py
Log Message:
-----------
12945 REST API: option to show folders recursively and return type
The folder list endpoint now supports a "recursive" option, which
will result in the folder and all its subfolders to be in the resulting
collection.
Additionally, the endpoint will now always return the folder object and
never only the link. This makes it easier for script writers to parse
the result.
Change-Id: I655de590d7d06835e37a32b80282a99b14ce3530
Commit: adec3cfb4445b4443ac847219f59fa60a4935338
https://github.com/tribe29/checkmk/commit/adec3cfb4445b4443ac847219f59fa60a…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
A .werks/12946
M cmk/gui/fields/definitions.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_folder_config.py
Log Message:
-----------
12946 FIX REST API: allow dots in pathnames through folder regexp
Previously folders with dots (.) in their filename were erroneously rejected
by the REST API. This has now been fixed, dots can now be used.
There is no further action necessary.
Change-Id: I3abf0ec7bfc410dc90eb249da47cdaa21d29edf7
Commit: d505bf3fdded9002d8a5ae5900bec972e8f7e4f2
https://github.com/tribe29/checkmk/commit/d505bf3fdded9002d8a5ae5900bec972e…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
A .werks/12947
M cmk/gui/plugins/openapi/restful_objects/parameters.py
Log Message:
-----------
12947 FIX REST API: ETag validation is not less strict
Previously the ETag/If-Match header pair were required to have a hexadecimal
pattern of 32 bytes length. This was not honored by some endpoints, resulting
in bad requests that should have been OK. This restriction has now been lifted
and ETags can have any string content.
There is no furhter action necessary.
Change-Id: I27dd0eaada58aa22b7aa3279da64093655ce1edb
Commit: f6c7a1ba6fde22bee10a322189d0961f9657b690
https://github.com/tribe29/checkmk/commit/f6c7a1ba6fde22bee10a322189d0961f9…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/parameters.py
Log Message:
-----------
REST API: clarify etag format in documentation
Change-Id: I8574d91f93e5b1530ff2403a9097d7035cd95667
Commit: 376b535e598e28225198b278b3e5d14049e0ad8f
https://github.com/tribe29/checkmk/commit/376b535e598e28225198b278b3e5d1404…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
A .werks/12949
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
Log Message:
-----------
12949 add folder to REST API host endpoints
The path of the folder in which a host resides in is now returned
in the "extensions" section of the host endpoints.
Change-Id: I77d2417da28c57b862601382791b8d44711268e1
Commit: f0ac59c0596899fcb195f42ef9ca5dd74d1198ad
https://github.com/tribe29/checkmk/commit/f0ac59c0596899fcb195f42ef9ca5dd74…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
A .werks/12948
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/restful_objects/constructors.py
Log Message:
-----------
12948 FIX REST API ETag handling
In 2.0.0p6, the viewing of a host through the REST API might fail
due to missing "modification time" information on the host. This led
to a HTTP 500 error. Also, the calculation of the ETag was sometimes
based on stale cached values, resulting in subsequent HTTP 412
"precondition failed" errors. This werk fixes both of these bug.
Change-Id: I10e2926dc2721af198a31fbef5d65ca2d56971fb
Compare:
https://github.com/tribe29/checkmk/compare/4d86c77eb4c8...f0ac59c05968