stable

Clone or download

Read-only

feat: retrieve reviewers inside a given repository

part of story #35822 Pull request new home page - Filter on Reviewer How to test: - Using the api explorer, query `GET /git/:id/pull_requests_reviewers` --> All users currently assigned as reviewers to some PRs of the given repository are returned. Change-Id: I6076e342ca4f9902d2a6a8930ba39b9ee6d0009f

Modified Files

Name
M plugins/git/tests/rest/Git/RepositoryTest.php +19 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/RepositoryResource.php +47 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/Reviewers/GETHandler.php +61 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/Reviewers/RepositoryPullRequestsReviewersRepresentation.php +38 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/RepositoryPullRequestsReviewersIdsPage.php +30 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/Reviewer/ReviewerDAO.php +25 −1 Go to diff View file
A plugins/pullrequest/include/PullRequest/Reviewer/SearchRepositoryReviewers.php +26 −0 Go to diff View file
M plugins/pullrequest/tests/rest/DatabaseInitialization.php +21 −0 Go to diff View file
A plugins/pullrequest/tests/unit/REST/v1/Reviewers/GETHandlerTest.php +90 −0 Go to diff View file
A plugins/pullrequest/tests/unit/Tests/Stub/SearchRepositoryReviewersStub.php +52 −0 Go to diff View file