Module: check_mk
Branch: master
Commit: 6aa4eeb7d68b4b43e362b35cd8e728593459ae0a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6aa4eeb7d68b4b…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 29 22:52:55 2019 +0100
Rule editor: Refactored whole rule conditions to valuespec
* Encapsulated the single valuespec parts into a single
explicit rule condition valuespec
* Moved conversion of values to the valuespec processing logic
* The valuespec expectes a RuleCondition object and produces
one with from_html_vars()
Sorry for the huge commit :-/. Wasn't able to use a more
incremental way.
Change-Id: I3e7b1651418db803586259e0d978062e20f3fe67
---
cmk/gui/valuespec.py | 22 +--
cmk/gui/wato/pages/rulesets.py | 311 +++++++++++++++++++++++------------------
2 files changed, 186 insertions(+), 147 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=6aa4eeb7d6…