Standardize session and auth plugin CLI loading parameters
In the time between code review for loading Session from cli and auth plugins for cli the function names changed.
This means we now have the case where to load both from argparse looks like:
session.
auth.register_
plugin = auth.load_
sess = session.
whereas in the CONF case both session and auth use the same register_
This always makes me twitch a little when using it, and is not an obvious experience.
Extract an Abstract Base Class with the methods we provide and standarize these options.
I can see this being useful in the future to provide a full keystoneclient.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Jamie Lennox
- Direction:
- Needs approval
- Assignee:
- Jamie Lennox
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Extract the Loadable interface from a plugin
Gerrit topic: https:/