stable

Clone or download

Read-only

Write log when replication is processed by Redis

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 - Make sure your redis worker is running - When you edit a Program Increment artifact and add one or more artifact links with _is_child type to Iteration artifacts, then for each iteration a message will be logged in /var/log/tuleap/program_management_syslog: [debug] Processing iteration creation with iteration #6258 for user #110 where 6258 is the iteration's artifact id and 110 is your user id. Change-Id: Id5de4928686f2c390074e9589064a81115027888

Modified Files

Name
A plugins/program_management/include/Adapter/Events/IterationCreationEventProxy.php +60 −0 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationsRunner.php +94 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationScheduler.php +7 −2 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/AsynchronousCreation/RunIterationsCreation.php +28 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +12 −1 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Events/IterationCreationEventProxyTest.php +74 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationsRunnerTest.php +175 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +7 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/AsynchronousCreation/IterationReplicationSchedulerTest.php +9 −1 Go to diff View file
M src/common/Queue/PersistentQueue.php +3 −0 Go to diff View file
M src/common/Queue/Redis/RedisEventMessageForPersistentQueue.php +3 −0 Go to diff View file
M src/common/Queue/Redis/RedisPersistentQueue.php +2 −0 Go to diff View file