stable

Clone or download

Read-only

Gather Artifact link 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] Artifact link 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: I7924f986077c73483cdcd4efc759e11e9cf5a880

Modified Files

Name
A plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/ArtifactLinkFieldReferenceProxy.php +50 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGatherer.php +15 −1 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/ArtifactLinkFieldReference.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/RetrieveArtifactLinkField.php +33 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferences.php +9 −7 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +4 −2 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/ArtifactLinkFieldReferenceProxyTest.php +53 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldsGathererTest.php +53 −11 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateEventHandlerTest.php +1 −12 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorTest.php +4 −7 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/SynchronizedFieldReferencesTest.php +9 −11 Go to diff View file
M plugins/program_management/tests/unit/Stub/GatherSynchronizedFieldsStub.php +22 −12 Go to diff View file
A plugins/program_management/tests/unit/Stub/RetrieveArtifactLinkFieldStub.php +62 −0 Go to diff View file