stable

Clone or download

Read-only

Create a dry-run mode form PATCH artifact/:id

This is part of story #11347 have a UI to accesss Move artifact A boolean attribute "dry-run: true" can be provided in the PATCH body content to have a feedback of the move without doing the action. This feedback contains fields that will be moved and fields that not will be moved based on the semantics. Change-Id: I43e6f40e286219bbc1b7625703814208074ccd23

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/Semantic/MoveSemanticInitialEffortChecker.php +9 −4 Go to diff View file
A plugins/tracker/include/REST/v1/ArtifactPatchDryRunFieldsResponseRepresentation.php +48 −0 Go to diff View file
A plugins/tracker/include/REST/v1/ArtifactPatchDryRunResponseRepresentation.php +40 −0 Go to diff View file
A plugins/tracker/include/REST/v1/ArtifactPatchResponseRepresentation.php +40 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +31 −5 Go to diff View file
M plugins/tracker/include/REST/v1/MoveRepresentation.php +5 −0 Go to diff View file
M plugins/tracker/include/Tracker/Action/BeforeMoveArtifact.php +28 −3 Go to diff View file
A plugins/tracker/include/Tracker/Action/Move/FeedbackFieldCollector.php +82 −0 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveArtifact.php +28 −13 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveContributorSemanticChecker.php +7 −2 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveDescriptionSemanticChecker.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveSemanticChecker.php +2 −0 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveStatusSemanticChecker.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Action/MoveTitleSemanticChecker.php +5 −0 Go to diff View file
M plugins/tracker/phpunit/Tracker/Action/BeforeMoveArtifactTest.php +96 −18 Go to diff View file
M plugins/tracker/tests/rest/ArtifactsActions/ArtifactsActionsTest.php +48 −0 Go to diff View file
M plugins/tracker/tests/rest/_fixtures/MoveArtifact/project.xml +1 −1 Go to diff View file