Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: e6b121bff7f7408d4ee88d754aa72e735f3f151c
https://github.com/Checkmk/checkmk/commit/e6b121bff7f7408d4ee88d754aa72e735…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
A .werks/16640.md
M cmk/gui/utils/rule_specs/legacy_converter.py
M cmk/gui/validation/visitors/vue_formspec_visitor.py
M cmk/gui/valuespec/to_formspec.py
M cmk/plugins/collection/rulesets/alertmanager.py
M cmk/plugins/collection/rulesets/cert.py
M cmk/plugins/collection/rulesets/httpv2.py
M cmk/plugins/collection/rulesets/sql.py
M cmk/plugins/fritzbox/rulesets/fritzbox.py
M cmk/plugins/memory/rulesets/mem_win.py
M cmk/plugins/mssql/rulesets/backup_per_type.py
M cmk/plugins/mssql/rulesets/utils.py
M cmk/plugins/pure_storage_fa/rulesets/pure_storage_fa.py
M cmk/plugins/sap/rulesets/values.py
M packages/cmk-rulesets/cmk/rulesets/v1/form_specs/_base.py
M packages/cmk-rulesets/cmk/rulesets/v1/form_specs/_levels.py
M packages/cmk-rulesets/cmk/rulesets/v1/rule_specs.py
M tests/unit/cmk/gui/test_valuespec_to_formspec.py
M tests/unit/cmk/gui/utils/rulespecs/test_legacy_converter.py
Log Message:
-----------
Ruleset API: Improve custom validation
To better support the combination of different validation functions, FormSpecs now expect
a sequence of validation functions instead of just one for `custom_validate`.
We need the builtin validators to be recognizable as such during runtime
so that we can implement frontend validation in the future.
CMK-16558
Change-Id: Ib3d5e697aeb813e1ecb88f393c0e0622f909cbb5
Commit: 4f085e4cc7d368f5d2d35977eac19b437f0f3a1b
https://github.com/Checkmk/checkmk/commit/4f085e4cc7d368f5d2d35977eac19b437…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M .werks/16640.md
M cmk/plugins/collection/rulesets/alertmanager.py
M cmk/plugins/collection/rulesets/cert.py
M cmk/plugins/fritzbox/rulesets/fritzbox.py
M cmk/plugins/memory/rulesets/mem_win.py
M cmk/plugins/pure_storage_fa/rulesets/pure_storage_fa.py
M cmk/plugins/sap/rulesets/values.py
M packages/cmk-rulesets/cmk/rulesets/v1/form_specs/validators.py
M packages/cmk-rulesets/tests/form_specs/test_validators.py
Log Message:
-----------
Ruleset API: Rename InRange validator to NumberInRange
In preparation of the addition of another InRange validator
CMK-16558
Change-Id: Idf2b9e652be0ded8d9fdb70214520e2849d789d8
Commit: 196218180962c9768c453fd6191155566d870afb
https://github.com/Checkmk/checkmk/commit/196218180962c9768c453fd6191155566…
Author: Rebekka Seltmann <rebekka.seltmann(a)checkmk.com>
Date: 2024-03-19 (Tue, 19 Mar 2024)
Changed paths:
M .werks/16640.md
M cmk/gui/utils/rule_specs/legacy_converter.py
M cmk/plugins/collection/rulesets/alertmanager.py
M cmk/plugins/collection/rulesets/cert.py
M cmk/plugins/collection/rulesets/httpv2.py
M cmk/plugins/collection/rulesets/sql.py
M cmk/plugins/mssql/rulesets/backup_per_type.py
M cmk/plugins/mssql/rulesets/utils.py
M packages/cmk-rulesets/cmk/rulesets/v1/form_specs/validators.py
M packages/cmk-rulesets/cmk/rulesets/v1/rule_specs.py
M packages/cmk-rulesets/tests/form_specs/test_validators.py
M tests/unit/cmk/gui/utils/rulespecs/test_legacy_converter.py
Log Message:
-----------
Ruleset API: Extend DisallowEmpty validator to LengthInRange
CMK-16558
Change-Id: I62a261def7af6a3d47647a4496494ee0a44eaf38
Compare:
https://github.com/Checkmk/checkmk/compare/5f365f51d885...196218180962
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications