stable

Clone or download

Read-only

refactor: harmonize new changeset value with initial

part of story #24969 [modal] add and remove links (replace current artifact link) No functional change expected at update of artifact link value. The REST payload was being checked multiple times. Merging the extractors and checkers in the builder does not make it very long, so it should be okay. Change-Id: I779aa01d83466d706742e65d0d37879b78a247e1

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Kanban/KanbanItemsResource.php +2 −8 Go to diff View file
M plugins/taskboard/include/REST/v1/Card/CardPatcher.php +2 −8 Go to diff View file
M plugins/taskboard/include/REST/v1/Cell/CardMappedFieldUpdater.php +2 −8 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +2 −8 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php +3 −12 Go to diff View file
D plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksFieldUpdateValueBuilder.php +0 −60 Go to diff View file
D plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksPayloadExtractor.php +0 −51 Go to diff View file
D plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksPayloadStructureChecker.php +0 −56 Go to diff View file
D plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactParentLinkPayloadExtractor.php +0 −41 Go to diff View file
A plugins/tracker/include/REST/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkChangesetValueBuilder.php +105 −0 Go to diff View file
M plugins/tracker/include/REST/Artifact/ChangesetValue/FieldsDataBuilder.php +3 −3 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +3 −12 Go to diff View file
R plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksFieldUpdateValue.php Go to diff View file
R plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksFieldUpdateValueFormatter.php Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ArtifactLink/NewArtifactLinkInitialChangesetValue.php +1 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ChangesetValue/ChangesetValuesContainer.php +5 −5 Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ArtifactUpdaterTest.php +2 −8 Go to diff View file
D plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksPayloadExtractorTest.php +0 −54 Go to diff View file
D plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksPayloadStructureCheckerTest.php +0 −54 Go to diff View file
D plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactParentLinkPayloadExtractorTest.php +0 −49 Go to diff View file
R plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksFieldUpdateValueBuilderTest.php Go to diff View file
M plugins/tracker/tests/unit/REST/Artifact/ChangesetValue/FieldsDataBuilderTest.php +3 −12 Go to diff View file
R plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksFieldUpdateValueFormatterTest.php Go to diff View file
R plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ArtifactLink/ArtifactLinksFieldUpdateValueTest.php Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/ChangesetValue/ChangesetValuesContainerTest.php +2 −2 Go to diff View file