stable

Clone or download

Read-only

Create GET gerrit/ REST route

This task is part of story #8887 migrate git to gerrit with REST route This route lists all the Gerrit servers linked to Tuleap. Only site admins, project admins and Git admins are allowed to list them. Change-Id: I98e0dd0abae86d8ba3a1249256ecfb0b5fcb84db

Modified Files

Name
A plugins/git/include/Git/RemoteServer/Gerrit/Permission/ServerPermissionDao.php +71 −0 Go to diff View file
A plugins/git/include/Git/RemoteServer/Gerrit/Permission/ServerPermissionManager.php +41 −0 Go to diff View file
M plugins/git/include/REST/ResourcesInjector.class.php +2 −0 Go to diff View file
A plugins/git/include/REST/v1/GerritResource.php +120 −0 Go to diff View file
A plugins/git/include/REST/v1/GerritServerRepresentation.php +45 −0 Go to diff View file
M plugins/git/include/autoload.php +6 −2 Go to diff View file
A plugins/git/tests/rest/DatabaseInitialization.php +44 −0 Go to diff View file
A plugins/git/tests/rest/Git/GerritTest.php +75 −0 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +65 −1 Go to diff View file