Bug 696685 - [RFE] We need an API to retrieve all repos with sync status
Summary: [RFE] We need an API to retrieve all repos with sync status
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: async/tasks
Version: Master
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 15:55 UTC by Jay Dobies
Modified: 2013-09-26 20:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-26 20:38:14 UTC


Attachments (Terms of Use)

Description Jay Dobies 2011-04-14 15:55:50 UTC
Currently, if I want to show a list of all repos, schedules, and their current sync status, it requires a lot of round-tripping.

1 - call to retrieve the repo list
n - for each repo, call to get repo to get scheduling info
n - for each repo, call to get the list of all tasks on the given repo

Even on a local server with only 4 repos, the cost of these calls is noticable. IMO, this sort of view is pretty integral to using/monitoring Pulp and should be supported in a single API call.

Comment 1 Jay Dobies 2012-11-16 14:30:46 UTC
Jason - I think this is possible with the tagging in v2, if I were to do a search for just sync operations and then resolve it against the list of total repos. But there might be an easier way. We'll need this for RHUI. Can you comment if you think this need is reasonably met or if we need to do more work in this area?

Comment 2 Michael Hrivnak 2013-09-26 20:38:14 UTC
This request is very old, and this does not seem to be a problem at this point. Please re-open if you believe there is work to be done on this.


Note You need to log in before you can comment on or make changes to this bug.