stable

Clone or download

Read-only

Remove external dependencies from `ProgramForAdministrationIdentifier`

part of request #22231 Decrease adapter responsibility No functional changes Change-Id: Ic43f836ef86309ff3a7067764d6fd3f5a103f3ab

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Plan/ProgramAdapter.php +5 −14 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/ProjectPermissionVerifier.php +13 −2 Go to diff View file
A plugins/program_management/include/Adapter/Workspace/ProjectProxy.php +46 −0 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +25 −58 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/ProgramForAdministrationIdentifier.php +10 −9 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/PlanCreator.php +13 −21 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/ProgramAccessException.php +5 −1 Go to diff View file
M plugins/program_management/include/Domain/Team/Creation/TeamCreator.php +12 −18 Go to diff View file
A plugins/program_management/include/Domain/Workspace/ProjectIdentifier.php +32 −0 Go to diff View file
M plugins/program_management/include/Domain/Workspace/VerifyProjectPermission.php +1 −1 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +5 −3 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +12 −7 Go to diff View file
M plugins/program_management/tests/rest/v1/Helper/ProgramDataBuilder.php +10 −3 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/ProgramUserGroupRetrieverTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Team/TeamAdapterTest.php +2 −9 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/ProjectPermissionVerifierTest.php +6 −5 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/TrackerFactoryAdapterTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Adapter/XML/ProgramManagementConfigXMLImporterTest.php +2 −10 Go to diff View file
A plugins/program_management/tests/unit/Builder/ProgramForAdministrationIdentifierBuilder.php +56 −0 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +2 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/CanPrioritizeItems/ProjectUGroupCanPrioritizeItemsPresentersBuilderTest.php +2 −11 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilderTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/PotentialTeam/PotentialTeamsBuilderTest.php +3 −15 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/PotentialTrackerCollectionTest.php +2 −9 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/ProgramForAdministrationIdentifierTest.php +13 −9 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/ProgramUserGroupCollectionTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/TimeboxTrackerConfiguration/PotentialTimeboxTrackerConfigurationPresenterCollectionTest.php +2 −9 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Team/TeamProjectsCollectionTest.php +2 −11 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/IterationTrackerTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/PlanCreatorTest.php +3 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramIncrementTrackerTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramPlannableTrackerCollectionTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramPlannableTrackerTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramUserGroupTest.php +2 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Team/TeamCreatorTest.php +3 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Team/Creation/TeamCollectionTest.php +2 −9 Go to diff View file
M plugins/program_management/tests/unit/Domain/XML/ProgramManagementXMLConfigExtractorTest.php +3 −17 Go to diff View file
M plugins/program_management/tests/unit/Domain/XML/ProgramManagementXMLConfigTest.php +3 −17 Go to diff View file
M plugins/program_management/tests/unit/Stub/BuildProgramStub.php +1 −3 Go to diff View file
A plugins/program_management/tests/unit/Stub/ProjectIdentifierStub.php +51 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveUserStub.php +1 −4 Go to diff View file
M plugins/program_management/tests/unit/Stub/VerifyProjectPermissionStub.php +3 −1 Go to diff View file