stable

Clone or download

Read-only

Detect an update of program increment artifact

part of story #21368 create mirrored iteration How to test: Run `tuleap config-set feature_flag_program_management_display_iteration 1` to enable iterations - with iterations feature flag active, when you edit a Program Increment artifact (for example change its description), there will be a log line like: [debug] Program increment artifact has been updated in /var/log/tuleap/program_management_syslog - with iterations feature flag inactive (set to 0 or unset), when you edit a Program Increment artifact, there will not be a debug log line. Change-Id: Ic7cd2ff60b4ea44a2e83736b3f7da5992340565a

Modified Files

Name
A plugins/program_management/include/Adapter/Events/ArtifactUpdatedProxy.php +51 −0 Go to diff View file
A plugins/program_management/include/Adapter/FeatureFlag/ForgeConfigAdapter.php +33 −0 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +6 −9 Go to diff View file
A plugins/program_management/include/Domain/FeatureFlag/VerifyIterationsFeatureActive.php +35 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ArtifactUpdatedHandler.php +35 −17 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifier.php +15 −4 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +14 −6 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Events/ArtifactUpdatedProxyTest.php +50 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/FeatureFlag/ForgeConfigAdapterTest.php +53 −0 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +4 −5 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ArtifactUpdatedHandlerTest.php +38 −8 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifierTest.php +47 −5 Go to diff View file
A plugins/program_management/tests/unit/Stub/VerifyIterationsFeatureActiveStub.php +50 −0 Go to diff View file