stable

Clone or download

Read-only

Create changesets in mirrored program increments

part of story #22675 replicate program increment changes to mirrored program increments How to test: Make sure your redis worker is running - Edit an existing Program Increment artifact and change its title, its description, its status, its start date or its end date (or duration). - After processing by redis, its mirrored program increments in each team have been updated with the same changes - the matching "pending" row in the database table `plugin_program_management_pending_program_increment_update` should be deleted - Multiline text description should not have <br/> tags added at each line break Change-Id: I02eeddba2032804c5b1fb6ffbdca01da5bddb23b

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ChangesetAdder.php +71 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdateDAO.php +16 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TextFieldValueProxy.php +1 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/AddChangeset.php +31 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/DeletePendingProgramIncrementUpdates.php +3 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/NewChangesetCreationException.php +35 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessor.php +34 −19 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +134 −11 Go to diff View file
M plugins/program_management/tests/integration/Adapter/Program/Backlog/AsynchronousCreation/PendingProgramIncrementUpdateDAOTest.php +26 −3 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/ChangesetAdderTest.php +181 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/FieldValuesGathererTest.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Changeset/Values/TextFieldValueProxyTest.php +12 −5 Go to diff View file
A plugins/program_management/tests/unit/Builder/MirroredTimeboxChangesetBuilder.php +56 −0 Go to diff View file
M plugins/program_management/tests/unit/Builder/SourceTimeboxChangesetValuesBuilder.php +29 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandlerTest.php +18 −4 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorTest.php +82 −14 Go to diff View file
M plugins/program_management/tests/unit/Stub/SearchMirroredTimeboxesStub.php +5 −0 Go to diff View file