Challenge Overview
There are a lot of web applications in Topcoder(TC), such as TC website, forums, wiki, bug tracking, Online Review, etc. Currently, SVN (subversion) is used for TC source control.
In this challenge, the goal is to have community (1) move source code from SVN to GitHub, (2) build with maven and be able to build locally (not just in build box), (3) deploy procedure to run entire /tc web application on Java 8. The resource details are as follows:
Application name: Topcoder web
URL: http://community.topcoder.com/tc
SVN repo: https://coder.topcoder.com/internal/web_module/trunk
DB scripts: https://coder.topcoder.com/internal/database/scripts/trunk
We want to move all tc web source code from SVN repo to the following GitHub repo:
https://github.com/appirio-tech/tc1-tcnode
We don’t need to move the DB scripts which are used for generating test data.Current Deployment Process:
Manually build with Ant in the Build box.
Ant script:
/home/build/prod_push/web/move.xml
Scripts run inside move.xml:
/home/build/prod_push/web/build_tc.xml (tc)
/home/build/prod_push/web/build_common.xml (tcwebcommon.jar)
/home/build/prod_push/shared/build.xml (shared.jar)
Ant target:package-topcoder
Artifacts:topcoder.jar
contains:
- tcwebcommon.jar
- shared.jar
Source:/home/build/prod_push/web/src/main/
Challenge Requirements:
1) Delete all .svn files and push source code to GitHub repo.
2) Use latest maven (3.3.9) to build the source code.
3) Java 8 should be supported.
4) Compile the deployment guide, make sure the code from GitHub repo can be deployed and running as before. For example:
https://community.topcoder.com/tc?module=SrmDivisionWins
https://www.topcoder.com/tc?module=ReviewBoard&pt=14
http://www.topcoder.com/tc?module=ViewReviewAuctions&pt=39
Environment:
Java 8
JBoss 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
Maven 3.3.9 (http://maven.apache.org/download.cgi )
Informix (IBM Informix Dynamic Server Version 11.50.UC9GE)
Final Submission Guidelines
Challenge Resources:Send an email to support@topcoder.com with your topcoder handle, challenge id and SVN repo to request SVN access. TC support team will grant you access.
Please use your own GitHub space to complete your work.
Submission Deliverables:
A complete list of deliverables can be viewed in the TopCoder Assembly competition Tutorial at: http://apps.topcoder.com/wiki/display/tc/Assembly+Competition+Tutorials
Below is an overview of the deliverables:
A zip file containing your private branch location (ensure the branch can be cloned after submission phase ends) and a complete and detailed deployment document explaining how to deploy the application including configuration information.
Review:
Standard Topcoder review process.
Support:
Standard 30-day support for the winner.