stable

Clone or download

Read-only

Add Restler resource validation for PATCH projects/:id/backlog

This is part of story #10143 add/remove backlog items in planning view "add" and "remove" keys for REST PATCH projects/:id/backlog (and some others as a side effect) are now validated with the Restler built in mechanism of representations. Change-Id: I24740eec37d3dae9ce7ca58d1eeb5280b6e87bd5

Modified Files

Name
M plugins/agiledashboard/include/AgileDashboard/REST/v1/BacklogItemResource.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneElementAdder.php +1 −1 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/Milestone/MilestoneElementRemover.php +1 −9 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/MilestoneResource.class.php +2 −3 Go to diff View file
M plugins/agiledashboard/include/AgileDashboard/REST/v1/ResourcesPatcher.class.php +6 −10 Go to diff View file
M plugins/agiledashboard/phpunit/REST/v1/Milestone/MilestoneElementAdderTest.php +11 −2 Go to diff View file
M plugins/agiledashboard/phpunit/REST/v1/Milestone/MilestoneElementRemoverTests.php +12 −28 Go to diff View file
M src/common/Project/REST/v1/ProjectResource.class.php +2 −2 Go to diff View file
A src/common/REST/v1/BacklogAddRepresentation.php +34 −0 Go to diff View file
A src/common/REST/v1/BacklogRemoveRepresentation.php +29 −0 Go to diff View file
M tests/rest/tests/MilestonesBacklogPatchTest.php +5 −3 Go to diff View file