stable
Clone or download
Read-only
part of story #22675 replicate program increment changes to mirrored program increments No functional change expected in program increment updates. Notes: - ProgramIncrementUpdateHandler is already quite big. Splitting lets us keep it small and lets us inject more dedicated dependencies into ProgramIncrementUpdateDispatcher - Renamed from ProgramIncrementUpdateRunner to ProgramIncrementUpdateDispatcher. What it really does is dispatch a message to redis, and if it fails it calls the processor. Besides, "Run" was close to "Process" semantically, the rename should let us distinguish between "Dispatch" and "Process" more easily. Change-Id: I83c19d400bbd8aeaafb3f174ce6bcd407aa9e714
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateRunner.php | Go to diff View file | ||
R | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/RunProgramIncrementUpdate.php | Go to diff View file | ||
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/IterationCreationProcessor.php | +39 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandler.php | +6 | −20 | Go to diff View file |
A | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessor.php | +43 | −0 | Go to diff View file |
M | plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateScheduler.php | +2 | −2 | Go to diff View file |
M | plugins/program_management/include/program_managementPlugin.php | +9 | −20 | Go to diff View file |
R | plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateRunnerTest.php | Go to diff View file | ||
A | plugins/program_management/tests/unit/Builder/IterationCreationBuilder.php | +56 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php | +3 | −3 | Go to diff View file |
A | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationCreationProcessorTest.php | +51 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandlerTest.php | +2 | −0 | Go to diff View file |
A | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorTest.php | +59 | −0 | Go to diff View file |
M | plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateSchedulerTest.php | +3 | −3 | Go to diff View file |