stable

Clone or download

Read-only

Gather Description field from source PI

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. You can change anything. - you should see a second log message in /var/log/tuleap/program_management_syslog: [debug] Description field id #1001 The log message only exists for testing purposes, to show that we retrieve fields. It will be removed on next commits. Change-Id: Iac43cedb4a5cb5f48287bcc21b1e3c42bbc33c22

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/DescriptionFieldReferenceProxy.php +50 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGatherer.php +12 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessor.php +1 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/DescriptionFieldReference.php +33 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/GatherSynchronizedFields.php +1 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/RetrieveDescriptionField.php +30 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferences.php +5 −3 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +2 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/DescriptionFieldReferenceProxyTest.php +53 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGathererTest.php +33 −5 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 +4 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferencesTest.php +6 −2 Go to diff View file
M plugins/program_management/tests/unit/Stub/GatherSynchronizedFieldsStub.php +10 −0 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveDescriptionFieldStub.php +61 −0 Go to diff View file