stable

Clone or download

Read-only

Create PostActionUpdate service for CIBuild action

Part of story #12187 configure workflow pre & post actions at target state level This is the first step to expose a REST route which updates all actions of a transaction. The service is available through PostActionsUpdater->updateByTransition() function. Change-Id: Ic9c794ce871acdc4e99fd45fdaaf6eed1f02b488

Modified Files

Name
M plugins/tracker/include/workflow/PostAction/CIBuild/Transition_PostAction_CIBuildDao.class.php +30 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/CIBuild.php +58 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/Internal/CIBuildRepository.php +118 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/Internal/PostActionsDiff.php +65 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/PostAction.php +31 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/PostActionCollection.php +177 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/PostActionVisitor.php +33 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/PostActionsUpdater.php +83 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/SetDateValue.php +69 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/SetFloatValue.php +69 −0 Go to diff View file
A plugins/tracker/include/workflow/PostAction/Update/SetIntValue.php +69 −0 Go to diff View file
A plugins/tracker/phpunit/Workflow/PostAction/Update/Internal/CIBuildRepositoryTest.php +170 −0 Go to diff View file
A plugins/tracker/phpunit/Workflow/PostAction/Update/PostActionCollectionTest.php +96 −0 Go to diff View file
A plugins/tracker/phpunit/Workflow/PostAction/Update/PostActionsUpdaterTest.php +127 −0 Go to diff View file