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
Copy file name to clipboardExpand all lines: README.md
+20-2Lines changed: 20 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,9 @@
87
87
tc-taas-es-processor | [2021-04-09T21:20:19.035Z] app INFO : Starting kafka consumer
88
88
tc-taas-es-processor | 2021-04-09T21:20:21.292Z INFO no-kafka-client Joined group taas-es-processor generationId 1 as no-kafka-client-076538fc-60dd-4ca4-a2b9-520bdf73bc9e
89
89
tc-taas-es-processor | 2021-04-09T21:20:21.293Z INFO no-kafka-client Elected as group leader
tc-taas-es-processor | [2021-04-09T21:20:21.475Z] app INFO : Initialized.......
106
-
tc-taas-es-processor | [2021-04-09T21:20:21.479Z] app INFO : taas.job.create,taas.job.update,taas.job.delete,taas.jobcandidate.create,taas.jobcandidate.update,taas.jobcandidate.delete,taas.resourcebooking.create,taas.resourcebooking.update,taas.resourcebooking.delete,taas.workperiod.create,taas.workperiod.update,taas.workperiod.delete,taas.workperiodpayment.create,taas.workperiodpayment.update,taas.workperiodpayment.delete
110
+
tc-taas-es-processor | [2021-04-09T21:20:21.479Z] app INFO :common.error.reporting,taas.job.create,taas.job.update,taas.job.delete,taas.jobcandidate.create,taas.jobcandidate.update,taas.jobcandidate.delete,taas.resourcebooking.create,taas.resourcebooking.update,taas.resourcebooking.delete,taas.workperiod.create,taas.workperiod.update,taas.workperiod.delete,taas.workperiodpayment.create,taas.workperiodpayment.update,taas.interview.requested,taas.interview.update,taas.interview.bulkUpdate,taas.role.requested,taas.role.update,taas.role.delete,taas.action.retry
107
111
tc-taas-es-processor | [2021-04-09T21:20:21.480Z] app INFO : Kick Start.......
108
112
tc-taas-es-processor |********** Topcoder Health Check DropIn listening on port 3001
109
113
tc-taas-es-processor | Topcoder Health Check DropIn started and ready to roll
@@ -173,6 +177,19 @@ To be able to change and test `taas-es-processor` locally you can follow the nex
173
177
2. Run `taas-es-processor` separately from the source code. As `npm run services:up` already run all the dependencies for both `taas-apis` and for`taas-es-processor`. The only thing you need to dofor running `taas-es-processor` locally is clone the [taas-es-processor](https://github.com/topcoder-platform/taas-es-processor) repository and inside `taas-es-processor` folder run:
174
178
- `nvm use` - to use correct Node version
175
179
- `npm run install`
180
+
- Create `.env` file with the next environment variables. Values for**Auth0 config** should be shared with you on the forum.<br>
181
+
182
+
```bash
183
+
# Auth0 config
184
+
AUTH0_URL=
185
+
AUTH0_AUDIENCE=
186
+
AUTH0_CLIENT_ID=
187
+
AUTH0_CLIENT_SECRET=
188
+
```
189
+
190
+
- Values from this file would be automatically used by many `npm` commands.
191
+
- ⚠️ Never commit this file or its copy to the repository!
192
+
176
193
- `npm run start`
177
194
178
195
## NPM Commands
@@ -194,7 +211,7 @@ To be able to change and test `taas-es-processor` locally you can follow the nex
194
211
|`npm run index:jobs <jobId>`| Indexes job data from db into ES, if jobId is not given all data is indexed. Use `-- --force` flag to skip confirmation |
195
212
|`npm run index:job-candidates <jobCandidateId>`| Indexes job candidate data from db into ES, if jobCandidateId is not given all data is indexed. Use `-- --force` flag to skip confirmation |
196
213
|`npm run index:resource-bookings <resourceBookingsId>`| Indexes resource bookings data from db into ES, if resourceBookingsId is not given all data is indexed. Use `-- --force` flag to skip confirmation |
197
-
|`npm run index:work-periods <workPeriodId>`| Indexes work periods data from db into ES, ifworkPeriodId is not given all data is indexed. Use `-- --force` flag to skip confirmation |
214
+
|`npm run index:roles <roleId>`| Indexes roles data from db into ES, ifroleId is not given all data is indexed. Use `-- --force` flag to skip confirmation|
198
215
|`npm run services:up`| Start services via docker-compose forlocal development. |
199
216
|`npm run services:down`| Stop services via docker-compose forlocal development. |
200
217
|`npm run services:logs -- -f <service_name>`| View logs of some service inside docker-compose. |
@@ -203,6 +220,7 @@ To be able to change and test `taas-es-processor` locally you can follow the nex
203
220
|`npm run cov`| Code Coverage Report. |
204
221
|`npm run migrate`| Run any migration files which haven't run yet. |
205
222
| `npm run migrate:undo` | Revert most recent migration. |
223
+
| `npm run demo-payment-scheduler` | Create 1000 Work Periods Payment records in with status "scheduled" and various "amount" |
0 commit comments