stable

Clone or download

Read-only

Move creation of cross references out of processor

Refactoring. No functional changes are expected. The creation of cross references deserves a dedicated object to reduce the responsibilities of PostMergeRequestWebhookActionProcessor. Part of story #17182: reference tuleap artifacts in gitlab merge requests Change-Id: I912763254f60ae5b3cda41b56855a782d81988c1

Modified Files

Name
A plugins/gitlab/include/Repository/Webhook/PostMergeRequest/CrossReferenceFromMergeRequestCreator.php +155 −0 Go to diff View file
M plugins/gitlab/include/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessor.php +17 −121 Go to diff View file
M plugins/gitlab/include/gitlabPlugin.php +7 −3 Go to diff View file
A plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/CrossReferenceFromMergeRequestCreatorTest.php +371 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostMergeRequest/PostMergeRequestWebhookActionProcessorTest.php +6 −3 Go to diff View file