Module: check_mk
Branch: master
Commit: dd834385411da59b972409c0a1776209f23ae74a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dd834385411da5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 15 12:00:21 2019 +0200
Create objects for host/service ruleset matching
The RulesetMatchObject() ensures that we have a well crafted data
structure when calling the ruleset matching methods of RulesetMatcher().
CMK-1941
Change-Id: Ie3ee597227be618e1b2eafc96d060a54b0d9026e
---
cmk/utils/rulesets/ruleset_matcher.py | 49 +++++++---
cmk_base/config.py | 26 +++++-
.../cmk/utils/rulesets/test_ruleset_matcher.py | 100 +++++++++++++++------
tests/unit/cmk_base/test_config.py | 53 +++++++++++
4 files changed, 189 insertions(+), 39 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=dd83438541…