stable

Clone or download

Read-only

Refactoring: extract dedicated object to handle POST

Part of story #12187 configure workflow pre & post actions at target state level No functional change expected on POST /tracker_workflow_transitions Change-Id: Icfa547f6f2fa3b3952c12a337b9a657e2bd813f9

Modified Files

Name
A plugins/tracker/include/REST/v1/Workflow/TransitionPOSTHandler.php +121 −0 Go to diff View file
A plugins/tracker/include/REST/v1/Workflow/TransitionValidator.php +67 −0 Go to diff View file
M plugins/tracker/include/REST/v1/Workflow/TransitionsResource.class.php +27 −101 Go to diff View file
A plugins/tracker/include/Workflow/Transition/TransitionCreationParameters.php +51 −0 Go to diff View file
M plugins/tracker/include/Workflow/TransitionFactory.class.php +5 −10 Go to diff View file
A plugins/tracker/phpunit/REST/v1/Workflow/TransitionPOSTHandlerTest.php +171 −0 Go to diff View file
A plugins/tracker/phpunit/REST/v1/Workflow/TransitionValidatorTest.php +137 −0 Go to diff View file