stable

Clone or download

Read-only

Retrieve changeset submission timestamp with interface

part of story #22675 replicate program increment changes to mirrored program increments No functional change expected when creating mirror program increments. You can test for non-regression with the end-to-end tests. Notes: In order to create SourceTimeboxChangesetValues for Program Increment updates, we will need to find the changeset's submission date. We only have its id. This patch introduces that mechanism for Program Increment creations so that we can reuse it. Change-Id: I0c4085f5bc7ff36dc30139731e092ad049de5894

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTask.php +13 −29 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/TaskBuilder.php +2 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ArtifactCreatorAdapter.php +1 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapter.php +1 −1 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/ChangesetRetriever.php +51 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/SubmissionDateProxy.php +48 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/CreateArtifact.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Artifact.php +2 −12 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/ArtifactNotFoundException.php +33 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/ChangesetNotFoundException.php +31 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/RetrieveChangesetSubmissionDate.php +30 −0 Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/SubmissionDate.php Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SourceTimeboxChangesetValues.php +14 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsRunnerTest.php +2 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTaskTest.php +10 −21 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ArtifactCreatorAdapterTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapterTest.php +7 −9 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/ChangesetRetrieverTest.php +91 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/SubmissionDateProxyTest.php +39 −0 Go to diff View file
M plugins/program_management/tests/unit/Builder/ReplicationDataBuilder.php +10 −17 Go to diff View file
M plugins/program_management/tests/unit/Builder/SourceTimeboxChangesetValuesBuilder.php +2 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SourceTimeboxChangesetValuesTest.php +3 −4 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveChangesetSubmissionDateStub.php +49 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/SubmissionDateStub.php +42 −0 Go to diff View file