Bug 534208 (RHQ-1026)
| Summary: | create a servlet that is deployed in the server to server agent update binaries | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | John Mazzitelli <mazz> |
| Component: | Core Server | Assignee: | John Mazzitelli <mazz> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | unspecified | Keywords: | SubTask |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://jira.rhq-project.org/browse/RHQ-1026 | ||
| Whiteboard: | |||
| Fixed In Version: | 1.2 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 534300 | ||
|
Description
John Mazzitelli
2008-10-25 17:35:00 UTC
svn rev 1846 most of the servlet is done -just need to extract the agent version info and store it so we can serve it back to agents. either that, or get our build scripts to extract the info for us svn rev 1853 the servlet will look for a file in rhq-downloads/rhq-agent called rhq-agent*.jar. If it finds it, it will use that as the agent update binary that gets streamed to the client when HTTP GET /agenetupdate/download in that .jar file, servlet will assume it will find a rhq-agent-update-version.properties file - if it finds it, it will use its content (along with the server's version and build number) to create an internal file that we stream to HTTP clients when they HTTP GET /agentupdate/version. for the most part, this servlet is done. might be able to add more configurability to it later, specifically for the abilty to turn off agent updates. for now, rhq-server.properties has a setting that, if you set to 0, disables agent updates for that server (i.e. HTTP clients cannot access the agentupdate/[version,download] URLs. This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1026 |