Page MenuHomePhabricator

Add some of a billing daemon skeleton
ClosedPublic

Authored by epriestley on Jan 30 2015, 4:31 PM.
Tags
None
Referenced Files
F14478179: D11577.diff
Sat, Dec 28, 4:45 PM
Unknown Object (File)
Fri, Dec 20, 6:41 PM
Unknown Object (File)
Mon, Dec 16, 7:00 PM
Unknown Object (File)
Thu, Dec 12, 7:51 PM
Unknown Object (File)
Sun, Dec 8, 4:58 AM
Unknown Object (File)
Nov 26 2024, 10:10 PM
Unknown Object (File)
Nov 26 2024, 10:10 PM
Unknown Object (File)
Nov 26 2024, 10: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.