stable
Clone or download
Read-only
In order to be able to reproduce the behaviour of a JiraServer we are able to capture the logs with the approriate feature flag. This patch introduce the structure of a a high level test of Jira import that loads the payloads returned by an actual Jira Server (data where anonymized). In it's current form, it is disabled because that would require to support the whole Jira Import and the goal of this change is to make smaller increment. This increment focuses on the management of ChangeLog. Part of: request #22580 Creation of new tracker from Jira doesn't work with Jira Server Change-Id: I3fbc65a1e392cee5f20e4eae94d94d357a81bdb9
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntriesBuilder.php | +2 | −42 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryItemsRepresentation.php | +7 | −83 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentation.php | +8 | −73 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraCloudChangelogEntriesBuilder.php | +64 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraCloudChangelogEntryItemsRepresentation.php | +91 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraCloudChangelogEntryValueRepresentation.php | +96 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraServerChangelogEntriesBuilder.php | +63 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraServerChangelogEntryItemsRepresentation.php | +91 | −0 | Go to diff View file |
A | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraServerChangelogEntryValueRepresentation.php | +96 | −0 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilder.php | +1 | −1 | Go to diff View file |
M | plugins/tracker/include/Tracker/Creation/JiraImporter/Import/JiraXmlExporter.php | +9 | −5 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/ArtifactsXMLExporterTest.php | +2 | −2 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryItemsRepresentationTest.php | +7 | −11 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/ChangelogEntryValueRepresentationTest.php | +5 | −9 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Changelog/JiraServerChangelogEntriesBuilderTest.php | +95 | −0 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/ChangelogSnapshotBuilderTest.php | +2 | −1 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/InitialSnapshotBuilderTest.php | +10 | −10 | Go to diff View file |
M | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/Artifact/Snapshot/IssueSnapshotCollectionBuilderTest.php | +3 | −3 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/JiraXmlExporterTest.php | +307 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/6228766c052f93cee99fb37192219454b5c9a993.json | +576 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/7a07648eb9f07aaf54edbe443feae2c04dbfca6b.json | +1148 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/821ab2f69bb73bd43211ab31c36d613fdc73345d.json | +232 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/d8185100aa609050c6d2ba8c3c2f2f4c2c2aecbe.json | +9 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/e508e4aa43d33f8c1ff0c86b31833b175270193a.json | +1325 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/manifest.log | +6 | −0 | Go to diff View file |
A | plugins/tracker/tests/unit/Tracker/Creation/JiraImporter/Import/_fixtures/SBX/sbx6.json | +605 | −0 | Go to diff View file |