Skip to content

Feature/batch payments #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
2d0e55b
Merge pull request #222 from topcoder-platform/dev-wp
nkumar-topcoder Apr 26, 2021
8f55b21
Merge pull request #233 from topcoder-platform/dev
urwithat May 3, 2021
1fce5a2
Merge pull request #234 from topcoder-platform/dev
urwithat May 3, 2021
2021d76
Merge pull request #247 from topcoder-platform/dev
urwithat May 17, 2021
2ad5544
Merge pull request #252 from topcoder-platform/dev
urwithat May 17, 2021
dc1cfa4
Add JobIds to /jobs endpoint:30185451
May 22, 2021
8b55765
fix: checking if member of project
eisbilir May 22, 2021
3a2a3d3
Created new route for creating a team/project
mbaghel May 24, 2021
95d7488
Merge pull request #265 from mbaghel/feature/role-intake
nikolay83 May 25, 2021
1ced875
resolving conflicts with dev branch
mbaghel May 25, 2021
de72b27
Merge pull request #267 from mbaghel/feature/role-intake
nikolay83 May 25, 2021
de67dbe
Merge pull request #266 from topcoder-platform/feature/role-intake
urwithat May 26, 2021
f5ae061
Merge branch 'dev' into feature/add-jobIds
maxceem May 26, 2021
1320187
Merge pull request #261 from eisbilir/dev
maxceem May 27, 2021
edbff4e
Merge pull request #264 from topcoder-platform/feature/add-jobIds
sushilshinde May 27, 2021
b16a6fc
chore: use v5/members instead of v3/members
maxceem May 27, 2021
a7d3d17
Merge pull request #271 from topcoder-platform/feature/use-v5-members
nkumar-topcoder May 27, 2021
3ede43e
fix: addded new 'offred' status
sushilshinde May 27, 2021
1616543
Merge pull request #273 from topcoder-platform/statuses-change
sushilshinde May 27, 2021
93495aa
Updated Swagger for jobCandidate statuses
sushilshinde May 27, 2021
8446c87
Update swagger.yaml
sushilshinde May 27, 2021
79e7783
Merge pull request #274 from topcoder-platform/statuses-change
sushilshinde May 27, 2021
01faad4
api-updates: challnege:30186701
May 29, 2021
0304e68
feat(job-service): accept `roles` array
cagdas001 May 29, 2021
6d6f0c1
Merge pull request #275 from cagdas001/feature/role-intake
nikolay83 May 29, 2021
9732e1e
fix: resource booking search issues
eisbilir May 30, 2021
83b994c
role endpoint added
eisbilir May 31, 2021
56484f5
Merge branch dev into feature/roles-backend-repost
eisbilir May 31, 2021
4d78351
Delete taas-apis.patch
eisbilir May 31, 2021
9dd817c
Merge pull request #279 from eisbilir/feature/roles-backend-repost
nikolay83 May 31, 2021
4f0cb9e
resolve conflicts
eisbilir May 31, 2021
28270ac
fix: added allowNull: true for new cols
sushilshinde Jun 1, 2021
be5eee5
Merge branch 'dev' into feature/api-updates
sushilshinde Jun 1, 2021
43c3d34
Merge pull request #284 from topcoder-platform/feature/api-updates
sushilshinde Jun 1, 2021
99c35db
fix: fixed syntax
sushilshinde Jun 1, 2021
ee06d4e
Merge pull request #285 from topcoder-platform/feature/api-updates
sushilshinde Jun 1, 2021
d1ac310
fix: fixed syntax comma
sushilshinde Jun 1, 2021
42c2ac3
Role & Skills Intake - Job Description Module
yoution Jun 1, 2021
727d09e
Changed the endpoint roles to taas-roles
urwithat Jun 1, 2021
f1ea6f8
Merge pull request #278 from eisbilir/dev
maxceem Jun 1, 2021
9d81849
Merge pull request #286 from yoution/feature/role-jd
nikolay83 Jun 1, 2021
b900cd4
fix: resolve conflicts
cagdas001 Jun 1, 2021
b880eaa
Merge pull request #289 from cagdas001/feature/role-intake
urwithat Jun 2, 2021
59c6e41
Merge pull request #280 from topcoder-platform/feature/role-intake
urwithat Jun 2, 2021
0876aea
Merge branch 'dev' into feature/role-jd
urwithat Jun 2, 2021
38c8d33
Merge pull request #287 from topcoder-platform/feature/role-jd
urwithat Jun 2, 2021
803f956
Merge branch 'dev' into feature/batch-payments
xxcxy Jun 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
tc-taas-es-processor | [2021-04-09T21:20:19.035Z] app INFO : Starting kafka consumer
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
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.449Z DEBUG no-kafka-client Subscribed to taas.role.update:0 offset 0 leader kafka:9093
tc-taas-es-processor | 2021-04-09T21:20:21.450Z DEBUG no-kafka-client Subscribed to taas.role.delete:0 offset 0 leader kafka:9093
tc-taas-es-processor | 2021-04-09T21:20:21.451Z DEBUG no-kafka-client Subscribed to taas.role.requested:0 offset 0 leader kafka:9093
tc-taas-es-processor | 2021-04-09T21:20:21.452Z DEBUG no-kafka-client Subscribed to taas.jobcandidate.create:0 offset 0 leader kafka:9093
tc-taas-es-processor | 2021-04-09T21:20:21.455Z DEBUG no-kafka-client Subscribed to taas.job.create:0 offset 0 leader kafka:9093
tc-taas-es-processor | 2021-04-09T21:20:21.456Z DEBUG no-kafka-client Subscribed to taas.resourcebooking.delete:0 offset 0 leader kafka:9093
Expand All @@ -103,7 +106,7 @@
tc-taas-es-processor | 2021-04-09T21:20:21.473Z DEBUG no-kafka-client Subscribed to taas.job.update:0 offset 0 leader kafka:9093
tc-taas-es-processor | 2021-04-09T21:20:21.474Z DEBUG no-kafka-client Subscribed to taas.resourcebooking.update:0 offset 0 leader kafka:9093
tc-taas-es-processor | [2021-04-09T21:20:21.475Z] app INFO : Initialized.......
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
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.interview.requested,taas.interview.update,taas.interview.bulkUpdate,taas.role.requested,taas.role.update,taas.role.delete
tc-taas-es-processor | [2021-04-09T21:20:21.480Z] app INFO : Kick Start.......
tc-taas-es-processor | ********** Topcoder Health Check DropIn listening on port 3001
tc-taas-es-processor | Topcoder Health Check DropIn started and ready to roll
Expand Down Expand Up @@ -194,6 +197,7 @@ To be able to change and test `taas-es-processor` locally you can follow the nex
| `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 |
| `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 |
| `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 |
| `npm run index:roles <roleId>` | Indexes roles data from db into ES, if roleId is not given all data is indexed. Use `-- --force` flag to skip confirmation |
| `npm run services:up` | Start services via docker-compose for local development. |
| `npm run services:down` | Stop services via docker-compose for local development. |
| `npm run services:logs -- -f <service_name>` | View logs of some service inside docker-compose. |
Expand Down
8 changes: 7 additions & 1 deletion app-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,13 @@ const Scopes = {
READ_INTERVIEW: 'read:taas-interviews',
CREATE_INTERVIEW: 'create:taas-interviews',
UPDATE_INTERVIEW: 'update:taas-interviews',
ALL_INTERVIEW: 'all:taas-interviews'
ALL_INTERVIEW: 'all:taas-interviews',
// role
READ_ROLE: 'read:taas-roles',
CREATE_ROLE: 'create:taas-roles',
UPDATE_ROLE: 'update:taas-roles',
DELETE_ROLE: 'delete:taas-roles',
ALL_ROLE: 'all:taas-roles'
}

// Interview related constants
Expand Down
11 changes: 10 additions & 1 deletion config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ module.exports = {

TOPCODER_USERS_API: process.env.TOPCODER_USERS_API || 'https://api.topcoder-dev.com/v3/users',
// the api to find topcoder members
TOPCODER_MEMBERS_API: process.env.TOPCODER_MEMBERS_API || 'https://api.topcoder-dev.com/v3/members',
TOPCODER_MEMBERS_API: process.env.TOPCODER_MEMBERS_API || 'https://api.topcoder-dev.com/v5/members',
// rate limit of requests to user api
MAX_PARALLEL_REQUEST_TOPCODER_USERS_API: process.env.MAX_PARALLEL_REQUEST_TOPCODER_USERS_API || 100,

Expand Down Expand Up @@ -76,6 +76,8 @@ module.exports = {
ES_INDEX_JOB_CANDIDATE: process.env.ES_INDEX_JOB_CANDIDATE || 'job_candidate',
// the resource booking index
ES_INDEX_RESOURCE_BOOKING: process.env.ES_INDEX_RESOURCE_BOOKING || 'resource_booking',
// the role index
ES_INDEX_ROLE: process.env.ES_INDEX_ROLE || 'role',

// the max bulk size in MB for ES indexing
MAX_BULK_REQUEST_SIZE_MB: process.env.MAX_BULK_REQUEST_SIZE_MB || 20,
Expand Down Expand Up @@ -131,6 +133,13 @@ module.exports = {
TAAS_INTERVIEW_UPDATE_TOPIC: process.env.TAAS_INTERVIEW_UPDATE_TOPIC || 'taas.interview.update',
// the interview bulk update Kafka message topic
TAAS_INTERVIEW_BULK_UPDATE_TOPIC: process.env.TAAS_INTERVIEW_BULK_UPDATE_TOPIC || 'taas.interview.bulkUpdate',
// topics for role service
// the create role entity Kafka message topic
TAAS_ROLE_CREATE_TOPIC: process.env.TAAS_ROLE_CREATE_TOPIC || 'taas.role.requested',
// the update role entity Kafka message topic
TAAS_ROLE_UPDATE_TOPIC: process.env.TAAS_ROLE_UPDATE_TOPIC || 'taas.role.update',
// the delete role entity Kafka message topic
TAAS_ROLE_DELETE_TOPIC: process.env.TAAS_ROLE_DELETE_TOPIC || 'taas.role.delete',

// the Kafka message topic for sending email
EMAIL_TOPIC: process.env.EMAIL_TOPIC || 'external.action.email',
Expand Down
Loading