Module: check_mk
Branch: master
Commit: d561e1afd5acfe922d08b96d47c230d195263ea6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d561e1afd5acfe…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Mar 12 20:16:10 2019 +0100
Cleaned up tag config + builtin merging
* Merging of both tag domains is now done by the tag managing
objects on their own using the previously existing merging logic.
* Cleaned up some call sites to config.host_tag_groups and
config.aux_tags on the way to directly use config.tags.
* WATO tag list modes now use the tag object structure during page
rendering instead of the legacy config level structures.
* Cleaned up redundant tests
Next step is to clean up all call sites of config.host_tag_groups
and config.aux_tags to use the tag model objects instead of the
legacy config level data structures.
CMK-1813
Change-Id: I2d3fd0cb2566aebee2b8fadee8ac5077733fa6c1
---
cmk/gui/config.py | 35 ++-----------
cmk/gui/tags.py | 22 ++++++++
cmk/gui/views.py | 69 +++++++++++--------------
cmk/gui/wato/pages/bulk_import.py | 4 +-
cmk/gui/wato/pages/tags.py | 91 ++++++++++++++-------------------
tests/unit/cmk/gui/watolib/test_tags.py | 25 +++++++++
6 files changed, 122 insertions(+), 124 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=d561e1afd5…