Page MenuHomePhabricator

Add some of a billing daemon skeleton
ClosedPublic

Authored by epriestley on Jan 30 2015, 4:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 25, 2:46 AM
Unknown Object (File)
Fri, Apr 19, 4:42 PM
Unknown Object (File)
Fri, Apr 19, 8:43 AM
Unknown Object (File)
Fri, Apr 19, 8:43 AM
Unknown Object (File)
Fri, Apr 19, 8:37 AM
Unknown Object (File)
Fri, Apr 19, 7:49 AM
Unknown Object (File)
Mon, Apr 8, 8:39 AM
Unknown Object (File)
Mar 5 2024, 3:22 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Branch
sub3
Lint
Lint Passed
SeverityLocationCodeMessage
Advicesrc/applications/phortune/worker/PhortuneSubscriptionWorker.php:11XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 4179
Build 4192: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Add some of a billing daemon skeleton.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 30 2015, 7:16 PM
This revision was automatically updated to reflect the committed changes.