Giter Site home page Giter Site logo

rakibansary / legacy-sub-processor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from topcoder-platform/legacy-sub-processor

0.0 0.0 0.0 486 KB

Legacy Submission Processor to handle Informix operation

Shell 39.41% JavaScript 55.85% Dockerfile 4.74%

legacy-sub-processor's Introduction

Topcoder - Legacy Submission Processor Application


Requirements

  • Docker Engine >= 17.x
  • Docker-compose >= 1.17

Configuration

The configuration can be found in the configuration file ./config/default.js. You can update the configuration file or set values to the corresponding environment variables.

  • LOG_LEVEL The log level, e.g. debug, info, or 'error'
  • KAFKA_GROUP_ID The client group ID for committing and fetching offsets. All clients sharing the same group ID belong to the same group
  • KAFKA_URL The comma delimited list of initial brokers list
  • KAFKA_CLIENT_CERT The client cert, can be (1) the path to the cert file, or (2) the cert content
  • KAFKA_CLIENT_CERT_KEY The client cert key, can be (1) the path to the cert key file, or (2) the cert key content
  • KAFKA_NEW_SUBMISSION_TOPIC The new submission topic from which the app consumes events
  • KAFKA_NEW_SUBMISSION_ORIGINATOR The new submission event originator
  • KAFKA_UPDATE_SUBMISSION_TOPIC The update submission topic from which the app consumes events
  • SUBMISSION_API_URL The Submission API URL
  • SUBMISSION_TIMEOUT The Submission API timeout
  • DB_POOL_SIZE Pool size of database server, default to be 10
  • DB_SERVER legacy database server, e.g 'informixoltp_tcp'
  • DB_NAME legacy database name, e.g 'tcs_catalog'
  • DB_ID_NAME legacy CommonOLTP database name, e.g 'common_oltp'
  • DB_HOST legacy database host, e.g 'informix'
  • DB_SERVICE legacy database service, e.g 'sqlexec'
  • DB_USERNAME database username
  • DB_PASSWORD database password
  • ID_SEQ_UPLOAD upload database sequence
  • ID_SEQ_SUBMISSION submission database sequence
  • AUTH0_URL auth0 url
  • AUTH0_AUDIENCE auth0 audience
  • TOKEN_CACHE_TIME auth0 token cache time
  • AUTH0_PROXY_SERVER_URL auth0 proxy server url
  • AUTH0_CLIENT_ID auth0 client id
  • AUTH0_CLIENT_SECRET auth0 client secret
  • CHALLENGE_INFO_API The challenge info api template with {cid} gets replaced with challenge id
  • MM_CHALLENGE_SUBTRACK The sub track of marathon match challenge

./config/production.js, ./config/staging.js, ./config/test.js will use same configuration variables as ./config/default.js except ./config/test.js will have new configurations for test only:

  • MOCK_API_PORT The mock server port for submission && challenge api

Validation

Follow the steps in Validation.md

legacy-sub-processor's People

Contributors

coderreview avatar gunasekar-k avatar cwdcwd avatar deedee avatar nkumar-topcoder avatar badalz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.