feat: add Workday ATS integration#653
Open
maoshuorz wants to merge 1 commit into
Open
Conversation
- Add 'workday' to Prisma TP_ID enum - Add Workday OAuth2 auth handler following Lever pattern - Add Workday config variables (client_id, client_secret, token_url, api_base_url) - Add Workday cases to all ATS service files (candidate, job, department, offer, proxy) - Add Workday field mappings for all ATS object types - Add Workday to disunify/preprocess transforms - Wire up auth router to dispatch to Workday handler Closes revertinc#372
|
Thank you for following the naming conventions for pull request titles! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Workday as a new ATS integration, following the existing patterns established by Greenhouse and Lever integrations.
/claim #372
Changes
Schema & Config
workdayto PrismaTP_IDenumWORKDAY_CLIENT_ID,WORKDAY_CLIENT_SECRET,WORKDAY_TOKEN_URL,WORKDAY_API_BASE_URL'workday'toATS_TP_IDtype,DEFAULT_SCOPE, andmapIntegrationIdToIntegrationNameAuthentication
WorkdayAuthHandler(routes/v1/ats/authHandlers/workday.ts) implementing OAuth2 token exchange, following the Lever auth handler patterncase TP_ID.workdayin the ATS auth routerATS Service Endpoints
Added Workday cases to all ATS service files:
/api/staffing/v6/candidates/api/staffing/v6/jobPostings/api/staffing/v6/organizations/api/staffing/v6/jobOffersData Transforms
prisma/fields.tsfor all 4 ATS object types (candidate, job, offer, department)[TP_ID.workday]: {}topostprocessDisUnifyAtsObjectpreprocess mapcase TP_ID.workdaytodisunifyAtsObjectin disunify.tsDesign Decisions
app_config.org_url(falls back toWORKDAY_API_BASE_URLenv var), since Workday uses tenant-specific URLstotalin responseTest Plan