Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 92ac5ed

Browse files
authored
Support custom copilot fee (#278)
* fixed google analytics tracking code * set registration end date * merge to dev
1 parent ba5fcee commit 92ac5ed

File tree

127 files changed

+28155
-6122
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+28155
-6122
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ lib/tcs/topcoder_cockpit_project_metadata_services.jar
3636
lib/tcs/topcoder_cockpit_project_milestone_services.jar
3737
lib/tcs/topcoder_cockpit_task_management_services.jar
3838
lib/tcs/workdays.jar
39+
lib/tcs/project_payment_management.jar
3940
build/
4041
direct.ear
4142
direct.jar

build-dependencies.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@
8585

8686
<property name="topcoder_cockpit_project_milestone_services.jar" value="${tcs_libdir}/topcoder_cockpit_project_milestone_services.jar"/>
8787

88+
<property name="project_payment_management.jar" value="${tcs_libdir}/project_payment_management.jar"/>
89+
8890
<property name="auditor.version" value="2.0.1"/>
8991
<property name="auditor.jar.name" value="auditor.jar"/>
9092
<property name="auditor.path" value="auditor/${auditor.version}"/>
@@ -627,6 +629,7 @@
627629
<pathelement location="${project_payment_calculator.jar}"/>
628630
<pathelement location="${marathon_match_resources.jar}"/>
629631
<pathelement location="${scorecard_management.jar}"/>
632+
<pathelement location="${project_payment_management.jar}"/>
630633
</path>
631634

632635
<path id="component.3rdParty-dependencies">

build.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@
199199
<copy file="${shared.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
200200
<copy file="${tcwebcommon.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
201201
<copy file="${tccache.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
202+
<copy file="${project_payment_management.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
202203

203204
<copy file="${topcoder_security_groups.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
204205
<copy file="${review_application_management.jar}" todir="${ear_shared_libdir}" overwrite="true"/>
@@ -554,6 +555,7 @@
554555
<include name="ReviewApplicationManagement.xml" />
555556
<include name="SearchBundleManager.xml" />
556557
<include name="cloud_vm_service_access_error_message.txt"/>
558+
<include name="ProjectPaymentManagement.xml"/>
557559
</fileset>
558560
<fileset dir="${tokenized_conf}/components">
559561
<include name="com/topcoder/security/Util.properties" />

components.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
<project name="contest_eligibility_validation" buildType="services"/>
2626
<project name="pipeline_service" buildType="services"/>
2727
<project name="pipeline_service_facade" buildType="services"/>
28+
<project name="project_payment_management"/>
2829
<project name="admin_service_facade" buildType="services"/>
2930
<project name="game_plan_service" buildType="services"/>
3031
<project name="user_service_facade" buildType="services" tokenize="true"/>
@@ -38,5 +39,4 @@
3839
<project name="topcoder_cockpit_task_management_services"/>
3940
<project name="topcoder_cockpit_asset_services"/>
4041
<project name="topcoder_cockpit_project_milestone_services"/>
41-
42-
</projects>
42+
</projects>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
This readme file explains how to setup and build this component.
2+
(See: http://www.topcoder.com/wiki/display/tc/Java+Component+Build+Process for an explanation of the build process used.)
3+
4+
1. Install the component structure in ${basedir}
5+
6+
2. Create "topcoder_global.properties" in ${basedir}/.. and add the properties from steps 2,3,4,5
7+
8+
3. The following standard build script properties must be set
9+
ext_libdir - root of third party libraries
10+
tcs_libdir - root of topcoder components
11+
java_1_3_bootclasspath - installation path for java 1.3 (only needed for compile_targets task)
12+
junit.jar - location of junit.jar (component was written for v3.8.2)
13+
14+
4. The following standard build script properties can be changed (defaults are noted)
15+
debug=off - as expected
16+
verbose=no - as expected
17+
cobertura.dir=${ext_libdir}/cobertura/1.9
18+
installation directory of cobertura script expects {$cobertura.dir}/cobertura.jar
19+
and {$cobertura.dir}/lib/containg Jars for asm, jakarta, and log4j to run cobertura task
20+
21+
5. The following properties need to be set for this component:
22+
[List the any specialized configuration needed]
23+
${oracle.database.url} - points to the oracle instance used to run perf testing, e.g. ...
24+
25+
6. The following third party libraries need to have their location specified - by default the build-dependencies.xml file looks for these under ${ext_libdir}, if you follow the setup listed in that file, you will not need to add these to global:
26+
[List the third party libraries here as their property name, include comment of version to use]
27+
${log4j.jar} - version 2.3.4 or later, testing only
28+
29+
7. Ant Commands:
30+
ant clean - removes temporary build files
31+
ant compile - builds the production code
32+
ant compile_tests - builds the test code
33+
ant test - runs the test code
34+
ant reports-all - generates javadoc and code coverage reports
35+
ant deploy-lib - moves the component runtime jar to the location where other components will look for it.
36+
37+
NB:
38+
The folder ${basedir}/test_reflib contains TopCoder components
39+
that are required by this component's test code. This component is
40+
used to by compile_test and test targets. Components are listed under
41+
the following directory structure "component name"/"component version".
42+
Components are provided AS IS for development purposes only.
43+
44+
Included:
45+
[List the contents of ${basedir}/test_reflib here - if needed explain how to build/access those contents]
46+
logging_wrapper/2.0.0/logging_wrapper.jar - this is a rt of the logging wrapper component for boot strapping the tests (circular dependency)
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
<project name="Dependency Import" default="dist" basedir=".">
2+
<!-- property file defining the component's dependencies -->
3+
4+
<!-- Properties used in compile_targets ANT target for JDK version x -->
5+
<property name="component.target" value="1.6"/>
6+
<property name="component.bootclasspath" value="${java_1_6_bootclasspath}"/>
7+
8+
<!-- TCS dependencies -->
9+
<property name="base_exception.jar" value="${tcs_libdir}/base_exception/2.0.0/base_exception.jar"/>
10+
<property name="configuration_api.jar" value="${tcs_libdir}/configuration_api/1.1.0/configuration_api.jar"/>
11+
<property name="configuration_persistence.jar" value="${tcs_libdir}/configuration_persistence/1.0/configuration_persistence.jar"/>
12+
<property name="search_builder.jar" value="${tcs_libdir}/search_builder/1.4.0/search_builder_1.4_modified.jar"/>
13+
<property name="database_abstraction.jar" value="${tcs_libdir}/database_abstraction/1.1/database_abstraction.jar"/>
14+
<property name="db_connection_factory.jar" value="${tcs_libdir}/db_connection_factory/1.1/db_connection_factory.jar"/>
15+
<property name="logging_wrapper.jar" value="${tcs_libdir}/logging_wrapper/2.0.0/logging_wrapper.jar"/>
16+
<property name="object_factory.jar" value="${tcs_libdir}/object_factory/2.0.1/object_factory.jar"/>
17+
<property name="object_factory_configuration_api_plugin.jar" value="${tcs_libdir}/object_factory_configuration_api_plugin/1.0/object_factory_configuration_api_plugin.jar"/>
18+
<property name="object_factory_config_manager_plugin.jar" value="${tcs_libdir}/object_factory_config_manager_plugin/1.0/object_factory_config_manager_plugin.jar"/>
19+
<property name="topcoder_commons_utility.jar" value="${tcs_libdir}/topcoder_commons_utility/1.0.0/topcoder_commons_utility.jar" />
20+
21+
<property name="object_formatter.jar" value="${tcs_libdir}/object_formatter/1.0.0/object_formatter.jar"/>
22+
<property name="typesafe_enum.jar" value="${tcs_libdir}/typesafe_enum/1.1.0/typesafe_enum.jar"/>
23+
<property name="configuration_manager.jar" value="${tcs_libdir}/configuration_manager.jar"/>
24+
<property name="data_validation.jar" value="${tcs_libdir}/data_validation/1.1.1/data_validation.jar"/>
25+
<property name="class_associations.jar" value="${tcs_libdir}/class_associations/1.0/class_associations.jar"/>
26+
<!-- 3rd party dependencies -->
27+
<property name="junit.jar" value="${ext_libdir}/junit/4.6/junit-4.6.jar"/>
28+
29+
<property name="ifxjdbc.jar" value="${ext_libdir}/informix/ifxjdbc.jar"/>
30+
31+
<path id="component.tcs-dependencies">
32+
<pathelement location="${base_exception.jar}"/>
33+
<pathelement location="${configuration_api.jar}"/>
34+
<pathelement location="${configuration_persistence.jar}"/>
35+
<pathelement location="${search_builder.jar}"/>
36+
<pathelement location="${database_abstraction.jar}"/>
37+
<pathelement location="${logging_wrapper.jar}"/>
38+
<pathelement location="${db_connection_factory.jar}"/>
39+
<pathelement location="${object_factory.jar}"/>
40+
<pathelement location="${object_factory_configuration_api_plugin.jar}"/>
41+
<pathelement location="${object_factory_config_manager_plugin.jar}"/>
42+
<pathelement location="${topcoder_commons_utility.jar}"/>
43+
44+
<pathelement location="${configuration_manager.jar}"/>
45+
<pathelement location="${object_formatter.jar}"/>
46+
<pathelement location="${typesafe_enum.jar}"/>
47+
<pathelement location="${data_validation.jar}"/>
48+
<pathelement location="${class_associations.jar}"/>
49+
</path>
50+
51+
<path id="component.3rdParty-dependencies"/>
52+
53+
<path id="component.test.3rdParty-dependencies">
54+
<pathelement location="${junit.jar}"/>
55+
56+
<pathelement location="${ifxjdbc.jar}"/>
57+
</path>
58+
59+
</project>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Property file defining the component's information.
2+
component.name=Project Payment Management
3+
component.distfilename=project_payment_management
4+
component.package=com.topcoder.management.payment
5+
component.packagedir=com/topcoder/management/payment
6+
component.version.major=1
7+
component.version.minor=0
8+
component.version.micro=1
9+
component.version.build=1
10+
11+
# Defines the Main-Class property for the manifest file (e.g. com.topcoder.utility.SomeClass)
12+
# This property is only used for components that can be run from command line.
13+
# Leave the property value empty if not applicable.
14+
component.mainclass=

0 commit comments

Comments
 (0)