| Summary: | Make clients more robust by adding server failover support | ||
|---|---|---|---|
| Product: | [Technology] OSEE | Reporter: | Ryan Brooks <ryan.d.brooks> |
| Component: | OSEE Application Framework | Assignee: | Swapna Mising name <swapna.r> |
| Status: | ASSIGNED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 0.9.9 | ||
| Target Milestone: | 0.9.9 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ryan Brooks
Perhaps the best first step would be to get HTTP requests to failover working using a fixed list of alternative servers. Once that is working to then add support for a dynamic alternative server list. In org.eclipse.osee.framework.core.util.HttpProcessor both post() methods (this method is overloaded) utilizes the class org.apache.commons.httpclient.methods.PostMethod with the class org.apache.commons.httpclient.DefaultHttpMethodRetryHandler for handling retries upon failure. The first option that comes to mind to hook in support for server failover would be to extend HttpMethodRetryHandler to make a customer handler. However, that will probably not let you have the request directed to a different server. |