Module: check_mk
Branch: master
Commit: a5b2cc11752dab5528d7081529f70def04d9d847
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a5b2cc11752dab…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Jan 28 11:15:58 2019 +0100
Refactored visual type registration to plugin registry
CMK-1572
Change-Id: I35366d7224ef897098ee10b626183821d39c1f6a
---
cmk/gui/dashboard.py | 43 ++++++++++
cmk/gui/plugins/visuals/__init__.py | 3 +-
cmk/gui/plugins/visuals/utils.py | 73 ++++++++++++++++-
cmk/gui/views.py | 43 ++++++++++
cmk/gui/visuals.py | 151 ++++++++++++++++--------------------
tests/unit/cmk/gui/test_visuals.py | 56 ++++++++++++-
6 files changed, 279 insertions(+), 90 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=a5b2cc1175…