HomePhabricator

Conduit APIs to start and stop tracking time in phrequent

Description

Conduit APIs to start and stop tracking time in phrequent

Summary:
This adds methods to start and stop tracking any arbitrary PHID in phrequent. Currently, this uses copy-pasted code from PhrequentTrackController. I had to do this because the code to start/stop was not abstracted into a common class.

Once the code to start/stop working is extracted into a re-usable class, the conduit API can use this as well.

Test Plan: I called the functions with a PHID of a task and ensured that the fields in the phrequent database table was being updated correctly.

Reviewers: skyronic, Blessed Reviewers, epriestley

Reviewed By: Blessed Reviewers, epriestley

Subscribers: maxhodak, erik.fercak, aran, epriestley, Korvin

Maniphest Tasks: T3569, T3970

Differential Revision: https://secure.phabricator.com/D7326

Details

Provenance
hach-queAuthored on
hach-quePushed on Jul 12 2014, 1:42 AM
Reviewer
Blessed Reviewers
Differential Revision
D7326: Conduit APIs to start and stop tracking time in phrequent
Parents
rP9a679bf3746c: Allow worker tasks to have priorities
Branches
Unknown
Tags
Unknown

Event Timeline