Branch: refs/heads/2.0.0
Home:
https://github.com/tribe29/checkmk
Commit: 6e6024d9c356d9e45d2fd7d5e6d1061f6b0e2bce
https://github.com/tribe29/checkmk/commit/6e6024d9c356d9e45d2fd7d5e6d1061f6…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
A .werks/12943
M cmk/gui/fields/validators.py
M cmk/gui/plugins/wato/builtin_attributes.py
Log Message:
-----------
12943 FIX REST API: allow hostnames for ipaddress attribute
The ipaddress host attribute allows hostnames. This will result in a
non-cached lookup before use of the address. In the REST API setting
of these values was previously erroneously rejected. This has now
been fixed.
Change-Id: I39687bff5e21801e8cf53a93fb28b1383efd9d0c
Commit: 4f525359eb1c35d7051b41b468c35fed8cf5449e
https://github.com/tribe29/checkmk/commit/4f525359eb1c35d7051b41b468c35fed8…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-06-21 (Mon, 21 Jun 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
M tests/unit/cmk/gui/plugins/openapi/test_openapi_service.py
M tests/unit/conftest.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
Compare:
https://github.com/tribe29/checkmk/compare/d34346f8d350...4f525359eb1c