Register
Submit a solution
The challenge is finished.

Challenge Overview

Background 

TopCoder is considering to refactor the TC Direct application by using RESTful APIs instead of calling various EJBs, which will allow us to begin decoupling TC Direct from its existing backend and provide exposure to some of its core services. As a first step, we want to avoid rewriting some of the complex business logic.

For the initial stage, we'd like to use AWS Lambda Function and AWS API Gateway to wrap around the EJB calls, and make the TC Direct to call the AWS API gateway instead.  This way we isolate the depenencies with TC Direct and EJB services, then we can move ahead quickly.

Scope

Previously in Proof Of Concept - AWS Lambda Function to Invoke Direct EJB Service, We have sorted out the way to use AWS Lambda Function to wrap arround the EJB Calls.

For this challenge, we'd like to follow the same approach to create AWS Lambda Function for creating challenge operation (save draft challenge).

The lambda function will going to mimic the same logic as in com.topcoder.direct.services.view.action.contest.launch.SaveDraftContestAction, and make remote EJB calls to ContestServiceFacade.

the code logic for activateSoftwareCompetition can be ignored.

Reference

1. Competitors need to request your own VM for development and testing.

2. For testing the create challenge operation, there need to preset data like project id, milestone id etc, you can directly create in Topcoder Direct and use it.

3. You can visit http://<<vm-ip>>:8580/ to find the JNDI lookup name for remote EJB calls.

4. Please reuse any components in TC Direct instead of creating your own if possible.

VM ENVIRONMENT

If you need a TopCoder VM to work on this challenge, Please request the VM in the challenge forum.

Information about VM can be found below:

VM specific information is found here: http://www.topcoder.com/wiki/display/docs/VM+Image+2.5 and https://github.com/appirio-tech/direct-app/blob/dev/README.md

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.



Final Submission Guidelines

  • Complete source code for aws lambda function
  • Working VM and aws lambda function for testing
  • Deployment Guide and Verification Documentation

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30053494