stable

Clone or download

Read-only

Gather End period 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] End period field id #1001 - The log message is shown for both Timeframe semantic with Duration (Integer) field and End date field. The log message only exists for testing purposes, to show that we retrieve fields. It will be removed on next commits. Change-Id: Iddfb460f185756b3dfa4acbbce0fd546a77eabfe

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/EndPeriodFieldReferenceProxy.php +51 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGatherer.php +16 −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/EndPeriodFieldReference.php +34 −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/RetrieveEndPeriodField.php +33 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferences.php +4 −2 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/EndPeriodFieldReferenceProxyTest.php +78 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGathererTest.php +67 −24 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 +5 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferencesTest.php +5 −1 Go to diff View file
M plugins/program_management/tests/unit/Stub/GatherSynchronizedFieldsStub.php +13 −3 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveEndPeriodFieldStub.php +61 −0 Go to diff View file