stable

Clone or download

Read-only

Webhooks can be processed per batch

Instead of processing the webhook one per one, a set of webhooks can be processed at once in parallel. This is part of story #11035: trigger webhook on artifact updates Change-Id: Ic415b50142f1763fd51cf3e1cfa72dca9f24f3b7

Modified Files

Name
M plugins/git/hooks/post-receive.php +5 −2 Go to diff View file
M plugins/git/include/Git/Webhook/WebhookRequestSender.php +3 −5 Go to diff View file
M plugins/git/tests/Git/Webhook/WebhookRequestSenderTest.php +13 −15 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +1 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +4 −1 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +6 −2 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +4 −1 Go to diff View file
M src/common/Webhook/Emitter.php +51 −20 Go to diff View file
M src/common/project/ProjectManager.class.php +8 −4 Go to diff View file
M tests/php7compatibletests.list +0 −1 Go to diff View file
A tests/phpunit/common/Webhook/EmitterTest.php +62 −0 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file
D tests/simpletest/common/Webhook/EmitterTest.php +0 −61 Go to diff View file