Feature #25440
closedDeprecate applicable_errata in Host Bulk Actions API response
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.
Updated by Jonathon Turel about 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|da1dc56012749d29d016243ce86fe73bc6f96245.