Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: d7e5714ff6d52fe8c4aef28da94a34f474e4872b
https://github.com/tribe29/checkmk/commit/d7e5714ff6d52fe8c4aef28da94a34f47…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/hooks.py
M cmk/gui/plugins/wato/builtin_attributes.py
M cmk/gui/wsgi/__init__.py
M cmk/gui/wsgi/middleware.py
M tests/unit/cmk/gui/test_gui_hooks.py
A tests/unit/cmk/gui/wsgi/test_wsgi_hooks.py
Log Message:
-----------
REST API: introduce pre/post req hooks, tag cache
Change-Id: Ia0049dfdd0438f9b91d89cc8addbade338678a2b
Commit: 0bddc861b60a4373aa9b5c088e865efcde00fd16
https://github.com/tribe29/checkmk/commit/0bddc861b60a4373aa9b5c088e865efcd…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/utils/tags.py
Log Message:
-----------
tags: typing
Change-Id: I261e98519b056ad2bcccef2f231a5643d9902b1a
Commit: e8b37925aee6f36b02fd1b2a7a8c200c9b7bf684
https://github.com/tribe29/checkmk/commit/e8b37925aee6f36b02fd1b2a7a8c200c9…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/openapi.py
M cmk/gui/wsgi/applications/rest_api.py
M tests/unit/cmk/gui/plugins/openapi/test_spec_files.py
Log Message:
-----------
REST API: spec generation
Change-Id: I868a9ddcc4aeddbea430ce6061a4b002ce5e2632
Commit: 98ee1e8d96186447f6414b2b14b28c22c5e10fe7
https://github.com/tribe29/checkmk/commit/98ee1e8d96186447f6414b2b14b28c22c…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
A .werks/12375
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/restful_objects/type_defs.py
Log Message:
-----------
12375 API host_config: modifying the folder link of the served host
In the previous version, the folder link of the served host was part of
the members. This is now moved to the links with this change. In addition,
the original rel is changed from using the folder id to using the canonical
path of the folder. Since the canonical path of the folder may change during
the course, an additional link (permalink) is add based on the folder id. Both
links can be used to retrieve the folder config.
Change-Id: Ia639e8445a6466f08b5f85781e3928aaceeb0681
Commit: 2ce6a4b1134dd94f82d1a5bdd35623e3e303cc90
https://github.com/tribe29/checkmk/commit/2ce6a4b1134dd94f82d1a5bdd35623e3e…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
A .werks/12371
M cmk/gui/plugins/openapi/endpoints/user_config.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_user.py
Log Message:
-----------
12371 API: adjusting content of user endpoints which return the user attributes
This change makes some small modifications to the returned user attributes
when calling the user create or update endpoints. The format of the returned
attributes is now conform to the format of the request body when calling those
endpoints.
Change-Id: I6892ee447e5775cb69ccd18442edcaf7470e0a8a
Commit: 8dcbf49ba8d33e4d322ee430ad34e04554c31d35
https://github.com/tribe29/checkmk/commit/8dcbf49ba8d33e4d322ee430ad34e0455…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
M cmk/gui/plugins/openapi/utils.py
M cmk/gui/plugins/wato/builtin_attributes.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
REST API: new attributes field
* dynamically generate attribute schemas for each context (host,
cluster, folder, create, update)
* more typing
Change-Id: Ia50eb8e2e9595f0c5e84693e71436f3e2da23b0a
Commit: 7f829cf54661d94f778d1c693b6abdc3a66db2be
https://github.com/tribe29/checkmk/commit/7f829cf54661d94f778d1c693b6abdc3a…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/fields.py
Log Message:
-----------
REST API: fix folder crashes
Change-Id: I6587f05ae872da78830dae292b88ba1d2eaaa0f3
Commit: 24299c1a58a838f7fc046403a7d95fbe8d608267
https://github.com/tribe29/checkmk/commit/24299c1a58a838f7fc046403a7d95fbe8…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
REST API: decorators, typing
Change-Id: I9bde1fefdac46447f78940c7c4156862a9859c14
Commit: 45d1bf1ec3b56edca7a5dee91edec31134a57f2a
https://github.com/tribe29/checkmk/commit/45d1bf1ec3b56edca7a5dee91edec3113…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/utils.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_host_config.py
Log Message:
-----------
REST API: fix attributes documentation
Change-Id: I061c0a5fc67377da32818962b203f61ebee8de19
Commit: 74cc1ae28a8fdfbad1dbf7c3e9782a781d048950
https://github.com/tribe29/checkmk/commit/74cc1ae28a8fdfbad1dbf7c3e9782a781…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 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: response validation
Allow skipping of response validation when the content type is not
'application/json'
Change-Id: I92fc6634d593782c3fbc8bc3ab88507c517b3d0b
Commit: d1adbd924ea9733f2ce43798214ac7500949d663
https://github.com/tribe29/checkmk/commit/d1adbd924ea9733f2ce43798214ac7500…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
REST API: git commit even when not validating
Even if an endpoint doesn't allow validation and thus
the validation is skipped, we still want to git-commit
any pending changes if the response is ok.
Change-Id: Icbeb5e845514f0d4d15ff21980c93b1499ff1762
Commit: cb1a67ecbb070475fec6764295ad9f1f2eed39e0
https://github.com/tribe29/checkmk/commit/cb1a67ecbb070475fec6764295ad9f1f2…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/utils.py
Log Message:
-----------
REST API: remove dead code
Change-Id: I850c33a162a9c56a3e64410ce47c2dca84b35b8d
Commit: 7360f3b334bd67c541fe3fa8f4cbc75900ac124c
https://github.com/tribe29/checkmk/commit/7360f3b334bd67c541fe3fa8f4cbc7590…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/fields.py
M cmk/gui/plugins/openapi/restful_objects/request_schemas.py
Log Message:
-----------
REST API: move custom fields to fields module
Change-Id: I1ec201e2a532f300f8f98efb5f912ea409aedeeb
Commit: 9a2ef1f47879d84510313d74cb60baa6ff9c7994
https://github.com/tribe29/checkmk/commit/9a2ef1f47879d84510313d74cb60baa6f…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
REST API: content types
* unset content type on empty responses
* always use "application/octet-stream" for agent downloads
Change-Id: I2eaa991b765fb792e8324a9cde6dd4e1bbb959d1
Commit: f07ca2593effa41599d16d4991394a7219fc88cc
https://github.com/tribe29/checkmk/commit/f07ca2593effa41599d16d4991394a721…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/watolib/hosts_and_folders.py
Log Message:
-----------
REST API: folders, don't crash on missing unique-id
Change-Id: I4459a0d3667b24bd83306510e92ba9671600aaff
Commit: f119214deacee53825cb459a19313c1a7f55c021
https://github.com/tribe29/checkmk/commit/f119214deacee53825cb459a19313c1a7…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
A .werks/12667
M cmk/gui/plugins/openapi/restful_objects/code_examples.py
M cmk/gui/plugins/openapi/restful_objects/decorators.py
Log Message:
-----------
12667 FIX API agent: fixing the download agent endpoint
In the previous version, the download agent endpoint
did not work and raised a 500 error. This werk fixes
this behavior and additionally updates the code example
in the REST API documentation.
Change-Id: Ic43b73a17073563757126ef8c5238b43d69e208d
Commit: c85a67fa0015e3a00065a2fa0174afec1400cea3
https://github.com/tribe29/checkmk/commit/c85a67fa0015e3a00065a2fa0174afec1…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 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/restful_objects/specification.py
Log Message:
-----------
REST API: improve status query documentation
Change-Id: I3076263f52360ae625a2f6dd890cdf09620e8395
Commit: cea07b6f6196e84d9699e3ce1b30100d44f03a95
https://github.com/tribe29/checkmk/commit/cea07b6f6196e84d9699e3ce1b30100d4…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: backwards compat policy
Change-Id: Ie56f6f7b53b5f0d05fd581e3cd619135bb0c2f1f
Commit: c4da14064971071d4c43970ea5a0d3c4de167a98
https://github.com/tribe29/checkmk/commit/c4da14064971071d4c43970ea5a0d3c4d…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M cmk/gui/plugins/openapi/endpoints/host_config.py
M cmk/gui/plugins/openapi/endpoints/utils.py
M cmk/gui/plugins/openapi/fields.py
Log Message:
-----------
REST API: folder path is the canonical identity
Change-Id: Ibba9fecf64073efd22390c574aeae0474639b331
Commit: bea53d5786050e8431f3c5c84d73765f8b08741d
https://github.com/tribe29/checkmk/commit/bea53d5786050e8431f3c5c84d73765f8…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/specification.py
Log Message:
-----------
REST API: doc updates
Change-Id: I711271d74a5d7a7b2b5aaec39954b1a695bc27ab
Commit: ae3f032fce400213e91c9a3a598561119d3e0eea
https://github.com/tribe29/checkmk/commit/ae3f032fce400213e91c9a3a598561119…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/decorators.py
M cmk/gui/plugins/openapi/restful_objects/params.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: enforce descriptions on ALL fields, input and output
Change-Id: I5e456b4d0661e75cc1f616688eeec33fd853d5ec
Commit: a9035254eef6d67d0460ad3b23cae8ecbb16ce5b
https://github.com/tribe29/checkmk/commit/a9035254eef6d67d0460ad3b23cae8ecb…
Author: Christoph Rauch <christoph.rauch(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
M cmk/gui/plugins/openapi/restful_objects/code_examples.py
Log Message:
-----------
REST API: code examples, remove dead code
Change-Id: I5dbb6329d6cd6db996450e528b69784d47c3c517
Commit: 80780b457e5f75fb7094e8223032fc502448e6b3
https://github.com/tribe29/checkmk/commit/80780b457e5f75fb7094e8223032fc502…
Author: Wontek Hong <wontek.hong(a)tribe29.com>
Date: 2021-05-31 (Mon, 31 May 2021)
Changed paths:
A .werks/12668
M cmk/gui/plugins/openapi/endpoints/folder_config.py
M tests/unit/cmk/gui/plugins/openapi/test_openapi_folder_config.py
Log Message:
-----------
12668 FIX API folder_config: fixing the show endpoint which did not work for the root
folder
In the previous version, it was not possible for the get the root folder
through the show endpoint. This werk fixes this behavior.
Change-Id: I33d6d1b5cbbacf60a8202558bdd2b0259a8f413e
Compare:
https://github.com/tribe29/checkmk/compare/d8eaf818526a...80780b457e5f