stable

Clone or download

Read-only

Give ProgramIdentifier to PI builder instead of Project

part of story #21368 create mirrored iteration No functional change expected. Replace the generic Project by ProgramIdentifier. ProgramIdentifier is guaranteed to be a Program project, and is more explicit. The "UserCannotSee" exception has been removed because it was never distinguished from "NotFound" and from a user's perspective, it is the same thing (if you can't see a project, it's the same as if it does not exist). Change-Id: I78940ef48e36d78660e693416d538d22dcb9086f

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTask.php +2 −1 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfigurationBuilder.php +3 −11 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ReplicationDataAdapter.php +7 −22 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanProgramIncrementConfigurationBuilder.php +9 −18 Go to diff View file
M plugins/program_management/include/DisplayProgramBacklogController.php +7 −2 Go to diff View file
A plugins/program_management/include/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandler.php +60 −0 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorChecker.php +10 −6 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Plan/BuildPlanProgramIncrementConfiguration.php +7 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Plan/ConfigurationChecker.php +3 −4 Go to diff View file
D plugins/program_management/include/Domain/Program/Backlog/Plan/PlanCheckException.php +0 −27 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/BuildProgramIncrementTrackerConfiguration.php +5 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/CheckProgramIncrement.php +0 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCollectionFactory.php +3 −15 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifier.php +0 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Team/TeamProjectsCollectionBuilder.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/TrackerCollectionFactory.php +4 −7 Go to diff View file
D plugins/program_management/include/Domain/Program/Plan/ConfigurationUserCanNotSeeProgramException.php +0 −33 Go to diff View file
R plugins/program_management/include/Domain/Program/Plan/ProgramNotFoundException.php Go to diff View file
M plugins/program_management/include/Domain/Program/ProgramIdentifier.php +10 −4 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +67 −73 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/AsynchronousCreation/CreateProgramIncrementsTaskTest.php +54 −75 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProgramIncrementTrackerConfigurationBuilderTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Plan/PlanProgramIncrementConfigurationBuilderTest.php +17 −14 Go to diff View file
M plugins/program_management/tests/unit/DisplayProgramBacklogControllerTest.php +41 −26 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandlerTest.php +95 −0 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorCheckerTest.php +23 −16 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementCollectionFactoryTest.php +44 −115 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/ProgramIncrementIdentifierTest.php +1 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Team/TeamProjectsCollectionBuilderTest.php +27 −56 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/PlanningCheck/ConfigurationCheckerTest.php +1 −1 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/ProgramIdentifierTest.php +57 −0 Go to diff View file
M plugins/program_management/tests/unit/Stub/BuildProgramStub.php +8 −13 Go to diff View file
M plugins/program_management/tests/unit/Stub/CheckProgramIncrementStub.php +4 −5 Go to diff View file
M plugins/tracker/tests/unit/Builders/ArtifactTestBuilder.php +7 −0 Go to diff View file