Project

General

Profile

Actions

Bug #28491

open

Move stuff from content_view_versions/base.json.rabl to content_view_versions/show.json.rabl

Added by Partha Aji over 4 years ago. Updated over 2 years ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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 #1

Updated by Partha Aji over 4 years ago

Actions #2

Updated by Ian Ballou over 4 years ago

  • Target version set to Katello 4.0.0
  • Triaged changed from No to Yes
Actions #3

Updated by Chris Roberts over 3 years ago

  • Target version changed from Katello 4.0.0 to Katello 3.17.0
Actions #4

Updated by Chris Roberts over 3 years ago

  • Target version changed from Katello 3.17.0 to Katello 3.18.0
Actions #5

Updated by Jonathon Turel over 3 years ago

  • Category set to Content Views
Actions #6

Updated by Jonathon Turel over 3 years ago

  • Target version changed from Katello 3.18.0 to Katello 4.1.0
Actions #7

Updated by Ian Ballou about 3 years ago

  • Blocks deleted (Tracker #28490: katello 4.0 breaking changes tracker)
Actions #8

Updated by Jonathon Turel almost 3 years ago

  • Target version changed from Katello 4.1.0 to Katello 4.2.0
Actions #9

Updated by Justin Sherrill over 2 years ago

  • Target version changed from Katello 4.2.0 to Katello 4.3.0
Actions #10

Updated by The Foreman Bot over 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/9574 added
Actions #11

Updated by Jonathon Turel over 2 years ago

  • Target version changed from Katello 4.3.0 to Katello Backlog

Considering the rework required on the PR I'm moving this to the backlog for now and we can re-prioritize when it's ready for review! Thanks

Actions

Also available in: Atom PDF