Project

General

Profile

Actions

Feature #3763

closed

Ability for engine/plugin to extend RABL responses

Added by Joseph Magen almost 11 years ago. Updated over 6 years ago.

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

Related issues 11 (2 open9 closed)

Related to Foreman - Bug #3853: allow rabl overrides to taxonomies_controllerClosedThomas McKay12/11/2013Actions
Related to Foreman - Feature #9375: Find a way for plugins to easily override the behavior of taxonomies controller actionsRejected02/13/2015Actions
Related to OpenSCAP - Bug #16490: API lacks ability to modify/specify hostgroup openscap capsule via API or hammer cliClosedMarek Hulán09/08/2016Actions
Related to Docker - Bug #12116: `hammer compute-resource create -h` do not mention DockerNew10/08/2015Actions
Related to Katello - Bug #16812: Replace controller extensions with apipie extensionsAssignedActions
Related to Foreman - Feature #16630: Need a way to extend existing apipie specificationClosed09/21/2016Actions
Related to Foreman Remote Execution - Bug #20713: REST API /api/hosts/:id/interfaces doesn't show REX attributeDuplicateNagoor Shaik08/23/2017Actions
Related to Foreman - Bug #22080: uninitialized constant ActionView::Template::Handlers::RablClosedTimo Goebel12/27/2017Actions
Blocks Katello - Tracker #8161: Host UnificationRejected

Actions
Blocks Katello - Refactor #9378: Need to handle the organization controllerRejectedActions
Blocks Foreman Remote Execution - Feature #20689: Remote execution interface not accessible by APIClosedActions
Actions #2

Updated by Dominic Cleal almost 11 years ago

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

Updated by Joseph Magen over 10 years ago

  • Target version set to 1.8.3
Actions #4

Updated by Joseph Magen over 10 years ago

  • Target version deleted (1.8.3)
Actions #5

Updated by Stephen Benjamin over 9 years ago

  • Subject changed from ability for engine/plugin to extend rabl api view/response to Ability for engine/plugin to extend API documentation and RABL responses
  • Category changed from API to Plugin integration
  • Assignee deleted (Joseph Magen)
Actions #6

Updated by Stephen Benjamin over 9 years ago

We really want to have such a feature for Katello. And same for Salt. This is especially important for hosts and hostgroups.

I have a working example...

I'd like to add something like this to Foreman:
https://github.com/stbenjam/foreman/commit/ffc9009a99aa63e2b402ae5f7e8c95f61c7effb5

And the corresponding plugin extensions might look something like this:
https://github.com/stbenjam/katello/commit/6d5c1a96664e1b3c1b25a7ba16f024c82f413b8a

The idea probably needs some work, so we can get the dynamic methods (_id -> _name) in the attributes as well, and somehow get hammer to dynamically fetch them in the details output.

Actions #7

Updated by Ivan Necas over 9 years ago

Stephen: I like this approach a lot.

Actions #8

Updated by Stephen Benjamin over 9 years ago

Actions #9

Updated by David Davis over 9 years ago

  • Related to Feature #9375: Find a way for plugins to easily override the behavior of taxonomies controller actions added
Actions #10

Updated by David Davis over 9 years ago

  • Blocks Refactor #9378: Need to handle the organization controller added
Actions #11

Updated by Ori Rabin over 8 years ago

  • Status changed from Assigned to New
Actions #12

Updated by Dominic Cleal almost 8 years ago

  • Has duplicate Feature #16630: Need a way to extend existing apipie specification added
Actions #13

Updated by Dominic Cleal almost 8 years ago

https://github.com/Apipie/apipie-rails/issues/330 describes extensions to API docs.

Actions #14

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #16490: API lacks ability to modify/specify hostgroup openscap capsule via API or hammer cli added
Actions #15

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #12116: `hammer compute-resource create -h` do not mention Docker added
Actions #16

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #16812: Replace controller extensions with apipie extensions added
Actions #17

Updated by Ivan Necas almost 8 years ago

  • Has duplicate deleted (Feature #16630: Need a way to extend existing apipie specification)
Actions #18

Updated by Ivan Necas almost 8 years ago

  • Related to Feature #16630: Need a way to extend existing apipie specification added
Actions #19

Updated by Ivan Necas almost 8 years ago

I think the api docs and rabl extendability are two separate issues, and therefore http://projects.theforeman.org/issues/16630 doesn't duplicate the whole issue here. Alternatively, I would suggest limiting the scope of this issue to RABL only

Actions #20

Updated by Ivan Necas about 7 years ago

  • Subject changed from Ability for engine/plugin to extend API documentation and RABL responses to Ability for engine/plugin to extend RABL responses
Actions #21

Updated by Ivan Necas about 7 years ago

  • Blocks Feature #20689: Remote execution interface not accessible by API added
Actions #22

Updated by Timo Goebel almost 7 years ago

  • Related to Bug #20713: REST API /api/hosts/:id/interfaces doesn't show REX attribute added
Actions #23

Updated by The Foreman Bot almost 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Timo Goebel
  • Pull request https://github.com/theforeman/foreman/pull/5048 added
Actions #24

Updated by Shimon Shtein almost 7 years ago

  • Translation missing: en.field_release set to 296
Actions #25

Updated by Timo Goebel almost 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #26

Updated by Anonymous almost 7 years ago

  • Related to Bug #22080: uninitialized constant ActionView::Template::Handlers::Rabl added
Actions

Also available in: Atom PDF