stable

Clone or download

Read-only

Features can be removed from the top backlog

To test you need to manually add a feature to the top backlog by inserting its ID into the plugin_program_management_explicit_top_backlog table. Once that's done you can use the REST endpoint GET /projects/:id/program_backlog to remove it. Part of story #18408: plan Features in Program Increment Change-Id: Id32c6931817f8dd16dafcd23de627fd5580a76a4

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ArtifactsExplicitTopBacklogDAO.php +10 −2 Go to diff View file
A plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChange.php +87 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Feature/FeatureElementsRetriever.php +2 −2 Go to diff View file
A plugins/program_management/include/Adapter/Program/Plan/PrioritizeFeaturesPermissionVerifier.php +77 −0 Go to diff View file
M plugins/program_management/include/Program/Backlog/Feature/RetrieveFeatures.php +1 −1 Go to diff View file
A plugins/program_management/include/Program/Backlog/TopBacklog/CannotManipulateTopBacklog.php +39 −0 Go to diff View file
A plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChange.php +42 −0 Go to diff View file
A plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChangeProcessor.php +33 −0 Go to diff View file
A plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogUpdater.php +57 −0 Go to diff View file
A plugins/program_management/include/REST/v1/BacklogPatchRepresentation.php +35 −0 Go to diff View file
A plugins/program_management/include/REST/v1/BacklogRemoveRepresentation.php +34 −0 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +60 −1 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +1 −1 Go to diff View file
M plugins/program_management/tests/rest/v1/ProjectResourceTest.php +16 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php +124 −0 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Plan/PrioritizeFeaturesPermissionVerifierTest.php +105 −0 Go to diff View file
A plugins/program_management/tests/unit/Program/Backlog/TopBacklog/TopBacklogUpdaterTest.php +71 −0 Go to diff View file