Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 65313ffc99a45092c5ef3c7145cdcb9938e5f16a
https://github.com/tribe29/checkmk/commit/65313ffc99a45092c5ef3c7145cdcb993…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/11941
M cmk/gui/plugins/openapi/endpoints/host.py
M cmk/gui/plugins/openapi/endpoints/service.py
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host.py
Log Message:
-----------
11941 FIX REST API: fix column parameter on Livestatus endpoints
* this fix will apply to all List types which are given
through the query string
* the Livestatus columns fields have been improved and
their interface simplified
Change-Id: Ic9c68f163c3c59361c001c7b5940a1b187fdec77
Commit: 594bb21a248e8dc3ff85da6888a8392c6b1eea43
https://github.com/tribe29/checkmk/commit/594bb21a248e8dc3ff85da6888a8392c6…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: bearer doc updates
Change-Id: I156bf51729b30b35c75a96b014db3ba1929586ec
Commit: 4adc9f4d9992bd4a6ee7a3f4ba5887ee6a88dc25
https://github.com/tribe29/checkmk/commit/4adc9f4d9992bd4a6ee7a3f4ba5887ee6…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
Log Message:
-----------
REST API: add "don't care" option to HostField
Change-Id: I4d02633142fee43a2a84837479138a568284b806
Commit: 55d2c48b6b2b3c4d66287514d2e4523efcff4f8b
https://github.com/tribe29/checkmk/commit/55d2c48b6b2b3c4d66287514d2e4523ef…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
Log Message:
-----------
REST API: extend HostField
* field can now expect a host to NOT be monitored
* existence checks can now also be deactivated by
supplying None as a value to "should_exist".
Change-Id: I2d2310d1f43bbfda0abd4024a7efc57263ed364a
Commit: 9795de4e0bdc52fe50aecae0bf22bc4f45b2979b
https://github.com/tribe29/checkmk/commit/9795de4e0bdc52fe50aecae0bf22bc4f4…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/code_examples.py
Log Message:
-----------
REST API: cache Jinja env when generating docs
Change-Id: I61b612ad9d4c644a57662426558822da7f05d3a7
Commit: 87b59c9fb4c27479ae82f5df83447ed1a7352a91
https://github.com/tribe29/checkmk/commit/87b59c9fb4c27479ae82f5df83447ed1a…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
REST API: doc updates
Change-Id: Ica3d732aaa11eb789d7511b415fa972f4049e115
Commit: 11fad744ead128230ed8538b703fdcad74ef17bc
https://github.com/tribe29/checkmk/commit/11fad744ead128230ed8538b703fdcad7…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
A .werks/11938
M cmk/gui/plugins/config/base.py
M cmk/gui/plugins/openapi/restful_objects/constructors.py
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/wato/check_mk_configuration.py
A tests/unit/cmk/gui/plugins/openapi/test_openapi_etags.py
Log Message:
-----------
11938 REST API: make optimistic locking via ETag configurable
When multiple HTTP clients want to update an object at the same time,
it can happen that the slower client will overwrite changes by the faster one.
This is commonly referred to as the 'lost update problem'. To prevent this
situation from happening, Checkmk's REST API does 'optimistic locking' using
HTTP ETag headers. In this case the Object's ETag has to be sent to the server
with a HTTP If-Match header.
This behavior can now be deactivated, but this will allow the 'lost update
problem' to occur.
Change-Id: I3cdd52c349cba8d0f532addd921af89639cce640
Commit: eae1867e715f9254c3f2d0a79a170f183d43be41
https://github.com/tribe29/checkmk/commit/eae1867e715f9254c3f2d0a79a170f183…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: add introduction to ETag locking scheme
Change-Id: I58c5fc550a0ad873d44a4bc98b1d3ecdb065c5f7
Commit: 68be8c83d23c6afe1f2e73594f696f139f5e7a85
https://github.com/tribe29/checkmk/commit/68be8c83d23c6afe1f2e73594f696f139…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
M tests/unit/cmk/gui/conftest.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
API: addition of customer field
Change-Id: I79f1490f610e037e881616aa613bebbb7ac8882c
Commit: dcca18ed590ed0f91b89c8a195efd29a16b75010
https://github.com/tribe29/checkmk/commit/dcca18ed590ed0f91b89c8a195efd29a1…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-10 (Mon, 10 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
API: addition of customer field to user_config
Change-Id: Id31c6abd6f89148fb598e120d9ab7132cb2eca2b
Compare:
https://github.com/tribe29/checkmk/compare/99cc4ea26e76...dcca18ed590e