stable

Clone or download

Read-only

Create changeset from values and fields

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 anything. - you should see a log message in /var/log/tuleap/program_management_syslog: [debug] Mirror id: 123 For each mirrored program increment, you should see a log message with its artifact id. The log message only exists for testing purposes. It will be removed on next commits. Change-Id: Ib38cd6cf5058cd8ea44601041b71ff2c53cca200

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ArtifactCreatorAdapter.php +2 −2 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/MirroredTimeboxChangeset.php +76 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/MirroredTimeboxChangesetValues.php +108 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessor.php +11 −7 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreator.php +1 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/CreateArtifact.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/ArtifactLinkValue.php +14 −9 Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/MirroredProgramIncrementChangeset.php +0 −123 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +5 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ArtifactCreatorAdapterTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGathererTest.php +14 −3 Go to diff View file
M plugins/program_management/tests/unit/Builder/SourceTimeboxChangesetValuesBuilder.php +19 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/MirroredTimeboxChangesetTest.php +72 −0 Go to diff View file
R plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/MirroredProgramIncrementChangesetTest.php Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandlerTest.php +3 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorTest.php +10 −8 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementsCreatorTest.php +2 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/ArtifactLinkValueTest.php +6 −0 Go to diff View file