Actions
Bug #28491
openMove stuff from content_view_versions/base.json.rabl to content_view_versions/show.json.rabl
Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
-
Description
The content view versions list index call takes a very long time because of the following attributes in the following file
https://github.com/Katello/katello/blob/master/app/views/katello/api/v2/content_view_versions/base.json.rabl
In my tests commenting out
child :last_event => :last_event do extends 'katello/api/v2/content_view_histories/show' end child :active_history => :active_history do extends 'katello/api/v2/content_view_histories/show' end
Shaved off almost 2 seconds from the index call (I had a CV with 37 versions)
Similarly I shaved off an additional couple of seconds by commenting out
child :archived_repos => :repositories do attributes :id, :name, :label, :content_type, :library_instance_id end
Creating this task to investigate and move stuff from content_view_versions/base.json.rabl to content_view_versions/show.json.rabl
List page should need less details than details page.
Actions