TopCoder Direct - Add Marathon Payments part 1

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

In the challenge, we want to add the payment from the Marathon Match to multiple places in TopCoder Direct.

Requirements Details

The marathon match payments are stored in the informixoltp:payment_detail table like all the other payments, but they have column algorithm_round_id set while the columns component_project_id and cockpit_project_id are NULL. For the Marathon Match challenge, the algorithm_round_id is stored in project_info type (56, Marathon Match Id).

Challenge Receipt Tab

  • Add this payment into the challenge receipt tab of Marathon Match challenge.
  • The challenge receipt tab is https://www.topcoder.com/direct/contest/receipt.action?projectId=<challengeID>

Project Overview Page

  • Update the project overview page to include amount of these payments into the *Actual Cost* in Project Information section and *Total Member Cost* of Project Stats.
  • The project overview page is https://www.topcoder.com/direct/projectOverview.action?formData.projectId=<directProjectID>

Invoice Report page

  • Update the invoice report page to include the Marathon Match payment. It belongs to challenge type Marathon Match and Payment Type Winner
  • The Marathon Match payment use the payment type id 66 - Marathon Match Non-Taxable Payment
  • The invoice report is https://www.topcoder.com/direct/dashboardBillingCostReport.action

Challenge Cost Analysis Report page

  • Update the challenge cost analysis report page to include the Marathon Match payment. It belongs to challenge type Marathon Match
  • Cost row for Marathon Match challenge should count all these payments in.
  • Note that the challenge cost aggregation and breakdown should be updated too. For breakdown, these payments belong to the category Prizes
  • The Marathon Match payment use the payment type id 66 - Marathon Match Non-Taxable Payment
  • The challenge cost analysis report is https://www.topcoder.com/direct/dashboardCostReport.action 

Environments

VM Environment

You need a TopCoder VM to work on this challenge.

Information about VM can be found below:

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.

For the direct on VM, please do not use the /home/direct/direct as your work base. Instead you should git clone from https://github.com/cloudspokes/direct-app into another direct for example /home/direct/direct-app.

  • Copy token.properties and topcoder_global.properties from the /home/direct/direct to /home/direct/direct-app
  • Update topcoder_global.properties to point to the new location  /home/direct/direct-app
    • ���Add a new line direct_service_libdir=${libdir}/tcs/ejb
  • You can run 'ant deploy' to deploy the direct after these steps. Please note that if you update backend components, 'ant deploy' will automatically rebuild all the backend components.

Test Data

  • Please provide test data for insert marathon payments and document the steps to setup the test data to test all the required updates.

Source code repostiroy:

Direct : https://github.com/cloudspokes/direct-app/tree/challenge-30046717

The branch challenge-30046717



Final Submission Guidelines

  • The updated / added files in direct-app repo or a git patch/diff contains all the changes. If submitting a patch / diff file, please make sure it can be applied successully.
  • A deployment guide with detailed verification steps

ELIGIBLE EVENTS:

2015 topcoder Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30046530