Page MenuHomePhabricator

Add some of a billing daemon skeleton
ClosedPublic

Authored by epriestley on Jan 30 2015, 4:31 PM.
Tags
None
Referenced Files
F18732053: D11577.diff
Tue, Sep 30, 4:00 PM
F18727026: D11577.id.diff
Tue, Sep 30, 7:29 AM
F18504803: D11577.id.diff
Fri, Sep 5, 12:04 AM
F18496458: D11577.diff
Thu, Sep 4, 5:27 PM
F18380309: D11577.diff
Aug 28 2025, 5:33 PM
F18201185: D11577.diff
Aug 18 2025, 6:41 AM
F17949250: D11577.id.diff
Jul 31 2025, 11:03 PM
F17929468: D11577.diff
Jul 30 2025, 5:10 PM
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.