<< Back to previous view

[QB-1838] REST call to query build stats directly (without parsing a range of builds)
Created: 07/Nov/13  Updated: 05/Nov/20

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc4, 5.1.0

Type: Improvement Priority: Major
Reporter: Justin Georgeson Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown


 Description   
A REST call to give the build success rate, with an option to qualify the date range. Querying a range of builds of a given state and date range puts a larger strain on system resources of the server than is necessary for getting this metric via REST.

 Comments   
Comment by Robin Shen [ 20/Nov/13 02:07 AM ]
Refer to http://wiki.pmease.com/display/QB51/Interact+with+Configurations
Comment by Justin Georgeson [ 20/Nov/13 05:49 PM ]
The average_duration and success_rate are working when unqualified. The docs indicate the date range is only supported for the success rate (which is fine). When I add the from_date and to_date to the REST call I just receive back "java.lang.IllegalArgumentException" as the response. I confirmed that there are builds within the date range I supplied.
Comment by Maciej M [ 05/Nov/20 02:40 PM ]
Hello robin,

This issue still occurs in QB 10.0.21, 2020-07-08

our query :

<url>/rest/configurations/1/average_duration?from_date=2020-11-01&to_date=2020-11-03
Generated at Sun May 05 21:11:03 UTC 2024 using JIRA 189.