Challenge Overview
Welcome to Topcoder Online Review Move to Maven challenge.
Individual requirements
1. Move all TC java components to Maven build system, including Auto Pilot library
Use the file tc-components.zip that will be provided in forum as starting point.
The file tc-java-components.zip has all the components that need to be migrated (some are already migrated in tc-components.zip).
Auto pilot component source code can be found in https://github.com/topcoder-platform/autopilot - please use branch dev.
2. Deploy all maven components to a private Maven repo
3. We still need to support token replacement where applicable
4. Create script to copy generated jar files to the same structure as https://github.com/topcoder-platform/tc-java-component-libs - please use branch dev.
5. Use the files from step 4. to build OR and validate nothing got broken. Alternative: If you can prove the jar file generated is an exact match of the output of the ant build (use MD5 hash) no need for OR validation.
6. Unit Testing is not in scope
7. Java 1.5 source and target must be used
You will need to create a deployment guide (README.md) and validation document (Validation.md).
The Validation.md created must show all the steps necessary to verify the application:
Challenge Objectives
- For this contest, we are looking at updating Online Review Components from ANT to Maven build
Project Background
- Topcoder is updating its api and one of them being updated is Online Review system. The idea is to prepare the migration to a new system similar to Online Review
- This challenge is part of a series of challenge to update the Online Review system.
Technology Stack
- Java
- Ant
- Maven
Individual requirements
1. Move all TC java components to Maven build system, including Auto Pilot libraryUse the file tc-components.zip that will be provided in forum as starting point.
The file tc-java-components.zip has all the components that need to be migrated (some are already migrated in tc-components.zip).
Auto pilot component source code can be found in https://github.com/topcoder-platform/autopilot - please use branch dev.
2. Deploy all maven components to a private Maven repo
3. We still need to support token replacement where applicable
4. Create script to copy generated jar files to the same structure as https://github.com/topcoder-platform/tc-java-component-libs - please use branch dev.
5. Use the files from step 4. to build OR and validate nothing got broken. Alternative: If you can prove the jar file generated is an exact match of the output of the ant build (use MD5 hash) no need for OR validation.
6. Unit Testing is not in scope
7. Java 1.5 source and target must be used
Online Review Setup (For validation)
Repository
Online Review repository: https://github.com/topcoder-platform/tc-online-review
Please use the dev branch.
Local Setup
Please follow https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/online_review to build and run the online review locally. Make sure to use the correct Online Review branch - see above.
If needed you can deploy direct app. This is useful to create new projects and challenges. Follow theses steps:
Download direct-app code base: https://github.com/appirio-tech/direct-app.git. Branch: dev.
To build/setup direct-app with docker please consult https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/direct-app#build-and-run-with-docker-compose.
Enter in /etc/hosts files the following entry:
Please follow https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/online_review to build and run the online review locally. Make sure to use the correct Online Review branch - see above.
If needed you can deploy direct app. This is useful to create new projects and challenges. Follow theses steps:
Download direct-app code base: https://github.com/appirio-tech/direct-app.git. Branch: dev.
To build/setup direct-app with docker please consult https://github.com/appirio-tech/tc-common-tutorials/tree/master/docker/direct-app#build-and-run-with-docker-compose.
Enter in /etc/hosts files the following entry:
127.0.0.1 cockpit.cloud.topcoder.com tc-api.cloud.topcoder.com Open direct-app https://cockpit.cloud.topcoder.com/direct/ and login with 'hefan/password' to create project and challenges. Wait autopilot to run and open Online Review http://cockpit.cloud.topcoder.com/review. Some more information on how to setup OR locally will be provided in forum.
Deployment guide and validation document
You will need to create a deployment guide (README.md) and validation document (Validation.md).
The README.md created must show how to:
- Configure the application (maven repo, etc)
- Build application
The Validation.md created must show all the steps necessary to verify the application:
- Build the code in new system, start OR (see details above) and Topcoder informix database
- Create challenges in OR
- Verify system is usable
Final instructions
- Source code for application will be provided in forum
Final Submission Guidelines
- Full application in a zip file
- Deployment guide as described in specifications