Files
keystoneauth/keystoneauth1
Jamie Lennox bc614288b7 Add available flag to plugin loaders
Currently when iterating through plugins all plugins are loaded and
returned to the user. This is confusing for things like the kerberos
plugin where the required dependencies may not be available.

Add an available property on plugin loaders. Plugins that do not wish to
be shown to users can set available to false.

The lack of tests on this patch is unfortunate however any testing
involes a lot of mocking at levels lower than keystoneauth interact with
(i've tried). We would need to mock the pkg_resources layer that
stevedore uses and are essentially testing that EnabledExtensionManager
is doing the right thing.

I encourage people to verify this manually.

Closes-Bug: #1589740
Change-Id: I446441467ef32f7bc916221991388ac528df48f4
2016-06-07 13:30:10 +10:00
..
2016-05-10 14:31:59 +10:00
2016-04-19 06:35:59 +00:00
2016-04-18 21:20:51 +00:00