- 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_LEVELThe log level, e.g.debug,info, or 'error'KAFKA_GROUP_IDThe client group ID for committing and fetching offsets. All clients sharing the same group ID belong to the same groupKAFKA_URLThe comma delimited list of initial brokers listKAFKA_CLIENT_CERTThe client cert, can be (1) the path to the cert file, or (2) the cert contentKAFKA_CLIENT_CERT_KEYThe client cert key, can be (1) the path to the cert key file, or (2) the cert key contentKAFKA_NEW_SUBMISSION_TOPICThe new submission topic from which the app consumes eventsKAFKA_NEW_SUBMISSION_ORIGINATORThe new submission event originatorKAFKA_UPDATE_SUBMISSION_TOPICThe update submission topic from which the app consumes eventsSUBMISSION_API_URLThe Submission API URLSUBMISSION_TIMEOUTThe Submission API timeoutDB_POOL_SIZEPool size of database server, default to be 10DB_SERVERlegacy database server, e.g 'informixoltp_tcp'DB_NAMElegacy database name, e.g 'tcs_catalog'DB_ID_NAMElegacy CommonOLTP database name, e.g 'common_oltp'DB_HOSTlegacy database host, e.g 'informix'DB_SERVICElegacy database service, e.g 'sqlexec'DB_USERNAMEdatabase usernameDB_PASSWORDdatabase passwordID_SEQ_UPLOADupload database sequenceID_SEQ_SUBMISSIONsubmission database sequenceAUTH0_URLauth0 urlAUTH0_AUDIENCEauth0 audienceTOKEN_CACHE_TIMEauth0 token cache timeAUTH0_PROXY_SERVER_URLauth0 proxy server urlAUTH0_CLIENT_IDauth0 client idAUTH0_CLIENT_SECRETauth0 client secretCHALLENGE_INFO_APIThe challenge info api template with {cid} gets replaced with challenge idMM_CHALLENGE_SUBTRACKThe 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_PORTThe mock server port for submission && challenge api
Follow the steps in Validation.md