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
@@ -33,6 +35,18 @@ The following parameters can be set in config files or in env variables:
33
35
-`topics.TAAS_WORK_PERIOD_CREATE_TOPIC`: the create work period entity Kafka message topic
34
36
-`topics.TAAS_WORK_PERIOD_UPDATE_TOPIC`: the update work period entity Kafka message topic
35
37
-`topics.TAAS_WORK_PERIOD_DELETE_TOPIC`: the delete work period entity Kafka message topic
38
+
-`topics.TAAS_WORK_PERIOD_PAYMENT_CREATE_TOPIC`: the create work period payment entity Kafka message topic
39
+
-`topics.TAAS_WORK_PERIOD_PAYMENT_UPDATE_TOPIC`: the update work period payment entity Kafka message topic
40
+
-`topics.TAAS_INTERVIEW_REQUEST_TOPIC`: the request interview entity Kafka message topic
41
+
-`topics.TAAS_INTERVIEW_UPDATE_TOPIC`: the update interview entity Kafka message topic
42
+
-`topics.TAAS_INTERVIEW_BULK_UPDATE_TOPIC`: the bulk update interview entity Kafka message topic
43
+
-`topics.TAAS_ROLE_CREATE_TOPIC`: the create role entity Kafka message topic
44
+
-`topics.TAAS_ROLE_UPDATE_TOPIC`: the update role entity Kafka message topic
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
36
50
-`esConfig.HOST`: Elasticsearch host
37
51
-`esConfig.AWS_REGION`: The Amazon region to use when using AWS Elasticsearch service
38
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
@@ -41,13 +55,14 @@ The following parameters can be set in config files or in env variables:
41
55
-`esConfig.ES_INDEX_JOB`: the index name for job
42
56
-`esConfig.ES_INDEX_JOB_CANDIDATE`: the index name for job candidate
43
57
-`esConfig.ES_INDEX_RESOURCE_BOOKING`: the index name for resource booking
44
-
-`esConfig.ES_INDEX_WORK_PERIOD`: the index name for work period
58
+
-`esConfig.ES_INDEX_ROLE`: the index name for role
45
59
46
60
-`auth0.AUTH0_URL`: Auth0 URL, used to get TC M2M token
47
61
-`auth0.AUTH0_AUDIENCE`: Auth0 audience, used to get TC M2M token
48
62
-`auth0.AUTH0_CLIENT_ID`: Auth0 client id, used to get TC M2M token
49
63
-`auth0.AUTH0_CLIENT_SECRET`: Auth0 client secret, used to get TC M2M token
50
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
51
66
52
67
-`zapier.ZAPIER_COMPANYID_SLUG`: your company id in zapier; numeric value
53
68
-`zapier.ZAPIER_CONTACTID_SLUG`: your contact id in zapier; numeric value
@@ -75,7 +90,13 @@ The following parameters can be set in config files or in env variables:
75
90
76
91
## Local deployment
77
92
78
-
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
+
```
79
100
80
101
2. From the project root directory, run the following command to install the dependencies
81
102
@@ -95,6 +116,21 @@ The following parameters can be set in config files or in env variables:
95
116
npm run lint:fix
96
117
```
97
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!
Copy file name to clipboardExpand all lines: VERIFICATION.md
+17-3Lines changed: 17 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,39 +2,51 @@
2
2
3
3
## Create documents in ES
4
4
5
-
- Run the following commands to create `Job`, `JobCandidate`, `ResourceBooking`, `WorkPeriod` documents in ES.
5
+
- Run the following commands to create `Job`, `JobCandidate`, `Interview`, `ResourceBooking`, `WorkPeriod`, `WorkPeriodPayment`, `Role` documents in ES.
- Run `npm run view-data <model-name-here>` to see if documents were created.
19
25
20
26
## Update documents in ES
21
-
- Run the following commands to update `Job`, `JobCandidate`, `ResourceBooking`, `WorkPeriod` documents in ES.
27
+
- Run the following commands to update `Job`, `JobCandidate`, `Interview`, `ResourceBooking`, `WorkPeriod`, `WorkPeriodPayment`, `Role` documents in ES.
0 commit comments