stable

Clone or download

Read-only

Create BaselineArtifact entity

Part of epic #12142 Baseline v1 BaselineArtifact represents a tracker artifact in baseline domain. This will prevent legacy data model to corrupt baseline domain. Convertion fromand between legacy is done throw BaselineArtifactAdapter. Change-Id: I109da6209c067cb8e2f6a8a78431cb1a66fc0716

Modified Files

Name
A doc/data_model.html +399 −0 Go to diff View file
M doc/data_model.png Binary file Go to diff View file
A include/Adapter/BaselineArtifactRepositoryAdapter.php +178 −0 Go to diff View file
M include/Adapter/BaselineRepositoryAdapter.php +13 −10 Go to diff View file
D include/Adapter/ChangesetRepositoryAdapter.php +0 −51 Go to diff View file
D include/Adapter/FieldRepositoryAdapter.php +0 −60 Go to diff View file
D include/Adapter/MilestoneRepositoryAdapter.php +0 −57 Go to diff View file
M include/Baseline/Baseline.php +1 −2 Go to diff View file
A include/Baseline/BaselineArtifact.php +87 −0 Go to diff View file
R include/Baseline/ChangesetRepository.php Go to diff View file
D include/Baseline/FieldRepository.php +0 −37 Go to diff View file
D include/Baseline/MilestoneRepository.php +0 −32 Go to diff View file
M include/Baseline/TransientBaseline.php +4 −5 Go to diff View file
M include/REST/BaselineController.php +11 −15 Go to diff View file
M include/Support/ContainerBuilderFactory.php +22 −27 Go to diff View file
M phpunit/Adapter/BaselineRepositoryAdapterTest.php +12 −12 Go to diff View file
M phpunit/Baseline/BaselineServiceTest.php +2 −1 Go to diff View file
A phpunit/Factory/BaselineArtifactBuilder.php +96 −0 Go to diff View file
R phpunit/Factory/MilestoneFactory.php Go to diff View file
M phpunit/Factory/BaselineBuilder.php +3 −3 Go to diff View file
M phpunit/Factory/BaselineFactory.php +3 −7 Go to diff View file
D phpunit/Factory/MilestoneBuilder.php +0 −69 Go to diff View file
M phpunit/Factory/TrackerBuilder.php +9 −0 Go to diff View file
M phpunit/REST/BaselineControllerIntTest.php +3 −3 Go to diff View file
M phpunit/REST/BaselineControllerTest.php +25 −26 Go to diff View file
M phpunit/REST/BaselineRepresentationTest.php +2 −1 Go to diff View file
M phpunit/REST/BaselinesPageRepresentationTest.php +2 −1 Go to diff View file
M phpunit/REST/IntegrationTestCaseWithStubs.php +16 −26 Go to diff View file
M phpunit/REST/ProjectBaselineControllerIntTest.php +3 −7 Go to diff View file
R phpunit/Stub/MilestoneRepositoryStub.php Go to diff View file
M phpunit/Stub/BaselineRepositoryStub.php +1 −1 Go to diff View file
D phpunit/Stub/ChangesetRepositoryStub.php +0 −55 Go to diff View file
D phpunit/Stub/FieldRepositoryStub.php +0 −74 Go to diff View file