stable

Clone or download

Read-only

Gather Status 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] Status 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: I0699b1026dc5d656a3ab754e5fda4fc220d6fdf0

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/StatusFieldReferenceProxy.php +50 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGatherer.php +26 −9 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessor.php +1 −1 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/RetrieveStatusField.php +30 −0 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/StatusFieldReference.php +33 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferences.php +7 −4 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +10 −2 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/StatusFieldReferenceProxyTest.php +53 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGathererTest.php +63 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandlerTest.php +6 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorTest.php +8 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferencesTest.php +9 −2 Go to diff View file
M plugins/program_management/tests/unit/Stub/GatherSynchronizedFieldsStub.php +16 −4 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveStatusFieldStub.php +61 −0 Go to diff View file