stable

Clone or download

Read-only

Rename ProgramTracker to TrackerReference

part of request #23043 Program management: clean domain How to test: - No functional change expected. Some non-regression can be tester with cypress end-to-end tests. ProgramTracker is a "lie" as it can also hold trackers from Team projects, including Mirrored Timebox trackers. TrackerReference is a better name because we are used to "reference" being identifier + label in REST context. (here it's also project id + label) This also renames RetrieveTrackerFromProgram to SearchTrackersOfProgram. Search is commonly used in DAOs, here it aims to signify that it can return more than one result, or none at all. Change-Id: I91dd6abe9f9980877027d4aa792ac8728a4b2e2b

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Admin/Configuration/ConfigurationErrorPresenterBuilder.php +10 −10 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/CreationCheck/SemanticChecker.php +3 −3 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/CreationCheck/StatusSemanticChecker.php +5 −5 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/CreationCheck/WorkflowChecker.php +4 −4 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ArtifactCreatorAdapter.php +2 −2 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/ProjectFromTrackerRetriever.php +5 −4 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/ProgramIncrement/Source/Fields/TrackerFromFieldRetriever.php +4 −4 Go to diff View file
M plugins/program_management/include/Adapter/Program/IterationTracker/VisibleIterationTrackerRetriever.php +4 −4 Go to diff View file
M plugins/program_management/include/Adapter/Program/Plan/PlanDao.php +3 −3 Go to diff View file
M plugins/program_management/include/Adapter/Program/PlanningAdapter.php +6 −6 Go to diff View file
M plugins/program_management/include/Adapter/Program/ProgramIncrementTracker/VisibleProgramIncrementTrackerRetriever.php +4 −4 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/TrackerFactoryAdapter.php +8 −8 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/TrackerOfArtifactRetriever.php +1 −1 Go to diff View file
R plugins/program_management/include/Adapter/Workspace/TrackerProxy.php Go to diff View file
M plugins/program_management/include/Adapter/Workspace/UserCanSubmitInTrackerVerifier.php +3 −3 Go to diff View file
M plugins/program_management/include/DisplayAdminProgramManagementController.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/ConfigurationErrorsCollector.php +15 −15 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/FieldsPermissionErrorPresenter.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/RequiredErrorPresenter.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/SemanticErrorPresenter.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/SemanticStatusMissingValuesPresenter.php +4 −4 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/TrackerErrorPresenter.php +7 −7 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/Configuration/WorkFlowErrorPresenter.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilder.php +1 −1 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/PotentialTrackerCollection.php +6 −13 Go to diff View file
M plugins/program_management/include/Domain/Program/Admin/TimeboxTrackerConfiguration/PotentialTimeboxTrackerConfigurationPresenterCollection.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandler.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/CheckSemantic.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/CheckStatus.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/ConfigurationErrorsGatherer.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/IterationCreatorChecker.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorChecker.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/CreationCheck/TimeboxCreatorChecker.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/IterationTracker/IterationLabels.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/IterationTracker/RetrieveVisibleIterationTracker.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/CreateArtifact.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/RetrieveProjectFromTracker.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrement/Source/Fields/RetrieveTrackerFromField.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementLabels.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/ProgramIncrementTracker/RetrieveVisibleProgramIncrementTracker.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/Source/SourceTrackerCollection.php +5 −12 Go to diff View file
M plugins/program_management/include/Domain/Program/Backlog/TrackerCollection.php +5 −12 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/PlanStore.php +2 −2 Go to diff View file
M plugins/program_management/include/Domain/Program/PlanningConfiguration/Planning.php +5 −5 Go to diff View file
M plugins/program_management/include/Domain/Team/MirroredTimebox/RetrievePlanningMilestoneTracker.php +3 −3 Go to diff View file
R plugins/program_management/include/Domain/ProgramTracker.php Go to diff View file
M plugins/program_management/include/Domain/Workspace/RetrieveTracker.php +2 −2 Go to diff View file
R plugins/program_management/include/Domain/Workspace/RetrieveTrackerFromProgram.php Go to diff View file
M plugins/program_management/include/Domain/Workspace/VerifyUserCanSubmit.php +2 −2 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorPresenterBuilderTest.php +16 −9 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Admin/Configuration/ConfigurationErrorsCollectorTest.php +11 −11 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/RequiredFieldCheckerTest.php +7 −7 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/SemanticCheckerTest.php +5 −5 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/StatusSemanticCheckerTest.php +8 −8 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/CreationCheck/WorkflowCheckerTest.php +7 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ArtifactCreatorAdapterTest.php +4 −4 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Backlog/ProgramIncrement/ProjectFromTrackerRetrieverTest.php +10 −11 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Feature/Links/UserStoryRepresentationBuilderTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/IterationTracker/VisibleIterationTrackerRetrieverTest.php +9 −9 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/TrackerFactoryAdapterTest.php +8 −8 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/UserCanSubmitInTrackerVerifierTest.php +7 −7 Go to diff View file
M plugins/program_management/tests/unit/DisplayAdminProgramManagementControllerTest.php +43 −43 Go to diff View file
M plugins/program_management/tests/unit/DisplayProgramBacklogControllerTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/PlannableTrackersConfiguration/PotentialPlannableTrackersConfigurationPresentersBuilderTest.php +11 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/PotentialTrackerCollectionTest.php +7 −8 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Admin/TimeboxTrackerConfiguration/PotentialTimeboxTrackerConfigurationPresenterCollectionTest.php +14 −13 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/CanSubmitNewArtifactHandlerTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ConfigurationErrorsGathererTest.php +16 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/IterationCreatorCheckerTest.php +26 −26 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/ProgramIncrementCreatorCheckerTest.php +16 −16 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TimeboxCreatorCheckerTest.php +7 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/CreationCheck/TrackerErrorPresenterTest.php +52 −26 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/IterationTracker/IterationLabelsTest.php +6 −6 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Changeset/Values/SynchronizedFieldFromProgramAndTeamTrackersCollectionTest.php +6 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrement/Source/Fields/TrackerFromFieldRetrieverTest.php +7 −7 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementLabelsTest.php +3 −3 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/ProgramIncrementTracker/ProgramIncrementTrackerConfigurationTest.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/Source/SourceTrackerCollectionTest.php +10 −14 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Backlog/TrackerCollectionTest.php +34 −10 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/IterationTrackerTest.php +3 −2 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/PlanCreatorTest.php +2 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramIncrementTrackerTest.php +6 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramPlannableTrackerCollectionTest.php +8 −5 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/ProgramPlannableTrackerTest.php +6 −1 Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/TrackerIsValidCheckerTest.php +11 −3 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrievePlanningMilestoneTrackerStub.php +9 −9 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveProjectFromTrackerStub.php +2 −2 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveTrackerFromFieldStub.php +6 −12 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveTrackerStub.php +6 −13 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveVisibleIterationTrackerStub.php +5 −5 Go to diff View file
M plugins/program_management/tests/unit/Stub/RetrieveVisibleProgramIncrementTrackerStub.php +5 −5 Go to diff View file
R plugins/program_management/tests/unit/Stub/RetrieveTrackerFromProgramStub.php Go to diff View file
R plugins/program_management/tests/unit/Stub/ProgramTrackerStub.php Go to diff View file
M plugins/program_management/tests/unit/Stub/VerifyUserCanSubmitStub.php +2 −2 Go to diff View file