stable

Clone or download

Read-only

Do not mix Retriever and Factory for the same object

This is part of story #11035 trigger webhook on artifact update This refactoring does not have any functionnal changes. All the operations to retrieve a webhook is now done in the factory. The previous Retriever class is now only used to retrieve webhook's logs. Change-Id: I5260b4c144752fdbe5f74fc1dee1c426c9987813

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Changeset/ChangesetCreatorBase.class.php +6 −6 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetAtGivenDateCreator.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreator.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/InitialChangesetCreatorBase.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetAtGivenDateCreator.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreator.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/NewChangesetCreatorBase.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact.class.php +7 −8 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_ArtifactFactory.class.php +3 −3 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +4 −4 Go to diff View file
M plugins/tracker/include/Tracker/Migration/MigrationManager.php +5 −5 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +18 −7 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/Actions/AdminWebhooks.php +13 −7 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/Actions/WebhookDeleteController.php +7 −6 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/Actions/WebhookEditController.php +6 −6 Go to diff View file
M plugins/tracker/include/Tracker/Webhook/WebhookFactory.php +34 −0 Go to diff View file
R plugins/tracker/include/Tracker/Webhook/WebhookRetriever.php Go to diff View file
M plugins/tracker/include/Tracker/Webhook/WebhookXMLExporter.php +5 −5 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +3 −3 Go to diff View file
M plugins/tracker/phpunit/Tracker/Webhook/WebhookXMLExporterTest.php +4 −4 Go to diff View file
M plugins/tracker/tests/Artifact/Changeset/InitialChangesetCreatorTest.php +6 −6 Go to diff View file
M plugins/tracker/tests/Tracker_ArtifactTest.php +19 −19 Go to diff View file