Register
Submit a solution
The challenge is finished.

Challenge Overview

Challenge Objectives

  • Update the legacy challenge processor to create the challenge resources and the challenge prizes on challenge creation.

Tech Stack

  • Node.js

  • Apache Kafka

  • InformixDB

  • ElasticSearch

  • DynamoDB

Project Background

In this series of challenges, we will build the version 5 (V5) of the challenge API.

Code Access

Repo: https://github.com/topcoder-platform/legacy-challenge-processor

Branch: develop

 

Repo: https://github.com/topcoder-platform/legacy-challenge-resource-processor

Branch: develop

 

You will also need to deploy the following services locally:

 

Repo: https://github.com/topcoder-platform/challenge-api 

Branch: develop

 

Repo: https://github.com/topcoder-platform/challenge-processor-es

Branch: develop

Detailed requirements

As part of this challenge, you need to update the legacy challenge processor to create the challenge resources and the challenge prizes on challenge creation.

Create Challenge Resources

  • Get the users with permissions on the TC Direct project

  • Add the copilot resource to the challenge

  • For each user in the TC Direct project, create an observer resource to the challenge

 

For this requirement, you don’t have to write directly in the DB. Instead, we have created the https://github.com/topcoder-platform/legacy-challenge-resource-processor which will take care of that by calling the resource API to create the resources.

 

The only thing the legacy-challenge-processor needs to do is to fire a Kafka event that the legacy-challenge-resource-processor will pick up and create the resource.

Create Challenge Prizes

You need to create the challenge prizes of the challenge.

Refer to the Markdown document for the exact details on how to create the prizes.

 

You will find attached on the challenge forum the source code of the legacy v4 challenge API which is written in Java. This is provided just for reference and you are not expected to work on it.

 

You will also find attached a document in Markdown format and a diagram that explains in detail the flow of the legacy app and includes the related SQL queries. You can use those as a guide.

Updating the tests is out of scope.

 

Should you have any questions, feel free to ask on the challenge forum!

What to Submit

Submit a git patch file for the latest commit in the develop branch.

Make sure to mention the exact commit you used so we can apply your patch without issues and a verification document with details on how to verify your submission.

Review style

Final Review

Community Review Board

Approval

User Sign-Off

ID: 30103353