Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 14cb2c9bafc77f66fd18ad4a058b6a0f01f7960d
https://github.com/tribe29/checkmk/commit/14cb2c9bafc77f66fd18ad4a058b6a0f0…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-09 (Fri, 09 Oct 2020)
Changed paths:
M cmk/gui/valuespec.py
M tests/unit/cmk/gui/test_valuespec.py
Log Message:
-----------
Extend valuespecs to support transformation of given values
The valuespec classes have now been extended by a "transform_value" call
which task is to just execute the transformations of the encapsulated
Transform valuespects on the given data structure and return the
transformed data structure.
This will be used to migrate the values of existing rules during
Checkmk updates in a general way.
Change-Id: I704a81ad437975f1c42918d8a96a63c15f1a0333
Commit: 64e9bda9f0aa87e65c6e48e319919c1ea4fe7b65
https://github.com/tribe29/checkmk/commit/64e9bda9f0aa87e65c6e48e319919c1ea…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2020-10-09 (Fri, 09 Oct 2020)
Changed paths:
M cmk/update_config.py
M tests/unit/cmk/test_update_config.py
Log Message:
-----------
Generalize rule value transformation during cmk-update-config
The step "Rewriting WATO rulesets" of the cmk-update-command is now
executing a full value transformation using the existing valuespec logic
for ALL known rulesets in the rules.mk files controlled by WATO.
This means: After a successful Checkmk update all ruleset consuming code
can now assume that the received values are streamlined by the
transformation logic.
Change-Id: I267a386c4358f69b7966ed85f0b3b716b0c358dc
Compare:
https://github.com/tribe29/checkmk/compare/f8af970248e0...64e9bda9f0aa