├── .gitattributes ├── .gitignore ├── Procfile ├── README.md ├── actions ├── admins.js ├── auth.js ├── auth0.js ├── bugs.js ├── cacheTest.js ├── challengeRegistration.js ├── challengeTypes.js ├── challengeUnregistration.js ├── challenges.js ├── copilots.js ├── countries.js ├── data.js ├── dataScienceChallenges.js ├── designImageFileGeneratorTest.js ├── docusign.js ├── download.js ├── emailValidation.js ├── leaderboard.js ├── marathonChallenges.js ├── memDump.js ├── memberRegistration.js ├── memberSearch.js ├── memberStatistics.js ├── oauthTest.js ├── paymentPreferences.js ├── payments.js ├── platform.js ├── reports.js ├── resetPassword.js ├── reviewOpportunities.js ├── reviewers.js ├── rounds.js ├── rss.js ├── sourceCodeImage.js ├── srmChallenges.js ├── srmProblems.js ├── srmRoundComponentsAndTerms.js ├── srmRoundManagement.js ├── srmRoundQuestions.js ├── srmRoundSegments.js ├── ssoValidation.js ├── terms.js ├── tops.js ├── unifiedSubmissionValidatorTest.js ├── user.js ├── userDesignChallenges.js └── userDevelopChallenges.js ├── apiary-admin.apib ├── apiary.apib ├── common ├── designImageFileGenerator.js ├── stringUtils.js └── unifiedSubmissionValidator.js ├── config ├── .DS_Store ├── api.js ├── faye.js ├── logger.js ├── redis.js ├── servers │ ├── socket.js │ ├── web.js │ └── websocket.js ├── stats.js ├── tasks.js └── tc-config.js ├── db_scripts ├── create_billing.delete ├── create_billing.insert ├── download_des_submissions.delete ├── download_des_submissions.insert ├── informixoltp_data_setup.sql ├── test_eligibility.delete.sql ├── test_eligibility.insert.sql └── time_oltp_data_setup.sql ├── deploy ├── .env.sh.swp ├── ci.sh ├── development.bat ├── development.sh ├── heroku.sh └── vm.sh ├── docs ├── Admin App - TC API Reviewer Management API.md ├── Deployment Guide.doc ├── Deployment_Guide-Module_Assembly_-_Topcoder_NodeJS_Referral_Leaderboard_API_v1.0.doc ├── Deployment_Guide-SRM_Round_Configuration_APIs_Part3.doc ├── Module Assembly - Modify Answer API And Delete Answer API Deployment Guide.doc ├── Module Assembly - Payment Preference APIs v1.1.doc ├── Module Assembly - SRM Contest Management APIs v1.0.doc ├── Module Assembly - TC API - Generate Files with Alternative Representations Of the Submission v1.0.doc ├── Module Assembly - TC API - Port UnifiedSubmissionValidator Logic For Analyzing Submitted File v1.0.doc ├── Module Assembly - TC API - SRM Round Management APIs v1.0.doc ├── Module Assembly - TopCoder Node JS API User Handle Cache v1.0.doc ├── Module Assembly - TopCoder Node JS Active Client Challenge Costs API v1.0.doc ├── Module Assembly - TopCoder Node JS Data Science Challenges API v1.0.doc ├── Module Assembly - TopCoder Node JS Generate Reset Token API v1.0.doc ├── Module Assembly - TopCoder NodeJS API Tests Improvement and Normalization v1.0.doc ├── Module Assembly - TopCoder NodeJS Active Billing Accounts API v1.0.doc ├── Module Assembly - TopCoder NodeJS Agree Term Of Use API.doc ├── Module Assembly - TopCoder NodeJS Apply Design Review Opportunity API v1.0.doc ├── Module Assembly - TopCoder NodeJS Auth0 Callback API v1.0.doc ├── Module Assembly - TopCoder NodeJS Authentication Middleware v1.0.doc ├── Module Assembly - TopCoder NodeJS Dev Download Submission API v1.0.doc ├── Module Assembly - TopCoder NodeJS Get Marathon Match Challenge Reg Info API.doc ├── Module Assembly - TopCoder NodeJS Member Registration REST API version 1.0.doc ├── Module Assembly - TopCoder NodeJS Member Search API.doc ├── Module Assembly - TopCoder NodeJS Payment List API.doc ├── Module Assembly - TopCoder NodeJS Recent Winning Design Submissions API.doc ├── Module Assembly - TopCoder NodeJS Register Challenge API Deployment Guide.doc ├── Module Assembly - TopCoder NodeJS Software Rating Distribution and Rating History API v1.0.doc ├── Module Assembly - TopCoder NodeJS Software Tops REST API version 1.0.doc ├── Module Assembly - TopCoder NodeJS Submit Design Challenge Submission API Update v1.0.doc ├── Module Assembly - TopCoder NodeJS Top Track Members v1.0.docx ├── Module Assembly - TopCoder NodeJS User Profile API Update.doc ├── Module Assembly - Topcoder NodeJS Challenge Results.doc ├── Module Assembly - Topcoder NodeJS Challenge Retrieval API Update v1.0.doc ├── Module Assembly - Topcoder NodeJS Challenge Retrieval API v1.0.doc ├── Module Assembly - Topcoder NodeJS Challenge Terms And Term Details.doc ├── Module Assembly - Topcoder NodeJS Create Billing API v1.0.doc ├── Module Assembly - Topcoder NodeJS Create Billing API v1.0.pdf ├── Module Assembly - Topcoder NodeJS Create Customer API v1.0.doc ├── Module Assembly - Topcoder NodeJS Create Customer API v1.0.pdf ├── Module Assembly - Topcoder NodeJS Docusign Callback API v1.0.doc ├── Module Assembly - Topcoder NodeJS Docusign Get View Document URL API v1.0.doc ├── Module Assembly - Topcoder NodeJS Download Design Submission API v1.0.doc ├── Module Assembly - Topcoder NodeJS Download Design Submission API v1.0.pdf ├── Module Assembly - Topcoder NodeJS My Profile API Update Part 1 v1.0.doc ├── Module Assembly - Topcoder NodeJS Submit Des Challenge API v1.0.doc ├── Module Assembly - Topcoder NodeJS Submit Dev Challenge API v1.0.doc ├── TC API - Rounds For Problem API 1.0.doc ├── Tests Creation Guide.docx └── Verification_Guide-Improve Challenge Visibility Control.doc ├── docusign_callback ├── Procfile ├── docusignCallbackListener.js ├── heroku_setup.sh ├── kill.sh ├── package.json └── test │ ├── sample.xml │ ├── sqls │ ├── informixoltp__clean │ └── informixoltp__insert_test_data │ └── test.docusignCallbackListener.js ├── downloads └── test │ ├── test.doc │ ├── test.docx │ ├── test.jar │ ├── test.jpg │ ├── test.pdf │ ├── test.ppt │ ├── test.txt │ ├── test.xls │ └── test.zip ├── errors ├── BadRequestError.js ├── DuplicateResourceError.js ├── ForbiddenError.js ├── IllegalArgumentError.js ├── NotFoundError.js ├── RequestTooLargeError.js └── UnauthorizedError.js ├── examples ├── app.js ├── config.js ├── package.json ├── static │ └── javascript │ │ ├── jquery-1.9.1.js │ │ └── script.js └── views │ ├── auth-failure.jade │ ├── auth-success.jade │ ├── client.jade │ └── error.jade ├── initializers ├── challengeHelper.js ├── configurator.js ├── dataAccess.js ├── helper.js ├── idGenerator.js ├── ldapHelper.js ├── middleware.js ├── nrmid.js ├── transaction.js └── v3client.js ├── jakelib └── actionHero.jake ├── javalib ├── base_exception.jar ├── configuration_api.jar ├── image_manipulation.jar ├── image_overlay.jar ├── image_resizing.jar ├── jai_codec.jar ├── jai_core.jar └── mlibwrapper_jai.jar ├── local ├── docker-compose.yml ├── env.sh └── node │ └── Dockerfile ├── mail_templates ├── activation_email │ ├── html.ejs │ ├── style.css │ └── text.ejs ├── design_registration_notification_email │ ├── html.ejs │ ├── style.css │ └── text.ejs ├── docusign_callback_failure_email │ ├── html.ejs │ ├── style.css │ └── text.ejs ├── peer_registration │ ├── html.ejs │ ├── style.css │ └── text.ejs ├── registration_notification_email │ ├── html.ejs │ ├── style.css │ └── text.ejs ├── reset_token_email │ ├── html.ejs │ ├── style.css │ └── text.ejs └── welcome_email │ ├── html.ejs │ ├── style.css │ └── text.ejs ├── package.json ├── package.json.org ├── queries ├── activate_email ├── activate_email.json ├── activate_user ├── activate_user.json ├── active_client_challenges_costs ├── active_client_challenges_costs.json ├── active_data_science_challenges ├── active_data_science_challenges.json ├── add_algo_rating ├── add_algo_rating.json ├── add_user_to_groups ├── add_user_to_groups.json ├── all_resource_roles ├── all_resource_roles.json ├── audit_challenge_registration ├── audit_challenge_registration.json ├── challenge_details ├── challenge_details.json ├── challenge_digital_run ├── challenge_digital_run.json ├── challenge_documents ├── challenge_documents.json ├── challenge_phase_details ├── challenge_phase_details.json ├── challenge_phases ├── challenge_phases.json ├── challenge_platforms ├── challenge_platforms.json ├── challenge_registrants ├── challenge_registrants.json ├── challenge_registration_validations ├── challenge_registration_validations.json ├── challenge_submission_validations_and_info ├── challenge_submission_validations_and_info.json ├── challenge_submissions ├── challenge_submissions.json ├── challenge_terms_of_use ├── challenge_terms_of_use.json ├── challenge_terms_of_use_noauth ├── challenge_terms_of_use_noauth.json ├── challenge_unregistration_validations ├── challenge_unregistration_validations.json ├── check_billing_account_exist ├── check_billing_account_exist.json ├── check_challenge_exists ├── check_challenge_exists.json ├── check_challenge_is_copilot_posting ├── check_challenge_is_copilot_posting.json ├── check_challenge_resource ├── check_challenge_resource.json ├── check_challenge_review_opportunity ├── check_challenge_review_opportunity.json ├── check_client_active_challenge_costs_exists ├── check_client_active_challenge_costs_exists.json ├── check_client_challenge_costs_exists ├── check_client_challenge_costs_exists.json ├── check_coder_activated ├── check_coder_activated.json ├── check_coder_exist ├── check_coder_exist.json ├── check_eligibility ├── check_eligibility.json ├── check_email_exist ├── check_email_exist.json ├── check_invalid_handle ├── check_invalid_handle.json ├── check_is_admin ├── check_is_admin.json ├── check_is_copilot ├── check_is_copilot.json ├── check_is_registered_challenge ├── check_is_registered_challenge.json ├── check_is_related_with_challenge ├── check_is_related_with_challenge.json ├── check_is_web_arena_super ├── check_is_web_arena_super.json ├── check_marathon_challenge_register ├── check_marathon_challenge_register.json ├── check_marathon_match_register_class_permission ├── check_marathon_match_register_class_permission.json ├── check_problem_exists ├── check_problem_exists.json ├── check_reviewer ├── check_reviewer.json ├── check_round_exist ├── check_round_exist.json ├── check_round_room_assignment_exist ├── check_round_room_assignment_exist.json ├── check_social_provider_id ├── check_social_provider_id.json ├── check_user ├── check_user.json ├── check_user_activated ├── check_user_activated.json ├── check_user_challenge_accessibility ├── check_user_challenge_accessibility.json ├── check_user_handle_exist ├── check_user_handle_exist.json ├── check_user_terms_of_use_ban ├── check_user_terms_of_use_ban.json ├── check_user_terms_of_use_exist ├── check_user_terms_of_use_exist.json ├── clear_user_rating ├── clear_user_rating.json ├── complete_docusign_envelope ├── complete_docusign_envelope.json ├── dashboard_billing_cost_invoice_report_DR ├── dashboard_billing_cost_invoice_report_DR.json ├── dashboard_billing_cost_invoice_report_credit ├── dashboard_billing_cost_invoice_report_credit.json ├── dashboard_billing_cost_invoice_report_fixed_bug_fee ├── dashboard_billing_cost_invoice_report_fixed_bug_fee.json ├── dashboard_billing_cost_invoice_report_fixed_fee ├── dashboard_billing_cost_invoice_report_fixed_fee.json ├── dashboard_billing_cost_invoice_report_fixed_project_level_bug_fee ├── dashboard_billing_cost_invoice_report_fixed_project_level_bug_fee.json ├── dashboard_billing_cost_invoice_report_member_payments ├── dashboard_billing_cost_invoice_report_member_payments.json ├── dashboard_billing_cost_invoice_report_percentage_fee_DR ├── dashboard_billing_cost_invoice_report_percentage_fee_DR.json ├── dashboard_billing_cost_invoice_report_percentage_fee_payment ├── dashboard_billing_cost_invoice_report_percentage_fee_payment.json ├── dashboard_billing_cost_invoice_report_percentage_fee_payment2 ├── dashboard_billing_cost_invoice_report_percentage_fee_payment2.json ├── dashboard_billing_cost_invoice_report_percentage_fee_project_level_payment ├── dashboard_billing_cost_invoice_report_percentage_fee_project_level_payment.json ├── dashboard_billing_cost_invoice_report_project_level_payments ├── dashboard_billing_cost_invoice_report_project_level_payments.json ├── dashboard_billing_cost_invoice_report_reliability ├── dashboard_billing_cost_invoice_report_reliability.json ├── delete_answer ├── delete_answer.json ├── delete_billing_account_entry ├── delete_billing_account_entry.json ├── delete_challenge_resources ├── delete_challenge_resources.json ├── delete_challenge_result ├── delete_challenge_result.json ├── delete_contest_round ├── delete_contest_round.json ├── delete_demographic_responses ├── delete_demographic_responses.json ├── delete_email ├── delete_email.json ├── delete_member_contact_black_list ├── delete_member_contact_black_list.json ├── delete_old_submissions ├── delete_old_submissions.json ├── delete_old_uploads ├── delete_old_uploads.json ├── delete_round_components ├── delete_round_components.json ├── delete_round_question ├── delete_round_question.json ├── delete_round_segments ├── delete_round_segments.json ├── delete_round_terms ├── delete_round_terms.json ├── delete_srm_contest ├── delete_srm_contest.json ├── delete_user_notifies ├── delete_user_notifies.json ├── design_submission_validations_and_info ├── design_submission_validations_and_info.json ├── download_design_submission_my_resources ├── download_design_submission_my_resources.json ├── download_design_submission_validations_and_info ├── download_design_submission_validations_and_info.json ├── download_submission_my_resources ├── download_submission_my_resources.json ├── download_submission_project_submissions ├── download_submission_project_submissions.json ├── download_submission_reviews_by_user ├── download_submission_reviews_by_user.json ├── download_submission_validations_and_info ├── download_submission_validations_and_info.json ├── existing_client_info ├── existing_client_info.json ├── file_types ├── file_types.json ├── find_user_by_handle_or_email ├── find_user_by_handle_or_email.json ├── get_active_billing_accounts ├── get_active_billing_accounts.json ├── get_active_challenges ├── get_active_forum_category ├── get_active_forum_category.json ├── get_address ├── get_address.json ├── get_admin_resource ├── get_admin_resource.json ├── get_admins ├── get_admins.json ├── get_all_preferences ├── get_all_preferences.json ├── get_all_srm_contests ├── get_all_srm_contests.json ├── get_answer_id ├── get_answer_id.json ├── get_assigned_review_resource_role ├── get_assigned_review_resource_role.json ├── get_challenge_accessibility_and_groups ├── get_challenge_accessibility_and_groups.json ├── get_challenge_analyze_basic ├── get_challenge_analyze_basic.json ├── get_challenge_analyze_repost_number ├── get_challenge_analyze_repost_number.json ├── get_challenge_analyze_unanswered_threads ├── get_challenge_analyze_unanswered_threads.json ├── get_challenge_forum ├── get_challenge_forum.json ├── get_challenge_notification_count ├── get_challenge_notification_count.json ├── get_challenge_restrictions ├── get_challenge_restrictions.json ├── get_challenge_results ├── get_challenge_results.json ├── get_challenge_results_final_fixes ├── get_challenge_results_final_fixes.json ├── get_challenge_results_submissions ├── get_challenge_results_submissions.json ├── get_challenge_results_validations ├── get_challenge_results_validations.json ├── get_challenge_scorecard ├── get_challenge_scorecard.json ├── get_challenge_status ├── get_challenge_status.json ├── get_challenge_types ├── get_challenge_types.json ├── get_checkpoint_detail ├── get_checkpoint_detail.json ├── get_client_active_challenge_costs ├── get_client_active_challenge_costs.json ├── get_client_challenge_costs ├── get_client_challenge_costs.json ├── get_component_info ├── get_component_info.json ├── get_copilot_profile_id_by_user_id ├── get_copilot_profile_id_by_user_id.json ├── get_copilots ├── get_copilots.json ├── get_countries ├── get_countries.json ├── get_country_code ├── get_country_code.json ├── get_current_school ├── get_current_school.json ├── get_data_challenge_types ├── get_data_challenge_types.json ├── get_data_platforms ├── get_data_platforms.json ├── get_data_round_type_lu ├── get_data_round_type_lu.json ├── get_data_technologies ├── get_data_technologies.json ├── get_data_track_statistics ├── get_data_track_statistics.json ├── get_demographic_answers ├── get_demographic_answers.json ├── get_dependency_terms_of_use ├── get_dependency_terms_of_use.json ├── get_develop_design_track_statistics ├── get_develop_design_track_statistics.json ├── get_document ├── get_document.json ├── get_docusign_envelope ├── get_docusign_envelope.json ├── get_docusign_envelope_by_envelope_id ├── get_docusign_envelope_by_envelope_id.json ├── get_email ├── get_email.json ├── get_email_availability ├── get_email_availability.json ├── get_email_type ├── get_email_type.json ├── get_group ├── get_group.json ├── get_highest_id ├── get_highest_id.json ├── get_image ├── get_image.json ├── get_managers_for_challenge_analyze ├── get_managers_for_challenge_analyze.json ├── get_marathon_match_active_challenges ├── get_marathon_match_active_challenges.json ├── get_marathon_match_active_challenges_count ├── get_marathon_match_active_challenges_count.json ├── get_marathon_match_active_challenges_prizes ├── get_marathon_match_active_challenges_prizes.json ├── get_marathon_match_detail_basic ├── get_marathon_match_detail_basic.json ├── get_marathon_match_detail_prizes ├── get_marathon_match_detail_prizes.json ├── get_marathon_match_detail_progress_competitors ├── get_marathon_match_detail_progress_competitors.json ├── get_marathon_match_detail_progress_hour ├── get_marathon_match_detail_progress_hour.json ├── get_marathon_match_detail_progress_hour_registrants ├── get_marathon_match_detail_progress_hour_registrants.json ├── get_marathon_match_detail_registrants_rating_summary ├── get_marathon_match_detail_registrants_rating_summary.json ├── get_marathon_match_past_challenges ├── get_marathon_match_past_challenges.json ├── get_marathon_match_past_challenges_count ├── get_marathon_match_past_challenges_count.json ├── get_marathon_match_upcoming_challenges ├── get_marathon_match_upcoming_challenges.json ├── get_marathon_match_upcoming_challenges_count ├── get_marathon_match_upcoming_challenges_count.json ├── get_marathon_match_upcoming_challenges_prizes ├── get_marathon_match_upcoming_challenges_prizes.json ├── get_marathon_round_question_answers ├── get_marathon_round_question_answers.json ├── get_marathon_round_questions ├── get_marathon_round_questions.json ├── get_marathon_round_term ├── get_marathon_round_term.json ├── get_member_contact_black_list ├── get_member_contact_black_list.json ├── get_member_marathon_statistics ├── get_member_marathon_statistics.json ├── get_member_marathon_statistics_history ├── get_member_marathon_statistics_history.json ├── get_my_resource_roles ├── get_my_resource_roles.json ├── get_next_admin_resource_id ├── get_next_admin_resource_id.json ├── get_next_admin_user_group_id ├── get_next_admin_user_group_id.json ├── get_next_sequence ├── get_next_sequence.json ├── get_notifies ├── get_notifies.json ├── get_old_member_photo ├── get_old_member_photo.json ├── get_one_member_contact_black ├── get_one_member_contact_black.json ├── get_open_challenges ├── get_open_challenges_count ├── get_open_data_challenges_rss ├── get_open_data_challenges_rss.json ├── get_password_by_user_id ├── get_password_by_user_id.json ├── get_past_challenges ├── get_past_challenges.json ├── get_past_challenges_count ├── get_past_challenges_count.json ├── get_past_data_challenges_rss ├── get_past_data_challenges_rss.json ├── get_past_data_track_statistics ├── get_past_data_track_statistics.json ├── get_path ├── get_path.json ├── get_payment_count ├── get_payment_count.json ├── get_payment_count_with_type ├── get_payment_count_with_type.json ├── get_payment_summary ├── get_payment_summary.json ├── get_payments ├── get_payments.json ├── get_payments_with_type ├── get_payments_with_type.json ├── get_practice_problems ├── get_practice_problems_count ├── get_problem_component_param_types ├── get_problem_component_param_types.json ├── get_project_category_by_category_id ├── get_project_category_by_category_id.json ├── get_project_info ├── get_project_info.json ├── get_project_phase ├── get_project_phase.json ├── get_question_id ├── get_question_id.json ├── get_question_style_id ├── get_question_style_id.json ├── get_question_type_id ├── get_question_type_id.json ├── get_recent_winning_design_submissions ├── get_recent_winning_design_submissions.json ├── get_referral_leaderboard ├── get_referral_leaderboard.json ├── get_registration_types ├── get_registration_types.json ├── get_resource_submissions_max_rank ├── get_resource_submissions_max_rank.json ├── get_review_opportunity_detail_applications ├── get_review_opportunity_detail_applications.json ├── get_review_opportunity_detail_basic ├── get_review_opportunity_detail_basic.json ├── get_review_opportunity_detail_phases ├── get_review_opportunity_detail_phases.json ├── get_review_opportunity_detail_positions ├── get_review_opportunity_detail_positions.json ├── get_reviewer ├── get_reviewer.json ├── get_reviewers ├── get_reviewers.json ├── get_round_component_id ├── get_round_component_id.json ├── get_round_difficulty_id ├── get_round_difficulty_id.json ├── get_round_division_id ├── get_round_division_id.json ├── get_round_event_info ├── get_round_event_info.json ├── get_round_id ├── get_round_id.json ├── get_round_language_by_ids ├── get_round_language_by_ids.json ├── get_round_languages ├── get_round_languages.json ├── get_round_onlyid ├── get_round_onlyid.json ├── get_round_problem_components ├── get_round_problem_components.json ├── get_round_problem_components_global ├── get_round_problem_components_global.json ├── get_round_question_answers ├── get_round_question_answers.json ├── get_round_questions ├── get_round_questions.json ├── get_round_room_assignment ├── get_round_room_assignment.json ├── get_round_segments ├── get_round_segments.json ├── get_round_survey ├── get_round_survey.json ├── get_round_terms ├── get_round_terms.json ├── get_round_terms_by_ids ├── get_round_terms_by_ids.json ├── get_rounds ├── get_rounds.json ├── get_rounds_count ├── get_rounds_count.json ├── get_rounds_for_problem ├── get_rounds_for_problem.json ├── get_season ├── get_season.json ├── get_software_checkpoint_general_feedback ├── get_software_checkpoint_general_feedback.json ├── get_software_member_statistics_copilot ├── get_software_member_statistics_copilot.json ├── get_software_member_statistics_track_basic ├── get_software_member_statistics_track_basic.json ├── get_software_member_statistics_track_rating ├── get_software_member_statistics_track_rating.json ├── get_software_member_statistics_track_submissions ├── get_software_member_statistics_track_submissions.json ├── get_software_rating_distribution ├── get_software_rating_distribution.json ├── get_software_rating_handle ├── get_software_rating_handle.json ├── get_software_rating_history ├── get_software_rating_history.json ├── get_software_studio_challenges_rss ├── get_software_studio_challenges_rss.json ├── get_srm_assigned_problems ├── get_srm_assigned_problems.json ├── get_srm_challenges ├── get_srm_challenges.json ├── get_srm_challenges_count ├── get_srm_challenges_count.json ├── get_srm_contest ├── get_srm_contest.json ├── get_srm_detail_basic ├── get_srm_detail_basic.json ├── get_srm_detail_leader ├── get_srm_detail_leader.json ├── get_srm_detail_problem ├── get_srm_detail_problem.json ├── get_srm_or_marathon_statistics_distribution ├── get_srm_or_marathon_statistics_distribution.json ├── get_srm_problems ├── get_srm_problems.json ├── get_srm_schedule ├── get_srm_schedule.json ├── get_srm_schedule_count ├── get_srm_schedule_count.json ├── get_srm_statistics_basic ├── get_srm_statistics_basic.json ├── get_srm_statistics_challenges ├── get_srm_statistics_challenges.json ├── get_srm_statistics_division_1 ├── get_srm_statistics_division_1.json ├── get_srm_statistics_division_2 ├── get_srm_statistics_division_2.json ├── get_srm_statistics_history ├── get_srm_statistics_history.json ├── get_state_code ├── get_state_code.json ├── get_status_id ├── get_status_id.json ├── get_studio_challenge_checkpoints_passed_screening_submissions_count ├── get_studio_challenge_checkpoints_passed_screening_submissions_count.json ├── get_studio_challenge_checkpoints_passed_screening_submitters_count ├── get_studio_challenge_checkpoints_passed_screening_submitters_count.json ├── get_studio_challenge_checkpoints_submissions_count ├── get_studio_challenge_checkpoints_submissions_count.json ├── get_studio_challenge_checkpoints_submitters_count ├── get_studio_challenge_checkpoints_submitters_count.json ├── get_studio_challenge_detail_submissions ├── get_studio_challenge_detail_submissions.json ├── get_studio_challenge_detail_winners ├── get_studio_challenge_detail_winners.json ├── get_studio_checkpoint_general_feedback ├── get_studio_checkpoint_general_feedback.json ├── get_studio_member_statistics_track ├── get_studio_member_statistics_track.json ├── get_studio_review_opportunity_phases ├── get_studio_review_opportunity_phases.json ├── get_studio_review_opportunity_positions ├── get_studio_review_opportunity_positions.json ├── get_studio_tops ├── get_studio_tops.json ├── get_studio_tops_count ├── get_studio_tops_count.json ├── get_survey_count ├── get_survey_count.json ├── get_terms_of_use ├── get_terms_of_use.json ├── get_terms_of_use_noauth ├── get_terms_of_use_noauth.json ├── get_top_members_data ├── get_top_members_data.json ├── get_top_members_data_count ├── get_top_members_data_count.json ├── get_top_members_design ├── get_top_members_design.json ├── get_top_members_design_count ├── get_top_members_design_count.json ├── get_top_members_develop ├── get_top_members_develop.json ├── get_top_members_develop_count ├── get_top_members_develop_count.json ├── get_top_ranked_marathon_members_competitors ├── get_top_ranked_marathon_members_competitors.json ├── get_top_ranked_marathon_members_competitors_count ├── get_top_ranked_marathon_members_competitors_count.json ├── get_top_ranked_marathon_members_country ├── get_top_ranked_marathon_members_country.json ├── get_top_ranked_marathon_members_country_count ├── get_top_ranked_marathon_members_country_count.json ├── get_top_ranked_marathon_members_school ├── get_top_ranked_marathon_members_school.json ├── get_top_ranked_marathon_members_school_count ├── get_top_ranked_marathon_members_school_count.json ├── get_top_ranked_srm_members_competitor ├── get_top_ranked_srm_members_competitor.json ├── get_top_ranked_srm_members_competitor_count ├── get_top_ranked_srm_members_competitor_count.json ├── get_top_ranked_srm_members_country ├── get_top_ranked_srm_members_country.json ├── get_top_ranked_srm_members_country_count ├── get_top_ranked_srm_members_country_count.json ├── get_top_ranked_srm_members_school ├── get_top_ranked_srm_members_school.json ├── get_top_ranked_srm_members_school_count ├── get_top_ranked_srm_members_school_count.json ├── get_tops ├── get_tops.json ├── get_tops_active ├── get_tops_active.json ├── get_tops_active_count ├── get_tops_active_count.json ├── get_tops_count ├── get_tops_count.json ├── get_upcoming_challenges ├── get_user ├── get_user.json ├── get_user_accounts ├── get_user_accounts.json ├── get_user_algo_challenges ├── get_user_algo_challenges.json ├── get_user_algo_challenges_count ├── get_user_algo_challenges_count.json ├── get_user_basic_profile_achievements ├── get_user_basic_profile_achievements.json ├── get_user_basic_profile_basic ├── get_user_basic_profile_basic.json ├── get_user_basic_profile_overall_earning ├── get_user_basic_profile_overall_earning.json ├── get_user_basic_profile_private ├── get_user_basic_profile_private.json ├── get_user_basic_profile_private_email ├── get_user_basic_profile_private_email.json ├── get_user_basic_profile_rating_summary ├── get_user_basic_profile_rating_summary.json ├── get_user_by_handle ├── get_user_by_handle.json ├── get_user_by_social_login ├── get_user_by_social_login.json ├── get_user_by_sso_login ├── get_user_by_sso_login.json ├── get_user_by_user_id ├── get_user_by_user_id.json ├── get_user_challenge_resource ├── get_user_challenge_resource.json ├── get_user_challenges ├── get_user_challenges.json ├── get_user_challenges_count ├── get_user_challenges_count.json ├── get_user_design_challenges ├── get_user_design_challenges.json ├── get_user_design_challenges_count ├── get_user_design_challenges_count.json ├── get_user_email_and_handle ├── get_user_email_and_handle.json ├── get_user_email_by_handle ├── get_user_email_by_handle.json ├── get_user_handle ├── get_user_handle.json ├── get_user_handles ├── get_user_handles.json ├── get_user_id_by_handle ├── get_user_id_by_handle.json ├── get_user_id_by_social_account_email ├── get_user_id_by_social_account_email.json ├── get_user_id_by_social_account_name ├── get_user_id_by_social_account_name.json ├── get_user_id_by_social_user_id_and_provider_id ├── get_user_id_by_social_user_id_and_provider_id.json ├── get_user_information ├── get_user_information.json ├── get_user_marathon_matches ├── get_user_marathon_matches.json ├── get_user_marathon_matches_count ├── get_user_marathon_matches_count.json ├── get_user_notifies ├── get_user_notifies.json ├── get_user_preference_values ├── get_user_preference_values.json ├── get_user_rating ├── get_user_rating.json ├── get_user_reliability ├── get_user_reliability.json ├── get_user_review_applications ├── get_user_review_applications.json ├── get_user_status ├── get_user_status.json ├── get_user_submissions_for_challenge ├── get_user_submissions_for_challenge.json ├── has_access_to_project_as_autogrant_client ├── has_access_to_project_as_autogrant_client.json ├── has_access_to_project_as_billingaccount_member ├── has_access_to_project_as_billingaccount_member.json ├── has_access_to_project_as_directproject_member ├── has_access_to_project_as_directproject_member.json ├── has_cockpit_permissions ├── has_cockpit_permissions.json ├── insert_address ├── insert_address.json ├── insert_address_relation ├── insert_address_relation.json ├── insert_address_xref ├── insert_address_xref.json ├── insert_admin_group ├── insert_admin_group.json ├── insert_admin_role ├── insert_admin_role.json ├── insert_answer ├── insert_answer.json ├── insert_billing ├── insert_billing.json ├── insert_challenge_notification ├── insert_challenge_notification.json ├── insert_challenge_result ├── insert_challenge_result.json ├── insert_client ├── insert_client.json ├── insert_client_project ├── insert_client_project.json ├── insert_coder ├── insert_coder.json ├── insert_coder_image_xref ├── insert_coder_image_xref.json ├── insert_coder_referral ├── insert_coder_referral.json ├── insert_contact ├── insert_contact.json ├── insert_contact_relation ├── insert_contact_relation.json ├── insert_demographic_response ├── insert_demographic_response.json ├── insert_design_image ├── insert_design_image.json ├── insert_docusign_envelope ├── insert_docusign_envelope.json ├── insert_email ├── insert_email.json ├── insert_full_address ├── insert_full_address.json ├── insert_full_email ├── insert_full_email.json ├── insert_image ├── insert_image.json ├── insert_long_comp_result ├── insert_long_comp_result.json ├── insert_member_contact_black_list ├── insert_member_contact_black_list.json ├── insert_new_admin_resource ├── insert_new_admin_resource.json ├── insert_new_admin_resource_info ├── insert_new_admin_resource_info.json ├── insert_new_copilot ├── insert_new_copilot.json ├── insert_path ├── insert_path.json ├── insert_payment_accrual_amount ├── insert_payment_accrual_amount.json ├── insert_payment_method ├── insert_payment_method.json ├── insert_paypal_account_email ├── insert_paypal_account_email.json ├── insert_project_download_audit ├── insert_project_download_audit.json ├── insert_project_manager ├── insert_project_manager.json ├── insert_question_query ├── insert_question_query.json ├── insert_registration_record ├── insert_registration_record.json ├── insert_resource ├── insert_resource.json ├── insert_resource_info ├── insert_resource_info.json ├── insert_resource_submission ├── insert_resource_submission.json ├── insert_review_application ├── insert_review_application.json ├── insert_reviewer ├── insert_reviewer.json ├── insert_room ├── insert_room.json ├── insert_round_component ├── insert_round_component.json ├── insert_round_onlyid ├── insert_round_onlyid.json ├── insert_round_question ├── insert_round_question.json ├── insert_round_registration ├── insert_round_registration.json ├── insert_round_room_assignment ├── insert_round_room_assignment.json ├── insert_round_segments ├── insert_round_segments.json ├── insert_round_terms_acceptance ├── insert_round_terms_acceptance.json ├── insert_security_user ├── insert_security_user.json ├── insert_social_account ├── insert_social_account.json ├── insert_srm_contest ├── insert_srm_contest.json ├── insert_srm_contest_round ├── insert_srm_contest_round.json ├── insert_submission ├── insert_submission.json ├── insert_submission_image ├── insert_submission_image.json ├── insert_survey ├── insert_survey.json ├── insert_upload ├── insert_upload.json ├── insert_user ├── insert_user.json ├── insert_user_account ├── insert_user_account.json ├── insert_user_notify ├── insert_user_notify.json ├── insert_user_preference_values ├── insert_user_preference_values.json ├── insert_user_terms_of_use ├── insert_user_terms_of_use.json ├── is_user_client_admin_for_project ├── is_user_client_admin_for_project.json ├── list_srm_contest_rounds ├── list_srm_contest_rounds.json ├── load_active_payment_methods ├── load_active_payment_methods.json ├── load_payment_preference ├── load_payment_preference.json ├── load_payment_preference_accrual_amount ├── load_payment_preference_accrual_amount.json ├── mime_types ├── mime_types.json ├── new_billing_validations ├── new_billing_validations.json ├── new_client_validations ├── new_client_validations.json ├── past_client_challenges_costs ├── past_client_challenges_costs.json ├── past_data_science_challenges ├── past_data_science_challenges.json ├── past_data_science_challenges_count ├── past_data_science_challenges_count.json ├── remove_admin_group ├── remove_admin_group.json ├── remove_admin_resource ├── remove_admin_resource.json ├── remove_admin_resource_info ├── remove_admin_resource_info.json ├── remove_admin_role ├── remove_admin_role.json ├── remove_copilot ├── remove_copilot.json ├── remove_reviewer ├── remove_reviewer.json ├── restapi_statistics_category_name_valid ├── restapi_statistics_category_name_valid.json ├── review_opportunity_detail ├── review_opportunity_detail.json ├── search_past_software_studio_challenges ├── search_past_software_studio_challenges.json ├── search_past_software_studio_challenges_count ├── search_past_software_studio_challenges_count.json ├── search_private_past_software_studio_challenges ├── search_private_past_software_studio_challenges.json ├── search_private_past_software_studio_challenges_count ├── search_private_past_software_studio_challenges_count.json ├── search_private_software_studio_challenges ├── search_private_software_studio_challenges.json ├── search_private_software_studio_challenges_count ├── search_private_software_studio_challenges_count.json ├── search_software_review_opportunities_adjust_payment ├── search_software_review_opportunities_adjust_payment.json ├── search_software_review_opportunities_data ├── search_software_review_opportunities_data.json ├── search_software_studio_challenges ├── search_software_studio_challenges.json ├── search_software_studio_challenges_count ├── search_software_studio_challenges_count.json ├── search_software_studio_review_opportunities_default_payment ├── search_studio_review_opportunities ├── search_studio_review_opportunities.json ├── search_users ├── search_users.json ├── search_users_count ├── search_users_count.json ├── set_submission_rank ├── set_submission_rank.json ├── srm_clear_round_events ├── srm_clear_round_events.json ├── srm_clear_round_languages ├── srm_clear_round_languages.json ├── srm_get_accessible_rounds ├── srm_get_accessible_rounds.json ├── srm_get_all_languages ├── srm_get_all_languages.json ├── srm_insert_round_event ├── srm_insert_round_event.json ├── srm_insert_round_language ├── srm_insert_round_language.json ├── srm_update_room_assignment ├── srm_update_room_assignment.json ├── submission_images ├── submission_images.json ├── submissions_increment_rank ├── submissions_increment_rank.json ├── tc_direct_facts ├── tc_direct_facts.json ├── upcoming_data_science_challenges ├── upcoming_data_science_challenges.json ├── update_address ├── update_address.json ├── update_answer ├── update_answer.json ├── update_billing ├── update_billing.json ├── update_client ├── update_client.json ├── update_contest_round ├── update_contest_round.json ├── update_current_high_school ├── update_current_high_school.json ├── update_email ├── update_email.json ├── update_highest_id ├── update_highest_id.json ├── update_image ├── update_image.json ├── update_member_contact_black ├── update_member_contact_black.json ├── update_password ├── update_password.json ├── update_password_by_old_password ├── update_password_by_old_password.json ├── update_payment_accrual_amount ├── update_payment_accrual_amount.json ├── update_payment_method ├── update_payment_method.json ├── update_paypal_account_email ├── update_paypal_account_email.json ├── update_question_query ├── update_question_query.json ├── update_review_application ├── update_review_application.json ├── update_room_assignment ├── update_room_assignment.json ├── update_round_id ├── update_round_id.json ├── update_social_user_id ├── update_social_user_id.json ├── update_srm_contest ├── update_srm_contest.json ├── update_srm_contest_id ├── update_srm_contest_id.json ├── update_survey ├── update_survey.json ├── update_user_country_code ├── update_user_country_code.json ├── update_user_preference_values ├── update_user_preference_values.json ├── update_user_quote ├── update_user_quote.json ├── userid_to_password └── userid_to_password.json ├── resources └── studio_logo_watermark.png ├── restart.sh ├── routes.js ├── start.sh ├── stop.sh ├── tasks ├── runAction.js └── sendEmail.js ├── templates └── design_submission_declaration ├── test ├── accuracy │ ├── sqls │ │ ├── tcDirectFacts │ │ │ ├── informixoltp__clean │ │ │ ├── tcs_catalog__clean │ │ │ └── tcs_catalog__insert_test_data │ │ └── tops │ │ │ ├── tcs_dw__clean │ │ │ ├── tcs_dw__insert_test_data │ │ │ ├── topcoder_dw__clean │ │ │ ├── topcoder_dw__insert_test_data.part1 │ │ │ └── topcoder_dw__insert_test_data.part2 │ ├── test.tcDirectFacts.js │ └── test.tops.js ├── docker │ └── docker-compose.yml ├── failure │ └── test.tops.js ├── helpers │ ├── manualJwt.js │ └── testHelper.js ├── mocha.opts ├── postman │ ├── New_Challenge_Visibility_Control.postman_collection.json │ ├── New_Challenge_Visibility_Control.postman_environment.json │ ├── Reviewer_Management_API.json │ └── Reviewer_Management_API_environment.json ├── scripts │ ├── bridge.js │ └── mock_v3.js ├── sqls │ ├── activateUser │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ ├── activeAndUpcomingDataScienceChallenges │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── admins │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── agreeTermsOfUse │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── select_heffan_terms_of_use_xref │ │ ├── select_heffan_terms_of_use_xref.json │ │ ├── select_user_terms_of_use_xref │ │ └── select_user_terms_of_use_xref.json │ ├── applyDevelopReviewOpportunity │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── basicUserProfile │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── informixoltp__update_is_pm │ │ ├── informixoltp__update_show_earning │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_catalog__update_software_copilot │ │ ├── tcs_catalog__update_studio_copilot │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__insert_test_data │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── billingAccountPermission │ │ ├── time_oltp__clean │ │ └── time_oltp__insert_test_data │ ├── challengeAnalyze │ │ ├── corporate_oltp__clean │ │ ├── corporate_oltp__insert_test_data │ │ ├── jive__clean │ │ ├── jive__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ ├── tcs_catalog__insert_test_data.part3 │ │ ├── time_oltp__clean │ │ └── time_oltp__insert_test_data │ ├── challengeCosts │ │ ├── corporate_oltp__clean │ │ ├── corporate_oltp__insert_test_data │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ ├── time_oltp__clean │ │ └── time_oltp__insert_test_data │ ├── challengeRegistration │ │ ├── common_oltp__clean │ │ ├── common_oltp__clean.json │ │ ├── common_oltp__clean.sql │ │ ├── common_oltp__create_sequence.sql │ │ ├── common_oltp__insert_test_data │ │ ├── common_oltp__insert_test_data.json │ │ ├── common_oltp__insert_test_data.sql │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── jive__clean │ │ ├── jive__clean.json │ │ ├── jive__clean.sql │ │ ├── jive__insert_test_data │ │ ├── jive__insert_test_data.json │ │ ├── jive__insert_test_data.sql │ │ ├── jive__select_jivegroupuser │ │ ├── jive__select_jivegroupuser.json │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__clean.json │ │ ├── tcs_catalog__clean.sql │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_catalog__insert_test_data.json │ │ ├── tcs_catalog__insert_test_data.sql │ │ ├── tcs_catalog__select_component_inquiry │ │ ├── tcs_catalog__select_component_inquiry.json │ │ ├── tcs_catalog__select_project_result │ │ ├── tcs_catalog__select_project_result.json │ │ ├── tcs_catalog__select_software_challenge_resource │ │ ├── tcs_catalog__select_software_challenge_resource.json │ │ ├── tcs_catalog__select_software_challenge_resource_info │ │ ├── tcs_catalog__select_software_challenge_resource_info.json │ │ ├── tcs_catalog__select_software_notification │ │ ├── tcs_catalog__select_software_notification.json │ │ ├── tcs_catalog__select_studio_challenge_resource │ │ ├── tcs_catalog__select_studio_challenge_resource.json │ │ ├── tcs_catalog__select_studio_challenge_resource_info │ │ ├── tcs_catalog__select_studio_challenge_resource_info.json │ │ ├── tcs_catalog__select_studio_notification │ │ └── tcs_catalog__select_studio_notification.json │ ├── challengeResults │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_dw__clean │ │ └── tcs_dw__insert_test_data │ ├── challengeUnregistration │ │ ├── common_oltp__clean │ │ ├── common_oltp__clean.json │ │ ├── common_oltp__clean.sql │ │ ├── common_oltp__create_sequence.sql │ │ ├── common_oltp__insert_test_data │ │ ├── common_oltp__insert_test_data.json │ │ ├── common_oltp__insert_test_data.sql │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── jive__clean │ │ ├── jive__clean.json │ │ ├── jive__clean.sql │ │ ├── jive__insert_test_data │ │ ├── jive__insert_test_data.json │ │ ├── jive__insert_test_data.sql │ │ ├── jive__select_jiveuserperm │ │ ├── jive__select_jiveuserperm.json │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__clean.json │ │ ├── tcs_catalog__clean.sql │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_catalog__insert_test_data.json │ │ ├── tcs_catalog__insert_test_data.sql │ │ ├── tcs_catalog__select_component_inquiry │ │ ├── tcs_catalog__select_component_inquiry.json │ │ ├── tcs_catalog__select_project_result │ │ ├── tcs_catalog__select_project_result.json │ │ ├── tcs_catalog__select_software_challenge_component_inquiry │ │ ├── tcs_catalog__select_software_challenge_component_inquiry.json │ │ ├── tcs_catalog__select_software_challenge_resource │ │ ├── tcs_catalog__select_software_challenge_resource.json │ │ ├── tcs_catalog__select_software_challenge_resource_info │ │ ├── tcs_catalog__select_software_challenge_resource_info.json │ │ ├── tcs_catalog__select_studio_challenge_resource │ │ ├── tcs_catalog__select_studio_challenge_resource.json │ │ ├── tcs_catalog__select_studio_challenge_resource_info │ │ └── tcs_catalog__select_studio_challenge_resource_info.json │ ├── challenges │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ ├── tcs_dw__clean │ │ └── tcs_dw__insert_test_data │ ├── challengesStudio │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_dw__clean │ │ └── tcs_dw__insert_test_data │ ├── checkpoint │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ └── tcs_catalog__insert_test_data.part3 │ ├── copilots │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── createBilling │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── time_oltp__clean │ │ └── time_oltp__insert_test_data │ ├── createCustomer │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── time_oltp__clean │ │ └── time_oltp__insert_test_data │ ├── dataScienceChallenges │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__insert_test_data │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── desDownloadSubmission │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── desUploadSubmission │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__clean.part1 │ │ └── tcs_catalog__insert_test_data │ ├── devDownloadSubmission │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── devUploadSubmission │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── docusign │ │ ├── callback │ │ │ ├── common_oltp__clean │ │ │ ├── common_oltp__insert_test_data │ │ │ ├── informixoltp__clean │ │ │ └── informixoltp__insert_test_data │ │ └── recipientViewUrl │ │ │ ├── common_oltp__clean │ │ │ ├── common_oltp__insert_test_data │ │ │ └── informixoltp__clean │ ├── downloadDocument │ │ ├── tcs_catalog__clear │ │ └── tcs_catalog__insert_test_data │ ├── generateJWT │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ ├── getChallengesRSS │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── getTrackStatistics │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ └── tcs_catalog__insert_test_data.part2 │ ├── getUserAlgoChallenges │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── getUserMarathonMatches │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── getUserSubmissions │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── marathonChallenges │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data_details │ │ ├── informixoltp__clean │ │ ├── informixoltp__clean_winner │ │ ├── informixoltp__insert_test_data │ │ ├── informixoltp__insert_test_data_details.part1 │ │ ├── informixoltp__insert_test_data_details.part2 │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── marathonRegInfo │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── memberMarathonStatistics │ │ ├── topcoder_dw__clean │ │ ├── topcoder_dw__insert_test_data │ │ └── topcoder_dw__set_ranked │ ├── memberSRMStatistics │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__insert_test_data │ │ ├── topcoder_dw__clean │ │ ├── topcoder_dw__clean_levels │ │ ├── topcoder_dw__insert_test_data │ │ └── topcoder_dw__set_ranked │ ├── memberSearch │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ ├── memberSoftwareStatistics │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__clean_reviewer_rating │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__clean_tracks │ │ ├── tcs_dw__insert_test_data │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── memberStudioStatistics │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__clean_tracks │ │ ├── tcs_catalog__insert_test_data │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── member_statistics │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__clean.json │ │ ├── tcs_dw__insert_test_data.part1 │ │ ├── tcs_dw__insert_test_data.part2 │ │ ├── tcs_dw__insert_test_data.part3 │ │ ├── tcs_dw__insert_test_data.part4 │ │ └── tcs_dw__insert_test_data.part5 │ ├── modifyDeleteAnswer │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── oauth │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ ├── paymentPreference │ │ ├── informixoltp__get_clean │ │ ├── informixoltp__get_insert │ │ ├── informixoltp__post_clean │ │ └── informixoltp__post_insert │ ├── payments │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── privateChallenges │ │ ├── corporate_oltp__clean │ │ ├── corporate_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── recentDesignWinningSubmissions │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ ├── tcs_catalog__insert_test_data.part3 │ │ ├── tcs_catalog__insert_test_data.part4 │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── referralLeaderboard │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert │ ├── registerMarathonChallenge │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── register_member │ │ ├── common_oltp__clean │ │ ├── common_oltp__clean.json │ │ ├── common_oltp__get_current_user_seq │ │ ├── common_oltp__get_current_user_seq.json │ │ ├── common_oltp__insert_test_data │ │ ├── common_oltp__insert_test_data.json │ │ ├── common_oltp__select_security_user │ │ ├── common_oltp__select_security_user.json │ │ ├── common_oltp__select_user │ │ ├── common_oltp__select_user.json │ │ ├── common_oltp__select_user_default_reg_source │ │ ├── common_oltp__select_user_default_reg_source.json │ │ ├── common_oltp__select_user_group │ │ ├── common_oltp__select_user_group.json │ │ ├── common_oltp__select_user_reg_source │ │ ├── common_oltp__select_user_reg_source.json │ │ ├── common_oltp__select_user_social │ │ ├── common_oltp__select_user_social.json │ │ ├── informixoltp__clean │ │ └── informixoltp__clean.json │ ├── reportsGetActiveBillingAccounts │ │ ├── time_oltp__restore │ │ ├── time_oltp__update_test_data_1 │ │ └── time_oltp__update_test_data_2 │ ├── reportsGetClientActiveChallengeCosts │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── corporate_oltp__clean │ │ ├── corporate_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part10 │ │ ├── tcs_catalog__insert_test_data.part11 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ ├── tcs_catalog__insert_test_data.part3 │ │ ├── tcs_catalog__insert_test_data.part4 │ │ ├── tcs_catalog__insert_test_data.part5 │ │ ├── tcs_catalog__insert_test_data.part6 │ │ ├── tcs_catalog__insert_test_data.part7 │ │ ├── tcs_catalog__insert_test_data.part8 │ │ ├── tcs_catalog__insert_test_data.part9 │ │ ├── time_oltp__clean │ │ └── time_oltp__insert_test_data │ ├── reportsGetClientChallengeCosts │ │ ├── tcs_dw__clean │ │ └── tcs_dw__insert_test_data │ ├── resetPassword │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ ├── reviewOpportunities │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ └── tcs_catalog__prepare_design_test_data │ ├── reviewers │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── rounds │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── softwareChallengeDetail │ │ ├── tcs_catalog__delete.sql │ │ └── tcs_catalog__insert.sql │ ├── softwareReviewOpportunityDetails │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── srmChallenges │ │ ├── informixoltp__clear_contest │ │ ├── informixoltp_clear │ │ ├── informixoltp_insert_challenges │ │ ├── topcoder_dw__clear │ │ ├── topcoder_dw__insert_challenges │ │ └── topcoder_dw__insert_detail │ ├── srmContestManagement │ │ ├── informixoltp__clean │ │ └── informixoltp__insert │ ├── srmPracticeProblems │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── srmProblems │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── srmRoundComponentsAndTerms │ │ └── informixoltp__clean │ ├── srmRoundConfig │ │ ├── informixoltp__clean │ │ └── informixoltp__insert │ ├── srmRoundManagement │ │ ├── informixoltp__clear │ │ └── informixoltp__insert_rounds │ ├── srmRoundQuestions │ │ └── informixoltp__clean │ ├── srmRoundSegments │ │ └── informixoltp__clean │ ├── srmRoundsForProblem │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert │ ├── srmSchedule │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── studioReviewOpportunityDetails │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── studioTops │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data.part1 │ │ ├── tcs_catalog__insert_test_data.part2 │ │ ├── tcs_catalog__insert_test_data.part3 │ │ └── tcs_catalog__insert_test_data.part4 │ ├── termsOfUse │ │ ├── common_oltp__clean │ │ ├── common_oltp__insert_test_data │ │ ├── tcs_catalog__clean │ │ └── tcs_catalog__insert_test_data │ ├── topTrackMembers │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__insert_test_data │ │ ├── topcoder_dw__clean │ │ ├── topcoder_dw__insert_test_data.part1 │ │ ├── topcoder_dw__insert_test_data.part2 │ │ └── topcoder_dw__insert_test_data.part3 │ ├── tops │ │ ├── tcs_dw__clean │ │ ├── tcs_dw__insert_test_data │ │ ├── topcoder_dw__clean │ │ ├── topcoder_dw__insert_test_data.part1 │ │ └── topcoder_dw__insert_test_data.part2 │ ├── topsMarathon │ │ ├── informixoltp__clean │ │ ├── informixoltp__insert_test_data │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert_test_data │ ├── topsSRM │ │ ├── topcoder_dw__clean │ │ ├── topcoder_dw__clean.json │ │ ├── topcoder_dw__insert_test_data.json │ │ ├── topcoder_dw__insert_test_data.part1 │ │ ├── topcoder_dw__insert_test_data.part2 │ │ ├── topcoder_dw__insert_test_data.part3 │ │ ├── topcoder_dw__insert_test_data.part4 │ │ └── topcoder_dw__insert_test_data.part5 │ ├── updateUserProfile │ │ ├── topcoder_dw__clean │ │ └── topcoder_dw__insert │ ├── uploadMemberPhoto │ │ ├── informixoltp__clean │ │ └── informixoltp__insert_test_data │ ├── userActivationEmail │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ ├── userChallenges │ │ ├── tcs_catalog__clean │ │ ├── tcs_catalog__insert_test_data │ │ ├── tcs_dw__clean │ │ └── tcs_dw__insert_test_data │ ├── validateHandle │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data │ └── validateSocial │ │ ├── common_oltp__clean │ │ └── common_oltp__insert_test_data ├── test.SRMContestManagement.js ├── test.activateUser.js ├── test.activeAndUpcomingDataScienceChallenges.js ├── test.admins.js ├── test.applyDesignReviewOpportunity.js ├── test.applyDevelopReviewOpportunity.js ├── test.auth.js ├── test.auth0ViewUrl.js ├── test.basicUserProfile.js ├── test.billingAccountPermission.js ├── test.billingCreate.js ├── test.bugs.js ├── test.caching.js ├── test.challengeCosts.js ├── test.challengeRegistration.js ├── test.challengeResults.js ├── test.challengeTypes.js ├── test.challengeUnregistration.js ├── test.challenges.js ├── test.checkpoint.js ├── test.copilots.js ├── test.countries.js ├── test.createAdmin.js ├── test.createCopilot.js ├── test.createReviewer.js ├── test.customerCreate.js ├── test.data.js ├── test.desDownloadSubmission.js ├── test.devDownloadSubmission.js ├── test.docusignCallback.js ├── test.docusignRecipientViewUrl.js ├── test.downloadDocument.js ├── test.emailValidation.js ├── test.generateResetToken.js ├── test.getChallengeAnalyze.js ├── test.getChallengesRSS.js ├── test.getSRMSchedule.js ├── test.getTrackStatistics.js ├── test.getUserAlgoChallenges.js ├── test.getUserIdentity.js ├── test.getUserMarathonMatches.js ├── test.getUserSubmissions.js ├── test.marathonChallenges.js ├── test.marathonRegInfo.js ├── test.memberMarathonStatistics.js ├── test.memberSRMStatistics.js ├── test.memberSearch.js ├── test.memberSoftwareStatistics.js ├── test.memberStatistics.js ├── test.memberStudioStatistics.js ├── test.modifyDeleteAnswers.js ├── test.oauth.js ├── test.parameterizeQuery.js ├── test.pastDataScienceChallenges.js ├── test.paymentPreference.js ├── test.payments.js ├── test.recentDesignWinningSubmissions.js ├── test.referralLeaderboard.js ├── test.registerMarathonMatchChallenge.js ├── test.register_member.js ├── test.removeAdmin.js ├── test.removeCopilot.js ├── test.removeReviewer.js ├── test.reportsGetActiveBillingAccounts.js ├── test.reportsGetClientActiveChallengeCosts.js ├── test.reportsGetClientChallengeCosts.js ├── test.resetPassword.js ├── test.reviewOpportunities.js ├── test.reviewers.js ├── test.rounds.js ├── test.softwareReviewOpportunityDetails.js ├── test.sourceCodeImage.js ├── test.splitChallengesAPI.js ├── test.srmChallenges.js ├── test.srmPracticeProblems.js ├── test.srmProblems.js ├── test.srmRoundComponentsAndTerms.js ├── test.srmRoundConfig.js ├── test.srmRoundManagement.js ├── test.srmRoundQuestions.js ├── test.srmRoundSegments.js ├── test.srmRoundsForProblem.js ├── test.ssoValidation.js ├── test.studioReviewOpportunityDetails.js ├── test.studioTops.js ├── test.submitDesignChallenge.js ├── test.submitDevelopChallenge.js ├── test.termsOfUse.js ├── test.topTrackMembers.js ├── test.tops.js ├── test.topsMarathon.js ├── test.topsSRM.js ├── test.unifiedSubmissionValidator.js ├── test.updatePassword.js ├── test.updateUserProfile.js ├── test.uploadDevelopChallenge.js ├── test.uploadMemberPhoto.js ├── test.userActivationEmail.js ├── test.userDesignChallenges.js ├── test.userDevelopChallenges.js ├── test.validateHandle.js ├── test.validateSocial.js ├── testUnitJDBC.js ├── test_files │ ├── .DS_Store │ ├── SRMContestManagement │ │ └── expected-list.json │ ├── activeAndUpcomingDataScienceChallenges │ │ ├── expected_active_full.json │ │ ├── expected_filtered_active_full.json │ │ ├── expected_filtered_upcoming_full.json │ │ └── expected_upcoming_full.json │ ├── admins │ │ ├── expect_create_admin.json │ │ ├── expect_create_admin_with_empty_body.json │ │ ├── expect_create_admin_with_exist_admin_resource.json │ │ ├── expect_get_admins.json │ │ ├── expect_remove_admin.json │ │ └── expect_remove_admin_with_empty_body.json │ ├── copilots │ │ ├── expect_create_copilot.json │ │ ├── expect_create_copilot_with_empty_body.json │ │ ├── expect_create_copilot_with_missing_isSoftwareCopilot.json │ │ ├── expect_create_copilot_with_missing_isStudioCopilot.json │ │ ├── expect_get_copilots.json │ │ ├── expect_remove_copilot.json │ │ └── expect_remove_copilot_with_empty_body.json │ ├── dataScienceChallenges │ │ ├── expected_full.json │ │ ├── expected_no_filter.json │ │ ├── expected_no_paging.json │ │ ├── expected_paging.json │ │ ├── expected_sorting_by_challengeCommunity.json │ │ ├── expected_sorting_by_challengeId.json │ │ ├── expected_sorting_by_challengeName.json │ │ ├── expected_sorting_by_challengeType.json │ │ ├── expected_sorting_by_numRegistrants.json │ │ ├── expected_sorting_by_numSubmissions.json │ │ ├── expected_sorting_by_postingDate.json │ │ ├── expected_sorting_by_postingDate_ascending.json │ │ ├── expected_sorting_by_registrationStartDate.json │ │ ├── expected_sorting_by_submissionEndDate.json │ │ ├── expected_submission_end_from.json │ │ ├── expected_submission_end_from_to.json │ │ └── expected_submission_end_to.json │ ├── des_upload_submission │ │ ├── empty.zip │ │ ├── preview.gif │ │ ├── preview.jpg │ │ ├── source.zip │ │ ├── strange.blah │ │ └── submission.zip │ ├── design_image_file_generator │ │ ├── many_images_submission.zip │ │ ├── sample_submission.zip │ │ ├── studio_logo_watermark.png │ │ ├── test-data-submission.sql │ │ └── testDesignImageFileGenerator.html │ ├── dev_download_submission │ │ ├── submission │ │ │ ├── docs │ │ │ │ └── sample.doc │ │ │ └── readme │ │ ├── test.7z │ │ ├── test.doc │ │ ├── test.docx │ │ ├── test.jar │ │ ├── test.tar.gz │ │ └── test.zip │ ├── dev_upload_submission │ │ ├── sample_submission.zip │ │ └── sample_submission_too_large.zip │ ├── expected_apply_software_review_opportunities_response_message.json │ ├── expected_basic_user_profile_heffan.json │ ├── expected_basic_user_profile_heffan_ach.json │ ├── expected_basic_user_profile_heffan_earning_ratings.json │ ├── expected_basic_user_profile_heffan_is_pm.json │ ├── expected_basic_user_profile_heffan_no_data.json │ ├── expected_basic_user_profile_heffan_ratings.json │ ├── expected_basic_user_profile_heffan_show_earning.json │ ├── expected_basic_user_profile_super.json │ ├── expected_billing_account_permission_1.json │ ├── expected_billing_account_permission_2.json │ ├── expected_billing_account_permission_3.json │ ├── expected_billing_account_permission_error_message.json │ ├── expected_challenge_analyze_1.json │ ├── expected_challenge_registration_software_component_inquiry.txt │ ├── expected_challenge_registration_software_notification.txt │ ├── expected_challenge_registration_software_project_result.txt │ ├── expected_challenge_registration_software_resource.txt │ ├── expected_challenge_registration_software_resource_info.txt │ ├── expected_challenge_registration_studio_notification.txt │ ├── expected_challenge_registration_studio_resource.txt │ ├── expected_challenge_registration_studio_resource_info.txt │ ├── expected_checkpoint_software.json │ ├── expected_checkpoint_software_2.json │ ├── expected_checkpoint_software_3.json │ ├── expected_checkpoint_software_priv.json │ ├── expected_checkpoint_studio.json │ ├── expected_checkpoint_studio_2.json │ ├── expected_checkpoint_studio_3.json │ ├── expected_checkpoint_studio_priv.json │ ├── expected_copilot_stats.json │ ├── expected_f2f_challenge_detail.json │ ├── expected_get_bugs_all.json │ ├── expected_get_bugs_closed.json │ ├── expected_get_bugs_open.json │ ├── expected_get_challenge_analyze_error_message.json │ ├── expected_get_challenge_costs_1.json │ ├── expected_get_challenge_costs_2.json │ ├── expected_get_challenge_costs_error_message.json │ ├── expected_get_challenge_rss_active.json │ ├── expected_get_challenge_rss_design_open.json │ ├── expected_get_challenge_rss_develop_open.json │ ├── expected_get_challenge_rss_upcoming.json │ ├── expected_get_challenges_rss_error_message.json │ ├── expected_get_challengetypes.txt │ ├── expected_get_client_active_challenge_costs_1.json │ ├── expected_get_client_active_challenge_costs_2.json │ ├── expected_get_client_active_challenge_costs_3.json │ ├── expected_get_client_challenge_costs_1.json │ ├── expected_get_client_challenge_costs_2.json │ ├── expected_get_client_challenge_costs_3.json │ ├── expected_get_client_challenge_costs_4.json │ ├── expected_get_countries.txt │ ├── expected_get_software_review_opportunities_1.json │ ├── expected_get_software_review_opportunities_2.json │ ├── expected_get_software_review_opportunities_3.json │ ├── expected_get_software_review_opportunities_4.json │ ├── expected_get_software_review_opportunity_detail_1.json │ ├── expected_get_software_review_opportunity_detail_2.json │ ├── expected_get_software_review_opportunity_detail_3.json │ ├── expected_get_software_review_opportunity_detail_4.json │ ├── expected_get_software_review_opportunity_detail_5.json │ ├── expected_get_software_review_opportunity_details_error_message.json │ ├── expected_get_software_studio_review_opportunities_error_message.json │ ├── expected_get_softwaretypes.txt │ ├── expected_get_srm_challenge.json │ ├── expected_get_srm_schedule.json │ ├── expected_get_studio_review_opportunities_1.json │ ├── expected_get_studio_review_opportunity_details_error_message.txt │ ├── expected_get_studio_tops_error_message.txt │ ├── expected_get_studiotypes.txt │ ├── expected_get_track_statistics_1.json │ ├── expected_get_track_statistics_2.json │ ├── expected_get_track_statistics_3.json │ ├── expected_get_track_statistics_data.json │ ├── expected_get_track_statistics_design.json │ ├── expected_get_track_statistics_develop.json │ ├── expected_get_track_statistics_error_message.json │ ├── expected_get_user_challenges_1.json │ ├── expected_get_user_challenges_2.json │ ├── expected_get_user_challenges_error_message.json │ ├── expected_get_user_identity_1.json │ ├── expected_get_user_submissions_1.json │ ├── expected_get_user_submissions_2.json │ ├── expected_get_user_submissions_3.json │ ├── expected_get_user_submissions_response_message.json │ ├── expected_jivegroupuser.txt │ ├── expected_marathon_challenges_1.json │ ├── expected_marathon_challenges_2.json │ ├── expected_marathon_challenges_3.json │ ├── expected_marathon_challenges_4.json │ ├── expected_marathon_challenges_5.json │ ├── expected_marathon_challenges_details.json │ ├── expected_marathon_challenges_details_2.json │ ├── expected_marathon_member_stats_1.json │ ├── expected_marathon_member_stats_2.json │ ├── expected_marathon_reg_info.json │ ├── expected_marathon_reg_info_empty_questions.json │ ├── expected_member_register_invalid_1.txt │ ├── expected_member_register_invalid_2.txt │ ├── expected_member_register_invalid_3.txt │ ├── expected_member_register_invalid_4.txt │ ├── expected_member_register_invalid_5.txt │ ├── expected_member_register_invalid_existing.txt │ ├── expected_member_register_validate_default_reg_source.txt │ ├── expected_member_register_validate_reg_source.txt │ ├── expected_member_register_validate_security_user.txt │ ├── expected_member_register_validate_user.txt │ ├── expected_member_register_validate_user_group.txt │ ├── expected_member_register_validate_user_social.txt │ ├── expected_member_software_stats.json │ ├── expected_member_software_stats_no_reviewer_rating.json │ ├── expected_member_software_stats_no_tracks.json │ ├── expected_member_software_track_development.json │ ├── expected_member_studio_stats.json │ ├── expected_member_studio_stats_no_tracks.json │ ├── expected_payment_list_0.json │ ├── expected_payment_list_10.json │ ├── expected_payment_list_13.json │ ├── expected_payment_list_2.json │ ├── expected_payment_list_7.json │ ├── expected_payment_list_heffan_0.json │ ├── expected_recent_design_winning_submissions_Partha_5.json │ ├── expected_recent_design_winning_submissions_annej9ny.json │ ├── expected_recent_design_winning_submissions_heffan.json │ ├── expected_recent_design_winning_submissions_partha_10.json │ ├── expected_register_marathon_match_challenge_error_message.json │ ├── expected_reset_password_error_message.json │ ├── expected_results_challenge_69001.json │ ├── expected_results_challenge_69002.json │ ├── expected_results_challenge_69013.json │ ├── expected_search_members_CDE.json │ ├── expected_search_members_aaa.json │ ├── expected_search_members_bc.json │ ├── expected_search_members_liquid_user.json │ ├── expected_search_members_wildcard_a%.json │ ├── expected_search_members_wildcard_a%3.json │ ├── expected_search_members_wildcard_b_.json │ ├── expected_software_challenge_detail.json │ ├── expected_split_challenges_error_message.json │ ├── expected_srm_member_stats_1.json │ ├── expected_srm_member_stats_2.json │ ├── expected_srm_member_stats_3.json │ ├── expected_terms_detail_20963.json │ ├── expected_terms_detail_21114.json │ ├── expected_terms_for_challenge_40000001_role_Client_Manager.json │ ├── expected_terms_for_challenge_40000001_role_Reviewer.json │ ├── expected_terms_for_challenge_40000001_role_Submitter.json │ ├── expected_terms_for_challenge_40000001_user11.json │ ├── expected_terms_for_challenge_40000001_user12.json │ ├── expected_terms_for_challenge_40000015_user18.json │ ├── expected_top_marathon_1.json │ ├── expected_top_marathon_2.json │ ├── expected_top_marathon_3.json │ ├── expected_top_marathon_4.json │ ├── expected_top_marathon_5.json │ ├── expected_top_marathon_6.json │ ├── expected_top_marathon_7.json │ ├── expected_top_srm_1.json │ ├── expected_top_srm_2.json │ ├── expected_top_srm_3.json │ ├── expected_top_srm_4.json │ ├── expected_top_srm_5.json │ ├── expected_top_srm_6.json │ ├── expected_top_srm_7.json │ ├── expected_update_password_error_message.json │ ├── expected_upload_member_photo_error_message.json │ ├── expected_user_activation_email_error_message.json │ ├── exptected_member_register_success.txt │ ├── exptected_studio_challenge_details.json │ ├── exptected_studio_challenge_details_1.json │ ├── getUserAlgoChallenges │ │ ├── expected_get_user_algo_challenges_error_message.json │ │ ├── expected_response_1.json │ │ ├── expected_response_2.json │ │ ├── expected_response_3.json │ │ ├── expected_response_4.json │ │ ├── expected_response_5.json │ │ ├── expected_response_6.json │ │ └── expected_response_7.json │ ├── getUserMarathonMatches │ │ ├── expected_get_user_marathon_matches_error_message.json │ │ ├── expected_response_1.json │ │ ├── expected_response_2.json │ │ ├── expected_response_3.json │ │ ├── expected_response_4.json │ │ ├── expected_response_5.json │ │ ├── expected_response_6.json │ │ └── expected_response_7.json │ ├── member_statistics │ │ ├── expected_empty_history.txt │ │ ├── expected_history_architecture.txt │ │ ├── expected_history_assembly.txt │ │ ├── expected_history_conceptualization.txt │ │ ├── expected_history_content_creation.txt │ │ ├── expected_history_design.txt │ │ ├── expected_history_development.txt │ │ ├── expected_history_ria_build.txt │ │ ├── expected_history_specification.txt │ │ ├── expected_history_test_scenarios.txt │ │ ├── expected_history_test_suites.txt │ │ └── expected_history_ui_prototypes.txt │ ├── referralLeaderboard │ │ ├── all.json │ │ ├── appirio.json │ │ └── nonappirio.json │ ├── reports │ │ ├── expected_get_active_billing_accounts_empty.json │ │ └── expected_get_active_billing_accounts_two.json │ ├── reviewers │ │ ├── expect_create_reviewer.json │ │ ├── expect_create_reviewer_with_empty_body.json │ │ ├── expect_create_reviewer_with_missing_categoryId.json │ │ ├── expect_get_reviewers.json │ │ ├── expect_remove_reviewer.json │ │ ├── expect_remove_reviewer_with_empty_body.json │ │ └── expect_remove_reviewer_with_missing_categoryId.json │ ├── rounds │ │ ├── expected_default_parameters.json │ │ ├── expected_full_parameters.json │ │ ├── expected_name_parameters.json │ │ ├── expected_pagination_parameters.json │ │ ├── expected_sort_parameters.json │ │ ├── expected_status_parameters.json │ │ ├── expected_time_parameters.json │ │ ├── expected_type_parameters.json │ │ └── expected_web_arena_super.json │ ├── sourceCodeImage │ │ ├── c++.txt │ │ ├── cs.txt │ │ ├── java-100k.txt │ │ ├── java-10k.txt │ │ ├── java-30k.txt │ │ ├── java-60k.txt │ │ ├── java.txt │ │ ├── python.txt │ │ └── vbnet.txt │ ├── srmChallengesData.json │ ├── srmPracticeProblems │ │ ├── expected_srm_practice_problems_1.json │ │ ├── expected_srm_practice_problems_10.json │ │ ├── expected_srm_practice_problems_11.json │ │ ├── expected_srm_practice_problems_2.json │ │ ├── expected_srm_practice_problems_3.json │ │ ├── expected_srm_practice_problems_4.json │ │ ├── expected_srm_practice_problems_5.json │ │ ├── expected_srm_practice_problems_6.json │ │ ├── expected_srm_practice_problems_7.json │ │ ├── expected_srm_practice_problems_8.json │ │ ├── expected_srm_practice_problems_9.json │ │ └── expected_srm_practice_problems_error_message.json │ ├── srmRoundConfig │ │ └── expected-accessible_rounds.json │ ├── srmRoundManagement │ │ ├── contest30001.json │ │ ├── contest30001_remove.json │ │ ├── contest30002.json │ │ ├── contest30002_remove.json │ │ ├── contest30003.json │ │ ├── contest30003_create.json │ │ ├── contest30007.json │ │ ├── contest30008.json │ │ ├── contest30010.json │ │ ├── contest30011.json │ │ ├── empty.json │ │ ├── good_modify_request.json │ │ └── good_request.json │ ├── srmSchedule │ │ ├── expected_get_srm_schedule_error_message.json │ │ ├── expected_srm_schedule_1.json │ │ ├── expected_srm_schedule_2.json │ │ ├── expected_srm_schedule_3.json │ │ ├── expected_srm_schedule_4.json │ │ ├── expected_srm_schedule_5.json │ │ ├── expected_srm_schedule_6.json │ │ ├── expected_srm_schedule_7.json │ │ └── expected_srm_schedule_8.json │ ├── srm_problems │ │ ├── empty.json │ │ ├── list_round_problem_components.json │ │ ├── list_round_problem_components_empty.json │ │ ├── list_round_problem_components_global.json │ │ ├── list_round_problems.json │ │ ├── list_round_problems_empty.json │ │ ├── list_srm_problems.json │ │ └── list_used_srm_problems.json │ ├── test_queries │ │ ├── test_data_prepare │ │ ├── test_validate_security_user │ │ ├── test_validate_user │ │ ├── test_validate_user_group │ │ └── test_validate_user_social │ ├── topTrackMembers │ │ ├── expected_data.json │ │ ├── expected_design.json │ │ ├── expected_develop.json │ │ ├── expected_develop_no_paging.json │ │ ├── expected_develop_page_index_10.json │ │ ├── expected_develop_page_index_100.json │ │ └── expected_develop_page_size_100.json │ ├── unified_submission_validator │ │ ├── empty.zip │ │ ├── get_files.zip │ │ ├── no_preview_file_submission.jar │ │ ├── no_preview_file_submission.zip │ │ ├── no_preview_image_submission.jar │ │ ├── no_preview_image_submission.zip │ │ ├── no_source_submission.jar │ │ ├── no_source_submission.zip │ │ ├── valid_submission.jar │ │ └── valid_submission.zip │ ├── upload_member_photo │ │ ├── test.bmp │ │ ├── test.jpeg │ │ ├── test.jpg │ │ ├── test.png │ │ ├── test.txt │ │ └── tooLarge.jpg │ └── user_profile_private │ │ ├── expected_basic_user_profile_dok_tester_private.json │ │ ├── expected_basic_user_profile_heffan_private.json │ │ ├── expected_basic_user_profile_super_private.json │ │ └── expected_basic_user_profile_user_private.json └── tmp │ ├── design_submissions │ ├── 654001 │ │ └── hung_124764 │ │ │ ├── 654021_full.zip │ │ │ ├── 654021_preview.zip │ │ │ ├── tablet-01.png │ │ │ ├── tablet-02.png │ │ │ └── tablet-03.png │ ├── 654003 │ │ └── hung_124764 │ │ │ └── full25.zip │ ├── 654004 │ │ ├── hung_124764 │ │ │ ├── 654036_preview.zip │ │ │ └── full36.zip │ │ └── sandking_124776 │ │ │ └── full37.zip │ ├── 654005 │ │ └── hung_124764 │ │ │ ├── 654027_full.zip │ │ │ ├── globe-01.png │ │ │ ├── sample.BMP │ │ │ ├── sample.gif │ │ │ ├── sample.ico │ │ │ └── sample.jpg │ ├── README.md │ └── some │ │ └── weird │ │ └── path │ │ └── mail-01.png │ ├── design_tmp_submissions │ └── README.md │ └── submissions │ └── README ├── testAndKill.sh ├── test_file ├── js │ └── jquery-1.4.1.min.js └── test.html └── workers.sh /Procfile: -------------------------------------------------------------------------------- 1 | web: ./runServer.sh 2 | -------------------------------------------------------------------------------- /config/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/config/.DS_Store -------------------------------------------------------------------------------- /deploy/.env.sh.swp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/deploy/.env.sh.swp -------------------------------------------------------------------------------- /docs/Deployment Guide.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/docs/Deployment Guide.doc -------------------------------------------------------------------------------- /docs/Module Assembly - Payment Preference APIs v1.1.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/docs/Module Assembly - Payment Preference APIs v1.1.doc -------------------------------------------------------------------------------- /docs/TC API - Rounds For Problem API 1.0.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/docs/TC API - Rounds For Problem API 1.0.doc -------------------------------------------------------------------------------- /docs/Tests Creation Guide.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/docs/Tests Creation Guide.docx -------------------------------------------------------------------------------- /docusign_callback/Procfile: -------------------------------------------------------------------------------- 1 | web: node docusignCallbackListener.js 2 | -------------------------------------------------------------------------------- /docusign_callback/kill.sh: -------------------------------------------------------------------------------- 1 | procId=$(ps aux | grep 'node docusignCallbackListener.js' | grep -v grep | awk '{print $2}') 2 | echo "killing $procId" 3 | kill -9 $procId 4 | -------------------------------------------------------------------------------- /downloads/test/test.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.doc -------------------------------------------------------------------------------- /downloads/test/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.docx -------------------------------------------------------------------------------- /downloads/test/test.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.jar -------------------------------------------------------------------------------- /downloads/test/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.jpg -------------------------------------------------------------------------------- /downloads/test/test.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.pdf -------------------------------------------------------------------------------- /downloads/test/test.ppt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.ppt -------------------------------------------------------------------------------- /downloads/test/test.txt: -------------------------------------------------------------------------------- 1 | sample text file used in tests -------------------------------------------------------------------------------- /downloads/test/test.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.xls -------------------------------------------------------------------------------- /downloads/test/test.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/downloads/test/test.zip -------------------------------------------------------------------------------- /javalib/base_exception.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/base_exception.jar -------------------------------------------------------------------------------- /javalib/configuration_api.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/configuration_api.jar -------------------------------------------------------------------------------- /javalib/image_manipulation.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/image_manipulation.jar -------------------------------------------------------------------------------- /javalib/image_overlay.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/image_overlay.jar -------------------------------------------------------------------------------- /javalib/image_resizing.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/image_resizing.jar -------------------------------------------------------------------------------- /javalib/jai_codec.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/jai_codec.jar -------------------------------------------------------------------------------- /javalib/jai_core.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/jai_core.jar -------------------------------------------------------------------------------- /javalib/mlibwrapper_jai.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/javalib/mlibwrapper_jai.jar -------------------------------------------------------------------------------- /mail_templates/design_registration_notification_email/style.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /mail_templates/design_registration_notification_email/text.ejs: -------------------------------------------------------------------------------- 1 | Here is the registration notification email 2 | 3 | Have fun! 4 | -------------------------------------------------------------------------------- /mail_templates/peer_registration/style.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /mail_templates/registration_notification_email/style.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /mail_templates/reset_token_email/style.css: -------------------------------------------------------------------------------- 1 | p {} -------------------------------------------------------------------------------- /queries/activate_email: -------------------------------------------------------------------------------- 1 | UPDATE email SET status_id = 1 WHERE user_id = @user_id@ -------------------------------------------------------------------------------- /queries/activate_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "activate_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "activate_email" 5 | } -------------------------------------------------------------------------------- /queries/activate_user: -------------------------------------------------------------------------------- 1 | UPDATE user SET status = 'A' WHERE user_id = @user_id@ -------------------------------------------------------------------------------- /queries/activate_user.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "activate_user", 3 | "db" : "common_oltp", 4 | "sqlfile" : "activate_user" 5 | } -------------------------------------------------------------------------------- /queries/active_client_challenges_costs.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "active_client_challenges_costs", 3 | "db": "tcs_catalog", 4 | "sqlfile": "active_client_challenges_costs" 5 | } 6 | -------------------------------------------------------------------------------- /queries/active_data_science_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "active_data_science_challenges", 3 | "db": "tcs_catalog", 4 | "sqlfile": "active_data_science_challenges" 5 | } -------------------------------------------------------------------------------- /queries/add_algo_rating: -------------------------------------------------------------------------------- 1 | INSERT INTO algo_rating(coder_id, rating, vol, round_id, num_ratings, algo_rating_type_id, modify_date) VALUES (@userId@, 0, 0, 0, 0, 1, CURRENT) -------------------------------------------------------------------------------- /queries/add_algo_rating.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "add_algo_rating", 3 | "db" : "informixoltp", 4 | "sqlfile" : "add_algo_rating" 5 | } -------------------------------------------------------------------------------- /queries/add_user_to_groups: -------------------------------------------------------------------------------- 1 | INSERT INTO user_group_xref (user_group_id, login_id, group_id, create_user_id, security_status_id) VALUES (@userGroupId@, @loginId@, @groupId@, 1, 1) -------------------------------------------------------------------------------- /queries/add_user_to_groups.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "add_user_to_groups", 3 | "db" : "common_oltp", 4 | "sqlfile" : "add_user_to_groups" 5 | } -------------------------------------------------------------------------------- /queries/all_resource_roles: -------------------------------------------------------------------------------- 1 | select resource_role_id, name from resource_role_lu 2 | -------------------------------------------------------------------------------- /queries/all_resource_roles.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "all_resource_roles", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "all_resource_roles" 5 | } 6 | -------------------------------------------------------------------------------- /queries/audit_challenge_registration.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "audit_challenge_registration", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "audit_challenge_registration" 5 | } -------------------------------------------------------------------------------- /queries/challenge_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_details", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_details" 5 | } -------------------------------------------------------------------------------- /queries/challenge_digital_run.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_digital_run", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_digital_run" 5 | } 6 | -------------------------------------------------------------------------------- /queries/challenge_documents.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_documents", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_documents" 5 | } 6 | -------------------------------------------------------------------------------- /queries/challenge_phase_details.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_phase_details", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_phase_details" 5 | } 6 | -------------------------------------------------------------------------------- /queries/challenge_phases.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_phases", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_phases" 5 | } 6 | -------------------------------------------------------------------------------- /queries/challenge_platforms.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_platforms", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_platforms" 5 | } -------------------------------------------------------------------------------- /queries/challenge_registrants.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_registrants", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_registrants" 5 | } -------------------------------------------------------------------------------- /queries/challenge_submissions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_submissions", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "challenge_submissions" 5 | } -------------------------------------------------------------------------------- /queries/challenge_terms_of_use.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_terms_of_use", 3 | "db" : "common_oltp", 4 | "sqlfile" : "challenge_terms_of_use" 5 | } 6 | -------------------------------------------------------------------------------- /queries/challenge_terms_of_use_noauth.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "challenge_terms_of_use_noauth", 3 | "db" : "common_oltp", 4 | "sqlfile" : "challenge_terms_of_use_noauth" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_billing_account_exist: -------------------------------------------------------------------------------- 1 | SELECT COUNT(*) AS count FROM project WHERE project_id = @billingAccountId@ -------------------------------------------------------------------------------- /queries/check_billing_account_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_billing_account_exist", 3 | "db" : "time_oltp", 4 | "sqlfile" : "check_billing_account_exist" 5 | } -------------------------------------------------------------------------------- /queries/check_challenge_exists: -------------------------------------------------------------------------------- 1 | SELECT 2 | CASE WHEN (p.project_studio_spec_id is NULL) THEN 0 ELSE 1 END as is_studio 3 | FROM project p 4 | WHERE p.project_id = @challengeId@ -------------------------------------------------------------------------------- /queries/check_challenge_exists.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_challenge_exists", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_challenge_exists" 5 | } -------------------------------------------------------------------------------- /queries/check_challenge_is_copilot_posting: -------------------------------------------------------------------------------- 1 | SELECT 2 | (project_id IS NOT NULL) as challenge_is_copilot 3 | FROM project p 4 | WHERE p.project_id = @challengeId@ 5 | AND p.project_category_id = 29 6 | -------------------------------------------------------------------------------- /queries/check_challenge_is_copilot_posting.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_challenge_is_copilot_posting", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_challenge_is_copilot_posting" 5 | } -------------------------------------------------------------------------------- /queries/check_challenge_resource: -------------------------------------------------------------------------------- 1 | select 1 2 | from 3 | resource r 4 | where 5 | r.project_id = '@challengeId@' 6 | and 7 | r.resource_role_id in (@resourceRoleIds@) 8 | -------------------------------------------------------------------------------- /queries/check_challenge_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_challenge_resource", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_challenge_resource" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_challenge_review_opportunity.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_challenge_review_opportunity", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_challenge_review_opportunity" 5 | } -------------------------------------------------------------------------------- /queries/check_client_challenge_costs_exists.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_client_challenge_costs_exists", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "check_client_challenge_costs_exists" 5 | } -------------------------------------------------------------------------------- /queries/check_coder_activated: -------------------------------------------------------------------------------- 1 | SELECT status FROM coder WHERE handle_lower = LOWER('@handle@') 2 | -------------------------------------------------------------------------------- /queries/check_coder_activated.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_coder_activated", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "check_coder_activated" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_coder_exist: -------------------------------------------------------------------------------- 1 | SELECT count(*) AS handle_exist 2 | FROM coder 3 | WHERE handle_lower=LOWER('@handle@') 4 | -------------------------------------------------------------------------------- /queries/check_coder_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_coder_exist", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "check_coder_exist" 5 | } -------------------------------------------------------------------------------- /queries/check_eligibility: -------------------------------------------------------------------------------- 1 | SELECT FIRST 1 1 2 | FROM user_group_xref 3 | WHERE group_id = DECODE(@communityId@, 0, group_id, @communityId@) 4 | AND login_id = DECODE(@userId@, 0, login_id, @userId@) -------------------------------------------------------------------------------- /queries/check_eligibility.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_eligibility", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_eligibility" 5 | } -------------------------------------------------------------------------------- /queries/check_email_exist: -------------------------------------------------------------------------------- 1 | SELECT 1 2 | FROM email 3 | WHERE LOWER(address) = LOWER('@email@') 4 | -------------------------------------------------------------------------------- /queries/check_email_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_email_exist", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_email_exist" 5 | } -------------------------------------------------------------------------------- /queries/check_invalid_handle: -------------------------------------------------------------------------------- 1 | select count(*) as count 2 | from 'informix'.invalid_handles ih 3 | where (ih.invalid_handle) = lower('@invalidHandle@') -------------------------------------------------------------------------------- /queries/check_invalid_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_invalid_handle", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_invalid_handle" 5 | } -------------------------------------------------------------------------------- /queries/check_is_admin.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_is_admin", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_is_admin" 5 | } -------------------------------------------------------------------------------- /queries/check_is_copilot: -------------------------------------------------------------------------------- 1 | select 2 | (copilot_profile_id IS NOT NULL) as user_is_copilot 3 | from copilot_profile where user_id = @user_id@ and copilot_profile_status_id = 1 -------------------------------------------------------------------------------- /queries/check_is_copilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_is_copilot", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_is_copilot" 5 | } -------------------------------------------------------------------------------- /queries/check_is_registered_challenge.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_is_registered_challenge", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_is_registered_challenge" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_is_related_with_challenge.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_is_related_with_challenge", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_is_related_with_challenge" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_is_web_arena_super: -------------------------------------------------------------------------------- 1 | SELECT COUNT(*) AS count 2 | FROM informixoltp:group_user 3 | WHERE user_id = @user_id@ 4 | AND group_id = 60 5 | -------------------------------------------------------------------------------- /queries/check_is_web_arena_super.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_is_web_arena_super", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_is_web_arena_super" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_marathon_challenge_register.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_marathon_challenge_register", 3 | "db" : "informixoltp", 4 | "sqlfile" : "check_marathon_challenge_register" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_problem_exists: -------------------------------------------------------------------------------- 1 | SELECT count(*) AS is_there FROM problem WHERE problem_id = @problem_id@; 2 | -------------------------------------------------------------------------------- /queries/check_problem_exists.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_problem_exists", 3 | "db" : "informixoltp", 4 | "sqlfile" : "check_problem_exists" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_reviewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_reviewer", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_reviewer" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_round_exist: -------------------------------------------------------------------------------- 1 | SELECT COUNT(*) AS round_exist FROM round WHERE round_id = @roundId@; 2 | -------------------------------------------------------------------------------- /queries/check_round_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_round_exist", 3 | "db" : "informixoltp", 4 | "sqlfile" : "check_round_exist" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_round_room_assignment_exist: -------------------------------------------------------------------------------- 1 | SELECT 2 | COUNT(*) AS round_room_assignment_exist 3 | FROM 4 | round_room_assignment 5 | WHERE round_id = @roundId@; 6 | -------------------------------------------------------------------------------- /queries/check_round_room_assignment_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_round_room_assignment_exist", 3 | "db" : "informixoltp", 4 | "sqlfile" : "check_round_room_assignment_exist" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_social_provider_id: -------------------------------------------------------------------------------- 1 | SELECT COUNT(social_login_provider_id) as count 2 | FROM social_login_provider 3 | WHERE social_login_provider_id=@socialLoginProviderId@ -------------------------------------------------------------------------------- /queries/check_social_provider_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_social_provider_id", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_social_provider_id" 5 | } -------------------------------------------------------------------------------- /queries/check_user: -------------------------------------------------------------------------------- 1 | SELECT status, user_id FROM user WHERE handle_lower = LOWER('@handle@') 2 | -------------------------------------------------------------------------------- /queries/check_user.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_user", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "check_user" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_user_activated: -------------------------------------------------------------------------------- 1 | SELECT status FROM user WHERE handle_lower = LOWER('@handle@') 2 | -------------------------------------------------------------------------------- /queries/check_user_activated.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_user_activated", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_user_activated" 5 | } 6 | -------------------------------------------------------------------------------- /queries/check_user_handle_exist: -------------------------------------------------------------------------------- 1 | SELECT count(*) as handle_exist 2 | FROM user 3 | WHERE handle_lower=LOWER('@handle@') 4 | -------------------------------------------------------------------------------- /queries/check_user_handle_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_user_handle_exist", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_user_handle_exist" 5 | } -------------------------------------------------------------------------------- /queries/check_user_terms_of_use_ban: -------------------------------------------------------------------------------- 1 | SELECT 1 from user_terms_of_use_ban_xref WHERE user_id = @userId@ AND terms_of_use_id = @termsOfUseId@ -------------------------------------------------------------------------------- /queries/check_user_terms_of_use_ban.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_user_terms_of_use_ban", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_user_terms_of_use_ban" 5 | } -------------------------------------------------------------------------------- /queries/check_user_terms_of_use_exist: -------------------------------------------------------------------------------- 1 | SELECT 1 FROM user_terms_of_use_xref WHERE user_id = @userId@ AND terms_of_use_id = @termsOfUseId@ -------------------------------------------------------------------------------- /queries/check_user_terms_of_use_exist.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "check_user_terms_of_use_exist", 3 | "db" : "common_oltp", 4 | "sqlfile" : "check_user_terms_of_use_exist" 5 | } -------------------------------------------------------------------------------- /queries/clear_user_rating: -------------------------------------------------------------------------------- 1 | UPDATE informixoltp:rating SET rating = -1 WHERE coder_id = @userId@ -------------------------------------------------------------------------------- /queries/clear_user_rating.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "clear_user_rating", 3 | "db": "tcs_catalog", 4 | "sqlfile": "clear_user_rating" 5 | } -------------------------------------------------------------------------------- /queries/complete_docusign_envelope: -------------------------------------------------------------------------------- 1 | UPDATE docusign_envelope SET is_completed = 1 2 | WHERE LOWER(docusign_envelope_id) = '@envelopeId@' OR UPPER(docusign_envelope_id) = '@envelopeId@'; -------------------------------------------------------------------------------- /queries/complete_docusign_envelope.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "complete_docusign_envelope", 3 | "db" : "informixoltp", 4 | "sqlfile" : "complete_docusign_envelope" 5 | } -------------------------------------------------------------------------------- /queries/delete_answer: -------------------------------------------------------------------------------- 1 | DELETE FROM answer WHERE answer_id = @answerId@ 2 | -------------------------------------------------------------------------------- /queries/delete_answer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "delete_answer", 3 | "db": "informixoltp", 4 | "sqlfile": "delete_answer" 5 | } 6 | -------------------------------------------------------------------------------- /queries/delete_billing_account_entry: -------------------------------------------------------------------------------- 1 | DELETE FROM project_manager WHERE project_id = @billingAccountId@ -------------------------------------------------------------------------------- /queries/delete_billing_account_entry.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_billing_account_entry", 3 | "db" : "time_oltp", 4 | "sqlfile" : "delete_billing_account_entry" 5 | } -------------------------------------------------------------------------------- /queries/delete_challenge_resources.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_challenge_resources", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "delete_challenge_resources" 5 | } -------------------------------------------------------------------------------- /queries/delete_challenge_result: -------------------------------------------------------------------------------- 1 | delete from project_result where project_id = @challengeId@ and user_id = @userId@; 2 | delete from component_inquiry where project_id = @challengeId@ and user_id = @userId@; -------------------------------------------------------------------------------- /queries/delete_challenge_result.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_challenge_result", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "delete_challenge_result" 5 | } -------------------------------------------------------------------------------- /queries/delete_contest_round.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "delete_contest_round", 4 | "db" : "informixoltp", 5 | "sqlfile" : "delete_contest_round" 6 | } 7 | -------------------------------------------------------------------------------- /queries/delete_demographic_responses: -------------------------------------------------------------------------------- 1 | DELETE FROM demographic_response WHERE demographic_question_id = '@questionId@' AND user_id = '@coderId@' -------------------------------------------------------------------------------- /queries/delete_demographic_responses.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_demographic_responses", 3 | "db" : "common_oltp", 4 | "sqlfile" : "delete_demographic_responses" 5 | } -------------------------------------------------------------------------------- /queries/delete_email: -------------------------------------------------------------------------------- 1 | DELETE FROM email WHERE user_id = '@coderId@' and email_type_id != 1 and primary_ind != 1 -------------------------------------------------------------------------------- /queries/delete_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "delete_email" 5 | } -------------------------------------------------------------------------------- /queries/delete_member_contact_black_list: -------------------------------------------------------------------------------- 1 | UPDATE 2 | member_contact_black_list 3 | SET 4 | blocked_ind = 0 5 | WHERE 6 | user_id = '@userId@' -------------------------------------------------------------------------------- /queries/delete_member_contact_black_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_member_contact_black_list", 3 | "db" : "informixoltp", 4 | "sqlfile" : "delete_member_contact_black_list" 5 | } -------------------------------------------------------------------------------- /queries/delete_old_submissions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_old_submissions", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "delete_old_submissions" 5 | } -------------------------------------------------------------------------------- /queries/delete_old_uploads.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_old_uploads", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "delete_old_uploads" 5 | } -------------------------------------------------------------------------------- /queries/delete_round_components: -------------------------------------------------------------------------------- 1 | DELETE FROM round_component WHERE round_id = @round_id@ -------------------------------------------------------------------------------- /queries/delete_round_components.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_round_components", 3 | "db" : "informixoltp", 4 | "sqlfile" : "delete_round_components" 5 | } 6 | -------------------------------------------------------------------------------- /queries/delete_round_question.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_round_question", 3 | "db" : "informixoltp", 4 | "sqlfile" : "delete_round_question" 5 | } 6 | -------------------------------------------------------------------------------- /queries/delete_round_segments: -------------------------------------------------------------------------------- 1 | DELETE FROM round_segment WHERE round_id=@roundId@ 2 | -------------------------------------------------------------------------------- /queries/delete_round_segments.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_round_segments", 3 | "db" : "informixoltp", 4 | "sqlfile" : "delete_round_segments" 5 | } 6 | -------------------------------------------------------------------------------- /queries/delete_round_terms: -------------------------------------------------------------------------------- 1 | DELETE FROM round_terms WHERE round_id = @round_id@ -------------------------------------------------------------------------------- /queries/delete_round_terms.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_round_terms", 3 | "db" : "informixoltp", 4 | "sqlfile" : "delete_round_terms" 5 | } 6 | -------------------------------------------------------------------------------- /queries/delete_srm_contest: -------------------------------------------------------------------------------- 1 | DELETE FROM contest WHERE contest_id=@id@; 2 | -------------------------------------------------------------------------------- /queries/delete_srm_contest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_srm_contest", 3 | "db" : "informixoltp", 4 | "sqlfile" : "delete_srm_contest" 5 | } 6 | -------------------------------------------------------------------------------- /queries/delete_user_notifies: -------------------------------------------------------------------------------- 1 | DELETE FROM 2 | user_notify_xref 3 | WHERE 4 | user_id = '@userId@' 5 | AND 6 | notify_id in (@notifyId@) -------------------------------------------------------------------------------- /queries/delete_user_notifies.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "delete_user_notifies", 3 | "db" : "common_oltp", 4 | "sqlfile" : "delete_user_notifies" 5 | } -------------------------------------------------------------------------------- /queries/download_submission_my_resources.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "download_submission_my_resources", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "download_submission_my_resources" 5 | } 6 | -------------------------------------------------------------------------------- /queries/download_submission_reviews_by_user.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "download_submission_reviews_by_user", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "download_submission_reviews_by_user" 5 | } 6 | -------------------------------------------------------------------------------- /queries/existing_client_info: -------------------------------------------------------------------------------- 1 | SELECT client_id FROM client WHERE customer_number = '@customerNumber@' -------------------------------------------------------------------------------- /queries/existing_client_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "existing_client_info", 3 | "db" : "time_oltp", 4 | "sqlfile" : "existing_client_info" 5 | } -------------------------------------------------------------------------------- /queries/file_types: -------------------------------------------------------------------------------- 1 | SELECT file_type_id, extension, image_file, bundled_file 2 | FROM file_type_lu 3 | ORDER BY sort 4 | -------------------------------------------------------------------------------- /queries/file_types.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "file_types", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "file_types" 5 | } 6 | -------------------------------------------------------------------------------- /queries/find_user_by_handle_or_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "find_user_by_handle_or_email", 3 | "db": "common_oltp", 4 | "sqlfile": "find_user_by_handle_or_email" 5 | } -------------------------------------------------------------------------------- /queries/get_active_billing_accounts.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_active_billing_accounts", 3 | "db" : "time_oltp", 4 | "sqlfile" : "get_active_billing_accounts" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_active_forum_category.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_active_forum_category", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_active_forum_category" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_address: -------------------------------------------------------------------------------- 1 | SELECT 2 | address_id 3 | FROM 4 | user_address_xref 5 | WHERE 6 | user_id = '@coderId@' -------------------------------------------------------------------------------- /queries/get_address.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_address", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_address" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_admin_resource: -------------------------------------------------------------------------------- 1 | select resource_id from resource where project_id IS NULL and resource_role_id = 13 and user_id = @userId@ -------------------------------------------------------------------------------- /queries/get_admin_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get_admin_resource", 3 | "db": "tcs_catalog", 4 | "sqlfile": "get_admin_resource" 5 | } -------------------------------------------------------------------------------- /queries/get_admins.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_admins", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_admins" 5 | } -------------------------------------------------------------------------------- /queries/get_all_preferences.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_all_preferences", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_all_preferences" 5 | } -------------------------------------------------------------------------------- /queries/get_all_srm_contests.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_all_srm_contests", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_all_srm_contests" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_answer_id: -------------------------------------------------------------------------------- 1 | SELECT answer_id FROM answer WHERE answer_id = @answerId@ -------------------------------------------------------------------------------- /queries/get_answer_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get_answer_id", 3 | "db": "informixoltp", 4 | "sqlfile": "get_answer_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_assigned_review_resource_role.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_assigned_review_resource_role", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_assigned_review_resource_role" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_analyze_basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_analyze_basic", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_analyze_basic" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_analyze_repost_number: -------------------------------------------------------------------------------- 1 | SELECT 2 | source_project_id AS source 3 | , dest_project_id AS target 4 | FROM linked_project_xref l 5 | WHERE l.link_type_id = 5 6 | -------------------------------------------------------------------------------- /queries/get_challenge_analyze_repost_number.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_analyze_repost_number", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_analyze_repost_number" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_forum.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_forum", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_forum" 5 | } -------------------------------------------------------------------------------- /queries/get_challenge_notification_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_notification_count", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_notification_count" 5 | } -------------------------------------------------------------------------------- /queries/get_challenge_restrictions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_restrictions", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_restrictions" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_results.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_results", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_challenge_results" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_results_final_fixes.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_results_final_fixes", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_results_final_fixes" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_results_submissions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_results_submissions", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_results_submissions" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_results_validations.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_results_validations", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_results_validations" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_scorecard: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/queries/get_challenge_scorecard -------------------------------------------------------------------------------- /queries/get_challenge_scorecard.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_scorecard", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_scorecard" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_challenge_status: -------------------------------------------------------------------------------- 1 | SELECT project_status_id FROM project WHERE project_id = @challengeId@ -------------------------------------------------------------------------------- /queries/get_challenge_status.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_status", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_status" 5 | } -------------------------------------------------------------------------------- /queries/get_challenge_types.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_challenge_types", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_challenge_types" 5 | } -------------------------------------------------------------------------------- /queries/get_checkpoint_detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_checkpoint_detail", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_checkpoint_detail" 5 | } -------------------------------------------------------------------------------- /queries/get_client_active_challenge_costs.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get_client_active_challenge_costs", 3 | "db": "tcs_catalog", 4 | "sqlfile": "get_client_active_challenge_costs" 5 | } -------------------------------------------------------------------------------- /queries/get_client_challenge_costs.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_client_challenge_costs", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_client_challenge_costs" 5 | } -------------------------------------------------------------------------------- /queries/get_component_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_component_info", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_component_info" 5 | } -------------------------------------------------------------------------------- /queries/get_copilot_profile_id_by_user_id: -------------------------------------------------------------------------------- 1 | SELECT copilot_profile_id FROM copilot_profile WHERE user_id = @userId@ -------------------------------------------------------------------------------- /queries/get_copilot_profile_id_by_user_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_copilot_profile_id_by_user_id", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_copilot_profile_id_by_user_id" 5 | } -------------------------------------------------------------------------------- /queries/get_copilots: -------------------------------------------------------------------------------- 1 | select cp.user_id, handle, is_software_copilot, is_studio_copilot 2 | from copilot_profile cp, user u 3 | where cp.user_id = u.user_id and cp.copilot_profile_status_id = 1 -------------------------------------------------------------------------------- /queries/get_copilots.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_copilots", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_copilots" 5 | } -------------------------------------------------------------------------------- /queries/get_countries: -------------------------------------------------------------------------------- 1 | select * from 'informix'.country order by country_code asc -------------------------------------------------------------------------------- /queries/get_countries.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_countries", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_countries" 5 | } -------------------------------------------------------------------------------- /queries/get_country_code: -------------------------------------------------------------------------------- 1 | select country_code from 'informix'.country where lower(country_name) = lower('@countryName@') -------------------------------------------------------------------------------- /queries/get_country_code.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_country_code", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_country_code" 5 | } -------------------------------------------------------------------------------- /queries/get_current_school.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_current_school", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_current_school" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_data_challenge_types: -------------------------------------------------------------------------------- 1 | SELECT 2 | name 3 | , project_category_id AS id 4 | FROM project_category_lu pcl 5 | where display = 't' 6 | ORDER BY name ASC 7 | -------------------------------------------------------------------------------- /queries/get_data_challenge_types.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_data_challenge_types", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_data_challenge_types" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_data_platforms: -------------------------------------------------------------------------------- 1 | SELECT project_platform_lu.name 2 | , project_platform_id AS id 3 | FROM project_platform_lu 4 | ORDER BY name ASC; 5 | -------------------------------------------------------------------------------- /queries/get_data_platforms.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_data_platforms", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_data_platforms" 5 | } -------------------------------------------------------------------------------- /queries/get_data_round_type_lu: -------------------------------------------------------------------------------- 1 | SELECT DISTINCT round_type_desc AS name 2 | , round_type_id AS id 3 | FROM round_type_lu 4 | ORDER BY name ASC; 5 | -------------------------------------------------------------------------------- /queries/get_data_round_type_lu.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_data_round_type_lu", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_data_round_type_lu" 5 | } -------------------------------------------------------------------------------- /queries/get_data_technologies: -------------------------------------------------------------------------------- 1 | SELECT DISTINCT technology_types.technology_name AS name 2 | , technology_type_id AS id 3 | FROM technology_types 4 | where status_id = 1 5 | ORDER BY name ASC; 6 | -------------------------------------------------------------------------------- /queries/get_data_technologies.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_data_technologies", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_data_technologies" 5 | } -------------------------------------------------------------------------------- /queries/get_data_track_statistics.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_data_track_statistics", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_data_track_statistics" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_demographic_answers: -------------------------------------------------------------------------------- 1 | SELECT 2 | demographic_answer_id, demographic_answer_text 3 | FROM 4 | demographic_answer 5 | WHERE 6 | demographic_question_id = '@questionId@' -------------------------------------------------------------------------------- /queries/get_demographic_answers.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_demographic_answers", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_demographic_answers" 5 | } -------------------------------------------------------------------------------- /queries/get_dependency_terms_of_use.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_dependency_terms_of_use", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_dependency_terms_of_use" 5 | } -------------------------------------------------------------------------------- /queries/get_document.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_document", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_document" 5 | } -------------------------------------------------------------------------------- /queries/get_docusign_envelope: -------------------------------------------------------------------------------- 1 | SELECT * 2 | FROM docusign_envelope 3 | WHERE user_id = @userId@ 4 | AND docusign_template_id = '@templateId@' 5 | AND is_completed = 1 -------------------------------------------------------------------------------- /queries/get_docusign_envelope.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_docusign_envelope", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_docusign_envelope" 5 | } -------------------------------------------------------------------------------- /queries/get_docusign_envelope_by_envelope_id: -------------------------------------------------------------------------------- 1 | SELECT * 2 | FROM docusign_envelope 3 | WHERE LOWER(docusign_envelope_id) = '@envelopeId@' OR UPPER(docusign_envelope_id) = '@envelopeId@'; -------------------------------------------------------------------------------- /queries/get_docusign_envelope_by_envelope_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_docusign_envelope_by_envelope_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_docusign_envelope_by_envelope_id" 5 | } -------------------------------------------------------------------------------- /queries/get_email: -------------------------------------------------------------------------------- 1 | SELECT email_id FROM email WHERE user_id = '@coderId@' and email_type_id = '@typeId@' -------------------------------------------------------------------------------- /queries/get_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_email" 5 | } -------------------------------------------------------------------------------- /queries/get_email_availability: -------------------------------------------------------------------------------- 1 | SELECT COUNT(user_id) as not_available 2 | FROM email 3 | WHERE LOWER(address)=LOWER('@address@') 4 | -------------------------------------------------------------------------------- /queries/get_email_availability.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_email_availability", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_email_availability" 5 | } -------------------------------------------------------------------------------- /queries/get_email_type: -------------------------------------------------------------------------------- 1 | SELECT email_type_id, email_type_desc 2 | FROM email_type_lu -------------------------------------------------------------------------------- /queries/get_email_type.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_email_type", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_email_type" 5 | } -------------------------------------------------------------------------------- /queries/get_group: -------------------------------------------------------------------------------- 1 | SELECT group_desc FROM group WHERE group_id = @groupId@; -------------------------------------------------------------------------------- /queries/get_group.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_group", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_group" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_highest_id: -------------------------------------------------------------------------------- 1 | select next_block_start as highest from 'informix'.id_sequences where name='@name@' -------------------------------------------------------------------------------- /queries/get_highest_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_highest_id", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_highest_id" 5 | } -------------------------------------------------------------------------------- /queries/get_image: -------------------------------------------------------------------------------- 1 | SELECT 2 | i.image_id 3 | FROM coder_image_xref cix 4 | INNER JOIN image i ON cix.image_id = i.image_id 5 | WHERE cix.coder_id = @user_id@ 6 | AND i.image_type_id = 1 7 | -------------------------------------------------------------------------------- /queries/get_image.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_image", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_image" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_managers_for_challenge_analyze.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_managers_for_challenge_analyze", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_managers_for_challenge_analyze" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_marathon_match_active_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_match_active_challenges", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_marathon_match_active_challenges" 5 | } -------------------------------------------------------------------------------- /queries/get_marathon_match_detail_basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_match_detail_basic", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_marathon_match_detail_basic" 5 | } -------------------------------------------------------------------------------- /queries/get_marathon_match_detail_prizes: -------------------------------------------------------------------------------- 1 | SELECT 2 | place 3 | , amount 4 | FROM round_prize 5 | WHERE round_id = @roundId@ 6 | -------------------------------------------------------------------------------- /queries/get_marathon_match_detail_prizes.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_match_detail_prizes", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_marathon_match_detail_prizes" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_marathon_match_past_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_match_past_challenges", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_marathon_match_past_challenges" 5 | } -------------------------------------------------------------------------------- /queries/get_marathon_round_question_answers.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_round_question_answers", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_marathon_round_question_answers" 5 | } -------------------------------------------------------------------------------- /queries/get_marathon_round_questions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_round_questions", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_marathon_round_questions" 5 | } -------------------------------------------------------------------------------- /queries/get_marathon_round_term.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_marathon_round_term", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_marathon_round_term" 5 | } -------------------------------------------------------------------------------- /queries/get_member_contact_black_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_member_contact_black_list", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_member_contact_black_list" 5 | } -------------------------------------------------------------------------------- /queries/get_member_marathon_statistics.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_member_marathon_statistics", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_member_marathon_statistics" 5 | } -------------------------------------------------------------------------------- /queries/get_my_resource_roles.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_my_resource_roles", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_my_resource_roles" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_next_admin_resource_id: -------------------------------------------------------------------------------- 1 | SELECT (NVL(max(resource_id),0) + 1) as next_id FROM resource WHERE resource_id <5000 -------------------------------------------------------------------------------- /queries/get_next_admin_resource_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get_next_admin_resource_id", 3 | "db": "tcs_catalog", 4 | "sqlfile": "get_next_admin_resource_id" 5 | } -------------------------------------------------------------------------------- /queries/get_next_admin_user_group_id: -------------------------------------------------------------------------------- 1 | SELECT (NVL(MIN(user_group_id), 0) - 1) as next_id FROM user_group_xref -------------------------------------------------------------------------------- /queries/get_next_admin_user_group_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get_next_admin_user_group_id", 3 | "db": "tcs_catalog", 4 | "sqlfile": "get_next_admin_user_group_id" 5 | } -------------------------------------------------------------------------------- /queries/get_next_sequence: -------------------------------------------------------------------------------- 1 | select SEQUENCE_@seq_name@.NEXTVAL as next_id from table(set{1}) -------------------------------------------------------------------------------- /queries/get_next_sequence.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_next_sequence", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_next_sequence" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_notifies.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_notifies", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_notifies" 5 | } -------------------------------------------------------------------------------- /queries/get_old_member_photo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_old_member_photo", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_old_member_photo" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_one_member_contact_black: -------------------------------------------------------------------------------- 1 | SELECT 2 | user_id 3 | FROM 4 | member_contact_black_list 5 | WHERE 6 | user_id = '@userId@' 7 | AND 8 | blocked_user_id = '@blockedUserId@' -------------------------------------------------------------------------------- /queries/get_one_member_contact_black.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_one_member_contact_black", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_one_member_contact_black" 5 | } -------------------------------------------------------------------------------- /queries/get_open_data_challenges_rss.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_open_data_challenges_rss", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_open_data_challenges_rss" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_password_by_user_id: -------------------------------------------------------------------------------- 1 | SELECT password FROM security_user WHERE login_id = @userId@ -------------------------------------------------------------------------------- /queries/get_password_by_user_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_password_by_user_id", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_password_by_user_id" 5 | } -------------------------------------------------------------------------------- /queries/get_past_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_past_challenges", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_past_challenges" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_past_challenges_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_past_challenges_count", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_past_challenges_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_past_data_challenges_rss.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_past_data_challenges_rss", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_past_data_challenges_rss" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_past_data_track_statistics.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_past_data_track_statistics", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_past_data_track_statistics" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_path: -------------------------------------------------------------------------------- 1 | SELECT path_id FROM path WHERE path = '@path@' 2 | -------------------------------------------------------------------------------- /queries/get_path.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_path", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_path" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_payment_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_payment_count", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_payment_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_payment_count_with_type.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_payment_count_with_type", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_payment_count_with_type" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_payment_summary.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_payment_summary", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_payment_summary" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_payments.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_payments", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_payments" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_payments_with_type.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_payments_with_type", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_payments_with_type" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_problem_component_param_types.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_problem_component_param_types", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_problem_component_param_types" 5 | } -------------------------------------------------------------------------------- /queries/get_project_category_by_category_id: -------------------------------------------------------------------------------- 1 | select project_category_id,project_type_id,name from project_category_lu where display = 't' and project_category_id =@categoryId@ 2 | -------------------------------------------------------------------------------- /queries/get_project_category_by_category_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_project_category_by_category_id", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_project_category_by_category_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_project_info: -------------------------------------------------------------------------------- 1 | SELECT 2 | value 3 | FROM project_info 4 | WHERE project_id = @challenge_id@ 5 | AND project_info_type_id = @project_info_type_id@ 6 | -------------------------------------------------------------------------------- /queries/get_project_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_project_info", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_project_info" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_project_phase: -------------------------------------------------------------------------------- 1 | SELECT 2 | project_phase_id 3 | FROM 4 | project_phase 5 | WHERE 6 | project_id = '@projectId@' 7 | AND 8 | phase_type_id = '@phaseTypeId@' -------------------------------------------------------------------------------- /queries/get_project_phase.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_project_phase", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_project_phase" 5 | } -------------------------------------------------------------------------------- /queries/get_question_id: -------------------------------------------------------------------------------- 1 | SELECT question_id FROM question WHERE question_id = @questionId@ -------------------------------------------------------------------------------- /queries/get_question_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_question_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_question_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_question_style_id: -------------------------------------------------------------------------------- 1 | select question_style_id from question_style where question_style_id = @styleId@ -------------------------------------------------------------------------------- /queries/get_question_style_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_question_style_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_question_style_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_question_type_id: -------------------------------------------------------------------------------- 1 | select question_type_id from question_type where question_type_id = @typeId@ -------------------------------------------------------------------------------- /queries/get_question_type_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_question_type_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_question_type_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_referral_leaderboard.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_referral_leaderboard", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_referral_leaderboard" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_registration_types.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_registration_types", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_registration_types" 5 | } -------------------------------------------------------------------------------- /queries/get_resource_submissions_max_rank.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_resource_submissions_max_rank", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_resource_submissions_max_rank" 5 | } -------------------------------------------------------------------------------- /queries/get_review_opportunity_detail_basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_review_opportunity_detail_basic", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_review_opportunity_detail_basic" 5 | } -------------------------------------------------------------------------------- /queries/get_reviewer: -------------------------------------------------------------------------------- 1 | SELECT user_id FROM rboard_user WHERE user_id = @userId@ AND project_type_id = @categoryId@ -------------------------------------------------------------------------------- /queries/get_reviewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_reviewer", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_reviewer" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_reviewers.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_reviewers", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_reviewers" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_component_id: -------------------------------------------------------------------------------- 1 | SELECT 2 | component_id 3 | FROM component WHERE component_id = @component_id@ -------------------------------------------------------------------------------- /queries/get_round_component_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_component_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_component_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_difficulty_id: -------------------------------------------------------------------------------- 1 | SELECT 2 | difficulty_id 3 | FROM difficulty WHERE difficulty_id = @difficulty_id@ -------------------------------------------------------------------------------- /queries/get_round_difficulty_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_difficulty_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_difficulty_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_division_id: -------------------------------------------------------------------------------- 1 | SELECT 2 | division_id 3 | FROM division WHERE division_id = @division_id@ -------------------------------------------------------------------------------- /queries/get_round_division_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_division_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_division_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_event_info: -------------------------------------------------------------------------------- 1 | SELECT 2 | re.event_id 3 | , re.event_name 4 | , re.registration_url 5 | FROM round_event re 6 | WHERE re.round_id= @round_id@ 7 | -------------------------------------------------------------------------------- /queries/get_round_event_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_event_info", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_event_info" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_id: -------------------------------------------------------------------------------- 1 | SELECT 2 | r.round_id 3 | FROM contest c JOIN round r ON r.contest_id = c.contest_id WHERE r.round_id = @roundId@ -------------------------------------------------------------------------------- /queries/get_round_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_language_by_ids.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_language_by_ids", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_language_by_ids" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_languages: -------------------------------------------------------------------------------- 1 | SELECT l.language_id, l.language_name 2 | FROM round_language rl, language l 3 | WHERE rl.round_id=@round_id@ AND l.language_id = rl.language_id; -------------------------------------------------------------------------------- /queries/get_round_languages.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_languages", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_languages" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_onlyid: -------------------------------------------------------------------------------- 1 | select round_id, creator_id from round where round_id=@round_id@; 2 | -------------------------------------------------------------------------------- /queries/get_round_onlyid.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_onlyid", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_onlyid" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_problem_components.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_problem_components", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_problem_components" 5 | } -------------------------------------------------------------------------------- /queries/get_round_problem_components_global.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_problem_components_global", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_problem_components_global" 5 | } -------------------------------------------------------------------------------- /queries/get_round_question_answers: -------------------------------------------------------------------------------- 1 | SELECT 2 | answer_id, 3 | answer_text, 4 | sort_order, 5 | correct 6 | FROM answer WHERE question_id= @questionId@ -------------------------------------------------------------------------------- /queries/get_round_question_answers.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_question_answers", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_question_answers" 5 | } -------------------------------------------------------------------------------- /queries/get_round_questions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_questions", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_questions" 5 | } -------------------------------------------------------------------------------- /queries/get_round_room_assignment: -------------------------------------------------------------------------------- 1 | SELECT round_id from round_room_assignment where round_id=@round_id@; -------------------------------------------------------------------------------- /queries/get_round_room_assignment.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "get_round_room_assignment", 4 | "db" : "informixoltp", 5 | "sqlfile" : "get_round_room_assignment" 6 | } 7 | -------------------------------------------------------------------------------- /queries/get_round_segments: -------------------------------------------------------------------------------- 1 | SELECT 2 | segment_id 3 | , start_time 4 | , end_time 5 | , status 6 | FROM round_segment 7 | WHERE round_id=@round_id@ -------------------------------------------------------------------------------- /queries/get_round_segments.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_segments", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_segments" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_survey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_survey", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_survey" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_terms: -------------------------------------------------------------------------------- 1 | SELECT skip 0 FIRST 1 terms_content FROM round_terms WHERE round_id = @round_id@; -------------------------------------------------------------------------------- /queries/get_round_terms.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_terms", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_terms" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_round_terms_by_ids: -------------------------------------------------------------------------------- 1 | select round_id, terms_content from round_terms where round_id in (@roundIdList@) -------------------------------------------------------------------------------- /queries/get_round_terms_by_ids.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_round_terms_by_ids", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_round_terms_by_ids" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_rounds.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_rounds", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_rounds" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_rounds_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_rounds_count", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_rounds_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_rounds_for_problem.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_rounds_for_problem", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_rounds_for_problem" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_season: -------------------------------------------------------------------------------- 1 | SELECT name FROM season WHERE season_id = @seasonId@; 2 | -------------------------------------------------------------------------------- /queries/get_season.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_season", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_season" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_software_rating_distribution.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_software_rating_distribution", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_software_rating_distribution" 5 | } -------------------------------------------------------------------------------- /queries/get_software_rating_handle: -------------------------------------------------------------------------------- 1 | SELECT count(*) as handle_exist 2 | FROM coder 3 | WHERE handle='@handle@' 4 | -------------------------------------------------------------------------------- /queries/get_software_rating_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_software_rating_handle", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_software_rating_handle" 5 | } -------------------------------------------------------------------------------- /queries/get_software_rating_history.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_software_rating_history", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_software_rating_history" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_assigned_problems.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_assigned_problems", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_assigned_problems" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_challenges", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_challenges" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_srm_challenges_count: -------------------------------------------------------------------------------- 1 | SELECT COUNT(*) AS total_count 2 | FROM round r 3 | WHERE r.status = '@status@' 4 | AND r.round_type_id IN (1, 2, 10) 5 | AND r.name LIKE ('@challengeName@') 6 | -------------------------------------------------------------------------------- /queries/get_srm_challenges_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_challenges_count", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_challenges_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_srm_contest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_contest", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_contest" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_srm_detail_basic: -------------------------------------------------------------------------------- 1 | SELECT r.round_id AS round_id 2 | , r.short_name AS name 3 | FROM round AS r 4 | WHERE r.round_id = @roundId@ 5 | -------------------------------------------------------------------------------- /queries/get_srm_detail_basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_detail_basic", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_detail_basic" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_detail_leader.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_detail_leader", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_detail_leader" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_detail_problem.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_detail_problem", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_detail_problem" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_problems.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_problems", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_problems" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_schedule.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_schedule", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_schedule" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_schedule_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_schedule_count", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_srm_schedule_count" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_statistics_basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_statistics_basic", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_statistics_basic" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_statistics_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_statistics_challenges", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_statistics_challenges" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_statistics_division_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_statistics_division_1", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_statistics_division_1" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_statistics_division_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_statistics_division_2", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_statistics_division_2" 5 | } -------------------------------------------------------------------------------- /queries/get_srm_statistics_history.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_srm_statistics_history", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_srm_statistics_history" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_state_code: -------------------------------------------------------------------------------- 1 | SELECT state_code FROM state WHERE lower(state_name) = lower('@stateName@') -------------------------------------------------------------------------------- /queries/get_state_code.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_state_code", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_state_code" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_status_id: -------------------------------------------------------------------------------- 1 | select status_id from status_lu where status_id = @statusId@ -------------------------------------------------------------------------------- /queries/get_status_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_status_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_status_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_studio_challenge_detail_winners.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_studio_challenge_detail_winners", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_studio_challenge_detail_winners" 5 | } -------------------------------------------------------------------------------- /queries/get_studio_member_statistics_track.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_studio_member_statistics_track", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_studio_member_statistics_track" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_studio_tops.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_studio_tops", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_studio_tops" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_studio_tops_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_studio_tops_count", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_studio_tops_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_survey_count: -------------------------------------------------------------------------------- 1 | SELECT COUNT(*) as num FROM survey WHERE survey_id = @roundId@ -------------------------------------------------------------------------------- /queries/get_survey_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_survey_count", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_survey_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_terms_of_use.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_terms_of_use", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_terms_of_use" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_terms_of_use_noauth.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_terms_of_use_noauth", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_terms_of_use_noauth" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_top_members_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_members_data", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_members_data" 5 | } -------------------------------------------------------------------------------- /queries/get_top_members_data_count: -------------------------------------------------------------------------------- 1 | SELECT COUNT(*) AS count FROM 2 | (SELECT DISTINCT coder_id FROM algo_rating WHERE algo_rating_type_id = 1 OR algo_rating_type_id = 3) 3 | -------------------------------------------------------------------------------- /queries/get_top_members_data_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_members_data_count", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_members_data_count" 5 | } -------------------------------------------------------------------------------- /queries/get_top_members_design.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_members_design", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_top_members_design" 5 | } -------------------------------------------------------------------------------- /queries/get_top_members_design_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_members_design_count", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_top_members_design_count" 5 | } -------------------------------------------------------------------------------- /queries/get_top_members_develop.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_members_develop", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_members_develop" 5 | } -------------------------------------------------------------------------------- /queries/get_top_members_develop_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_members_develop_count", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_members_develop_count" 5 | } -------------------------------------------------------------------------------- /queries/get_top_ranked_srm_members_competitor.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_ranked_srm_members_competitor", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_ranked_srm_members_competitor" 5 | } -------------------------------------------------------------------------------- /queries/get_top_ranked_srm_members_country.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_ranked_srm_members_country", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_ranked_srm_members_country" 5 | } -------------------------------------------------------------------------------- /queries/get_top_ranked_srm_members_school.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_top_ranked_srm_members_school", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_top_ranked_srm_members_school" 5 | } -------------------------------------------------------------------------------- /queries/get_tops.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_tops", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_tops" 5 | } -------------------------------------------------------------------------------- /queries/get_tops_active.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_tops_active", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_tops_active" 5 | } -------------------------------------------------------------------------------- /queries/get_tops_active_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_tops_active_count", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_tops_active_count" 5 | } -------------------------------------------------------------------------------- /queries/get_tops_count: -------------------------------------------------------------------------------- 1 | SELECT count(*) as count 2 | from tcs_dw:user_rating ur, coder c 3 | where c.coder_id = ur.user_id 4 | and c.status = 'A' 5 | and phase_id = @phaseId@ 6 | -------------------------------------------------------------------------------- /queries/get_tops_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_tops_count", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_tops_count" 5 | } -------------------------------------------------------------------------------- /queries/get_user: -------------------------------------------------------------------------------- 1 | SELECT * FROM email_user WHERE user_id = @userId@ -------------------------------------------------------------------------------- /queries/get_user.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user" 5 | } -------------------------------------------------------------------------------- /queries/get_user_accounts: -------------------------------------------------------------------------------- 1 | SELECT 2 | user_account_id 3 | , LOWER(user_name) AS handle_lower 4 | , user_name as handle 5 | FROM user_account WHERE LOWER(user_name) IN (@users@) -------------------------------------------------------------------------------- /queries/get_user_accounts.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_accounts", 3 | "db" : "time_oltp", 4 | "sqlfile" : "get_user_accounts" 5 | } -------------------------------------------------------------------------------- /queries/get_user_algo_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_algo_challenges", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_user_algo_challenges" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_algo_challenges_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_algo_challenges_count", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_user_algo_challenges_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_basic_profile_basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_basic_profile_basic", 3 | "db" : "informixoltp", 4 | "sqlfile" : "get_user_basic_profile_basic" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_basic_profile_private.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_basic_profile_private", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_basic_profile_private" 5 | } -------------------------------------------------------------------------------- /queries/get_user_by_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_by_handle", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_by_handle" 5 | } -------------------------------------------------------------------------------- /queries/get_user_by_social_login: -------------------------------------------------------------------------------- 1 | SELECT s.user_id 2 | FROM user_social_login s 3 | WHERE s.social_login_provider_id = @provider_id@ 4 | AND s.social_user_id = '@social_user_id@' -------------------------------------------------------------------------------- /queries/get_user_by_social_login.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_by_social_login", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_by_social_login" 5 | } -------------------------------------------------------------------------------- /queries/get_user_by_sso_login.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_by_sso_login", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_by_sso_login" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_by_user_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_by_user_id", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_by_user_id" 5 | } -------------------------------------------------------------------------------- /queries/get_user_challenge_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_challenge_resource", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_user_challenge_resource" 5 | } -------------------------------------------------------------------------------- /queries/get_user_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_challenges", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_user_challenges" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_challenges_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_challenges_count", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "get_user_challenges_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_design_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_design_challenges", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_user_design_challenges" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_design_challenges_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_design_challenges_count", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_user_design_challenges_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_email_and_handle: -------------------------------------------------------------------------------- 1 | SELECT 2 | u.handle 3 | , e.address 4 | FROM user u 5 | , email e 6 | WHERE u.user_id = @userId@ 7 | AND u.user_id = e.user_id 8 | -------------------------------------------------------------------------------- /queries/get_user_email_and_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_email_and_handle", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_email_and_handle" 5 | } -------------------------------------------------------------------------------- /queries/get_user_email_by_handle: -------------------------------------------------------------------------------- 1 | SELECT 2 | u.handle 3 | , e.address 4 | FROM user u 5 | , email e 6 | WHERE u.handle = '@handle@' 7 | AND e.primary_ind = 1 8 | AND u.user_id = e.user_id 9 | -------------------------------------------------------------------------------- /queries/get_user_email_by_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_email_by_handle", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_email_by_handle" 5 | } -------------------------------------------------------------------------------- /queries/get_user_handle: -------------------------------------------------------------------------------- 1 | SELECT handle 2 | FROM user 3 | WHERE user_id = @user_id@ -------------------------------------------------------------------------------- /queries/get_user_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_handle", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_handle" 5 | } -------------------------------------------------------------------------------- /queries/get_user_handles: -------------------------------------------------------------------------------- 1 | SELECT handle, handle_lower FROM user where handle_lower IN (@users@) -------------------------------------------------------------------------------- /queries/get_user_handles.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_handles", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_handles" 5 | } -------------------------------------------------------------------------------- /queries/get_user_id_by_handle: -------------------------------------------------------------------------------- 1 | select user_id from user where handle = '@handle@' -------------------------------------------------------------------------------- /queries/get_user_id_by_handle.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "get_user_id_by_handle", 3 | "db": "common_oltp", 4 | "sqlfile": "get_user_id_by_handle" 5 | } -------------------------------------------------------------------------------- /queries/get_user_id_by_social_account_email: -------------------------------------------------------------------------------- 1 | SELECT user_id FROM user_social_login WHERE social_login_provider_id = @providerId@ AND social_email = '@email@' AND social_email_verified = '@emailVerified@' -------------------------------------------------------------------------------- /queries/get_user_id_by_social_account_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_id_by_social_account_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_id_by_social_account_email" 5 | } -------------------------------------------------------------------------------- /queries/get_user_id_by_social_account_name: -------------------------------------------------------------------------------- 1 | SELECT user_id FROM user_social_login WHERE social_login_provider_id = @providerId@ AND social_user_name = '@userName@' -------------------------------------------------------------------------------- /queries/get_user_id_by_social_account_name.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_id_by_social_account_name", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_id_by_social_account_name" 5 | } -------------------------------------------------------------------------------- /queries/get_user_id_by_social_user_id_and_provider_id: -------------------------------------------------------------------------------- 1 | SELECT user_id FROM user_social_login WHERE social_user_id = '@socialUserId@' AND social_login_provider_id = @providerId@ -------------------------------------------------------------------------------- /queries/get_user_information: -------------------------------------------------------------------------------- 1 | SELECT 2 | u.user_id 3 | , u.handle 4 | FROM user u 5 | WHERE handle_lower = LOWER('@handle@') 6 | -------------------------------------------------------------------------------- /queries/get_user_information.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_information", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_information" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_marathon_matches.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_marathon_matches", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_user_marathon_matches" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_marathon_matches_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_marathon_matches_count", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "get_user_marathon_matches_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_notifies: -------------------------------------------------------------------------------- 1 | SELECT 2 | x.notify_id as id 3 | FROM 4 | user_notify_xref x, user u 5 | WHERE 6 | u.handle = '@handle@' 7 | AND 8 | x.user_id = u.user_id -------------------------------------------------------------------------------- /queries/get_user_notifies.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_notifies", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_notifies" 5 | } -------------------------------------------------------------------------------- /queries/get_user_preference_values.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_preference_values", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_preference_values" 5 | } -------------------------------------------------------------------------------- /queries/get_user_rating: -------------------------------------------------------------------------------- 1 | SELECT 2 | 3 | nvl((SELECT rating FROM user_rating 4 | 5 | WHERE phase_id = @phaseId@ AND user_id = @userId@), 0) as rating 6 | 7 | FROM dual -------------------------------------------------------------------------------- /queries/get_user_rating.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_rating", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_user_rating" 5 | } -------------------------------------------------------------------------------- /queries/get_user_reliability: -------------------------------------------------------------------------------- 1 | SELECT rating 2 | FROM user_reliability 3 | WHERE 4 | user_id = @userId@ AND 5 | phase_id = (SELECT 111 + project_category_id FROM project WHERE project_id = @challengeId@) -------------------------------------------------------------------------------- /queries/get_user_reliability.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_reliability", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_user_reliability" 5 | } -------------------------------------------------------------------------------- /queries/get_user_review_applications.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_review_applications", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "get_user_review_applications" 5 | } 6 | -------------------------------------------------------------------------------- /queries/get_user_status.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "get_user_status", 3 | "db" : "common_oltp", 4 | "sqlfile" : "get_user_status" 5 | } 6 | -------------------------------------------------------------------------------- /queries/has_cockpit_permissions.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "has_cockpit_permissions", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "has_cockpit_permissions" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_address.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_address", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_address" 5 | } -------------------------------------------------------------------------------- /queries/insert_address_relation.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_address_relation", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_address_relation" 5 | } -------------------------------------------------------------------------------- /queries/insert_address_xref: -------------------------------------------------------------------------------- 1 | INSERT INTO user_address_xref (address_id, user_id) VALUES ('@addressId@', '@handle@') -------------------------------------------------------------------------------- /queries/insert_address_xref.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_address_xref", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_address_xref" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_admin_group: -------------------------------------------------------------------------------- 1 | INSERT INTO user_group_xref VALUES(@userGroupId@, @userId@, 2000115, @operatorId@, 1, current) -------------------------------------------------------------------------------- /queries/insert_admin_group.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_admin_group", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_admin_group" 5 | } -------------------------------------------------------------------------------- /queries/insert_admin_role: -------------------------------------------------------------------------------- 1 | INSERT INTO user_role_xref VALUES ((SELECT NVL(MIN(user_role_id), 0) - 1 FROM user_role_xref), @userId@, 2087, @operatorId@, 1) -------------------------------------------------------------------------------- /queries/insert_admin_role.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_admin_role", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_admin_role" 5 | } -------------------------------------------------------------------------------- /queries/insert_answer: -------------------------------------------------------------------------------- 1 | INSERT INTO answer ( 2 | answer_id, 3 | question_id, 4 | answer_text, 5 | sort_order, 6 | correct 7 | ) VALUES (@answerId@,@questionId@,'@answerText@',@sortOrder@,@correct@) -------------------------------------------------------------------------------- /queries/insert_answer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_answer", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_answer" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_billing.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_billing", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_billing" 5 | } -------------------------------------------------------------------------------- /queries/insert_challenge_notification.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_challenge_notification", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_challenge_notification" 5 | } -------------------------------------------------------------------------------- /queries/insert_challenge_result.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_challenge_result", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_challenge_result" 5 | } -------------------------------------------------------------------------------- /queries/insert_client.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_client", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_client" 5 | } -------------------------------------------------------------------------------- /queries/insert_client_project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_client_project", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_client_project" 5 | } -------------------------------------------------------------------------------- /queries/insert_coder.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_coder", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_coder" 5 | } -------------------------------------------------------------------------------- /queries/insert_coder_image_xref: -------------------------------------------------------------------------------- 1 | INSERT INTO coder_image_xref(coder_id, image_id, display_flag, modify_date) VALUES(@user_id@, @image_id@, 1, current) 2 | -------------------------------------------------------------------------------- /queries/insert_coder_image_xref.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_coder_image_xref", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_coder_image_xref" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_coder_referral: -------------------------------------------------------------------------------- 1 | INSERT INTO coder_referral 2 | VALUES ( 3 | '@userId@', 4 | 40, 5 | (SELECT user_id FROM user WHERE handle_lower = LOWER('@handle@')), 6 | '@handle@' 7 | ); -------------------------------------------------------------------------------- /queries/insert_coder_referral.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_coder_referral", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_coder_referral" 5 | } -------------------------------------------------------------------------------- /queries/insert_contact.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_contact", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_contact" 5 | } -------------------------------------------------------------------------------- /queries/insert_contact_relation.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_contact_relation", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_contact_relation" 5 | } -------------------------------------------------------------------------------- /queries/insert_demographic_response: -------------------------------------------------------------------------------- 1 | INSERT INTO demographic_response (demographic_question_id, user_id, demographic_answer_id) VALUES ('@questionId@', '@coderId@', '@answerId@') 2 | 3 | -------------------------------------------------------------------------------- /queries/insert_demographic_response.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_demographic_response", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_demographic_response" 5 | } -------------------------------------------------------------------------------- /queries/insert_design_image.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "insert_design_image", 3 | "db": "informixoltp", 4 | "sqlfile": "insert_design_image" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_docusign_envelope: -------------------------------------------------------------------------------- 1 | INSERT INTO docusign_envelope(docusign_envelope_id, docusign_template_id, user_id, is_completed) 2 | VALUES ('@envelopeId@', '@templateId@', @userId@, @complete@) -------------------------------------------------------------------------------- /queries/insert_docusign_envelope.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_docusign_envelope", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_docusign_envelope" 5 | } -------------------------------------------------------------------------------- /queries/insert_email: -------------------------------------------------------------------------------- 1 | INSERT INTO email (user_id, email_id, email_type_id, address, primary_ind, status_id) VALUES(@userId@, @emailId@, 1, '@address@', 1, 2) -------------------------------------------------------------------------------- /queries/insert_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_email" 5 | } -------------------------------------------------------------------------------- /queries/insert_full_address.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_full_address", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_full_address" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_full_email: -------------------------------------------------------------------------------- 1 | INSERT INTO email (user_id, email_id, email_type_id, address, primary_ind, status_id) VALUES(@userId@, @emailId@, '@emailTypeId@', '@address@', '@primaryInd@', '@statusId@') -------------------------------------------------------------------------------- /queries/insert_full_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_full_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_full_email" 5 | } -------------------------------------------------------------------------------- /queries/insert_image: -------------------------------------------------------------------------------- 1 | INSERT INTO image(image_id, file_name, image_type_id, path_id, modify_date, link) 2 | VALUES(@image_id@, '@file_name@', @image_type_id@, @path_id@, current, '@link@') 3 | -------------------------------------------------------------------------------- /queries/insert_image.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_image", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_image" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_long_comp_result: -------------------------------------------------------------------------------- 1 | INSERT INTO long_comp_result (round_id, coder_id, attended) values (@round_id@, @user_id@, '@attended@') 2 | -------------------------------------------------------------------------------- /queries/insert_long_comp_result.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_long_comp_result", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_long_comp_result" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_member_contact_black_list: -------------------------------------------------------------------------------- 1 | INSERT INTO member_contact_black_list(user_id, blocked_user_id, blocked_ind ) VALUES ('@coderId@', '@blockUserId@', 1) -------------------------------------------------------------------------------- /queries/insert_member_contact_black_list.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_member_contact_black_list", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_member_contact_black_list" 5 | } -------------------------------------------------------------------------------- /queries/insert_new_admin_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_new_admin_resource", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_new_admin_resource" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_new_admin_resource_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_new_admin_resource_info", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_new_admin_resource_info" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_new_copilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_new_copilot", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_new_copilot" 5 | } -------------------------------------------------------------------------------- /queries/insert_path: -------------------------------------------------------------------------------- 1 | INSERT INTO path(path_id, path, modify_date) VALUES(@path_id@, '@path@', current) 2 | -------------------------------------------------------------------------------- /queries/insert_path.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_path", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_path" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_payment_accrual_amount: -------------------------------------------------------------------------------- 1 | insert into 'informix'.user_accrual (user_id, accrual_amount) values (@userId@, @value@); -------------------------------------------------------------------------------- /queries/insert_payment_accrual_amount.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_payment_accrual_amount", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_payment_accrual_amount" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_payment_method: -------------------------------------------------------------------------------- 1 | insert into 'informix'.user_payment_method(user_id, payment_method_id, modify_date) values (@userId@, @value@, current) 2 | -------------------------------------------------------------------------------- /queries/insert_payment_method.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_payment_method", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_payment_method" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_paypal_account_email: -------------------------------------------------------------------------------- 1 | insert into 'informix'.user_paypal_account(user_id, email_address) values (@userId@,'@value@') 2 | -------------------------------------------------------------------------------- /queries/insert_paypal_account_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_paypal_account_email", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_paypal_account_email" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_project_download_audit: -------------------------------------------------------------------------------- 1 | INSERT INTO project_download_audit (upload_id, user_id, ip_address, successful, date) VALUES (@uploadId@, @userId@, '@ipAddress@', '@successful@', CURRENT); 2 | -------------------------------------------------------------------------------- /queries/insert_project_download_audit.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_project_download_audit", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_project_download_audit" 5 | } -------------------------------------------------------------------------------- /queries/insert_project_manager.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_project_manager", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_project_manager" 5 | } -------------------------------------------------------------------------------- /queries/insert_question_query.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_question_query", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_question_query" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_registration_record.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_registration_record", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_registration_record" 5 | } -------------------------------------------------------------------------------- /queries/insert_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_resource", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_resource" 5 | } -------------------------------------------------------------------------------- /queries/insert_resource_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_resource_info", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_resource_info" 5 | } -------------------------------------------------------------------------------- /queries/insert_resource_submission.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_resource_submission", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_resource_submission" 5 | } -------------------------------------------------------------------------------- /queries/insert_review_application.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_review_application", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_review_application" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_reviewer: -------------------------------------------------------------------------------- 1 | INSERT INTO rboard_user VALUES (@userId@, @categoryId@, 4, 100, @isImmunity@) -------------------------------------------------------------------------------- /queries/insert_reviewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_reviewer", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_reviewer" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_room.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_room", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_room" 5 | } -------------------------------------------------------------------------------- /queries/insert_round_component.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_round_component", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_round_component" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_round_onlyid: -------------------------------------------------------------------------------- 1 | INSERT INTO round (round_id, name) VALUES (@round_id@, '@name@'); 2 | -------------------------------------------------------------------------------- /queries/insert_round_onlyid.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "insert_round_onlyid", 4 | "db" : "informixoltp", 5 | "sqlfile" : "insert_round_onlyid" 6 | } 7 | -------------------------------------------------------------------------------- /queries/insert_round_question: -------------------------------------------------------------------------------- 1 | INSERT INTO round_question (round_id,question_id) VALUES (@roundId@, @questionId@); 2 | INSERT INTO survey_question (survey_id,question_id) VALUES (@roundId@, @questionId@); -------------------------------------------------------------------------------- /queries/insert_round_question.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_round_question", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_round_question" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_round_registration: -------------------------------------------------------------------------------- 1 | INSERT INTO round_registration(round_id, coder_id, timestamp, eligible) VALUES(@round_id@, @user_id@, current, @eligible@) 2 | -------------------------------------------------------------------------------- /queries/insert_round_registration.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_round_registration", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_round_registration" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_round_room_assignment: -------------------------------------------------------------------------------- 1 | INSERT INTO round_room_assignment (round_id) VALUES (@round_id@); -------------------------------------------------------------------------------- /queries/insert_round_room_assignment.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_round_room_assignment", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_round_room_assignment" 5 | } -------------------------------------------------------------------------------- /queries/insert_round_segments: -------------------------------------------------------------------------------- 1 | INSERT INTO round_segment (round_id,segment_id,start_time,end_time,status) VALUES (@roundId@, @segmentId@, '@startTime@', '@endTime@', '@status@') -------------------------------------------------------------------------------- /queries/insert_round_segments.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_round_segments", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_round_segments" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_round_terms_acceptance: -------------------------------------------------------------------------------- 1 | INSERT INTO round_terms_acceptance(user_id, round_id, timestamp) VALUES (@user_id@, @round_id@, current) 2 | -------------------------------------------------------------------------------- /queries/insert_round_terms_acceptance.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_round_terms_acceptance", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_round_terms_acceptance" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_security_user: -------------------------------------------------------------------------------- 1 | INSERT INTO security_user(login_id, user_id, password, create_user_id) VALUES(@loginId@, '@userId@', '@password@', @createUserId@) -------------------------------------------------------------------------------- /queries/insert_security_user.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_security_user", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_security_user" 5 | } -------------------------------------------------------------------------------- /queries/insert_social_account.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_social_account", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_social_account" 5 | } -------------------------------------------------------------------------------- /queries/insert_srm_contest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_srm_contest", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_srm_contest" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_srm_contest_round.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "insert_srm_contest_round", 4 | "db" : "informixoltp", 5 | "sqlfile" : "insert_srm_contest_round" 6 | } 7 | -------------------------------------------------------------------------------- /queries/insert_submission.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_submission", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_submission" 5 | } -------------------------------------------------------------------------------- /queries/insert_submission_image: -------------------------------------------------------------------------------- 1 | INSERT INTO submission_image (submission_id, image_id, sort_order) VALUES (@submission_id@, @image_id@, @sort_index@); 2 | -------------------------------------------------------------------------------- /queries/insert_submission_image.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "insert_submission_image", 3 | "db": "tcs_catalog", 4 | "sqlfile": "insert_submission_image" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_survey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_survey", 3 | "db" : "informixoltp", 4 | "sqlfile" : "insert_survey" 5 | } 6 | -------------------------------------------------------------------------------- /queries/insert_upload.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_upload", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "insert_upload" 5 | } -------------------------------------------------------------------------------- /queries/insert_user.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_user", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_user" 5 | } -------------------------------------------------------------------------------- /queries/insert_user_account.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_user_account", 3 | "db" : "time_oltp", 4 | "sqlfile" : "insert_user_account" 5 | } -------------------------------------------------------------------------------- /queries/insert_user_notify: -------------------------------------------------------------------------------- 1 | insert into user_notify_xref(user_id, notify_id) values ('@userId@', '@notifyId@') -------------------------------------------------------------------------------- /queries/insert_user_notify.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_user_notify", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_user_notify" 5 | } -------------------------------------------------------------------------------- /queries/insert_user_preference_values: -------------------------------------------------------------------------------- 1 | INSERT INTO user_preference(user_id, preference_id, value) VALUES ('@coderId@', '@preferenceId@', '@value@') -------------------------------------------------------------------------------- /queries/insert_user_preference_values.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_user_preference_values", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_user_preference_values" 5 | } -------------------------------------------------------------------------------- /queries/insert_user_terms_of_use: -------------------------------------------------------------------------------- 1 | INSERT INTO user_terms_of_use_xref(user_id, terms_of_use_id) VALUES(@userId@, @termsOfUseId@) -------------------------------------------------------------------------------- /queries/insert_user_terms_of_use.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "insert_user_terms_of_use", 3 | "db" : "common_oltp", 4 | "sqlfile" : "insert_user_terms_of_use" 5 | } -------------------------------------------------------------------------------- /queries/is_user_client_admin_for_project.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "is_user_client_admin_for_project", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "is_user_client_admin_for_project" 5 | } 6 | -------------------------------------------------------------------------------- /queries/list_srm_contest_rounds.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "list_srm_contest_rounds", 3 | "db" : "informixoltp", 4 | "sqlfile" : "list_srm_contest_rounds" 5 | } -------------------------------------------------------------------------------- /queries/load_active_payment_methods: -------------------------------------------------------------------------------- 1 | SELECT payment_method_id, payment_method_desc FROM payment_method_lu WHERE active = 't' ORDER BY payment_method_list_order, 2; -------------------------------------------------------------------------------- /queries/load_active_payment_methods.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "load_active_payment_methods", 3 | "db" : "informixoltp", 4 | "sqlfile" : "load_active_payment_methods" 5 | } 6 | -------------------------------------------------------------------------------- /queries/load_payment_preference.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "load_payment_preference", 3 | "db" : "informixoltp", 4 | "sqlfile" : "load_payment_preference" 5 | } 6 | -------------------------------------------------------------------------------- /queries/load_payment_preference_accrual_amount: -------------------------------------------------------------------------------- 1 | SELECT accrual_amount 2 | FROM 'informix'.user_accrual 3 | WHERE user_id = @userId@ 4 | -------------------------------------------------------------------------------- /queries/mime_types: -------------------------------------------------------------------------------- 1 | SELECT * FROM mime_type_lu -------------------------------------------------------------------------------- /queries/mime_types.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "mime_types", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "mime_types" 5 | } 6 | -------------------------------------------------------------------------------- /queries/new_billing_validations: -------------------------------------------------------------------------------- 1 | SELECT 'x' FROM project WHERE name = '@billingAccountName@' -------------------------------------------------------------------------------- /queries/new_billing_validations.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "new_billing_validations", 3 | "db" : "time_oltp", 4 | "sqlfile" : "new_billing_validations" 5 | } -------------------------------------------------------------------------------- /queries/new_client_validations.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "new_client_validations", 3 | "db" : "time_oltp", 4 | "sqlfile" : "new_client_validations" 5 | } -------------------------------------------------------------------------------- /queries/past_client_challenges_costs.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "past_client_challenges_costs", 3 | "db": "tcs_catalog", 4 | "sqlfile": "past_client_challenges_costs" 5 | } 6 | -------------------------------------------------------------------------------- /queries/past_data_science_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "past_data_science_challenges", 3 | "db": "tcs_dw", 4 | "sqlfile": "past_data_science_challenges" 5 | } -------------------------------------------------------------------------------- /queries/past_data_science_challenges_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "past_data_science_challenges_count", 3 | "db": "tcs_dw", 4 | "sqlfile": "past_data_science_challenges_count" 5 | } -------------------------------------------------------------------------------- /queries/remove_admin_group: -------------------------------------------------------------------------------- 1 | DELETE FROM user_group_xref WHERE login_id = @userId@ AND group_id = 2000115 -------------------------------------------------------------------------------- /queries/remove_admin_group.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "remove_admin_group", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "remove_admin_group" 5 | } -------------------------------------------------------------------------------- /queries/remove_admin_resource: -------------------------------------------------------------------------------- 1 | DELETE FROM resource WHERE resource_role_id = 13 AND project_id IS NULL AND user_id = @userId@ -------------------------------------------------------------------------------- /queries/remove_admin_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "remove_admin_resource", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "remove_admin_resource" 5 | } -------------------------------------------------------------------------------- /queries/remove_admin_resource_info: -------------------------------------------------------------------------------- 1 | DELETE FROM resource_info WHERE resource_id IN (SELECT resource_id FROM resource WHERE resource_role_id = 13 AND project_id IS NULL AND user_id = @userId@) -------------------------------------------------------------------------------- /queries/remove_admin_resource_info.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "remove_admin_resource_info", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "remove_admin_resource_info" 5 | } -------------------------------------------------------------------------------- /queries/remove_admin_role: -------------------------------------------------------------------------------- 1 | DELETE FROM user_role_xref WHERE role_id=2087 AND login_id = @userId@ -------------------------------------------------------------------------------- /queries/remove_admin_role.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "remove_admin_role", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "remove_admin_role" 5 | } -------------------------------------------------------------------------------- /queries/remove_copilot: -------------------------------------------------------------------------------- 1 | DELETE FROM copilot_profile WHERE user_id = @userId@ -------------------------------------------------------------------------------- /queries/remove_copilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "remove_copilot", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "remove_copilot" 5 | } -------------------------------------------------------------------------------- /queries/remove_reviewer: -------------------------------------------------------------------------------- 1 | DELETE FROM rboard_user WHERE user_id = @userId@ AND project_type_id = @categoryId@ -------------------------------------------------------------------------------- /queries/remove_reviewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "remove_reviewer", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "remove_reviewer" 5 | } -------------------------------------------------------------------------------- /queries/review_opportunity_detail.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "review_opportunity_detail", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "review_opportunity_detail" 5 | } 6 | -------------------------------------------------------------------------------- /queries/search_software_studio_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "search_software_studio_challenges", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "search_software_studio_challenges" 5 | } 6 | -------------------------------------------------------------------------------- /queries/search_users.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "search_users", 3 | "db" : "common_oltp", 4 | "sqlfile" : "search_users" 5 | } 6 | -------------------------------------------------------------------------------- /queries/search_users_count.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "search_users_count", 3 | "db" : "common_oltp", 4 | "sqlfile" : "search_users_count" 5 | } 6 | -------------------------------------------------------------------------------- /queries/set_submission_rank: -------------------------------------------------------------------------------- 1 | UPDATE submission SET user_rank = @userRank@ WHERE submission_id = @submissionId@ -------------------------------------------------------------------------------- /queries/set_submission_rank.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "set_submission_rank", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "set_submission_rank" 5 | } -------------------------------------------------------------------------------- /queries/srm_clear_round_events: -------------------------------------------------------------------------------- 1 | DELETE FROM round_event WHERE round_id = @roundId@; 2 | -------------------------------------------------------------------------------- /queries/srm_clear_round_events.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_clear_round_events", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_clear_round_events" 5 | } 6 | -------------------------------------------------------------------------------- /queries/srm_clear_round_languages: -------------------------------------------------------------------------------- 1 | DELETE FROM round_language WHERE round_id = @roundId@; 2 | -------------------------------------------------------------------------------- /queries/srm_clear_round_languages.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_clear_round_languages", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_clear_round_languages" 5 | } 6 | -------------------------------------------------------------------------------- /queries/srm_get_accessible_rounds.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_get_accessible_rounds", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_get_accessible_rounds" 5 | } 6 | -------------------------------------------------------------------------------- /queries/srm_get_all_languages: -------------------------------------------------------------------------------- 1 | SELECT language_id FROM language WHERE status = 'Y' ORDER BY language_id; -------------------------------------------------------------------------------- /queries/srm_get_all_languages.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_get_all_languages", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_get_all_languages" 5 | } 6 | -------------------------------------------------------------------------------- /queries/srm_insert_round_event: -------------------------------------------------------------------------------- 1 | INSERT INTO round_event (round_id,event_id,event_name,registration_url) 2 | VALUES 3 | ( 4 | @roundId@, 5 | @eventId@, 6 | @eventName@, 7 | @registrationUrl@ 8 | ); -------------------------------------------------------------------------------- /queries/srm_insert_round_event.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_insert_round_event", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_insert_round_event" 5 | } 6 | -------------------------------------------------------------------------------- /queries/srm_insert_round_language: -------------------------------------------------------------------------------- 1 | INSERT INTO round_language (round_id, language_id) VALUES (@roundId@, @languageId@); -------------------------------------------------------------------------------- /queries/srm_insert_round_language.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_insert_round_language", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_insert_round_language" 5 | } 6 | -------------------------------------------------------------------------------- /queries/srm_update_room_assignment.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "srm_update_room_assignment", 3 | "db" : "informixoltp", 4 | "sqlfile" : "srm_update_room_assignment" 5 | } 6 | -------------------------------------------------------------------------------- /queries/submission_images.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "submission_images", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "submission_images" 5 | } 6 | -------------------------------------------------------------------------------- /queries/submissions_increment_rank.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "submissions_increment_rank", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "submissions_increment_rank" 5 | } -------------------------------------------------------------------------------- /queries/tc_direct_facts.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tc_direct_facts", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "tc_direct_facts" 5 | } 6 | -------------------------------------------------------------------------------- /queries/upcoming_data_science_challenges.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "upcoming_data_science_challenges", 3 | "db": "tcs_catalog", 4 | "sqlfile": "upcoming_data_science_challenges" 5 | } -------------------------------------------------------------------------------- /queries/update_address.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_address", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_address" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_answer: -------------------------------------------------------------------------------- 1 | UPDATE answer 2 | SET answer_text = '@answerText@', 3 | sort_order = @sortOrder@, 4 | correct = @correct@ 5 | WHERE answer_id = @answerId@ 6 | -------------------------------------------------------------------------------- /queries/update_answer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "update_answer", 3 | "db": "informixoltp", 4 | "sqlfile": "update_answer" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_billing.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_billing", 3 | "db" : "time_oltp", 4 | "sqlfile" : "update_billing" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_client: -------------------------------------------------------------------------------- 1 | UPDATE client SET 2 | name = '@clientName@', 3 | modification_date = CURRENT, 4 | modification_user = '@handle@' 5 | WHERE customer_number = '@customerNumber@' 6 | -------------------------------------------------------------------------------- /queries/update_client.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_client", 3 | "db" : "time_oltp", 4 | "sqlfile" : "update_client" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_contest_round.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "update_contest_round", 4 | "db" : "informixoltp", 5 | "sqlfile" : "update_contest_round" 6 | } 7 | -------------------------------------------------------------------------------- /queries/update_current_high_school: -------------------------------------------------------------------------------- 1 | UPDATE 2 | current_school 3 | SET 4 | viewable = '@viewable@' 5 | WHERE 6 | coder_id = '@coderId@' -------------------------------------------------------------------------------- /queries/update_current_high_school.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_current_high_school", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "update_current_high_school" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_email: -------------------------------------------------------------------------------- 1 | UPDATE email SET address = '@address@', status_id = '@statusId@', email_type_id = '@emailTypeId@' WHERE email_id = '@emailId@' -------------------------------------------------------------------------------- /queries/update_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_email", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_email" 5 | } -------------------------------------------------------------------------------- /queries/update_highest_id: -------------------------------------------------------------------------------- 1 | update 'informix'.id_sequences set next_block_start=@nextBlockStart@ where name='@name@' -------------------------------------------------------------------------------- /queries/update_highest_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_highest_id", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_highest_id" 5 | } -------------------------------------------------------------------------------- /queries/update_image: -------------------------------------------------------------------------------- 1 | UPDATE image SET file_name = '@file_name@', path_id = @path_id@ WHERE image_id = @image_id@ 2 | -------------------------------------------------------------------------------- /queries/update_image.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_image", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_image" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_member_contact_black: -------------------------------------------------------------------------------- 1 | UPDATE 2 | member_contact_black_list 3 | SET 4 | blocked_ind = '@flag@' 5 | WHERE 6 | user_id = '@userId@' 7 | AND 8 | blocked_user_id = '@blockedUserId@' -------------------------------------------------------------------------------- /queries/update_member_contact_black.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_member_contact_black", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_member_contact_black" 5 | } -------------------------------------------------------------------------------- /queries/update_password: -------------------------------------------------------------------------------- 1 | UPDATE security_user SET password = '@password@' WHERE user_id = '@handle@' 2 | -------------------------------------------------------------------------------- /queries/update_password.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_password", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_password" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_password_by_old_password: -------------------------------------------------------------------------------- 1 | UPDATE security_user SET password = '@new_password@' WHERE user_id = '@handle@' AND password = '@old_password@' -------------------------------------------------------------------------------- /queries/update_password_by_old_password.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_password_by_old_password", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_password_by_old_password" 5 | } -------------------------------------------------------------------------------- /queries/update_payment_accrual_amount: -------------------------------------------------------------------------------- 1 | update 'informix'.user_accrual set accrual_amount = @value@ where user_id = @userId@ -------------------------------------------------------------------------------- /queries/update_payment_accrual_amount.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_payment_accrual_amount", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_payment_accrual_amount" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_payment_method: -------------------------------------------------------------------------------- 1 | update 'informix'.user_payment_method set payment_method_id = @value@ where user_id = @userId@ 2 | -------------------------------------------------------------------------------- /queries/update_payment_method.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_payment_method", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_payment_method" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_paypal_account_email: -------------------------------------------------------------------------------- 1 | update 'informix'.user_paypal_account set email_address = '@value@' where user_id = @userId@ 2 | -------------------------------------------------------------------------------- /queries/update_paypal_account_email.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_paypal_account_email", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_paypal_account_email" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_question_query.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_question_query", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_question_query" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_review_application: -------------------------------------------------------------------------------- 1 | UPDATE review_application SET review_application_status_id = @status@, modify_date = current WHERE review_application_id = @review_application_id@ 2 | -------------------------------------------------------------------------------- /queries/update_review_application.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_review_application", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "update_review_application" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_room_assignment.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "update_room_assignment", 4 | "db" : "informixoltp", 5 | "sqlfile" : "update_room_assignment" 6 | } 7 | -------------------------------------------------------------------------------- /queries/update_round_id.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "name" : "update_round_id", 4 | "db" : "informixoltp", 5 | "sqlfile" : "update_round_id" 6 | } 7 | -------------------------------------------------------------------------------- /queries/update_social_user_id: -------------------------------------------------------------------------------- 1 | UPDATE user_social_login set social_user_id = '@socialUserId@' WHERE user_id = '@userId@' -------------------------------------------------------------------------------- /queries/update_social_user_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_social_user_id", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_social_user_id" 5 | } -------------------------------------------------------------------------------- /queries/update_srm_contest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_srm_contest", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_srm_contest" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_srm_contest_id: -------------------------------------------------------------------------------- 1 | UPDATE round SET contest_id=@contestId@ WHERE contest_id=@id@; -------------------------------------------------------------------------------- /queries/update_srm_contest_id.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_srm_contest_id", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_srm_contest_id" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_survey: -------------------------------------------------------------------------------- 1 | UPDATE survey SET 2 | name='@name@', 3 | start_date='@startDate@', 4 | end_date='@endDate@', 5 | text='@surveyText@', 6 | status_id=@statusId@ 7 | WHERE survey_id=@roundId@ -------------------------------------------------------------------------------- /queries/update_survey.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_survey", 3 | "db" : "informixoltp", 4 | "sqlfile" : "update_survey" 5 | } 6 | -------------------------------------------------------------------------------- /queries/update_user_country_code: -------------------------------------------------------------------------------- 1 | UPDATE 'informixoltp':coder SET comp_country_code = '@compCountryCode@' WHERE coder_id = @coderId@; -------------------------------------------------------------------------------- /queries/update_user_country_code.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_user_country_code", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_user_country_code" 5 | } -------------------------------------------------------------------------------- /queries/update_user_preference_values: -------------------------------------------------------------------------------- 1 | UPDATE 2 | user_preference 3 | SET 4 | value = '@value@' 5 | WHERE 6 | user_id = '@coderId@' 7 | AND 8 | preference_id = '@preferenceId@' -------------------------------------------------------------------------------- /queries/update_user_preference_values.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_user_preference_values", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_user_preference_values" 5 | } -------------------------------------------------------------------------------- /queries/update_user_quote: -------------------------------------------------------------------------------- 1 | UPDATE 'informixoltp':coder SET quote = '@quote@' WHERE coder_id = @coderId@; -------------------------------------------------------------------------------- /queries/update_user_quote.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "update_user_quote", 3 | "db" : "common_oltp", 4 | "sqlfile" : "update_user_quote" 5 | } -------------------------------------------------------------------------------- /queries/userid_to_password: -------------------------------------------------------------------------------- 1 | SELECT 2 | su.password, u.status 3 | FROM 4 | security_user su, user u 5 | WHERE 6 | su.login_id = @uid@ 7 | and u.user_id = su.login_id -------------------------------------------------------------------------------- /queries/userid_to_password.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "userid_to_password", 3 | "db" : "informixoltp", 4 | "sqlfile" : "userid_to_password" 5 | } -------------------------------------------------------------------------------- /resources/studio_logo_watermark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/resources/studio_logo_watermark.png -------------------------------------------------------------------------------- /restart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ./stop.sh && ./start.sh -------------------------------------------------------------------------------- /stop.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 3 | 4 | forever stop "${DIR}/node_modules/actionhero/bin/actionhero" 5 | -------------------------------------------------------------------------------- /test/accuracy/sqls/tops/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | delete from user_rating; 2 | delete from project; -------------------------------------------------------------------------------- /test/accuracy/sqls/tops/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | delete from coder; -------------------------------------------------------------------------------- /test/docker/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '2' 2 | services: 3 | tc-informix: 4 | image: appiriodevops/informix:1b3d4ef 5 | ports: 6 | - "2021:2021" 7 | -------------------------------------------------------------------------------- /test/mocha.opts: -------------------------------------------------------------------------------- 1 | -t 5000 2 | --reporter list 3 | --ui bdd -------------------------------------------------------------------------------- /test/sqls/activateUser/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user WHERE user_id >= 900000 AND user_id <= 999999; 2 | DELETE FROM email WHERE user_id >= 900000 AND user_id <= 999999; -------------------------------------------------------------------------------- /test/sqls/agreeTermsOfUse/select_heffan_terms_of_use_xref: -------------------------------------------------------------------------------- 1 | 1 FROM user_terms_of_use_xref WHERE user_id = 132456 AND terms_of_use_id = 30007 -------------------------------------------------------------------------------- /test/sqls/agreeTermsOfUse/select_user_terms_of_use_xref: -------------------------------------------------------------------------------- 1 | 1 FROM user_terms_of_use_xref WHERE user_id = 132458 AND terms_of_use_id = 30006 -------------------------------------------------------------------------------- /test/sqls/agreeTermsOfUse/select_user_terms_of_use_xref.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "select_user_terms_of_use_xref", 3 | "db" : "common_oltp", 4 | "sqlfile" : "select_user_terms_of_use_xref" 5 | } -------------------------------------------------------------------------------- /test/sqls/applyDevelopReviewOpportunity/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user_terms_of_use_xref WHERE user_id = 132457; 2 | DELETE FROM project_role_terms_of_use_xref WHERE project_id = 2001; 3 | -------------------------------------------------------------------------------- /test/sqls/basicUserProfile/informixoltp__update_is_pm: -------------------------------------------------------------------------------- 1 | UPDATE algo_rating SET rating = -1 WHERE coder_id = 132456; 2 | -------------------------------------------------------------------------------- /test/sqls/basicUserProfile/informixoltp__update_show_earning: -------------------------------------------------------------------------------- 1 | UPDATE user_preference SET value = 'show' WHERE user_id = 132456; 2 | -------------------------------------------------------------------------------- /test/sqls/basicUserProfile/tcs_catalog__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM copilot_profile; 2 | -------------------------------------------------------------------------------- /test/sqls/basicUserProfile/tcs_catalog__update_software_copilot: -------------------------------------------------------------------------------- 1 | UPDATE copilot_profile SET is_software_copilot = 't' WHERE user_id = 132456; 2 | -------------------------------------------------------------------------------- /test/sqls/basicUserProfile/tcs_catalog__update_studio_copilot: -------------------------------------------------------------------------------- 1 | UPDATE copilot_profile SET is_studio_copilot = 't' WHERE user_id = 132456; 2 | -------------------------------------------------------------------------------- /test/sqls/basicUserProfile/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user_rating WHERE user_id = 132456; 2 | DELETE FROM user_achievement_xref WHERE user_id = 132456; 3 | -------------------------------------------------------------------------------- /test/sqls/challengeAnalyze/corporate_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM tc_direct_project WHERE project_id >= 2001; 2 | -------------------------------------------------------------------------------- /test/sqls/challengeCosts/corporate_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM tc_direct_project WHERE 10001 <= project_id AND project_id <= 10024; 2 | -------------------------------------------------------------------------------- /test/sqls/challengeCosts/time_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM client_project WHERE 10001 <= project_id AND project_id <= 10024; 2 | DELETE FROM project WHERE 10001 <= project_id AND project_id <= 10024; 3 | -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/common_oltp__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "common_oltp__clean", 3 | "db" : "common_oltp", 4 | "sqlfile" : "common_oltp__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/common_oltp__insert_test_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "common_oltp__insert_test_data", 3 | "db" : "common_oltp", 4 | "sqlfile" : "common_oltp__insert_test_data" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM coder WHERE coder_id = 400013; 2 | -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/jive__clean: -------------------------------------------------------------------------------- 1 | delete from jivegroupuser where userid > 400010 and userid < 400020; 2 | delete from jivegroup where groupid >= 101 and groupid <= 104; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/jive__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jive__clean", 3 | "db" : "jive", 4 | "sqlfile" : "jive__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/jive__clean.sql: -------------------------------------------------------------------------------- 1 | delete from jivegroupuser where userid > 400010 and userid < 400020; 2 | delete from jivegroup where groupid >= 101 and groupid <= 104; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/jive__insert_test_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jive__insert_test_data", 3 | "db" : "jive", 4 | "sqlfile" : "jive__insert_test_data" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/jive__select_jivegroupuser: -------------------------------------------------------------------------------- 1 | * from jivegroupuser where userid = 400011; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/jive__select_jivegroupuser.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jive__select_jivegroupuser", 3 | "db" : "jive", 4 | "sqlfile" : "jive__select_jivegroupuser" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tcs_catalog__clean", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "tcs_catalog__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__insert_test_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tcs_catalog__insert_test_data", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "tcs_catalog__insert_test_data" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__select_component_inquiry: -------------------------------------------------------------------------------- 1 | * FROM component_inquiry WHERE component_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__select_project_result: -------------------------------------------------------------------------------- 1 | * FROM project_result WHERE project_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__select_software_challenge_resource: -------------------------------------------------------------------------------- 1 | * FROM resource WHERE project_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__select_software_notification: -------------------------------------------------------------------------------- 1 | * FROM notification WHERE project_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__select_studio_challenge_resource: -------------------------------------------------------------------------------- 1 | * FROM resource WHERE project_id = 40000002; -------------------------------------------------------------------------------- /test/sqls/challengeRegistration/tcs_catalog__select_studio_notification: -------------------------------------------------------------------------------- 1 | * FROM notification WHERE project_id = 40000002; -------------------------------------------------------------------------------- /test/sqls/challengeResults/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM project_result where project_id >= 66900 AND project_id <= 66999; 2 | DELETE FROM project where project_id >= 66900 AND project_id <= 66999; 3 | -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/common_oltp__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "common_oltp__clean", 3 | "db" : "common_oltp", 4 | "sqlfile" : "common_oltp__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM coder WHERE coder_id = 400013; 2 | -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/jive__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jive__clean", 3 | "db" : "jive", 4 | "sqlfile" : "jive__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/jive__insert_test_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jive__insert_test_data", 3 | "db" : "jive", 4 | "sqlfile" : "jive__insert_test_data" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/jive__select_jiveuserperm: -------------------------------------------------------------------------------- 1 | * from jiveuserperm where userid = 400011; -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/jive__select_jiveuserperm.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "jive__select_jiveuserperm", 3 | "db" : "jive", 4 | "sqlfile" : "jive__select_jiveuserperm" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/tcs_catalog__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tcs_catalog__clean", 3 | "db" : "tcs_catalog", 4 | "sqlfile" : "tcs_catalog__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/tcs_catalog__select_component_inquiry: -------------------------------------------------------------------------------- 1 | * FROM component_inquiry WHERE component_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/tcs_catalog__select_project_result: -------------------------------------------------------------------------------- 1 | * FROM project_result WHERE project_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/tcs_catalog__select_software_challenge_component_inquiry: -------------------------------------------------------------------------------- 1 | * FROM component_inquiry WHERE project_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/tcs_catalog__select_software_challenge_resource: -------------------------------------------------------------------------------- 1 | * FROM resource WHERE project_id = 40000001; -------------------------------------------------------------------------------- /test/sqls/challengeUnregistration/tcs_catalog__select_studio_challenge_resource: -------------------------------------------------------------------------------- 1 | * FROM resource WHERE project_id = 40000002; -------------------------------------------------------------------------------- /test/sqls/challenges/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM project_result WHERE project_id = 10041; 2 | 3 | DELETE FROM submission WHERE submission_id = 10041; 4 | 5 | DELETE FROM coder WHERE coder_id = 132457; 6 | -------------------------------------------------------------------------------- /test/sqls/copilots/tcs_catalog__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM copilot_profile; -------------------------------------------------------------------------------- /test/sqls/createBilling/common_oltp__clean: -------------------------------------------------------------------------------- 1 | delete from user_social_login where user_id in (124764, 132456); 2 | -------------------------------------------------------------------------------- /test/sqls/createCustomer/common_oltp__clean: -------------------------------------------------------------------------------- 1 | delete from user_social_login where user_id in (124764, 132456); 2 | -------------------------------------------------------------------------------- /test/sqls/dataScienceChallenges/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM project_technology WHERE project_id BETWEEN 1000000 AND 1999999; 2 | DELETE FROM project WHERE project_id BETWEEN 1000000 AND 1999999; 3 | -------------------------------------------------------------------------------- /test/sqls/desDownloadSubmission/informixoltp__clean: -------------------------------------------------------------------------------- 1 | delete from image where image_id > 654000 and image_id < 654999; 2 | delete from path where path_id > 654000 and path_id < 654999; -------------------------------------------------------------------------------- /test/sqls/desUploadSubmission/common_oltp__clean: -------------------------------------------------------------------------------- 1 | delete from user_social_login where user_id IN (124764, 124772, 124766, 124776, 124834, 132456); -------------------------------------------------------------------------------- /test/sqls/desUploadSubmission/tcs_catalog__clean.part1: -------------------------------------------------------------------------------- 1 | DELETE FROM submission_image; 2 | DELETE FROM image; 3 | DELETE FROM informixoltp:path WHERE path_id > 100; 4 | -------------------------------------------------------------------------------- /test/sqls/devDownloadSubmission/common_oltp__clean: -------------------------------------------------------------------------------- 1 | delete from user_social_login where user_id IN (124764, 124772, 124766, 124776, 124834, 132456); -------------------------------------------------------------------------------- /test/sqls/devUploadSubmission/common_oltp__clean: -------------------------------------------------------------------------------- 1 | delete from user_social_login where user_id IN (124764, 124772, 124766, 124776, 124834, 132456); -------------------------------------------------------------------------------- /test/sqls/docusign/recipientViewUrl/common_oltp__clean: -------------------------------------------------------------------------------- 1 | delete from user_social_login where user_id = 124764; 2 | -------------------------------------------------------------------------------- /test/sqls/docusign/recipientViewUrl/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM docusign_envelope WHERE user_id = 124764; 2 | UPDATE email set address = 'foo@fooonyou.com' where user_id = 124764; -------------------------------------------------------------------------------- /test/sqls/generateJWT/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user WHERE user_id = 2001; 2 | -------------------------------------------------------------------------------- /test/sqls/generateJWT/common_oltp__insert_test_data: -------------------------------------------------------------------------------- 1 | INSERT INTO user (user_id, handle, status, password) VALUES(2001, 'testUser', 'U', 'password'); 2 | -------------------------------------------------------------------------------- /test/sqls/marathonChallenges/common_oltp__clean: -------------------------------------------------------------------------------- 1 |  2 | DELETE FROM user WHERE user_id >= 3001 and user_id <= 3100; 3 | -------------------------------------------------------------------------------- /test/sqls/marathonChallenges/informixoltp__clean_winner: -------------------------------------------------------------------------------- 1 | DELETE FROM long_comp_result where round_id = 2001 and placed = 1 2 | -------------------------------------------------------------------------------- /test/sqls/memberSRMStatistics/topcoder_dw__clean_levels: -------------------------------------------------------------------------------- 1 | DELETE FROM coder_level WHERE coder_id = 132456; 2 | 3 | -------------------------------------------------------------------------------- /test/sqls/memberSearch/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user WHERE user_id > 10000000 AND user_id < 10000024; -------------------------------------------------------------------------------- /test/sqls/memberSoftwareStatistics/tcs_catalog__clean_reviewer_rating: -------------------------------------------------------------------------------- 1 | DELETE FROM reviewer_rating WHERE project_id >= 2000; -------------------------------------------------------------------------------- /test/sqls/memberSoftwareStatistics/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user_achievement WHERE coder_id = 132456; 2 | DELETE FROM coder WHERE coder_id <= 132458; -------------------------------------------------------------------------------- /test/sqls/memberStudioStatistics/tcs_catalog__clean_tracks: -------------------------------------------------------------------------------- 1 | DELETE FROM submission WHERE submission_id >= 4001; 2 | DELETE FROM upload WHERE upload_id >= 4001; 3 | DELETE FROM prize WHERE prize_id >= 4001; 4 | -------------------------------------------------------------------------------- /test/sqls/memberStudioStatistics/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM coder WHERE coder_id >= 132456; -------------------------------------------------------------------------------- /test/sqls/member_statistics/tcs_dw__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "tcs_dw__clean", 3 | "db" : "tcs_dw", 4 | "sqlfile" : "tcs_dw__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/modifyDeleteAnswer/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM answer WHERE answer_id BETWEEN 1001 AND 1005; 2 | DELETE FROM question WHERE question_id BETWEEN 1000 AND 1002; 3 | -------------------------------------------------------------------------------- /test/sqls/payments/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM payment WHERE payment_id > 1000; 2 | DELETE FROM payment_detail WHERE payment_detail_id > 1000; 3 | -------------------------------------------------------------------------------- /test/sqls/privateChallenges/corporate_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM tc_direct_project WHERE project_id = 2001; -------------------------------------------------------------------------------- /test/sqls/privateChallenges/corporate_oltp__insert_test_data: -------------------------------------------------------------------------------- 1 | INSERT INTO tc_direct_project(project_id, name, project_status_id, user_id, create_date) 2 | VALUES(2001, 'Test Project 2001', 1, 132456, current); -------------------------------------------------------------------------------- /test/sqls/recentDesignWinningSubmissions/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM coder; -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "common_oltp__clean", 3 | "db" : "common_oltp", 4 | "sqlfile" : "common_oltp__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__get_current_user_seq: -------------------------------------------------------------------------------- 1 | 2 | SEQUENCE_USER_SEQ.NEXTVAL from table(set{1}) -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__insert_test_data: -------------------------------------------------------------------------------- 1 | insert into 'informix'.invalid_handles (invalid_handle_id, invalid_handle) values(1000000, 'invalidHandle'); 2 | -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__insert_test_data.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "common_oltp__insert_test_data", 3 | "db" : "common_oltp", 4 | "sqlfile" : "common_oltp__insert_test_data" 5 | } -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__select_security_user: -------------------------------------------------------------------------------- 1 | login_id, user_id, password from security_user where user_id = 'testHandleFoo' -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__select_user: -------------------------------------------------------------------------------- 1 | user_id,first_name,last_name,handle,status,activation_code,reg_source,utm_source,utm_medium,utm_campaign from user where handle = 'testHandleFoo' -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__select_user_default_reg_source: -------------------------------------------------------------------------------- 1 | reg_source from user where handle = 'testDRegSource' -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__select_user_group: -------------------------------------------------------------------------------- 1 | login_id, group_id from user_group_xref x, user u where u.handle = 'testHandleFoo' and u.user_id=x.login_id -------------------------------------------------------------------------------- /test/sqls/register_member/common_oltp__select_user_reg_source: -------------------------------------------------------------------------------- 1 | reg_source from user where handle = 'testRegSource' -------------------------------------------------------------------------------- /test/sqls/register_member/informixoltp__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "informixoltp__clean", 3 | "db" : "informixoltp", 4 | "sqlfile" : "informixoltp__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/reportsGetActiveBillingAccounts/time_oltp__restore: -------------------------------------------------------------------------------- 1 | UPDATE project 2 | SET end_date = '2010-02-28 00:00:00' 3 | WHERE project_id IN (70016343, 70016347) -------------------------------------------------------------------------------- /test/sqls/reportsGetActiveBillingAccounts/time_oltp__update_test_data_1: -------------------------------------------------------------------------------- 1 | UPDATE project 2 | SET end_date = '2099-01-01 00:00:00' 3 | WHERE project_id IN (70016343, 70016347) -------------------------------------------------------------------------------- /test/sqls/reportsGetActiveBillingAccounts/time_oltp__update_test_data_2: -------------------------------------------------------------------------------- 1 | UPDATE project 2 | SET end_date = '2010-02-28 00:00:00' 3 | WHERE project_id IN (70016343, 70016347) -------------------------------------------------------------------------------- /test/sqls/reviewOpportunities/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM user_terms_of_use_xref WHERE user_id = 132456; 2 | DELETE FROM project_role_terms_of_use_xref WHERE project_id = 3001; 3 | -------------------------------------------------------------------------------- /test/sqls/reviewers/tcs_catalog__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM rboard_user WHERE project_type_id IN (7,17,38, 39); -------------------------------------------------------------------------------- /test/sqls/reviewers/tcs_catalog__insert_test_data: -------------------------------------------------------------------------------- 1 | INSERT INTO rboard_user VALUES (20, 7, 4, 100, 1); -------------------------------------------------------------------------------- /test/sqls/srmChallenges/informixoltp__clear_contest: -------------------------------------------------------------------------------- 1 | DELETE FROM CONTEST WHERE contest_id >= 1000000; -------------------------------------------------------------------------------- /test/sqls/srmChallenges/informixoltp_clear: -------------------------------------------------------------------------------- 1 | DELETE FROM ROUND_SEGMENT WHERE round_id = 888; 2 | DELETE FROM ROUND WHERE round_id = 888; 3 | DELETE FROM CONTEST WHERE contest_id = 888; -------------------------------------------------------------------------------- /test/sqls/srmProblems/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM round_component WHERE round_id = 13672 and division_id = 1; 2 | DELETE FROM problem WHERE problem_id = 2001; 3 | -------------------------------------------------------------------------------- /test/sqls/srmRoundComponentsAndTerms/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM round_component WHERE round_id = 13673; 2 | DELETE FROM round_terms WHERE round_id = 13673; 3 | -------------------------------------------------------------------------------- /test/sqls/srmRoundSegments/informixoltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM round_segment WHERE round_id = 13673; 2 | -------------------------------------------------------------------------------- /test/sqls/topTrackMembers/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | delete from user_rating; 2 | delete from project; -------------------------------------------------------------------------------- /test/sqls/topTrackMembers/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | delete from algo_rating; 2 | delete from algo_rating_type_lu; 3 | delete from coder; -------------------------------------------------------------------------------- /test/sqls/tops/tcs_dw__clean: -------------------------------------------------------------------------------- 1 | delete from user_rating; 2 | delete from project; -------------------------------------------------------------------------------- /test/sqls/tops/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | delete from coder; -------------------------------------------------------------------------------- /test/sqls/topsSRM/topcoder_dw__clean.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "topcoder_dw__clean", 3 | "db" : "topcoder_dw", 4 | "sqlfile" : "topcoder_dw__clean" 5 | } -------------------------------------------------------------------------------- /test/sqls/updateUserProfile/topcoder_dw__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM coder WHERE coder_id in (132456, 132458, 132457, 124764, 124766, 124916); 2 | -------------------------------------------------------------------------------- /test/sqls/userActivationEmail/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM email WHERE email_id IN (100326, 100325); 2 | DELETE FROM user WHERE user_id IN (100326, 100325); 3 | -------------------------------------------------------------------------------- /test/sqls/validateHandle/common_oltp__clean: -------------------------------------------------------------------------------- 1 | DELETE FROM invalid_handles; -------------------------------------------------------------------------------- /test/sqls/validateHandle/common_oltp__insert_test_data: -------------------------------------------------------------------------------- 1 | INSERT INTO invalid_handles VALUES (1, 'duck'); -------------------------------------------------------------------------------- /test/test_files/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/.DS_Store -------------------------------------------------------------------------------- /test/test_files/admins/expect_create_admin.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": true, 3 | "message": "dok_tester1 has been successfully added as TopCoder Admin" 4 | } -------------------------------------------------------------------------------- /test/test_files/admins/expect_create_admin_with_empty_body.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: username is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/admins/expect_create_admin_with_exist_admin_resource.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": true, 3 | "message": "wyzmo has been successfully added as TopCoder Admin" 4 | } -------------------------------------------------------------------------------- /test/test_files/admins/expect_remove_admin.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": true, 3 | "message": "TopCoder Admin: dok_tester has been successfully removed" 4 | } -------------------------------------------------------------------------------- /test/test_files/admins/expect_remove_admin_with_empty_body.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: username is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/copilots/expect_create_copilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "Copilot dok_tester1 has been successfully added", 3 | "success": true 4 | } -------------------------------------------------------------------------------- /test/test_files/copilots/expect_create_copilot_with_empty_body.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: username is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/copilots/expect_create_copilot_with_missing_isSoftwareCopilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: isSoftwareCopilot is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/copilots/expect_create_copilot_with_missing_isStudioCopilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: isStudioCopilot is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/copilots/expect_remove_copilot.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": true, 3 | "message": "Copilot dok_tester has been successfully removed" 4 | } -------------------------------------------------------------------------------- /test/test_files/copilots/expect_remove_copilot_with_empty_body.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: username is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/des_upload_submission/empty.zip: -------------------------------------------------------------------------------- 1 | PK -------------------------------------------------------------------------------- /test/test_files/des_upload_submission/preview.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/des_upload_submission/preview.gif -------------------------------------------------------------------------------- /test/test_files/des_upload_submission/preview.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/des_upload_submission/preview.jpg -------------------------------------------------------------------------------- /test/test_files/des_upload_submission/source.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/des_upload_submission/source.zip -------------------------------------------------------------------------------- /test/test_files/des_upload_submission/strange.blah: -------------------------------------------------------------------------------- 1 | aasaas -------------------------------------------------------------------------------- /test/test_files/des_upload_submission/submission.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/des_upload_submission/submission.zip -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/submission/readme: -------------------------------------------------------------------------------- 1 | This is a readme file -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/test.7z: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/dev_download_submission/test.7z -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/test.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/dev_download_submission/test.doc -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/test.docx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/dev_download_submission/test.docx -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/test.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/dev_download_submission/test.jar -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/test.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/dev_download_submission/test.tar.gz -------------------------------------------------------------------------------- /test/test_files/dev_download_submission/test.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/dev_download_submission/test.zip -------------------------------------------------------------------------------- /test/test_files/expected_billing_account_permission_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": [ 3 | "twight" 4 | ], 5 | "failed": [ 6 | "noOne" 7 | ] 8 | } -------------------------------------------------------------------------------- /test/test_files/expected_billing_account_permission_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": [ 3 | "twight" 4 | ], 5 | "failed": [] 6 | } -------------------------------------------------------------------------------- /test/test_files/expected_billing_account_permission_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": [ 3 | "twight", 4 | "heffan" 5 | ], 6 | "failed": [] 7 | } -------------------------------------------------------------------------------- /test/test_files/expected_challenge_registration_software_resource_info.txt: -------------------------------------------------------------------------------- 1 | { 2 | "user_id": "400011", 3 | "handle": "normal_user_11" 4 | } -------------------------------------------------------------------------------- /test/test_files/expected_challenge_registration_studio_resource_info.txt: -------------------------------------------------------------------------------- 1 | { 2 | "user_id": "400011", 3 | "handle": "normal_user_11", 4 | "payments": "N/A" 5 | } -------------------------------------------------------------------------------- /test/test_files/expected_checkpoint_software_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "checkpointResults": [], 3 | "generalFeedback": "General feedback for challenge 4003" 4 | } -------------------------------------------------------------------------------- /test/test_files/expected_get_user_identity_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "uid=132456, ou=members, dc=topcoder, dc=com", 3 | "handle": "heffan", 4 | "email": "foo@fooonyou.com" 5 | } 6 | -------------------------------------------------------------------------------- /test/test_files/expected_get_user_submissions_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "submissions": [] 3 | } 4 | -------------------------------------------------------------------------------- /test/test_files/expected_jivegroupuser.txt: -------------------------------------------------------------------------------- 1 | { 2 | "groupid" : 101, 3 | "userid" : 400011, 4 | "administrator" : 0 5 | } 6 | -------------------------------------------------------------------------------- /test/test_files/expected_member_register_invalid_3.txt: -------------------------------------------------------------------------------- 1 | [ 2 | "Social User Id is required", 3 | "Social provider id is not valid." 4 | ] 5 | -------------------------------------------------------------------------------- /test/test_files/expected_member_register_invalid_4.txt: -------------------------------------------------------------------------------- 1 | [ 2 | "Password is a required parameter if the registering is not through social login." 3 | ] -------------------------------------------------------------------------------- /test/test_files/expected_member_register_invalid_5.txt: -------------------------------------------------------------------------------- 1 | [ 2 | "Country name is not valid.", 3 | "Email is required", 4 | "Handle is required" 5 | ] 6 | -------------------------------------------------------------------------------- /test/test_files/expected_member_register_invalid_existing.txt: -------------------------------------------------------------------------------- 1 | [ 2 | "The email - foo@fooonyou.com is already registered, please use another one." 3 | ] -------------------------------------------------------------------------------- /test/test_files/expected_member_register_validate_default_reg_source.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "reg_source": "api" 4 | } 5 | ] -------------------------------------------------------------------------------- /test/test_files/expected_member_register_validate_reg_source.txt: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "reg_source": "source1" 4 | } 5 | ] -------------------------------------------------------------------------------- /test/test_files/expected_member_register_validate_security_user.txt: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "user_id": "testHandleFoo", 4 | "password": "x+Hw3UWA0Tw=" 5 | } 6 | -------------------------------------------------------------------------------- /test/test_files/expected_member_software_stats_no_tracks.json: -------------------------------------------------------------------------------- 1 | { 2 | "handle": "heffan", 3 | "Tracks": {}, 4 | "CompetitionHistory": {} 5 | } 6 | -------------------------------------------------------------------------------- /test/test_files/expected_payment_list_0.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "pageIndex": 1, 4 | "pageSize": 10, 5 | "payments": [], 6 | "summary": { 7 | "paid": 0 8 | } 9 | } -------------------------------------------------------------------------------- /test/test_files/expected_recent_design_winning_submissions_heffan.json: -------------------------------------------------------------------------------- 1 | { 2 | "size": 0, 3 | "recentWinningSubmissions": [] 4 | } -------------------------------------------------------------------------------- /test/test_files/expected_terms_detail_21114.json: -------------------------------------------------------------------------------- 1 | { 2 | "agreeabilityType": "DocuSignable", 3 | "title": "test template term", 4 | "docusignTemplateId": "1", 5 | "termsOfUseId": 21114 6 | } 7 | -------------------------------------------------------------------------------- /test/test_files/exptected_member_register_success.txt: -------------------------------------------------------------------------------- 1 | 22758845 -------------------------------------------------------------------------------- /test/test_files/getUserAlgoChallenges/expected_response_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "pageIndex": 1, 3 | "pageSize": 10, 4 | "total": 0, 5 | "data": [] 6 | } 7 | -------------------------------------------------------------------------------- /test/test_files/getUserAlgoChallenges/expected_response_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "pageIndex": 2, 3 | "pageSize": 10, 4 | "total": 3, 5 | "data": [] 6 | } 7 | -------------------------------------------------------------------------------- /test/test_files/getUserMarathonMatches/expected_response_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "pageIndex": 1, 3 | "pageSize": 10, 4 | "total": 0, 5 | "data": [] 6 | } 7 | -------------------------------------------------------------------------------- /test/test_files/getUserMarathonMatches/expected_response_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "pageIndex": 2, 3 | "pageSize": 10, 4 | "total": 2, 5 | "data": [] 6 | } 7 | -------------------------------------------------------------------------------- /test/test_files/reports/expected_get_active_billing_accounts_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "activeBillingAccounts": [ 3 | ] 4 | } -------------------------------------------------------------------------------- /test/test_files/reviewers/expect_create_reviewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "message": "dok_tester1 has been successfully added into Architecture Review Board", 3 | "success": true 4 | } -------------------------------------------------------------------------------- /test/test_files/reviewers/expect_create_reviewer_with_empty_body.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: username is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/reviewers/expect_create_reviewer_with_missing_categoryId.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: categoryId is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/reviewers/expect_remove_reviewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "success": true, 3 | "message": "dok_tester has been successfully removed from Architecture Review Board" 4 | } -------------------------------------------------------------------------------- /test/test_files/reviewers/expect_remove_reviewer_with_empty_body.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: username is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/reviewers/expect_remove_reviewer_with_missing_categoryId.json: -------------------------------------------------------------------------------- 1 | { 2 | "error": "Error: categoryId is a required parameter for this action" 3 | } -------------------------------------------------------------------------------- /test/test_files/srmRoundManagement/contest30002_remove.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "data": [] 4 | } -------------------------------------------------------------------------------- /test/test_files/srmRoundManagement/contest30003.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "data": [] 4 | } -------------------------------------------------------------------------------- /test/test_files/srmRoundManagement/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "data": [] 4 | } -------------------------------------------------------------------------------- /test/test_files/srmSchedule/expected_srm_schedule_7.json: -------------------------------------------------------------------------------- 1 | { 2 | "total": 0, 3 | "pageIndex": 1, 4 | "pageSize": 50, 5 | "data": [] 6 | } -------------------------------------------------------------------------------- /test/test_files/srm_problems/empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "assignedProblems": [] 3 | } -------------------------------------------------------------------------------- /test/test_files/srm_problems/list_round_problem_components_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "components": [] 3 | } 4 | -------------------------------------------------------------------------------- /test/test_files/srm_problems/list_round_problems_empty.json: -------------------------------------------------------------------------------- 1 | { 2 | "assignedProblems": [] 3 | } 4 | -------------------------------------------------------------------------------- /test/test_files/test_queries/test_validate_security_user: -------------------------------------------------------------------------------- 1 | login_id, user_id, password from security_user where user_id = 'testHandleFoo' -------------------------------------------------------------------------------- /test/test_files/test_queries/test_validate_user: -------------------------------------------------------------------------------- 1 | user_id,first_name,last_name,handle,status,activation_code,reg_source from user where handle = 'testHandleFoo' -------------------------------------------------------------------------------- /test/test_files/test_queries/test_validate_user_group: -------------------------------------------------------------------------------- 1 | login_id, group_id from user_group_xref x, user u where u.handle = 'testHandleFoo' and u.user_id=x.login_id -------------------------------------------------------------------------------- /test/test_files/test_queries/test_validate_user_social: -------------------------------------------------------------------------------- 1 | user_id, social_login_provider_id, social_user_name, social_email, social_email_verified 2 | from user_social_login where user_id=22758845 -------------------------------------------------------------------------------- /test/test_files/unified_submission_validator/empty.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/unified_submission_validator/empty.zip -------------------------------------------------------------------------------- /test/test_files/upload_member_photo/test.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/upload_member_photo/test.bmp -------------------------------------------------------------------------------- /test/test_files/upload_member_photo/test.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/upload_member_photo/test.jpeg -------------------------------------------------------------------------------- /test/test_files/upload_member_photo/test.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/upload_member_photo/test.jpg -------------------------------------------------------------------------------- /test/test_files/upload_member_photo/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/upload_member_photo/test.png -------------------------------------------------------------------------------- /test/test_files/upload_member_photo/test.txt: -------------------------------------------------------------------------------- 1 | sample text file used in tests -------------------------------------------------------------------------------- /test/test_files/upload_member_photo/tooLarge.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/topcoder-archive/tc-api/cd7919de6bb59ad1a78d9bdf2cdd970469eeda59/test/test_files/upload_member_photo/tooLarge.jpg -------------------------------------------------------------------------------- /test/tmp/design_submissions/README.md: -------------------------------------------------------------------------------- 1 | design submission storage. 2 | -------------------------------------------------------------------------------- /test/tmp/design_tmp_submissions/README.md: -------------------------------------------------------------------------------- 1 | design upload tmp directory 2 | -------------------------------------------------------------------------------- /test/tmp/submissions/README: -------------------------------------------------------------------------------- 1 | upload directory 2 | --------------------------------------------------------------------------------