Skip to content

add input checks of jobId and userId to JobCandidate and ResouceBooking services #55

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

Conversation

imcaizheng
Copy link
Contributor

Changes

  • update source code
  • in the swagger document update endpoints POST(PUT) /jobCandidates and POST(PUT) /resourceBookings to include 404 responses.

Verification

Execute the following requests with different jobIds or userIds for validating:

Jobs > create job candidate with booking manager
Jobs > put job candidate with booking manager
Job Candidates > create resource booking with booking manager
Job Candidates > put resource booking with booking manager

Notes

PATCH /jobCandidates and PATCH /resourceBooking remain unchanged since these endpoints do not related to jobId or userId.

Copy link
Contributor

@maxceem maxceem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@imcaizheng thanks for taking care of the swagger too.

Works perfectly.

@maxceem maxceem merged commit fd9bb61 into topcoder-platform:feature/integration-test-fix Dec 15, 2020
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.

2 participants