stable

Clone or download

Read-only

Initialize pullrequest plugin

This task is part of story #8824 have a Pull Request plugin basis and its associated tables in db This commit provides the very first step of PullRequest plugin. The plugin comes with a first REST Route /api/v1/pull_request/:id To test it, please add by hand a pullrequest into your database. Change-Id: Ic6ee02f6c617a5dfd6b5bb31ae92a0d38379495c

Modified Files

Name
A ChangeLog +0 −0 Go to diff View file
A README.mkd +2 −0 Go to diff View file
A VERSION +1 −0 Go to diff View file
A db/install.sql +13 −0 Go to diff View file
A db/uninstall.sql +1 −0 Go to diff View file
A include/PullRequest/Dao.php +36 −0 Go to diff View file
A include/PullRequest/Factory.php +55 −0 Go to diff View file
A include/PullRequest/PullRequest.php +92 −0 Go to diff View file
A include/PullRequest/PullRequestNotFoundException.php +29 −0 Go to diff View file
A include/PullRequest/REST/ResourcesInjector.class.php +30 −0 Go to diff View file
A include/PullRequest/REST/v1/PullRequestRepresentation.php +84 −0 Go to diff View file
A include/PullRequest/REST/v1/PullRequestResource.php +120 −0 Go to diff View file
A include/PullRequestPluginDescriptor.class.php +34 −0 Go to diff View file
A include/PullRequestPluginInfo.class.php +30 −0 Go to diff View file
A include/autoload.php +27 −0 Go to diff View file
A include/constants.php +21 −0 Go to diff View file
A include/pullrequestPlugin.class.php +66 −0 Go to diff View file
A site-content/en_US/pullrequest.tab +4 −0 Go to diff View file
A site-content/fr_FR/pullrequest.tab +4 −0 Go to diff View file
A tests/rest/DatabaseInitialization.class.php +40 −0 Go to diff View file
A tests/rest/PullRequest/PullRequestTest.php +73 −0 Go to diff View file
A tests/rest/PullRequestDataBuilder.php +36 −0 Go to diff View file
A tests/rest/bootstrap.php +22 −0 Go to diff View file
A tests/rest/init_test_data.php +23 −0 Go to diff View file