Bug 838686

Summary: Make sure REST api supports ability to give clients with limited access a status of the server
Product: [Other] RHQ Project Reporter: Charles Crouch <ccrouch>
Component: No ComponentAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: low    
Version: 4.4CC: hbrock, hrupp
Target Milestone: ---   
Target Release: RHQ 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-09-01 10:18:43 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 Charles Crouch 2012-07-09 19:25:12 UTC
JON310

From working with Heiko and RHQ Pocket I recall that the status URI:

http://ec2-184-72-193-95.compute-1.amazonaws.com:7080/rest/1/status

requires the requesting user to have MANAGE_SETTINGS permission, iirc.

We should provide a URL that a user can query to make sure the server is up and running, that doesnt require any special privileges, e.g. works for a readonly user.

Comment 1 Heiko W. Rupp 2012-07-10 13:11:05 UTC
$ curl -u joe:doe123 http://localhost:7080/rest/1/status/server.json
{"value":"NORMAL"}

master fce34e6

Comment 2 Heiko W. Rupp 2013-09-01 10:18:43 UTC
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.