stable

Clone or download

Read-only

Kill ReplicationData 🔥

part of story #21368 create mirrored iteration No functional change expected when creating or updating mirrors of Program Increments. You can do the non-regression test with cypress end-to-end tests. ReplicationData is gone and replaced by ProgramIncrementCreation. Creation of Program Increments is entirely handled by redis events, the DB table is not used anymore. Processing and Dispatching of the ProgramIncrementCreationEvent are now separate (and easier to handle). Change-Id: I7e3bfdb00313658ae9a43ffc6cff2e2cc19401f3

Modified Files

Name
M plugins/program_management/db/install.sql +0 −8 Go to diff View file
M plugins/program_management/db/uninstall.sql +0 −1 Go to diff View file
M plugins/program_management/include/Adapter/Events/ArtifactCreatedProxy.php +9 −9 Go to diff View file
A plugins/program_management/include/Adapter/Events/ProgramIncrementCreationEventProxy.php +82 −0 Go to diff View file
M plugins/program_management/include/Adapter/Events/ProgramIncrementUpdateEventProxy.php +1 −2 Go to diff View file
D plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementCreationDAO.php +0 −73 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationDispatcher.php +24 −50 Go to diff View file
R plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/TaskBuilder.php Go to diff View file
D plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapter.php +0 −131 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/FieldValuesGathererRetriever.php +4 −23 Go to diff View file
M plugins/program_management/include/Domain/Events/ArtifactCreatedEvent.php +2 −2 Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/StoreProgramIncrementCreation.php Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ArtifactCreatedHandler.php +0 −3 Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/PendingArtifactCreationStore.php Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/CreateTaskProgramIncrement.php Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationEventHandler.php +70 −0 Go to diff View file
R plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTask.php Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreator.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCreation.php +43 −1 Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/BuildReplicationData.php +0 −41 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/RetrieveFieldValuesGatherer.php +1 −8 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SourceTimeboxChangesetValues.php +1 −39 Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/ReplicationData.php +0 −70 Go to diff View file
M plugins/program_management/include/Domain/Program/ProgramIdentifier.php +1 −8 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +21 −45 Go to diff View file
A plugins/program_management/tests/rest/_fixtures/program_program_management/program-management-config.xml +30 −0 Go to diff View file
M plugins/program_management/tests/rest/_fixtures/program_program_management/project.xml +2 −101 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +13 −45 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Events/ArtifactCreatedProxyTest.php +1 −1 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Events/ProgramIncrementCreationEventProxyTest.php +111 −0 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTaskTest.php +0 −116 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationDispatcherTest.php +63 −67 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorTest.php +137 −0 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapterTest.php +0 −191 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/FieldValuesGathererRetrieverTest.php +4 −37 Go to diff View file
D plugins/program_management/tests/unit/Builder/ReplicationDataBuilder.php +0 −69 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactCreatedHandlerTest.php +0 −6 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationEventHandlerTest.php +117 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCreationTest.php +78 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SourceTimeboxChangesetValuesTest.php +0 −21 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/ProgramIdentifierTest.php +0 −8 Go to diff View file
M plugins/program_management/tests/unit/Stub/ArtifactCreatedEventStub.php +4 −4 Go to diff View file
A plugins/program_management/tests/unit/Stub/BuildProgramIncrementCreationProcessorStub.php +43 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/CreateArtifactStub.php +64 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/PlanUserStoriesInMirroredProgramIncrementsStub.php +48 −0 Go to diff View file
R plugins/program_management/tests/unit/Stub/StoreProgramIncrementCreationStub.php Go to diff View file
A plugins/program_management/tests/unit/Stub/ProgramIncrementCreationEventStub.php +53 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveFieldValuesGathererStub.php +2 −11 Go to diff View file