stable
Clone or download
Read-only
This is part of story #17178 reference my gitlab repositories in my tuleap project A new REST route GET projects/:id/gitlab_repositories is created. It retrieves the Gitlab repositories integrated into a sepcific project. To test it, you have to: * Uninstall and reinstall the Gitlab plugin * Enable this plugin * Add data by hand in the plugin_gitlab_repositories SQL table. This route is paginated, but not in SQL. This will be done in a dedicated commit. Change-Id: I85e45d8e248cb71635893c4625015323c73e7e3f
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/gitlab/db/install.sql | +11 | −0 | Go to diff View file |
A | plugins/gitlab/db/uninstall.sql | +1 | −0 | Go to diff View file |
A | plugins/gitlab/include/REST/ResourcesInjector.php | +52 | −0 | Go to diff View file |
A | plugins/gitlab/include/REST/v1/GitlabProjectResource.php | +115 | −0 | Go to diff View file |
A | plugins/gitlab/include/REST/v1/GitlabRepositoryRepresentation.php | +97 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/GitlabRepository.php | +131 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/GitlabRepositoryDao.php | +37 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/GitlabRepositoryFactory.php | +59 | −0 | Go to diff View file |
M | plugins/gitlab/include/gitlabPlugin.php | +25 | −1 | Go to diff View file |
A | plugins/gitlab/tests/rest/DatabaseInitialization.php | +47 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/GitLabDataBuilder.php | +53 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/Gitlab/ProjectTest.php | +69 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/TestBase.php | +35 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/_fixtures/project/project.xml | +20 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/_fixtures/project/user_map.csv | +1 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/_fixtures/project/users.xml | +10 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/bootstrap.php | +22 | −0 | Go to diff View file |
A | plugins/gitlab/tests/rest/init_test_data.php | +24 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/GitlabRepositoryFactoryTest.php | +73 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/bootstrap.php | +21 | −0 | Go to diff View file |
M | tests/rest/bin/setup.sh | +1 | −0 | Go to diff View file |