Project

General

Profile

Feature #25440

Deprecate applicable_errata in Host Bulk Actions API response

Added by Shimon Shtein over 1 year ago. Updated 29 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Hosts
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

host_bulk_actions_controller uses erratum.json.rabl for applicable_errata and installable_errata actions. This template contains non-paginated list of hosts available for each specific erratum. The list is generated by using a query for each erratum object.

My suggestion is removing this list from erratum API response and changing the UI to query hosts list only when the erratum details are shown.

To maintain backwards compatibility with previous API response, I suggest adding special parameter "compatibility_mode" to the request. When this parameter will be set to true, the system would behave as it was previously (it will be much slower, but will send hosts list as part of the response). Default behavior would be removing the list in favor of much faster response times.


Related issues

Blocked by Katello - Bug #27679: content hosts bulk errata pages should not use 'applicable_hosts'Closed

Associated revisions

Revision da1dc560 (diff)
Added by Jonathon Turel about 1 month ago

Fixes #25440 - Deprecate applicable_hosts field in hosts bulk actions APIs

History

#1 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Shimon Shtein
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7829 added

#2 Updated by Andrew Kofink over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.10.0

#3 Updated by Christine Fouant over 1 year ago

  • Target version changed from Katello 3.10.0 to Katello 3.11.0

#4 Updated by John Mitsch about 1 year ago

  • Target version changed from Katello 3.11.0 to Katello 3.12.0

#5 Updated by Chris Roberts 11 months ago

  • Triaged changed from Yes to No
  • Target version changed from Katello 3.12.0 to Katello 3.13.0

#6 Updated by Andrew Kofink 11 months ago

  • Triaged changed from No to Yes

#7 Updated by Justin Sherrill 7 months ago

  • Blocked by Bug #27679: content hosts bulk errata pages should not use 'applicable_hosts' added

#8 Updated by Jonathon Turel 7 months ago

  • Target version changed from Katello 3.13.0 to Katello 3.14.0

#9 Updated by Jonathon Turel 4 months ago

  • Target version changed from Katello 3.14.0 to Katello 3.15.0

#10 Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/Katello/katello/pull/8576 added

#11 Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases Katello 3.16.0 added

#12 Updated by Jonathon Turel about 1 month ago

  • Status changed from Ready For Testing to Closed

#13 Updated by Jonathon Turel 29 days ago

  • Tracker changed from Bug to Feature

#14 Updated by Jonathon Turel 29 days ago

  • Subject changed from Host bulk actions have query as part of RABL templates. to Deprecate applicable_errata in Host Bulk Actions API response

#15 Updated by Jonathon Turel 29 days ago

  • Category set to Hosts

Also available in: Atom PDF