Revision c836d69f
b/snf-astakos-app/astakos/im/endpoints/qh.py | ||
---|---|---|
43 | 43 |
from astakos.im.settings import QUOTA_HOLDER_URL, LOGGING_LEVEL |
44 | 44 |
|
45 | 45 |
if QUOTA_HOLDER_URL: |
46 |
from quotaholder.clients.kamaki import quotaholder_client
|
|
46 |
from kamaki.clients.quotaholder import QuotaholderClient
|
|
47 | 47 |
|
48 | 48 |
ENTITY_KEY = '1' |
49 | 49 |
|
... | ... | |
64 | 64 |
if not QUOTA_HOLDER_URL: |
65 | 65 |
return client, () |
66 | 66 |
|
67 |
c = client or quotaholder_client(QUOTA_HOLDER_URL)
|
|
67 |
c = client or QuotaholderClient(QUOTA_HOLDER_URL)
|
|
68 | 68 |
func = c.__dict__.get(func_name) |
69 | 69 |
if not func: |
70 | 70 |
return c, () |
... | ... | |
287 | 287 |
m = 'charge type %s not supported' % charge_type |
288 | 288 |
raise ValueError(m) |
289 | 289 |
|
290 |
quotaholder = quotaholder_client(QUOTA_HOLDER_URL)
|
|
290 |
quotaholder = QuotaholderClient(QUOTA_HOLDER_URL)
|
|
291 | 291 |
timeline = quotaholder.get_timeline( |
292 | 292 |
context={}, |
293 | 293 |
after=after, |
b/snf-astakos-app/setup.py | ||
---|---|---|
80 | 80 |
'snf-common>=0.9.0', |
81 | 81 |
'recaptcha-client>=1.0.5', |
82 | 82 |
'django-ratelimit==0.1', |
83 |
'commissioning', |
|
84 |
'quotaholder', |
|
85 | 83 |
'celery', |
86 | 84 |
'requests', |
87 | 85 |
'inflect' |
88 |
#TODO add commissioning |
|
89 | 86 |
] |
90 | 87 |
|
91 | 88 |
EXTRAS_REQUIRES = { |
Also available in: Unified diff