Challenge Overview
Project Overview
We want to publish an event to AWS SNS when a contest is created in Cockpit, and the purpose of this contest is to implement this feature.
Competition Task Overview
We want to publish an event to AWS SNS when a contest is created in Cockpit, we want to include the following info in the event:
{
"challengeId": "<challenge-id>",
"cmcTaskId": "<cmc-task-id>"
}
challengeId is the contest id (project id), cmcTaskId comes from project_info which has type id of 70. We don't have the logic to insert cmcTaskId yet, so for now just hard code one, later on we will check and only send those with cmc task id set.
For more info on AWS SNS please refer to this page: http://docs.aws.amazon.com/sns/latest/api/Welcome.html
You need to create a test topic yourself and make this topic configurable in code so that we can switch to our own topic in production without changing code.
I think you can create a free test dev account here: http://aws.amazon.com/free/
SVN
Please email support@topcoder.com to request access to direct trunk and any other SVN paths listed above and below, please include the contest title/link and your user name in the email.
Cockpit: https://coder.topcoder.com/tcs/clients/cronos/applications/direct/trunk
DB Trunk: https://coder.topcoder.com/internal/database/scripts/trunk
VM
VM specific information is found here: http://www.topcoder.com/wiki/display/docs/VM+Image+2.5.
Upon registration as a submitter or reviewer you will need to request a VM based on the new TopCoder Cockpit/Direct image. To request your image, please use the forum.
Before requesting your VM, you need to ensure that you have an SSH key created and in your member profile. Instructions to do so are here:http://www.topcoder.com/wiki/display/projects/Generate+SSH+Key, and instructions to connect afterwards are here: http://www.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.
There is a TC Site Resource page that contains documentation / instructions for the VM instance you will be issued upon request. It is located here:http://www.topcoder.com/wiki/display/projects/Cockpit%2CDirect+VM
Technology Overview
- Java 1.5
- Excel
- Apache POI
- JSP
- Struts 2
- Redhat Linux
- JBoss 4.0.2
- Informix 11
- AWS SNS
Final Submission Guidelines
Submission Deliverables
- Source code which are necessary to meet all the requirements stated above.
- The competitor should provide a deployment document. This document should include a step-by-step guide on how to use and verify the tool.
- Test data to verify your submission.
Final Submission
For each member, the final submission should be uploaded to the Online Review Tool.