- Docker Engine >= 17.x
- Docker-compose >= 1.17
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 groupKAFKA_URL
The comma delimited list of initial brokers listKAFKA_CLIENT_CERT
The client cert, can be (1) the path to the cert file, or (2) the cert contentKAFKA_CLIENT_CERT_KEY
The client cert key, can be (1) the path to the cert key file, or (2) the cert key contentKAFKA_NEW_SUBMISSION_TOPIC
The new submission topic from which the app consumes eventsKAFKA_NEW_SUBMISSION_ORIGINATOR
The new submission event originatorKAFKA_UPDATE_SUBMISSION_TOPIC
The update submission topic from which the app consumes eventsSUBMISSION_API_URL
The Submission API URLSUBMISSION_TIMEOUT
The Submission API timeoutDB_POOL_SIZE
Pool size of database server, default to be 10DB_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 usernameDB_PASSWORD
database passwordID_SEQ_UPLOAD
upload database sequenceID_SEQ_SUBMISSION
submission database sequenceAUTH0_URL
auth0 urlAUTH0_AUDIENCE
auth0 audienceTOKEN_CACHE_TIME
auth0 token cache timeAUTH0_PROXY_SERVER_URL
auth0 proxy server urlAUTH0_CLIENT_ID
auth0 client idAUTH0_CLIENT_SECRET
auth0 client secretCHALLENGE_INFO_API
The challenge info api template with {cid} gets replaced with challenge idMM_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
Follow the steps in Validation.md