stable

Clone or download

Read-only

ProgramAdminPresenter is now built from a Domain object

part of story #27185 add a team and inherit the existing PI & Iterations No functional changes: - try to add a misconfiguration error in program (exemple remove its title semantic) - try to add a misconfiguration error in a team (exemple add a workflow on team release tracker) - try to add a misconfiguration error in iteration (example in team sprint tracker make a field required) Errors must still be properly displayed AFIK now every presenter needed from administration is built from a domain object Unit tests have been added wheere they were missing This patch should closes the anemic domain refactoring \o/ Change-Id: If6c666570903635619d0f0867bfb742808d35ffe

Modified Files

Name
D plugins/program_management/include/Adapter/Program/Admin/Configuration/ConfigurationErrorPresenterBuilder.php +0 −108 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/Configuration/TrackerErrorPresenter.php +4 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/ProgramAdminPresenter.php +33 −46 Go to diff View file
M plugins/program_management/include/Adapter/Program/Admin/ProgramSelectOptionConfigurationPresenter.php +17 −5 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanDao.php +3 −3 Go to diff View file
A plugins/program_management/include/Adapter/Program/Plan/PlannableTrackersRetriever.php +49 −0 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +55 −163 Go to diff View file
R plugins/program_management/include/Adapter/Program/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilder.php Go to diff View file
R plugins/program_management/include/Adapter/Program/Admin/TimeboxTrackerConfiguration/PotentialTimeboxTrackerConfigurationPresenterCollection.php Go to diff View file
A plugins/program_management/include/Domain/Program/Admin/Configuration/ProgramAdmin.php +266 −0 Go to diff View file
R plugins/program_management/include/Adapter/Program/Admin/Team/TeamsPresenterBuilder.php Go to diff View file
A plugins/program_management/include/Domain/Program/Admin/Configuration/ProgramSelectOptionConfiguration.php +48 −0 Go to diff View file
R plugins/program_management/include/Adapter/Program/Admin/CanPrioritizeItems/ProjectUGroupCanPrioritizeItemsPresentersBuilder.php Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/TrackerError.php +63 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/RetrievePlannableTrackers.php +3 −1 Go to diff View file
A plugins/program_management/include/Domain/Program/Plan/RetrievePlannableTrackersIds.php +31 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +25 −29 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorPresenterBuilderTest.php +0 −177 Go to diff View file
D plugins/program_management/tests/unit/Adapter/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilderTest.php +0 −85 Go to diff View file
A plugins/program_management/tests/unit/Adapter/Program/Plan/PlannableTrackersRetrieverTest.php +66 −0 Go to diff View file
A plugins/program_management/tests/unit/Builder/ConfigurationErrorsGathererBuilder.php +57 −0 Go to diff View file
M plugins/program_management/tests/unit/Builder/ProgramIncrementCreatorCheckerBuilder.php +12 −0 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +18 −54 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Admin/Configuration/PotentialPlannableTrackersConfigurationBuilderTest.php +60 −0 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Admin/Configuration/PotentialTimeboxTrackerConfigurationCollectionTest.php +61 −0 Go to diff View file
R plugins/program_management/tests/unit/Adapter/Admin/Team/TeamsPresenterBuilderTest.php Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Admin/Configuration/ProgramAdminTest.php +159 −0 Go to diff View file
R plugins/program_management/tests/unit/Adapter/Admin/CanPrioritizeItems/ProjectUGroupCanPrioritizeItemsPresentersBuilderTest.php Go to diff View file
R plugins/program_management/tests/unit/Adapter/Admin/Configuration/TrackerErrorPresenterTest.php Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/Configuration/TrackerErrorTest.php +123 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/TimeboxTrackerConfiguration/PotentialTimeboxTrackerConfigurationPresenterCollectionTest.php +4 −3 Go to diff View file
R plugins/program_management/include/Adapter/Program/Admin/Team/TeamPresenter.php Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrievePlannableTrackersStub.php +14 −10 Go to diff View file
M plugins/program_management/tests/unit/Stub/SearchOpenProgramIncrementsStub.php +5 −0 Go to diff View file