stable

Clone or download

Read-only

story #8825: POST /pull_request

Note: the POST route requires a major refactoring of REST tests initialization and thus will be done in a following commit Change-Id: If1dbd7a1acb99b591ad607e3f955e077737759ed

Modified Files

Name
M plugins/pullrequest/include/PullRequest/Dao.php +41 −3 Go to diff View file
M plugins/pullrequest/include/PullRequest/Factory.php +44 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/GitExec.php +43 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/PullRequest.php +4 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/PullRequestNotCreatedException.php +29 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/PullRequestPOSTRepresentation.php +46 −0 Go to diff View file
A plugins/pullrequest/include/PullRequest/REST/v1/PullRequestReference.php +42 −0 Go to diff View file
M plugins/pullrequest/include/PullRequest/REST/v1/PullRequestsResource.php +78 −2 Go to diff View file
A plugins/pullrequest/include/PullRequest/UnknownReferenceBranchException.php +30 −0 Go to diff View file
M plugins/pullrequest/include/autoload.php +8 −3 Go to diff View file
A plugins/pullrequest/tests/GitExecTest.php +68 −0 Go to diff View file
A plugins/pullrequest/tests/bootstrap.php +23 −0 Go to diff View file
M plugins/pullrequest/tests/rest/PullRequest/PullRequestsTest.php +4 −1 Go to diff View file
M tests/lib/TestDataBuilder.php +2 −0 Go to diff View file
M tests/rest/bin/integration_tests.inc.dist +2 −0 Go to diff View file