stable

Clone or download

Read-only

Refactoring: introduce AttachmentCollection object

This is part of story #14928 Import Jira attachments No functional changes expected here. In addition, a little refactoring was done in the downloader to ease the readability. Change-Id: Ia149d9e426c291c7ae2eff6b98ca74e87a9ecb81

Modified Files

Name
A plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentCollection.php +48 −0 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentCollectionBuilder.php +4 −7 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentDownloader.php +9 −2 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentXMLExporter.php +2 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/DataChangesetXMLExporter.php +2 −5 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php +4 −8 Go to diff View file
M plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilder.php +2 −5 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Attachment/AttachmentXMLExporterTest.php +18 −16 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilderTest.php +12 −9 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php +2 −1 Go to diff View file