stable

Clone or download

Read-only

Use ProgramIncrementCreation instead of ReplicationData

part of story #21368 create mirrored iteration No functional change expected in the creation of Program Increment mirrors. You can do the non-regression test with cypress end-to-end tests. This also renames "Runner" to "Dispatcher" to match the naming for PI Updates. In a following commit, the "Task" will be renamed to "Process" and will also use ProgramIncrementCreation. ReplicationData will be removed. Change-Id: Idd6e73747cee81f4c5751638e58313d1e2982f17

Modified Files

Name
A plugins/program_management/include/Adapter/Events/ArtifactCreatedProxy.php +80 −0 Go to diff View file
R plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingArtifactCreationDao.php Go to diff View file
R plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsRunner.php Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/TaskBuilder.php +1 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapter.php +15 −2 Go to diff View file
A plugins/program_management/include/Domain/Events/ArtifactCreatedEvent.php +39 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ArtifactCreatedHandler.php +15 −63 Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/RunProgramIncrementCreation.php Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/PendingArtifactCreationStore.php +0 −2 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/StoreProgramIncrementCreation.php +30 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCreation.php +60 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifier.php +5 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementUpdate.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/BuildReplicationData.php +2 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +15 −19 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +27 −14 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Events/ArtifactCreatedProxyTest.php +51 −0 Go to diff View file
R plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsRunnerTest.php Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapterTest.php +26 −1 Go to diff View file
A plugins/program_management/tests/unit/Builder/ProgramIncrementCreationBuilder.php +50 −0 Go to diff View file
M plugins/program_management/tests/unit/Builder/ReplicationDataBuilder.php +18 −38 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactCreatedHandlerTest.php +33 −65 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +19 −29 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateSchedulerTest.php +11 −14 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCreationTest.php +62 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifierTest.php +28 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementUpdateTest.php +2 −4 Go to diff View file
A plugins/program_management/tests/unit/Stub/ArtifactCreatedEventStub.php +78 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/DispatchProgramIncrementCreationStub.php +48 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/DispatchProgramIncrementUpdateStub.php +48 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RemovePlannedFeaturesFromTopBacklogStub.php +47 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/StoreProgramIncrementCreationStub.php +48 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/StoreProgramIncrementUpdateStub.php +48 −0 Go to diff View file