Module: check_mk
Branch: master
Commit: 7b92d653c44212a277f96ee0d2ba7d7c7da4a598
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7b92d653c44212…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sun Mar 24 22:08:44 2019 +0100
Made tag value selection more flexible
* Since the tags are now identified by a combination of the tag
group ID and the tag ID, like e.g. <tt>criticality:prod</tt>,
the tag IDs don't need to be be unique anymore compared to
other tag groups or the auxiliary tags. The tag IDs only need
to be unique within a single tag group.
* Cleaned up tag config validation handling. The validation is now
done after the config modifications have been made to the
TagConfig structure. Don't call the validation during config
loading anymore, because this prevented repairing actions using
the GUI.
* Cleaned up tag config insertion tests a bit
CMK-1815
Cleanup tag config validation
Change-Id: Iee6bc8bfcd925a649d358a188b25b0e7b785d082
---
cmk/gui/plugins/webapi/webapi.py | 1 +
cmk/gui/tags.py | 44 ++++++++++--------------------
cmk/gui/wato/pages/tags.py | 14 +++++-----
tests/unit/cmk/gui/test_gui_tags.py | 53 ++++++++++++++++++++++++++++---------
4 files changed, 61 insertions(+), 51 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=7b92d653c4…