1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-30 18:52:42 +01:00
phorge-phorge/src/infrastructure/daemon/workers
epriestley d804598f17 Add some of a billing daemon skeleton
Summary:
Ref T6881. This adds the worker, and a script to make it easier to test. It doesn't actually invoice anything.

I'm intentionally allowing the script to double-bill since it makes testing way easier (by letting you bill the same period over and over again), and provides a tool for recovery if billing screws up.

(This diff isn't very interesting, just trying to avoid a 5K-line diff at the end.)

Test Plan: Used `bin/phortune invoice ...` to get the worker to print out some date ranges which it would theoretically invoice.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6881

Differential Revision: https://secure.phabricator.com/D11577
2015-01-30 11:29:05 -08:00
..
__tests__ Daemons - add "objectPHID" to task tables. 2014-12-23 16:30:05 -08:00
action Add some of a billing daemon skeleton 2015-01-30 11:29:05 -08:00
clock Add a "daily routine" trigger clock for backups, etc. 2015-01-19 16:54:23 -08:00
exception Apply some autofix linter rules 2014-09-10 06:55:05 +10:00
management Add some of a billing daemon skeleton 2015-01-30 11:29:05 -08:00
phid Implement PolicyAwareQuery for triggers 2015-01-20 13:32:43 -08:00
query Fix PhabricatorWorkerTriggerQuery method visibility 2015-01-22 16:10:08 -08:00
storage Implement PolicyAwareQuery for triggers 2015-01-20 13:32:43 -08:00
PhabricatorTaskmasterDaemon.php Fix the visibility of PhutilDaemon::run methods 2015-01-16 06:59:29 +11:00
PhabricatorTriggerDaemon.php Implement PolicyAwareQuery for triggers 2015-01-20 13:32:43 -08:00
PhabricatorWorker.php Daemons - add "objectPHID" to task tables. 2014-12-23 16:30:05 -08:00