Provide a way to proxy calls to a plugin
Provide a generic means of wrapping calls to an existing plugin. This would allow a plugin to generically modify the responses of an existing plugin without the need to subclass it and target a specific plugin
Immediate use cases:
- A plugin that ignores the catalog and returns only a specific endpoint for a service_type. We want this to be a proxy because otherwise we'd need to provide a subclass for every auth plugin type.
- A plugin that always uses the same session. Plugins accept a session object so that they can do things like authenticate. This is generally fine but if you are mixing and matching sessions then you may need the plugin to only authenticate using a specific session. A wrapper could ensure that the session passed to the plugin is always a predefined one instead of the session for the current request.
No-Spec approval: http://
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Jamie Lennox
- Direction:
- Approved
- Assignee:
- Jamie Lennox
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Needs Code Review
- Milestone target:
- None
- Started by
- Jamie Lennox
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add Proxy plugins