stable

Clone or download

Read-only

Create service to get all baslines of a given project

Part of epic #12142 Baseline v1 This service will be used by GET /projects/:id/baselines. Entry point: BaselineService->findByProject(). Stubs of created repositories are created with real implementation to ease next developpement (when creating the corresponding route). Change-Id: I8cf55c02b7390322f997584b61df8e9941e888aa

Modified Files

Name
M doc/data_model.graphml +45 −13 Go to diff View file
M doc/data_model.png Binary file Go to diff View file
M include/Adapter/BaselineRepositoryAdapter.php +67 −2 Go to diff View file
A include/Adapter/ProjectRepositoryAdapter.php +42 −0 Go to diff View file
M include/Baseline/BaselineRepository.php +11 −0 Go to diff View file
M include/Baseline/BaselineService.php +15 −0 Go to diff View file
A include/Baseline/BaselinesPage.php +68 −0 Go to diff View file
M include/Baseline/Permissions.php +7 −0 Go to diff View file
M include/Baseline/PermissionsImpl.php +8 −0 Go to diff View file
A include/Baseline/ProjectRepository.php +29 −0 Go to diff View file
M include/Support/ContainerBuilderFactory.php +29 −12 Go to diff View file
A phpunit/Adapter/BaselineRepositoryAdapterTest.php +132 −0 Go to diff View file
M phpunit/Baseline/BaselineServiceTest.php +28 −0 Go to diff View file
M phpunit/Stub/BaselineRepositoryStub.php +26 −1 Go to diff View file
M phpunit/Stub/PermissionsStub.php +13 −2 Go to diff View file
A phpunit/Stub/ProjectRepositoryStub.php +50 −0 Go to diff View file
M site-content/fr_FR/LC_MESSAGES/tuleap-baseline.po +3 −0 Go to diff View file
M site-content/tuleap-baseline.pot +3 −0 Go to diff View file