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