stable
Clone or download
Read-only
This is part of story #20111 change features priority How to test: - Have 2 features planned in PI - Use REST route PATCH route program_increment/$id/content with payload like: { "add": [], "order": { "ids": [ $feature_1_id ], "direction": "after", "compared_to": $feature_2_id } } - Go to program service and open the PI Expected results: - Feature_1 is moved after Feature_2 - You can use "before" for direction key Message to reviewer: - For the moment, you can't add feature with this route. You need to use the UI, or link field. An error will be thrown if you use this route with a feature that is not already planned in the PI Change-Id: I8a8006577b59529f5a4e1d9ef8404cc7b0a6f1c3
Modified Files
Name | ||||
---|---|---|---|---|
R | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/Rank/FeaturesRankOrderer.php | Go to diff View file | ||
M | plugins/program_management/include/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChange.php | +3 | −3 | Go to diff View file |
A | plugins/program_management/include/Adapter/Program/Feature/FeatureDAO.php | +47 | −0 | Go to diff View file |
A | plugins/program_management/include/Program/Backlog/ProgramIncrement/CheckFeatureIsPlannedInProgramIncrement.php | +28 | −0 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/ProgramIncrement/Content/ContentChange.php | +8 | −1 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/ProgramIncrement/Content/ContentModifier.php | +82 | −5 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/ProgramIncrement/Content/ModifyContent.php | +3 | −0 | Go to diff View file |
A | plugins/program_management/include/Program/Backlog/Rank/OrderFeatureRank.php | +35 | −0 | Go to diff View file |
M | plugins/program_management/include/Program/Backlog/TopBacklog/TopBacklogChange.php | +3 | −3 | Go to diff View file |
A | plugins/program_management/include/Program/Plan/InvalidFeatureIdInProgramIncrementException.php | +33 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/BacklogPatchRepresentation.php | +1 | −1 | Go to diff View file |
R | plugins/program_management/include/REST/v1/TopBacklogElementToOrderInvolvedInChangeRepresentation.php | Go to diff View file | ||
M | plugins/program_management/include/REST/v1/ProgramIncrementContentPatchRepresentation.php | +5 | −0 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProgramIncrementResource.php | +11 | −4 | Go to diff View file |
M | plugins/program_management/include/REST/v1/ProjectResource.php | +1 | −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 | +49 | −5 | Go to diff View file |
R | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/Rank/FeaturesRankOrdererTest.php | Go to diff View file | ||
M | plugins/program_management/tests/unit/Adapter/Program/Backlog/TopBacklog/ProcessTopBacklogChangeTest.php | +3 | −3 | Go to diff View file |
M | plugins/program_management/tests/unit/Program/Backlog/ProgramIncrement/Content/ContentModifierTest.php | +133 | −10 | Go to diff View file |