Java Service Failover - HTTP(s) Connection Assembly

Register
Submit a solution
The challenge is finished.

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

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.

Review style

Final Review

Community Review Board

Approval

User Sign-Off

Challenge links

ID: 30049125