bc614288b7766bee296ae748b7b8029e170ce2ad
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
keystoneauth
This package contains tools for authenticating to an OpenStack-based cloud. These tools include:
- Authentication plugins (password, token, and federation based)
- Discovery mechanisms to determine API version support
- A session that is used to maintain client settings across requests (based on the requests Python library)
Further information:
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/keystoneauth
- Source: http://git.openstack.org/cgit/openstack/keystoneauth
- Bugs: http://bugs.launchpad.net/keystoneauth
Description
Languages
Python
100%