Bug 907029 - Unable to Retrieve Reports
Summary: Unable to Retrieve Reports
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: REST
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHQ 4.6
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-02 19:17 UTC by Fernando Ribeiro
Modified: 2013-08-31 10:12 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-31 10:12:51 UTC
Embargoed:


Attachments (Terms of Use)

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.


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