-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(SIMP-10376) Fix simpkv plugin API issues (#62)
Fix two simpkv plugin API issues found when developing the LDAP plugin * Fixed the mechanism a plugin uses to advertise its type. - Plugin type is now determined from its filename. - Previous mechanism did not work when when multiple plugins were used. It erroneously used a class method `type`, which for each anonymous plugin class, polluted the Class object namespace, instead of being associated with its anonymous class. * Changed the plugin configuration API - Configuration has been split out into its own method, instead of being done in the plugin constructor. - This minimal change simplifies unit testing of configuration of complex plugins. SIMP-10376 #close
- Loading branch information
1 parent
1fb1c42
commit 6288b02
Showing
13 changed files
with
236 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.