stable

Clone or download

Read-only

Get Merge Request Payload

This is part of story #17182 reference tuleap artifacts in gitlab merge requests How to test: - If you use an already integrated GitLab repository => Go in webhook setting and check "merge request events" - If the repository is not already integrated => Integrated it in a tuleap project => Go to webhook setting and unchecked "SSL verification" -> Create a merge request Expected Results: - In log, you can see "Webhook of type merge_request received" - The integrated repository's date is updated Change-Id: I3ba8e30b989e95631668499f7fa8e800939d1696

Modified Files

Name
M plugins/gitlab/include/Repository/GitlabRepositoryWebhookController.php +3 −1 Go to diff View file
A plugins/gitlab/include/Repository/Webhook/MissingEventKeysException.php +32 −0 Go to diff View file
A plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookData.php +61 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitWebhookDataExtractor.php +10 −2 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookActions.php +5 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookCreator.php +1 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/WebhookDataExtractor.php +67 −24 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +2 −1 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitWebhookDataExtractorTest.php +33 −10 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/WebhookDataExtractorTest.php +112 −10 Go to diff View file