Project

General

Profile

Actions

Feature #9375

closed

Find a way for plugins to easily override the behavior of taxonomies controller actions

Added by David Davis almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Plugin integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 4 (0 open4 closed)

Related to Foreman - Bug #3853: allow rabl overrides to taxonomies_controllerClosedThomas McKay12/11/2013Actions
Related to Foreman - Feature #3763: Ability for engine/plugin to extend RABL responsesClosedTimo Goebel11/26/2013Actions
Related to Katello - Bug #6647: Foreman organization API destroy routes (DELETE /api/v2/organizations/1 and DELETE /api/v1/organizations/1) are still accessibleClosedDavid Davis07/16/2014Actions
Related to Katello - Bug #6708: Have the /api/v2/organization routes point to our Organization controller in KatelloRejected07/21/2014Actions
Actions #1

Updated by David Davis almost 10 years ago

  • Related to Bug #3853: allow rabl overrides to taxonomies_controller added
Actions #2

Updated by David Davis almost 10 years ago

  • Related to Feature #3763: Ability for engine/plugin to extend RABL responses added
Actions #3

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
Actions #4

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
Actions #5

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.

Actions #6

Updated by Dominic Cleal almost 10 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF