stable

Clone or download

Read-only

Be able to update the Group Link token

Part of story #26799 associate a Tuleap project and a GitLab group You can test this contribution with thee API Explorer, under the PATCH /gitlab_groups/:id route. Change-Id: I23b371aca9a4539beb66e4a471e57b0f7acd1d77

Modified Files

Name
M plugins/gitlab/include/Group/GroupUpdator.php +17 −1 Go to diff View file
M plugins/gitlab/include/Group/Token/GroupApiTokenDAO.php +10 −0 Go to diff View file
A plugins/gitlab/include/Group/Token/GroupLinkTokenUpdater.php +44 −0 Go to diff View file
A plugins/gitlab/include/Group/Token/UpdateGroupLinkToken.php +31 −0 Go to diff View file
M plugins/gitlab/include/Group/UpdateGroupLinkCommand.php +3 −0 Go to diff View file
M plugins/gitlab/include/REST/v1/GitlabGroupResource.php +19 −4 Go to diff View file
M plugins/gitlab/include/REST/v1/Group/GitlabGroupPATCHRepresentation.php +8 −3 Go to diff View file
A plugins/gitlab/tests/integration/Group/GitlabApiTokenDAOTest.php +98 −0 Go to diff View file
M plugins/gitlab/tests/unit/Group/GroupLinkUpdateHandlerTest.php +6 −1 Go to diff View file
M plugins/gitlab/tests/unit/Group/GroupUpdatorTest.php +34 −7 Go to diff View file
A plugins/gitlab/tests/unit/Test/Stubs/UpdateGroupLinkTokenStub.php +51 −0 Go to diff View file