stable
Clone or download
Read-only
Part of story #26799 associate a Tuleap project and a GitLab group You can test the route with the API Explorer. It will add missing repository integration and link the newly added integration with the Gitlab group. If the integration already exists, only the link is done. If a Gitlab project is removed on the Gitlab side, the integration and the link will still exist on the Tuleap side. Change-Id: I30a2c5a90bf0430b55253cac421eda8584d37eca
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/gitlab/include/API/GitlabRequestFault.php | +46 | −0 | Go to diff View file |
A | plugins/gitlab/include/API/GitlabResponseAPIFault.php | +36 | −0 | Go to diff View file |
M | plugins/gitlab/include/Group/GitlabGroupDAO.php | +20 | −8 | Go to diff View file |
A | plugins/gitlab/include/Group/GroupLinkCredentialsRetriever.php | +43 | −0 | Go to diff View file |
M | plugins/gitlab/include/Group/GroupLinkRetriever.php | +2 | −2 | Go to diff View file |
A | plugins/gitlab/include/Group/GroupLinkSynchronizer.php | +105 | −0 | Go to diff View file |
M | plugins/gitlab/include/Group/GroupRepositoryIntegrationDAO.php | +11 | −1 | Go to diff View file |
A | plugins/gitlab/include/Group/IntegrateRepositoriesInGroupLinkCommand.php | +43 | −0 | Go to diff View file |
M | plugins/gitlab/include/Group/RetrieveGroupLink.php | +10 | −3 | Go to diff View file |
A | plugins/gitlab/include/Group/RetrieveGroupLinkById.php | +28 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/SynchronizeGroupLinkCommand.php | +33 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/Token/GetTokenByGroupId.php | +28 | −0 | Go to diff View file |
M | plugins/gitlab/include/Group/Token/GroupApiTokenDAO.php | +11 | −3 | Go to diff View file |
A | plugins/gitlab/include/Group/Token/GroupLinkTokenRetriever.php | +46 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/Token/GroupTokenNotFoundFault.php | +36 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/Token/RetrieveGroupLinkToken.php | +36 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/Token/RetrieveGroupLinksCredentials.php | +31 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/UpdateSynchronizationDate.php | +28 | −0 | Go to diff View file |
A | plugins/gitlab/include/Group/VerifyRepositoryIntegrationsAlreadyLinked.php | +28 | −0 | Go to diff View file |
M | plugins/gitlab/include/REST/v1/FaultMapper.php | +6 | −2 | Go to diff View file |
M | plugins/gitlab/include/REST/v1/GitlabGroupResource.php | +113 | −1 | Go to diff View file |
A | plugins/gitlab/include/REST/v1/Group/GitlabGroupLinkSynchronizedRepresentation.php | +33 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/GitlabProjectIntegrator.php | +129 | −0 | Go to diff View file |
A | plugins/gitlab/include/Repository/IntegrateGitlabProject.php | +45 | −0 | Go to diff View file |
M | plugins/gitlab/tests/integration/Group/GitlabGroupDAOTest.php | +23 | −15 | Go to diff View file |
A | plugins/gitlab/tests/unit/Group/GroupLinkSynchronizerTest.php | +137 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Group/GroupLinkUpdateHandlerTest.php | +2 | −2 | Go to diff View file |
M | plugins/gitlab/tests/unit/Group/GroupUnlinkHandlerTest.php | +2 | −2 | Go to diff View file |
A | plugins/gitlab/tests/unit/Group/Token/GroupLinkTokenRetrieverTest.php | +69 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/REST/v1/FaultMapperTest.php | +10 | −1 | Go to diff View file |
A | plugins/gitlab/tests/unit/Repository/GitlabProjectIntegratorTest.php | +160 | −0 | Go to diff View file |
M | plugins/gitlab/tests/unit/Test/Stubs/CreateGitlabRepositoriesStub.php | +21 | −2 | Go to diff View file |
A | plugins/gitlab/tests/unit/Test/Stubs/GetTokenByGroupIdStub.php | +52 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/Test/Stubs/IntegrateGitlabProjectStub.php | +54 | −0 | Go to diff View file |
R | plugins/gitlab/tests/unit/Test/Stubs/RetrieveGroupLinkStub.php | Go to diff View file | ||
A | plugins/gitlab/tests/unit/Test/Stubs/RetrieveGroupLinksCredentialsStub.php | +45 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/Test/Stubs/UpdateSynchronizationDateStub.php | +51 | −0 | Go to diff View file |
A | plugins/gitlab/tests/unit/Test/Stubs/VerifyRepositoryIntegrationsAlreadyLinkedStub.php | +47 | −0 | Go to diff View file |