Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: 9a4f55b266037012e30e5069c52d78acb405d127
https://github.com/Checkmk/checkmk/commit/9a4f55b266037012e30e5069c52d78acb…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M packages/cmk-mkp-tool/Pipfile.lock
Log Message:
-----------
Update Pipfile.lock
Change-Id: I3f9ab0c4bde6491016f98b2e40abe09d391dc91e
Commit: dba907bf6931045a3d4135e89d97bf3305c721b6
https://github.com/Checkmk/checkmk/commit/dba907bf6931045a3d4135e89d97bf330…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2023-11-10 (Fri, 10 Nov 2023)
Changed paths:
M cmk/gui/fields/base.py
M cmk/gui/fields/definitions.py
M cmk/gui/openapi/endpoints/host_config/response_schemas.py
M cmk/gui/openapi/registration.py
Log Message:
-----------
Compute host attribute fields after application has been loaded
Previously during import time of the host_config request and response
schema modules the host attributes were needed to compute the schema for
the related endpoints.
This required all host attribute definitions to be loaded before the
import happened. This implicit dependency is error prone. It can also
not be made explicit easily since we have a few attributes which are
only available conditionally (e.g. bake_agent_package).
The idea of this change is now to perform the definition of these
attributes later, after the whole application has been loaded. This
way the import order does not matter anymore.
With this change we can get rid of another layer violation, a hack we
had to make to make the host and folder endpoint registration work.
Change-Id: Id902df18c2dbaa1b738cd07ff498bc5f3a2f4d34
Compare:
https://github.com/Checkmk/checkmk/compare/bcaf9d89f425...dba907bf6931