Page MenuHomePhabricator

Make it possible for applications to generate concrete subscriptions
ClosedPublic

Authored by epriestley on Jan 30 2015, 12:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Sep 2, 6:33 AM
Unknown Object (File)
Sun, Sep 1, 7:15 AM
Unknown Object (File)
Sun, Sep 1, 2:37 AM
Unknown Object (File)
Sun, Sep 1, 2:37 AM
Unknown Object (File)
Sun, Sep 1, 2:37 AM
Unknown Object (File)
Fri, Aug 30, 7:30 AM
Unknown Object (File)
Thu, Aug 29, 4:17 PM
Unknown Object (File)
Tue, Aug 27, 3:22 PM
Subscribers

Details

Summary

Ref T6881. This still doesn't "work" in any reasonable sense of the word, but gets us a bit further.

I'll build out the Phortune UI a little bit next, then look at implementing the Worker to do actual billing.

Test Plan
  • Allocated an instance and saw a Subscription generate properly.
  • Saw subscription show up in the Phortune UI, albeit in a very limited way.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Make it possible for applications to generate concrete subscriptions.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
src/applications/phortune/storage/PhortuneSubscription.php
134

I'll type some words here

151

This doesn't exist yet, but will in the future.

btrahan edited edge metadata.

Some LiskDAO magic is likely confusing me.

src/applications/phortune/storage/PhortuneSubscription.php
139–146

I figured the $this->setPHID() bit would be in the parent::save() ?

This revision is now accepted and ready to land.Jan 30 2015, 7:09 PM
src/applications/phortune/storage/PhortuneSubscription.php
139–146

Ah, yeah, this doesn't make sense anymore. It got juggled around a bit. I'll fix it, thanks!

epriestley edited edge metadata.
  • Remove now-redundant explicit generation of subscription PHID.
This revision was automatically updated to reflect the committed changes.