stable

Clone or download

Read-only

Artifact mirroring should not directly manipulate fields values

part of story #17878 rename Multi Project Backlog into Scaled Agile No functional changes. Creating a release in aggregator should still duplicate all fields in project increments All fields data are now behind an interface. In order to ease review, the whole process of artifact mirroring will be split in "small" parts Once fields data will be done, I'll apply the same logic first for tracker field, then for changeset Change-Id: I3acba8885a44bb3c7526ac250f3a4122bb7c2484

Modified Files

Name
M plugins/scaled_agile/include/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTask.php +20 −8 Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/AsynchronousCreation/ProjectIncrementsCreator.php +3 −3 Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/CreationCheck/SemanticChecker.php +1 −1 Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/CreationCheck/StatusSemanticChecker.php +1 −1 Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/ProjectIncrementFieldsData.php +50 −76 Go to diff View file
D plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/CopiedValuesGatherer.php +0 −172 Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/Status/StatusValueMapper.php +4 −3 Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/SynchronizedFieldCollectionBuilder.php +1 −1 Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/Status/NoStatusChangesetValueException.php Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/ArtifactLinkValueData.php +52 −0 Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/StartDate/NoStartDateChangesetValueException.php Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/DescriptionValueAdapter.php +48 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/DescriptionValueData.php +55 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/EndPeriodValueAdapter.php +47 −0 Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/Title/NoTitleChangesetValueException.php Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/Status/MappedStatusValue.php Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/CopiedValues.php Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/SourceChangesetValuesCollectionAdapter.php +105 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/StartDateValueAdapter.php +47 −0 Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/Description/NoDescriptionChangesetValueException.php Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/StatusValueAdapter.php +44 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/StatusValueData.php +52 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Source/Changeset/Values/TitleValueAdapter.php +50 −0 Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/EndPeriod/NoEndPeriodChangesetValueException.php Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/ProjectIncrement/Data/SynchronizedFields/Title/UnsupportedTitleFieldException.php Go to diff View file
R plugins/scaled_agile/include/Program/Backlog/Source/SourceTrackerCollection.php Go to diff View file
M plugins/scaled_agile/include/Program/Backlog/TrackerCollectionFactory.php +1 −1 Go to diff View file
D plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/CopiedValuesGathererTest.php +0 −272 Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/AsynchronousCreation/ArtifactCreatedHandlerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/AsynchronousCreation/CreateProgramIncrementsTaskTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/AsynchronousCreation/CreateProjectIncrementsRunnerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/AsynchronousCreation/ProjectIncrementCreatorTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/CreationCheck/ArtifactCreatorCheckerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/CreationCheck/ProjectIncrementCreatorCheckerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/CreationCheck/RequiredFieldCheckerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/CreationCheck/SemanticCheckerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/CreationCheck/StatusSemanticCheckerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/CreationCheck/WorkflowCheckerTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/Nature/MirroredMilestoneArtifactLinkTypeTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/ProjectIncrementFieldsDataTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/Status/StatusValueMapperTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/SynchronizedFieldCollectionBuilderTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/SynchronizedFieldCollectionTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/SynchronizedFieldsGathererTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/SynchronizedFieldsTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Data/SynchronizedFields/TimeframeFieldsTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Project/TeamProjectsCollectionBuilderTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Project/TeamProjectsCollectionTest.php Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProjectIncrement/Source/Changeset/Values/ArtifactLinkValueAdapterTest.php +43 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProjectIncrement/Source/Changeset/Values/DescriptionValueAdapterTest.php +102 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProjectIncrement/Source/Changeset/Values/EndPeriodValueAdapterTest.php +191 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProjectIncrement/Source/Changeset/Values/StartDateValueAdapterTest.php +101 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProjectIncrement/Source/Changeset/Values/StatusValueAdapterTest.php +104 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Backlog/ProjectIncrement/Source/Changeset/Values/TitleValueAdapterTest.php +115 −0 Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/Source/SourceTrackerCollectionTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/ProjectIncrement/Tracker/TeamMilestoneTrackerCollectionTest.php Go to diff View file
R plugins/scaled_agile/tests/unit/Program/Artifact/TrackerCollectionFactoryTest.php Go to diff View file