Bug 907029

Summary: Unable to Retrieve Reports
Product: [Other] RHQ Project Reporter: Fernando Ribeiro <fernando.ribeiro>
Component: RESTAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.5CC: lzoubek
Target Milestone: ---   
Target Release: RHQ 4.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 10:12:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fernando Ribeiro 2013-02-02 19:17:02 UTC
Description of problem:

All attempts to retrieve reports fail with the following message:

com.sun.jersey.api.client.UniformInterfaceException: GET http://localhost:7080/coregui/reports/alertDefinitions returned a response status of 503 Service Unavailable
	at com.sun.jersey.api.client.WebResource.handle(WebResource.java:686)
	at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74)
	at com.sun.jersey.api.client.WebResource$Builder.method(WebResource.java:621)

Version-Release number of selected component (if applicable):

4.5.1

How reproducible:

Steps to Reproduce:
1. Retrieve a report
2. Verify error message
  
Actual results:

The report is not returned.

Expected results:

The report is returned.

Additional info:

Comment 1 Heiko W. Rupp 2013-02-04 08:56:38 UTC
Those reports are meant to be served from a user looking at coregui.
I will add access from the normal /rest/ module that uses the normal rest-api auth mechanism

Comment 2 Fernando Ribeiro 2013-02-04 15:43:31 UTC
Great, thanks!

Comment 3 Heiko W. Rupp 2013-02-06 11:41:43 UTC
Reports are now available at /rest/reports

That endpoint also lists the available reports.
The main index links to that endpoint.
Tests have been added
Docs generator has bee overhauled

master e4493c7

Comment 4 Fernando Ribeiro 2013-02-09 22:08:14 UTC
Great, thanks!

Comment 5 Heiko W. Rupp 2013-08-31 10:12:51 UTC
Bulk close of old bugs in VERIFIED state.