stable

Clone or download

Read-only

Add the reviewers in the pull request REST Representation

You can see the change in the API explorer The involed routes are: - PATCH /pull_requests/{id} - GET /pull_requests/{id} - GET /git/{id}/pull_requests Part of story #33006 Create filters on my PR Change-Id: I3e43aed0c8b27b7664beaf4c5fe723934bd9f836

Modified Files

Name
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestMinimalRepresentation.php +11 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentation.php +8 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestRepresentationFactory.php +6 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +23 −2 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php +32 −3 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/RetrieveReviewers.php +28 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reviewer/ReviewerDAO.php +29 −1 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reviewer/ReviewerRetriever.php +6 −21 Go to diff View file
M plugins/pullrequest/tests/unit/REST/v1/PullRequestRepresentationFactoryTest.php +40 −3 Go to diff View file
A plugins/pullrequest/tests/unit/Tests/Stub/RetrieveReviewersStub.php +78 −0 Go to diff View file