stable

Clone or download

Read-only

Create route OPTION and GET /v1/projects/:id/git

This task is part of story #7687 REST endpoint to list project's git repositories Change-Id: I5467f566d243978e60c04fa77e62efa30a0d44c7

Modified Files

Name
M plugins/git/include/GitDao.class.php +1 −1 Go to diff View file
M plugins/git/include/GitRepositoryFactory.class.php +17 −0 Go to diff View file
A plugins/git/include/REST/ResourcesInjector.class.php +45 −0 Go to diff View file
A plugins/git/include/REST/v1/GitRepositoryRepresentation.class.php +37 −0 Go to diff View file
A plugins/git/include/REST/v1/ProjectResource.class.php +58 −0 Go to diff View file
M plugins/git/include/autoload.php +6 −3 Go to diff View file
M plugins/git/include/gitPlugin.class.php +42 −1 Go to diff View file
A plugins/git/tests/rest/Git/ProjectTest.php +56 −0 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +2 −7 Go to diff View file
A plugins/git/tests/rest/bootstrap.php +22 −0 Go to diff View file
A src/common/REST/v1/GitRepositoryRepresentationBase.class.php +52 −0 Go to diff View file
M src/common/autoload.php +3 −2 Go to diff View file
M src/common/event/Event.class.php +20 −0 Go to diff View file
M src/common/project/REST/v1/ProjectResource.class.php +66 −0 Go to diff View file
M tests/rest/bin/integration_tests.inc.dist +1 −0 Go to diff View file