Skip to content

[WIP] Next Release #247

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 32 commits into from
May 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
0f63f1d
chore(deps): bump y18n from 4.0.0 to 4.0.3
dependabot[bot] Apr 29, 2021
8cd18e8
[skip ci] taas ER diagram
nkumar-topcoder May 4, 2021
6a6a9ab
docs: update ER diagram
maxceem May 6, 2021
ddaefde
[skip ci] updated ER
nkumar-topcoder May 6, 2021
4676fde
fix: lint
maxceem May 7, 2021
c59aa2d
fix: populate 'winners' array during payments
narekcat May 9, 2021
4999c54
feat(interview-scheduler): add new endpoints & update the schema
cagdas001 May 10, 2021
0d60e8d
docs: improve Readme
maxceem May 10, 2021
58b5715
docs: improve Readme
maxceem May 10, 2021
4246c38
docs: improve Readme
maxceem May 10, 2021
ec65da9
Merge pull request #238 from cagdas001/dev
urwithat May 11, 2021
ad3fbf1
fix(interview-scheduler): add hostEmail in email CC list
cagdas001 May 11, 2021
9b73591
fix: create new method for getting user details by handle.
narekcat May 10, 2021
a4dabc4
Merge pull request #239 from cagdas001/dev
urwithat May 11, 2021
1c0c3e5
Merge pull request #237 from narekcat/issue-236
maxceem May 11, 2021
c750c02
Changed xaiId from UUID to String
urwithat May 11, 2021
2e051fe
Changed templateId from UUID to String
urwithat May 11, 2021
d797a99
Removing check for GUID in getInterview
urwithat May 11, 2021
ebfb59d
Removing check for GUID in updateInterview
urwithat May 11, 2021
6603c8c
Fix joi validation for endTimestamp
urwithat May 12, 2021
f1d1d09
Validate uuid for procssing db data
urwithat May 12, 2021
865533f
Bug Fix 240 & 242
urwithat May 12, 2021
5a4c59d
Adding find by Job Candidate Id
urwithat May 12, 2021
e9e7416
Bug Fix 242
urwithat May 13, 2021
08e49e3
Bug fix 240
urwithat May 13, 2021
3eae5f4
Bug Fix 242#issuecomment-840324215
urwithat May 13, 2021
8f50db5
Merge pull request #227 from topcoder-platform/dependabot/npm_and_yar…
maxceem May 13, 2021
d6fd89b
Addding deletedAt
urwithat May 13, 2021
e589cbd
Merge branch 'dev' of https://github.com/topcoder-platform/taas-apis …
urwithat May 13, 2021
d2fb0ac
Revert
urwithat May 13, 2021
9c63b56
Remove the exclution of deletedAt
urwithat May 13, 2021
cf5201f
Interview paranoid false for getting deletedAt
urwithat May 13, 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
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@

### Steps to run locally

0. 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:

```bash
nvm use
```

1. 📦 Install npm dependencies

```bash
Expand All @@ -38,7 +44,7 @@
INTERVIEW_INVITATION_SENDGRID_TEMPLATE_ID=
INTERVIEW_INVITATION_SENDER_EMAIL=
# Locally deployed services (via docker-compose)
ES_HOST=dockerhost:9200
ES_HOST=http://dockerhost:9200
DATABASE_URL=postgres://postgres:postgres@dockerhost:5432/postgres
BUSAPI_URL=http://dockerhost:8002/v5
```
Expand Down Expand Up @@ -157,6 +163,18 @@
Runs the Topcoder TaaS API using nodemon, so it would be restarted after any of the files is updated.
The Topcoder TaaS API will be served on `http://localhost:3000`.

### Working on `taas-es-processor` locally

When you run `taas-apis` locally as per "[Steps to run locally](#steps-to-run-locally)" the [taas-es-processor](https://github.com/topcoder-platform/taas-es-processor) would be run for you automatically together with other services inside the docker container via `npm run services:up`.

To be able to change and test `taas-es-processor` locally you can follow the next steps:

1. Stop `taas-es-processor` inside docker by running `docker-compose -f local/docker-compose.yml stop taas-es-processor`
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 do for 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:
- `nvm use` - to use correct Node version
- `npm run install`
- `npm run start`

## NPM Commands

| Command                    | Description |
Expand Down
20 changes: 14 additions & 6 deletions data/demo-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,14 @@
{
"id": "81f03238-1ce2-4d3d-80c5-5ecd5e7e94a2",
"jobCandidateId": "25787cb2-d876-4883-b533-d5e628d213ce",
"googleCalendarId": "dummyId",
"customMessage": "This is a custom message",
"xaiTemplate": "30-min-interview",
"calendarEventId": "dummyId",
"templateUrl": "interview-30",
"round": 1,
"duration": 30,
"hostName": "John Doe",
"hostEmail": "testuserforemail@yopmail.com",
"guestNames": ["Customer Test"],
"guestEmails": ["testcustomer@yopmail.com"],
"status": "Scheduling",
"createdBy": "57646ff9-1cd3-4d3c-88ba-eb09a395366c",
"updatedBy": null,
Expand All @@ -449,10 +453,14 @@
{
"id": "75363f1d-46c3-4261-9c21-70019f90a61a",
"jobCandidateId": "25787cb2-d876-4883-b533-d5e628d213ce",
"googleCalendarId": "dummyId",
"customMessage": "This is a custom message",
"xaiTemplate": "30-min-interview",
"calendarEventId": "dummyId",
"templateUrl": "interview-30",
"round": 2,
"duration": 30,
"hostName": "John Doe",
"hostEmail": "testuserforemail@yopmail.com",
"guestNames": ["Customer Test"],
"guestEmails": ["testcustomer@yopmail.com"],
"status": "Scheduling",
"createdBy": "57646ff9-1cd3-4d3c-88ba-eb09a395366c",
"updatedBy": null,
Expand Down
Loading