stable

Clone or download

Read-only

Call API to delete integration

This is part of story #17178 reference my gitlab repositories in my tuleap project How to test: - Add row in plugin_gitlab_repository - Add row in plugin_gitlab_repository_project with generated id - To be Git admin - Go to the project where you have your gitlab repository - Delete the repository Expected results: - When you confirm the deletion, the repository must be deleted front UI and plugin_gitlab_repository_project -> If your repository was referenced in 1 project, the repository should be deleted from plugin_gitlab_repository -> Else, it is still in plugin_gitlab_repository Change-Id: Ic5be16f5a61d82e7be91f764255053699bc2a323

Modified Files

Name
M plugins/git/scripts/repositories/po/fr.po +9 −0 Go to diff View file
M plugins/git/scripts/repositories/src/api/rest-querier.js +10 −0 Go to diff View file
M plugins/git/scripts/repositories/src/api/rest-querier.test.js +17 −1 Go to diff View file
M plugins/git/scripts/repositories/src/components/App.vue +3 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.test.js +77 −0 Go to diff View file
M plugins/git/scripts/repositories/src/components/GitlabModal/UnlinkGitlabRepositoryModal/UnlinkRepositoryGitlabModal.vue +79 −11 Go to diff View file
A plugins/git/scripts/repositories/src/components/SuccessMessage.vue +32 −0 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-repository-formatter.js +1 −0 Go to diff View file
M plugins/git/scripts/repositories/src/gitlab/gitlab-repository-formatter.test.js +1 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/getters.js +4 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/mutations.js +9 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/mutations.test.js +50 −0 Go to diff View file
M plugins/git/scripts/repositories/src/store/state.js +1 −0 Go to diff View file