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
if not provided, then SSL connection is not used, direct insecure connection is used;
22
22
if provided, it can be either path to private key file or private key content
23
+
-`KAFKA_MESSAGE_ORIGINATOR`: The originator value for the kafka messages
23
24
-`KAFKA_GROUP_ID`: the Kafka group id
25
+
-`topics.KAFKA_ERROR_TOPIC`: the error topic at which bus api will publish any errors
24
26
-`topics.TAAS_JOB_CREATE_TOPIC`: the create job entity Kafka message topic
25
27
-`topics.TAAS_JOB_UPDATE_TOPIC`: the update job entity Kafka message topic
26
28
-`topics.TAAS_JOB_DELETE_TOPIC`: the delete job entity Kafka message topic
@@ -41,6 +43,10 @@ The following parameters can be set in config files or in env variables:
41
43
-`topics.TAAS_ROLE_CREATE_TOPIC`: the create role entity Kafka message topic
42
44
-`topics.TAAS_ROLE_UPDATE_TOPIC`: the update role entity Kafka message topic
43
45
-`topics.TAAS_ROLE_DELETE_TOPIC`: the delete role entity Kafka message topic
46
+
-`topics.TAAS_ACTION_RETRY_TOPIC`: the retry process Kafka message topic
47
+
-`MAX_RETRY`: maximum allowed retry count for failed operations for sending `taas.action.retry` message
48
+
-`BASE_RETRY_DELAY`: base amount of retry delay (ms) for failed operations
49
+
-`BUSAPI_URL`: Topcoder Bus API URL
44
50
-`esConfig.HOST`: Elasticsearch host
45
51
-`esConfig.AWS_REGION`: The Amazon region to use when using AWS Elasticsearch service
46
52
-`esConfig.ELASTICCLOUD.id`: The elastic cloud id, if your elasticsearch instance is hosted on elastic cloud. DO NOT provide a value for ES_HOST if you are using this
@@ -56,6 +62,7 @@ The following parameters can be set in config files or in env variables:
56
62
-`auth0.AUTH0_CLIENT_ID`: Auth0 client id, used to get TC M2M token
57
63
-`auth0.AUTH0_CLIENT_SECRET`: Auth0 client secret, used to get TC M2M token
58
64
-`auth0.AUTH0_PROXY_SERVER_URL`: Proxy Auth0 URL, used to get TC M2M token
65
+
-`auth0.TOKEN_CACHE_TIME`: Auth0 token cache time, used to get TC M2M token
59
66
60
67
-`zapier.ZAPIER_COMPANYID_SLUG`: your company id in zapier; numeric value
61
68
-`zapier.ZAPIER_CONTACTID_SLUG`: your contact id in zapier; numeric value
@@ -83,7 +90,13 @@ The following parameters can be set in config files or in env variables:
83
90
84
91
## Local deployment
85
92
86
-
1. Make sure that Kafka and Elasticsearch is running as per instructions above.
93
+
0. Make sure that Kafka and Elasticsearch is running as per instructions above.
94
+
95
+
1. Make sure to use Node v12+ by command`node -v`. We recommend using [NVM](https://github.com/nvm-sh/nvm) to quickly switch to the right version:
96
+
97
+
```bash
98
+
nvm use
99
+
```
87
100
88
101
2. From the project root directory, run the following command to install the dependencies
89
102
@@ -103,6 +116,21 @@ The following parameters can be set in config files or in env variables:
103
116
npm run lint:fix
104
117
```
105
118
119
+
4. Local config
120
+
121
+
In the `taas-es-processor` root directory create `.env` file with the next environment variables. Values for**Auth0 config** should be shared with you on the forum.<br>
122
+
123
+
```bash
124
+
# Auth0 config
125
+
AUTH0_URL=
126
+
AUTH0_AUDIENCE=
127
+
AUTH0_CLIENT_ID=
128
+
AUTH0_CLIENT_SECRET=
129
+
```
130
+
131
+
- Values from this file would be automatically used by many `npm` commands.
132
+
- ⚠️ Never commit this file or its copy to the repository!
0 commit comments