Module: check_mk
Branch: master
Commit: 7d6ec28b8b1dc7a81ef937585501a599711a6ecf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7d6ec28b8b1dc7…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Sat Jan 26 21:49:03 2019 +0100
Refactored LDAP user sync plugins to plugin registry
* Clarified plugin API
* Reduced special cases
* Fixed localization of plugin titles / help texts
* Added tests for plugin registration
* Added no migration code for legacy plugins. A warning will
be shown when legacy plugins are found. You will have to migrate
them after update to 1.6
CMK-1572
Change-Id: I5dc54a112a2a1843b6dd27c851a8011c2d8d7136
---
cmk/gui/plugins/userdb/ldap_connector.py | 1139 +++++++++++++---------
cmk/gui/plugins/wato/utils/__init__.py | 3 -
cmk/gui/userdb.py | 8 +-
cmk/gui/wato/pages/ldap.py | 4 +-
tests/unit/cmk/gui/test_userdb.py | 55 ++
tests/unit/cmk/gui/test_userdb_ldap_connector.py | 129 ++-
6 files changed, 810 insertions(+), 528 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=7d6ec28b8b…