stable

Clone or download

Read-only

Use asynchronous event as the only source for Program Increment updates

part of story #21368 create mirrored iteration No functional change expected when updating mirrors of Program Increments. You can do the non-regression test with cypress end-to-end tests. This also introduces a "Builder" for the update processor which should reduce memory usage of each worker event, as we now only instantiate a big stack of classes when actually processing updates. Change-Id: I7973899d3b2c2d6b5eb5ec4517e62aae1abbf689

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
D plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdateDAO.php +0 −97 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateDispatcher.php +4 −3 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorBuilder.php +146 −0 Go to diff View file
R plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/SearchPendingProgramIncrementUpdates.php Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/DeletePendingProgramIncrementUpdates.php +0 −31 Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdate.php +0 −35 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProcessProgramIncrementUpdate.php +1 −6 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandler.php +21 −26 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessor.php +2 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateScheduler.php +0 −2 Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/StoreProgramIncrementUpdate.php +0 −30 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementUpdate.php +12 −21 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +4 −183 Go to diff View file
D plugins/program_management/tests/integration/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdateDAOTest.php +0 −131 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdateProxyTest.php +0 −42 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateDispatcherTest.php +7 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +5 −15 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandlerTest.php +36 −87 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorTest.php +23 −38 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateSchedulerTest.php +0 −5 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCreationTest.php +3 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementUpdateTest.php +45 −44 Go to diff View file
A plugins/program_management/tests/unit/Stub/AddChangesetStub.php +72 −0 Go to diff View file
R plugins/program_management/tests/unit/Stub/SearchPendingProgramIncrementUpdatesStub.php Go to diff View file
R plugins/program_management/tests/unit/Stub/StoreProgramIncrementUpdateStub.php Go to diff View file
R plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdateProxy.php Go to diff View file