stable

Clone or download

Read-only

GET baselines/:id (api explorer crash)

Part of epic #12142 Baseline v1 ==> 401 if not authenticated ==> 403 if not authorized ==> 404 if no baseline found with given id Change-Id: I565c9a61b2e50908c0de56480c55542402b7c733

Modified Files

Name
M include/Adapter/BaselineRepositoryAdapter.php +35 −18 Go to diff View file
M include/Baseline/BaselineRepository.php +2 −0 Go to diff View file
M include/Baseline/BaselineService.php +8 −0 Go to diff View file
M include/REST/BaselineController.php +29 −0 Go to diff View file
M include/REST/BaselinesResource.php +30 −0 Go to diff View file
M phpunit/Adapter/BaselineRepositoryAdapterTest.php +53 −0 Go to diff View file
M phpunit/REST/BaselineControllerTest.php +46 −0 Go to diff View file
M phpunit/Stub/BaselineRepositoryStub.php +13 −8 Go to diff View file
M tests/rest/BaselinesResourceTest.php +61 −14 Go to diff View file