stable

Clone or download

Read-only

Webhooks are emitted asynchronously when possible

This is part of story #11035: trigger webhook on artifact update Change-Id: Iad50fd8f9fc4dad55228dfb4f42937f0bdb28cdf

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +1 −31 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetAtGivenDateCreator.class.php +2 −9 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreator.class.php +2 −9 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreatorBase.class.php +2 −8 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetAtGivenDateCreator.class.php +2 −8 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreator.class.php +2 −8 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +2 −9 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/ActionsRunner.php +55 −539 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/EmailNotificationTask.php +550 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/PostCreationTask.php +28 −0 Go to diff View file
A plugins/tracker/include/Tracker/Artifact/Changeset/PostCreation/WebhookNotificationTask.php +61 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +1 −27 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactCreator.class.php +0 −1 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +2 −16 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/ArtifactPayload.php +13 −8 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/WebhookDao.php +2 −2 Go to diff View file
M plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/ActionsRunnerTest.php +40 −207 Go to diff View file
A plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/EmailNotificationTaskTest.php +249 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/NotifierCustomSenderTest.php +21 −15 Go to diff View file
A plugins/tracker/phpunit/Tracker/Artifact/Changeset/PostCreation/WebhookNotificationTaskTest.php +60 −0 Go to diff View file
A plugins/tracker/phpunit/Tracker/Webhook/ArtifactPayloadTest.php +66 −0 Go to diff View file
M plugins/tracker/tests/Artifact/Changeset/InitialChangesetCreatorTest.php +1 −3 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +3 −39 Go to diff View file
M plugins/tracker/tests/Tracker_Artifact_ChangesetTest.php +2 −2 Go to diff View file
M tests/phpunit/phpunit.xml +1 −0 Go to diff View file