Actions
Feature #9375
closedFind a way for plugins to easily override the behavior of taxonomies controller actions
Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Plugin integration
Target version:
-
Description
Suppose I add an attribute to a foreman object (ie Host). Then I want /api/v2/hosts/:id/update to be able to set that attribute. I don't know of a good way to do that. In Katello, we're currently removing the old foreman route in a routes file, extending the controller with our own hosts controller, and then adding a new route to replace the old one. It's ugly and not a good solution.
Updated by David Davis almost 10 years ago
- Related to Bug #3853: allow rabl overrides to taxonomies_controller added
Updated by David Davis almost 10 years ago
- Related to Feature #3763: Ability for engine/plugin to extend RABL responses added
Updated by David Davis almost 10 years ago
- Related to Bug #6647: Foreman organization API destroy routes (DELETE /api/v2/organizations/1 and DELETE /api/v1/organizations/1) are still accessible added
Updated by David Davis almost 10 years ago
- Related to Bug #6708: Have the /api/v2/organization routes point to our Organization controller in Katello added
Updated by David Davis almost 10 years ago
- Subject changed from Find a way for plugins to easily override the behavior of a controller action to Find a way for plugins to easily override the behavior of taxonomies controller actions
- Status changed from New to Closed
I believe this was actually a special case with the taxonomies controller but I don't specifically recall what the problem was. Will reopen if I think of it.
Updated by Dominic Cleal almost 10 years ago
- Status changed from Closed to Rejected
Actions