History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-1109
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: John Mazzitelli
Reporter: John Mazzitelli
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project
RHQ-110

provide server-cloud setting to disable updates

Created: 12/Nov/08 03:38 PM   Updated: 08/Dec/08 07:29 AM
Component/s: Core Server
Affects Version/s: None
Fix Version/s: 1.2

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(33 kb)

Resolution Date: 12/Nov/08 10:57 PM
VCS Revision: 1,987


 Description  « Hide
We need to add a setting to the SystemConfiguration (RHQ_SYSTEM_CONFIG) - a flag that turns on and off the agent's ability to download the agent updates.


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
John Mazzitelli - 12/Nov/08 10:52 PM
to test that this functionality works:

1) go to Administration > ServerConfiguration and choose the "no" radio button for the "Enable Agent Auto-Updates:" (i.e. disable auto-updates)

2) point your browser to http://localhost:7080/agentupdate/download and see that you get a HTTP error code 403 "Agent Updates Has Been Disabled" (see attached screen snapshot for the kind of thing you should see)

3) Go back to the UI and choose the "yes" radio buttno (enable auto-updates)

4) go back to your browser, submit a request to that URL again and see that you can download the binary with an HTTP status code of 200.