You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 13, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+25-8Lines changed: 25 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -17,11 +17,15 @@ The following parameters can be set in config files or in env variables:
17
17
- KAFKA_CLIENT_CERT_KEY: Kafka connection private key, optional; default value is undefined;
18
18
if not provided, then SSL connection is not used, direct insecure connection is used;
19
19
if provided, it can be either path to private key file or private key content
20
-
- KAFKA_GROUP_ID: consumer group id; default value: 'or-review-processor'
21
-
- OR_REVIEW_TOPIC : Scorecard processor topic, default value is 'or.notification.create'
20
+
- KAFKA_GROUP_ID: consumer group id; default value: 'scorecard-processor'
21
+
- REVIEW_TOPIC : Review topic, default value is 'submission.notification.score'
22
+
- CREATE_SUBMISSION_TOPIC : create submission topic, default value is 'submission.notification.create'
23
+
- UPDATE_SUBMISSION_TOPIC : update submission topic, default value is 'submission.notification.update'
22
24
- REVIEW_API_URL: review api url, default is 'https://api.topcoder-dev.com/v5/reviews'
23
25
- SUBMISSION_API_URL: submission api url, default is 'https://api.topcoder-dev.com/v5/submissions'
24
26
- REVIEW_TYPE_API_URL: review type api url, default is 'https://api.topcoder-dev.com/v5/reviewTypes'
27
+
- CHALLENGE_API_URL: challenge API URL, default is 'https://api.topcoder-dev.com/v4/challenges'
28
+
- SCORECARD_API_URL: scorecard API URL, default is 'http://localhost:4000/scorecards'
25
29
- AUTH0_URL: Auth0 URL, used to get TC M2M token
26
30
- AUTH0_AUDIENCE: Auth0 audience, used to get TC M2M token
27
31
- TOKEN_CACHE_TIME: Auth0 token cache time, used to get TC M2M token
@@ -33,7 +37,7 @@ The following parameters can be set in config files or in env variables:
33
37
Also note that there is a `/health` endpoint that checks for the health of the app. This sets up an expressjs server and listens on the environment variable `PORT`. It's not part of the configuration file and needs to be passed as an environment variable
34
38
35
39
Configuration for the tests is at `config/test.js`, only add such new configurations different from `config/default.js`
36
-
- WAIT_TIME: wait time used in test, default is 1000 or one second
40
+
- WAIT_TIME: wait time used in test, default is 2000 or 2 seconds
37
41
- REVIEW_SUMMATION_API_URL: review summation api url, used to clear resource during testing, default is 'https://api.topcoder-dev.com/v5/reviewSummations'
38
42
39
43
## Local Kafka setup
@@ -49,16 +53,20 @@ Configuration for the tests is at `config/test.js`, only add such new configurat
0 commit comments