stable

Clone or download

Read-only

Store Iteration replications in DB

part of story #21368 create mirrored iteration How to test: Run forge upgrade Run `tuleap config-set feature_flag_program_management_display_iteration 1` to enable iterations - When you edit a Program Increment artifact and add one or more artifact links with _is_child type to Iteration artifacts, new rows will be stored in the plugin_program_management_pending_iterations table Notes: - Entrypoint is in IterationReplicationScheduler Change-Id: Ie5d0dadadf3f16e563d59a8fae502610dfd32638

Modified Files

Name
M plugins/program_management/db/install.sql +10 −0 Go to diff View file
A plugins/program_management/db/mysql/2021/202108021425_add_pending_iteration_table.php +45 −0 Go to diff View file
M plugins/program_management/db/uninstall.sql +1 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/LastChangesetRetriever.php +1 −1 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/PendingIterationCreationDAO.php +44 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/ChangesetIdentifier.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationScheduler.php +5 −9 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/RetrieveLastChangeset.php +1 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/StorePendingIterations.php +28 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +2 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/LastChangesetRetrieverTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +8 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationSchedulerTest.php +21 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveLastChangesetStub.php +1 −1 Go to diff View file