stable

Clone or download

Read-only

PUT scaled_agile_program/{id}/hierarchy

part of story #17882 define cross project hierarchy between Features and User Stories Route associate program plannable tracker with top backlog team tracker Concretely following constraints must be respected: - user is admin of every single tracker - program tracker is defined in a project program and in plannable tracker list - team tracker is defined in a team project and is top level planning of agiledashboard Change-Id: I21946e56310d05bd4049488a85559525663e24dd

Modified Files

Name
A plugins/scaled_agile/include/Adapter/Program/Hierarchy/HierarchyAdapter.php +86 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Hierarchy/HierarchyException.php +27 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Hierarchy/HierarchySaver.php +45 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Hierarchy/TeamTrackerMustBeATopBacklogOneException.php +31 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Hierarchy/TeamTrackerNotFoundException.php +31 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Hierarchy/TrackerDoesNotBelongToTeamException.php +31 −0 Go to diff View file
M plugins/scaled_agile/include/Adapter/Program/Plan/PlanDao.php +8 −1 Go to diff View file
R plugins/scaled_agile/include/Adapter/Program/Plan/PlanTrackerDoesNotBelongToProjectException.php Go to diff View file
R plugins/scaled_agile/include/Adapter/Program/Plan/PlanTrackerNotFoundException.php Go to diff View file
R plugins/scaled_agile/include/Adapter/Program/Plan/ProgramTrackerAdapter.php Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Tracker/ProgramTrackerException.php +27 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Tracker/ProgramTrackerMustBeDefinedAsPlannableTrackerException.php +31 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Program/Tracker/ProgramTrackerNotFoundException.php +31 −0 Go to diff View file
M plugins/scaled_agile/include/Adapter/Team/TeamDao.php +8 −1 Go to diff View file
A plugins/scaled_agile/include/Adapter/Team/TeamTracker.php +51 −0 Go to diff View file
A plugins/scaled_agile/include/Adapter/Team/TeamTrackerAdapter.php +64 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Hierarchy/BuildHierarchy.php +48 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Hierarchy/CreateHierarchy.php +43 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Hierarchy/Hierarchy.php +54 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Hierarchy/HierarchyCreator.php +73 −0 Go to diff View file
A plugins/scaled_agile/include/Program/Hierarchy/HierarchyStore.php +28 −0 Go to diff View file
M plugins/scaled_agile/include/Program/Plan/BuildTracker.php +5 −9 Go to diff View file
M plugins/scaled_agile/include/Program/Plan/CreatePlan.php +6 −8 Go to diff View file
M plugins/scaled_agile/include/Program/Plan/PlanCreator.php +7 −9 Go to diff View file
M plugins/scaled_agile/include/Program/Plan/PlanStore.php +2 −3 Go to diff View file
M plugins/scaled_agile/include/REST/ResourcesInjector.php +2 −0 Go to diff View file
M plugins/scaled_agile/include/REST/v1/ProjectResource.php +9 −9 Go to diff View file
A plugins/scaled_agile/include/REST/v1/ProjectResourcePutHierarchyRepresentation.php +44 −0 Go to diff View file
A plugins/scaled_agile/include/REST/v1/ScaledAgileResource.php +116 −0 Go to diff View file
M plugins/scaled_agile/include/Team/Creation/TeamStore.php +2 −3 Go to diff View file
A plugins/scaled_agile/tests/rest/ScaledAgile/ScaledAgileResourceTest.php +58 −0 Go to diff View file
M plugins/scaled_agile/tests/rest/_fixtures/team_scaled_agile/project.xml +959 −4 Go to diff View file
A plugins/scaled_agile/tests/unit/Adapter/Hierarchy/HierarchyAdapterTest.php +169 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Adapter/Hierarchy/HierarchySaverTest.php +44 −0 Go to diff View file
R plugins/scaled_agile/tests/unit/Adapter/Program/Plan/ProgramTrackerAdapterTest.php Go to diff View file
A plugins/scaled_agile/tests/unit/Adapter/Team/TeamTrackerAdapterTest.php +98 −0 Go to diff View file
A plugins/scaled_agile/tests/unit/Program/Hierarchy/HierarchyCreatorTest.php +58 −0 Go to diff View file
M plugins/scaled_agile/tests/unit/Program/Plan/PlanCreatorTest.php +1 −1 Go to diff View file