Commit Graph

9 Commits

Author SHA1 Message Date
Fei Long Wang 3bcd260b27 Include free router and network credit into total cost
Two small fix including in this patch:

1. Including the free router and free network into the current month
quotation.
2. Fix small typo

Change-Id: I0e2e1ae321687211ee79c304e9a2ade709441a4c
2019-01-09 14:09:02 +13:00
Feilong Wang 00b8e4b19d Improve error catching
Currently the error catching for billing panel is not good, which
may lead user see the general error page. The UX is bad. This patch
is adding a try/except to cover all API calls to Distil to avoid
above issue.

Change-Id: I4abe065d41675933c6ee6be7b82111ce1c149a2c
2018-07-18 14:49:29 +12:00
Amelia Cordwell d7282f9d15 Refactor distil api for distil v2
* Support displaying balance of credits
* Fewer API calls
* Returns data across all regions instead of just the current one
* Support viewing details for previous invoices
* Highlight unpaid invoices

Change-Id: Ic0f950948c83e76d760123046e8ffbd12dd632dd
2017-09-26 06:28:02 +13:00
Amelia Cordwell c66fdf932d Remove urlpatterns from url file
urlpatterns has been deprecated since Django 1.8 and has been
removed in 1.10 (the current version horizon master is on).
Source: https://docs.djangoproject.com/en/1.10/releases/1.8/#django-conf-urls-patterns

Change-Id: Iaf14e7401908f30093ffc6014f5efe46e525c57f
2017-07-11 15:46:59 +12:00
Feilong Wang 8fad6419b8 Improve test coverage
Change-Id: Iad45bf241db7a38efbb4c38b00f8f955f9810be7
2017-06-19 15:21:12 +12:00
Jenkins b1aad7dd19 Merge "Fix wrong host of resource URL" 2017-05-26 00:11:14 +00:00
Fei Long Wang 2f5333889b Fix wrong host of resource URL
Change-Id: I43bbc8d066cd32789dc3e33c0e06d04d0ead3db6
2017-05-25 23:59:41 +00:00
adrian-turjak 4d2507e41b fixing default panel urls
Change-Id: If45994e5ae6e381fba69d1643082176b299ebf71
2017-04-10 15:14:54 +12:00
Fei Long Wang 502b3eb286 Init commit for Distil UI
Some specific Catalyst Cloud stuff are here and there, they will be cleaned
up later after we migrated to Distil v2.

Change-Id: I81df0765cfc876faaa58a43469d87825d30c167e
2017-04-10 11:35:31 +12:00