stable

Clone or download

Read-only

Split checking of Plannable trackers

part of request #24994 : Javascript error in Iterations planning No functional change expected. Notes: Program Management domain is not supposed to know what a Tracker is. Therefore, we split the code responsible for checking Program Increment, Iteration and Plannable trackers are valid. This way, the underlying implementation could change independently. It is in fact still the same as all three interfaces are implemented by a single adapter that runs the same code. Change-Id: I98420b4a792d4e13239b178cd8e2a15b7a473cfc

Modified Files

Name
M plugins/program_management/include/Adapter/Program/Plan/TrackerConfigurationChecker.php +9 −1 Go to diff View file
M plugins/program_management/include/Adapter/Workspace/Tracker/TrackerFactoryAdapter.php +1 −11 Go to diff View file
R plugins/program_management/include/Domain/Program/Plan/TrackerIsValidChecker.php Go to diff View file
R plugins/program_management/include/Domain/Program/Plan/ProgramPlannableTracker.php Go to diff View file
R plugins/program_management/include/Domain/Program/Plan/ProgramPlannableTrackerCollection.php Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/Plan.php +3 −3 Go to diff View file
M plugins/program_management/include/Domain/Program/Plan/PlanCreator.php +3 −4 Go to diff View file
D plugins/program_management/include/Domain/Workspace/Tracker/RetrieveTracker.php +0 −31 Go to diff View file
M plugins/program_management/include/REST/v1/ProjectResource.php +15 −16 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +1 −1 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Program/Plan/TrackerConfigurationCheckerTest.php +10 −0 Go to diff View file
M plugins/program_management/tests/unit/Adapter/Workspace/Tracker/TrackerFactoryAdapterTest.php +1 −22 Go to diff View file
A plugins/program_management/tests/unit/Domain/Program/Plan/NewPlannableTrackerCollectionTest.php +75 −0 Go to diff View file
R plugins/program_management/tests/unit/Domain/Program/Plan/TrackerIsValidCheckerTest.php Go to diff View file
M plugins/program_management/tests/unit/Domain/Program/Plan/PlanCreatorTest.php +2 −3 Go to diff View file
D plugins/program_management/tests/unit/Domain/Program/Plan/ProgramPlannableTrackerCollectionTest.php +0 −59 Go to diff View file
D plugins/program_management/tests/unit/Domain/Program/Plan/ProgramPlannableTrackerTest.php +0 −55 Go to diff View file
A plugins/program_management/tests/unit/Stub/CheckNewPlannableTrackerStub.php +64 −0 Go to diff View file
D plugins/program_management/tests/unit/Stub/RetrieveTrackerStub.php +0 −48 Go to diff View file