stable

Clone or download

Read-only

Add for_project option for REST route GET /gerrit

This is part of story #9634 Restrict Gerrit server by project If you provide, in the URL, the for_project option, then all the servers available for this project (the unrestricted and restricted servers that allow the provided project) are listed. Change-Id: I6cf167331c473b77c4cecc7cbff6e751da2e154d

Modified Files

Name
M plugins/git/include/Git/RemoteServer/GerritServerFactory.class.php +9 −2 Go to diff View file
M plugins/git/include/REST/v1/GerritResource.php +47 −10 Go to diff View file
M plugins/git/tests/rest/Git/GerritTest.php +17 −0 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +3 −2 Go to diff View file