Challenge Overview
Competition Task Overview
Welcome to the Fall from Grace Challenge: Gracefully service failover component in Java���
In this challenge we're looking to build a simple java based component that can gracefully handle the inability to connect to an HTTP(s) based service. It should do this as such:
- takes in a URL
- takes in time out period in seconds
- takes in HTTP method
- domain name extracted from URL
- looks up A records and CNAMEs
- attempts HTTP(s) first IP in list
- waits time out period
- attempts next IP in list
- continues through list until a succesful HTTP(s) connection is made to an IP
- throws exception when no connection returns
Testing
Unit tests are required for the code created in this challenge.
You should also provide a CLI based program to test the API using different parameters.
Setup
- Send an email to lazybaer or wendell or post in the forums to request to be added to the ServiceFailover team on gitlab if you are not already a member
- Once added to the team, fork the repository, if you haven’t already, and work off of the 30049125-HTTPConnection branch
- Add wendell and lazybaer as members of your forked repository.
Technology Overview
- Java 7
- JUnit
- HTTP(s)
Final Submission Guidelines
Submission Deliverables
- Your code changes must be pushed to your private gitlab repo
- Submit a zipped version of your repo to Online Review
- Make sure your submission includes a clear guide to deploy and test / verify your submission
- Once picked as the winner and done with fixes, you're expected to submit a merge request to the specified branch
Final Submission
For each member, the final submission should be uploaded via the challenge detail page on topcoder.com.