Bug #20862
Katello overrides apipie definition for hostgroups
Description
When some plugins wants to extend hostgroup API (e.g. foreman_openscap) through mechanisms supported either by core or by apipie-rails, Katello overrides the attribute set. What's worse, it overrides the hostgroup param group with the out of date list of attributes, effectively hiding description attribute. Katello should start using apipie-rails 0.5.2 new feature to extend the documentation with built-in helper.
This is a blocker for foreman_openscap critical fix, please consider it for Katello 3.4.6 release.
Related issues
Associated revisions
History
#1
Updated by Marek Hulán almost 5 years ago
- Related to Bug #16484: Cannot create new hostgroup via API/CLI added
#2
Updated by Marek Hulán almost 5 years ago
- Blocks Bug #16490: API lacks ability to modify/specify hostgroup openscap capsule via API or hammer cli added
#3
Updated by The Foreman Bot almost 5 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/6937 added
#4
Updated by Marek Hulán almost 5 years ago
if this is accepted to 3.4, please let me know, we'd need to bump apipie-rails in our 1.15 since it contains 0.4.0 only repos https://github.com/theforeman/foreman-packaging/tree/rpm/1.15/rubygem-apipie-rails
#5
Updated by Justin Sherrill almost 5 years ago
- Legacy Backlogs Release (now unused) set to 295
#6
Updated by Justin Sherrill almost 5 years ago
- Copied to Bug #20863: Katello overrides apipie definition for Smart Proxies added
#7
Updated by Marek Hulán almost 5 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|ef09200425f7d2679e976f22b0a0952b881aca08.
#8
Updated by The Foreman Bot almost 5 years ago
- Pull request https://github.com/Katello/katello/pull/6943 added
#9
Updated by Marek Hulán almost 5 years ago
- Pull request deleted (
https://github.com/Katello/katello/pull/6943)
Fixes #20862 - correctly extend hostgroup API