stable

Clone or download

Read-only

Make baselines linked to an artifact (instead of a milestone)

Part of epic #12142 Baseline v1 Update domain model to authorize creation of baselines based on any artifact. This simplify domain model with removing milestone concept and improve genericity which is a future requested feature. Change-Id: I6a76aeba03514d7d8cc08b123d28090b250b2af0

Modified Files

Name
M include/Adapter/BaselineArtifactRepositoryAdapter.php +9 −9 Go to diff View file
M include/Adapter/BaselineRepositoryAdapter.php +4 −4 Go to diff View file
M include/Baseline/Baseline.php +2 −2 Go to diff View file
M include/Baseline/BaselineArtifactRepository.php +1 −1 Go to diff View file
M include/Baseline/TransientBaseline.php +7 −7 Go to diff View file
M include/REST/BaselineController.php +6 −6 Go to diff View file
M include/REST/BaselineRepresentation.php +4 −4 Go to diff View file
M include/REST/BaselinesResource.php +4 −4 Go to diff View file
M phpunit/Adapter/BaselineRepositoryAdapterTest.php +6 −6 Go to diff View file
M phpunit/Baseline/BaselineServiceTest.php +3 −10 Go to diff View file
M phpunit/Factory/BaselineBuilder.php +4 −4 Go to diff View file
M phpunit/Factory/BaselineFactory.php +3 −3 Go to diff View file
M phpunit/REST/BaselineControllerIntTest.php +3 −3 Go to diff View file
M phpunit/REST/BaselineControllerTest.php +12 −12 Go to diff View file
M phpunit/REST/BaselineRepresentationTest.php +2 −3 Go to diff View file
M phpunit/REST/BaselinesPageRepresentationTest.php +1 −2 Go to diff View file
M phpunit/REST/ProjectBaselineControllerIntTest.php +1 −2 Go to diff View file
M phpunit/Stub/BaselineArtifactRepositoryStub.php +7 −7 Go to diff View file
M phpunit/Stub/BaselineRepositoryStub.php +2 −2 Go to diff View file
M scripts/baseline/api/rest-querier.js +1 −1 Go to diff View file
M scripts/baseline/api/rest-querier.spec.js +1 −1 Go to diff View file
M tests/rest/BaselinesResourceTest.php +8 −8 Go to diff View file