Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Currently, we are adding a new Task/Challenge System, which needs to properly handle payments for competitor, reviewer and copilots.

For this challenge, we'd like to add new payments in system in order to properly support these. 

Reference ID

When creating payments, we need to pass a reference id, it can be direct project id, challenge id, JIRA id else.  for the new payment types to add, there will be another reference id - task id.
It is external, and integer type in Postgres.

So you need to add a new field in informixoltp:payment_detail table to reference it.

New Payment Types

To add new payment types, you need to define new type ids in com.topcoder.web.ejb.pacts.Constants, and define new classes similar like com.topcoder.web.ejb.pacts.ComponentProjectReferencePaymentcom.topcoder.web.ejb.pacts.CopilotPayment else.

PactsServicesBean

Please make sure the newly added Payments can be properly handled in the EJB implementation. A problem need to solve is, how to retrieve and store the description of the payment, check the payment history page for reference.

Payment History Page

The new payments should be properly displayed in the Payment History page, https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false.

Payments Service

We have created a new payments service which will talk to the PactsServicesBean for creating new payments, once you have done above, you should upgrade the newly built jars and use the payments service to create these new payments and making sure it is properly working for all pieces.

CodeBase

There are two codebase, for EJB and Payment History page, all the related code can be found in web_module - https://coder.topcoder.com/internal/web_module/trunk  You can expected to use VM for this deployment.

For Payments History, we  will post the latest code in forum, it can not be directly talking to ejbs that deployed in tc jboss, you need to deploy it into direct jboss instead, which has ports opening. see https://github.com/appirio-tech/tc-common-tutorials/blob/master/remote_ejb_call/vm-setup.md for how to update the VM.

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

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. If you don't have your SSH key set in your profile, please follow https://help.github.com/articles/generating-an-ssh-key/, and send the public ssh key to support@topcoder.com, once it is setup, you can request your VM in forum.




 

Final Submission Guidelines

1. Code changes for the new requirements.
2. Clear Deployment and Verification Guide
3. script for changing db schema

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30054507