stable

Clone or download

Read-only

request #14320: Gerrit REST driver uses a PSR-18 HTTP client

The dependency to RPM package of a old Guzzle version is removed. This also fixes request #14321. Change-Id: I67773faec11276f2af6f83899bcdde4bb0d8514b

Modified Files

Name
M plugins/git/include/Git/Driver/Gerrit/GerritUnsupportedVersionDriver.php +2 −2 Go to diff View file
M plugins/git/include/Git/Driver/GerritDriver.class.php +4 −4 Go to diff View file
M plugins/git/include/Git/Driver/GerritDriverFactory.php +28 −6 Go to diff View file
A plugins/git/include/Git/Driver/GerritHTTPClientFactory.php +54 −0 Go to diff View file
M plugins/git/include/Git/Driver/GerritREST.class.php +360 −375 Go to diff View file
M plugins/git/include/Git/Repository/GitRepositoryHeaderDisplayerBuilder.php +8 −2 Go to diff View file
M plugins/git/include/REST/v1/RepositoryResource.class.php +7 −1 Go to diff View file
M plugins/git/include/gitPlugin.php +8 −2 Go to diff View file
A plugins/git/phpunit/Git/Driver/GerritHTTPClientFactoryTest.php +53 −0 Go to diff View file
M plugins/git/phpunit/Git/Driver/GerritRESTTest.php +907 −60 Go to diff View file
M plugins/git/tests/Git/Driver/Gerrit/GerritDriverFactoryTest.php +6 −1 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_DeletePluginTest.php +0 −162 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_addIncludedGroupTest.php +0 −98 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_groupExistsTest.php +0 −113 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_manageGroupsTest.php +0 −302 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_manageProjectsTest.php +0 −253 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_manageUserTest.php +0 −317 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_projectExistsTest.php +0 −116 Go to diff View file
D plugins/git/tests/Git/Driver/GerritTest/REST/GerritREST_removeIncludedGroupTest.php +0 −134 Go to diff View file
M plugins/git/tests/GitGerritRouteTest.php +5 −1 Go to diff View file
M tools/rpm/tuleap.rhel6.spec +2 −2 Go to diff View file
M tools/rpm/tuleap.rhel7.spec +1 −1 Go to diff View file