Skip to content

Conversation

@maxceem
Copy link
Contributor

@maxceem maxceem commented Nov 22, 2021

Release Notes

  • Interview workflow is now using Nylas instead of X.AI

Release Guide

Environment Variables

NYLAS_SCHEDULER_WEBHOOK_SECRET - some random secret. It would be used to sing Nylas webhook endpoints.
NYLAS_CLIENT_ID
NYLAS_CLIENT_SECRET
ZOOM_ACCOUNTS - comma-separated list of pairs: `accoun1Id:account1secret,account2Id:account2secret`
ZOOM_LINK_SECRET - some random secret. It would be used to sing Zoom links

"TAAS_APP_BASE_URL": "https://platform.topcoder.com/taas",
"TAAS_APP_EARN_URL": "https://platform.topcoder.com/earn/my-gigs",
"TAAS_APP_BFF_BASE_URL": "https://platform.topcoder.com/taas-app",
"TAAS_API_BASE_URL": "https://api.topcoder.com/v5",
"NYLAS_SCHEDULER_WEBHOOK_BASE_URL": "https://api.topcoder.com/v5",
"CRON_INTERVIEW_SCHEDULE_REMINDER": "*/5 * * * *",

# Sendgrid templates (copy/paste value from DEV to PROD, they use the same templates)

TAAS_NOTIFICATION_JOB_CANDIDATE_RESUME_VIEWED_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_CANDIDATES_AVAILABLE_FOR_REVIEW_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_COMING_UP_HOST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_COMING_UP_GUEST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_AWAITS_RESOLUTION_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_POST_INTERVIEW_ACTION_REQUIRED_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_RESOURCE_BOOKING_EXPIRATION_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_TEAM_CREATED_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_JOB_CREATED_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEWS_OVERLAPPING_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_JOB_CANDIDATE_SELECTED_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_RESOURCE_BOOKING_PLACED_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_SCHEDULE_REMINDER_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_EXPIRED_GUEST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_EXPIRED_HOST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_INVITATION_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_LINK_FOR_HOST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_LINK_FOR_GUEST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_RESCHEDULED_HOST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_RESCHEDULED_GUEST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_CANCELLED_HOST_SENDGRID_TEMPLATE_ID
TAAS_NOTIFICATION_INTERVIEW_CANCELLED_GUEST_SENDGRID_TEMPLATE_ID

Remove not needed variables:

INTERVIEW_INVITATION_SENDGRID_TEMPLATE_ID
INTERVIEW_INVITATION_SENDER_EMAIL

Data Migration

  • Run migration npm run migrate - ⚠️ It would remove all existent interviews and switch corresponding JC status to open again.
  • Reindex JC: npm run index:job-candidates
  • Create new index: npm run index:user-meeting-settings

Dependant PRs

After this PR is fully deployed we have to re-enable sending email notifications that were previously disabled on PROD by merging this PR topcoder-platform/tc-notifications#224.

We disabled them previously because we had to update wording for emails, which is now updated.

maxceem and others added 30 commits September 2, 2021 10:19
…plates

# Conflicts:
#	src/eventHandlers/JobEventHandler.js
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Fixes #4
Fixes #3
Fixes #2
Fixes #1

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
* gitignore

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* Create Interview Endpoint
Fixes #6

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
…r-challenge-d4c83668-988f-4492-a1f5-66b119782406 into feature/interview-nylas
Fixes #7

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
* Get User Meeting Settings Endpoint
Fixes #9

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* Get User Meeting Settings Endpoint
Fixes #9

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Fixes #5

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* WIP GENERAL REQUIREMENTS

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>

* GENERAL REQUIREMENTS

Fixes #11

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
…interview-nylas

Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
Signed-off-by: Alessandro De Blasis <alex@deblasis.net>
@github-pages github-pages bot temporarily deployed to github-pages December 21, 2021 08:00 Inactive
@github-pages github-pages bot temporarily deployed to github-pages December 23, 2021 08:45 Inactive
@github-pages github-pages bot temporarily deployed to github-pages December 23, 2021 08:52 Inactive
@github-pages github-pages bot temporarily deployed to github-pages December 23, 2021 09:51 Inactive
@github-pages github-pages bot temporarily deployed to github-pages January 3, 2022 12:58 Inactive
@github-pages github-pages bot temporarily deployed to github-pages January 4, 2022 10:08 Inactive
@github-pages github-pages bot temporarily deployed to github-pages January 4, 2022 12:43 Inactive
@github-pages github-pages bot temporarily deployed to github-pages January 4, 2022 12:44 Inactive
@github-pages github-pages bot temporarily deployed to github-pages February 3, 2022 09:01 Inactive
@github-pages github-pages bot temporarily deployed to github-pages February 4, 2022 06:58 Inactive
@github-pages github-pages bot temporarily deployed to github-pages February 4, 2022 07:22 Inactive
@github-pages github-pages bot temporarily deployed to github-pages February 4, 2022 12:43 Inactive
@sachin-maheshwari sachin-maheshwari marked this pull request as ready for review March 29, 2022 10:55
@sachin-maheshwari sachin-maheshwari merged commit e497009 into master Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants