Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 3e695ccc8a225dc7ed0ce7054ffa9fa9074a2d99
https://github.com/tribe29/checkmk/commit/3e695ccc8a225dc7ed0ce7054ffa9fa90…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/commands/downtimes.py
M tests/unit/cmk/gui/plugins/openapi/livestatus_helpers/test_downtime_commands.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_downtime.py
Log Message:
-----------
REST API: fix downtime modes calculation
Change-Id: Ia4fddc7ca0e5707d249e493ba47f0f7802ca07cc
Commit: 09d17c045ea0eabd5452f2e4e20d717e954c3151
https://github.com/tribe29/checkmk/commit/09d17c045ea0eabd5452f2e4e20d717e9…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/downtime.py
M cmk/gui/plugins/openapi/endpoints/host.py
M cmk/gui/plugins/openapi/endpoints/service.py
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/livestatus_helpers/expressions.py
M cmk/gui/plugins/openapi/restful_objects/parameters.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_expr_schema.py
Log Message:
-----------
REST API: ExprSchema validates table columns now
* unknown columns get rejected before the endpoint
is even called.
* table name prefix is validated as well
Change-Id: Ifc84c962116b2d62914dd131c404d275278d13a1
Commit: 9f38847e75ff227bd1653dabf53d8d1efdef0ead
https://github.com/tribe29/checkmk/commit/9f38847e75ff227bd1653dabf53d8d1ef…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_downtime.py
Log Message:
-----------
REST API: HostField now can verify that a host is monitored
* endpoints can selectively enforce, that a host
is currently being monitored (not just present in
the configuration)
* this behavior is switched off by default
Change-Id: I73bcf28f25b78102377e0eaba5a4658ebd06c8cb
Commit: 54cde9b9f24c323589f19db1d978472c64e4ade2
https://github.com/tribe29/checkmk/commit/54cde9b9f24c323589f19db1d978472c6…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/parameters.py
Log Message:
-----------
REST API: reword documentation of If-Match header
Change-Id: I0f3c9ebfe2ccc8305f69d01b0f067b55072721c5
Commit: 2831eb5a2cd2392a9754d2dac9ae6159a475fb63
https://github.com/tribe29/checkmk/commit/2831eb5a2cd2392a9754d2dac9ae6159a…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
Log Message:
-----------
REST API: improve decorator
* add 422 status code to supported list
* improve handling of custom doc descriptions
Change-Id: I1684c530b52945901e1ac67650f79766e641fa5d
Commit: ee21bf4110bf62815047837808de40edbf1be688
https://github.com/tribe29/checkmk/commit/ee21bf4110bf62815047837808de40edb…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/response_schemas.py
Log Message:
-----------
REST API: collect all field errors under 'fields' key
* adresses CMK-7178
* add fields key to error schema, which stores detailed
error messages on the fields which failed validation.
Change-Id: Ib1f2db140c7fbca3ecc1976bc4e44ab9df72b640
Commit: 952e90cebd19693d0834fa1f45749ca7d95eca2b
https://github.com/tribe29/checkmk/commit/952e90cebd19693d0834fa1f45749ca7d…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/plugins/openapi/utils.py
Log Message:
-----------
REST API: remove empty ext key in problem result
Change-Id: I84a43dd6640f73c792d90cdcd8c8064946b58841
Commit: 3f4452847c73d85055a184145fff10ef63a73e94
https://github.com/tribe29/checkmk/commit/3f4452847c73d85055a184145fff10ef6…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
M cmk/gui/plugins/openapi/endpoints/activate_changes.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_acknowledgement.py
Log Message:
-----------
REST API: fix acknowledgement problems
* improve control flow of endpoints
* add host validation to schema
* improve documentation
Change-Id: I058bea079a02c267a65ba3dc48fa2182bb8fb6c1
Commit: 577ad3a56939a960c06870ef5039873042d256c8
https://github.com/tribe29/checkmk/commit/577ad3a56939a960c06870ef503987304…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/activate_changes.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/utils.py
M cmk/gui/watolib/activate_changes.py
Log Message:
-----------
REST API: fix activate changes problems
* improve function names
* improve error messages
* add force_foreign_changes flag to endpoint
Change-Id: Ifde1fd9ab567f90a12683da8f07922434f3040a6
Commit: 5851b92e55f8f9e1e815b13c01c813fee36fd824
https://github.com/tribe29/checkmk/commit/5851b92e55f8f9e1e815b13c01c813fee…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/contact_group_config.py
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/host_group_config.py
M cmk/gui/plugins/openapi/endpoints/host_tag.py
M cmk/gui/plugins/openapi/endpoints/service_group_config.py
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
Log Message:
-----------
REST API: remove etags from delete endpoints
* optimistic locking doesnt make sense when deleting an object
as its content is not really relevent for this operation
Change-Id: I16bd511c9ee293194af26889ac4cde3f6ea5593c
Commit: 8e5831301fcfa728032a4b6ae7e866a7367e7186
https://github.com/tribe29/checkmk/commit/8e5831301fcfa728032a4b6ae7e866a73…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/expressions.py
Log Message:
-----------
Livestatus Helpers: extend tree_to_expr
* it now accepts QueryExpression results
* this is important for partial transformations like
in Nested fields which emit already instantiated
QueryExpression instances
* this is a precursor to a change which enables
query_field to emit QueryExpression instances.
Change-Id: Ie4eb64082e48c17b43059cffa90022169423a758
Commit: 683cfe99deadafb19a8db4d0cd846f51329694bc
https://github.com/tribe29/checkmk/commit/683cfe99deadafb19a8db4d0cd846f513…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
M tests/unit/cmk/gui/plugins/openapi/test_expr_schema.py
Log Message:
-----------
REST API: query_field emits QueryExpressions
Change-Id: Ic28aeaffd71a08e2e0f18e16bd718c150615813f
Commit: 135d7afa3602d73ba583ac65e8d105d9bb64e68f
https://github.com/tribe29/checkmk/commit/135d7afa3602d73ba583ac65e8d105d9b…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
M cmk/gui/plugins/openapi/endpoints/downtime.py
M cmk/gui/plugins/openapi/endpoints/host.py
M cmk/gui/plugins/openapi/endpoints/service.py
M cmk/gui/plugins/openapi/livestatus_helpers/commands/downtimes.py
Log Message:
-----------
REST API: remove tree_to_expr from endpoints
Change-Id: I432eeaefbbf0bcc4e61eddcbe0cbb09fa7086aca
Commit: be6df8a623c36c2edc3cdad55702cb66d87f5d95
https://github.com/tribe29/checkmk/commit/be6df8a623c36c2edc3cdad55702cb66d…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
REST API: more failsafe checks in decorator
Change-Id: I80c1fa51acef028ad0c690b94f3fca8b8856efad
Commit: 0d49cc3ade19226e13dfac20197825dc29776ea9
https://github.com/tribe29/checkmk/commit/0d49cc3ade19226e13dfac20197825dc2…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/acknowledgement.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_acknowledgement.py
Log Message:
-----------
REST API: acknowledgement for service
* acknowledge_type == 'service' now refers to a specific service
on a specific host
* a new 'host_name' field is introduced and required
* for multiple services, the service_by_query can be used.
* refactor endpoint
* handle all failure cases
* CMK-7177
Change-Id: I04be9432e93514ca756b4c0ff812b7d8fa766e3e
Commit: f74fc0b3f06da081645dda9bbe8f27c585aa383b
https://github.com/tribe29/checkmk/commit/f74fc0b3f06da081645dda9bbe8f27c58…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/activate_changes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_activate_changes.py
Log Message:
-----------
REST API: activate changes
* document 404 case
* fix 500 cases, make them into 404
* add test to verify these 404s
Change-Id: Ib4500ea062b9e6758c9125bad70b8ae6b66e235c
Commit: 0ae9d01772b9723e2590c46b271e4f56ed43a04e
https://github.com/tribe29/checkmk/commit/0ae9d01772b9723e2590c46b271e4f56e…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
Log Message:
-----------
REST API: folders, documentation
* move AttributesField to fields module
* put default description into FolderField
* add "remove_attributes" to edit folder endpoints
* remove static list/dict instances and replace with
type constructors
Change-Id: Ie99ca0a7006164f338873f28eb13dccef038a947
Commit: 69447b131874dc4d00bb660decf7a2277fbd8583
https://github.com/tribe29/checkmk/commit/69447b131874dc4d00bb660decf7a2277…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_config.py
Log Message:
-----------
REST API: host_config, document 409 case
Change-Id: Ifb3d6ec39bb280be403b0f673197f465548455e6
Commit: 917aa6102faea26ab66f0aad74f985b70529af80
https://github.com/tribe29/checkmk/commit/917aa6102faea26ab66f0aad74f985b70…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/livestatus_helpers/commands/acknowledgments.py
Log Message:
-----------
REST API: acknowledgement commands
* document raised exceptions
Change-Id: I074a62d6f40a5c6a97fa1de81b7cd57357c2ffbe
Commit: e82696dfc7dc09f5fa0c1e2dd0c823ef421418bd
https://github.com/tribe29/checkmk/commit/e82696dfc7dc09f5fa0c1e2dd0c823ef4…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
REST API: decorator, remove dead code
* remove superfluous code which overwrites
more detailed messages with less detailed ones
Change-Id: If473c297912fcd75c0d942b106b3ef202fe68e40
Commit: b4a5b3920b3b439a8c88d858f810ec2849fa3839
https://github.com/tribe29/checkmk/commit/b4a5b3920b3b439a8c88d858f810ec284…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/downtime.py
Log Message:
-----------
REST API: downtime, refactor
Change-Id: Ida2e9958a79f70d1d7b9705c752020815f6c088d
Commit: 5f2fb4cc0d55940be59190d9254cca82cd8f6690
https://github.com/tribe29/checkmk/commit/5f2fb4cc0d55940be59190d9254cca82c…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-02-18 (Thu, 18 Feb 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/parameters.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_activate_changes.py
Log Message:
-----------
REST API: add content-type checking
Change-Id: Ieb82af4c9cdf38d330134f29a8b1b1a58a89460d
Compare:
https://github.com/tribe29/checkmk/compare/b229a59240f7...5f2fb4cc0d55