Revision 4080a1df snf-cyclades-app/synnefo/cyclades_settings.py
b/snf-cyclades-app/synnefo/cyclades_settings.py | ||
---|---|---|
35 | 35 |
from synnefo.lib import join_urls, parse_base_url |
36 | 36 |
from synnefo.util.keypath import get_path |
37 | 37 |
from synnefo.api.services import cyclades_services as vanilla_cyclades_services |
38 |
from synnefo.lib.services import fill_endpoints |
|
38 | 39 |
from astakosclient import astakos_services |
39 | 40 |
|
40 | 41 |
from copy import deepcopy |
... | ... | |
48 | 49 |
|
49 | 50 |
CUSTOMIZE_SERVICES = getattr(settings, 'CYCLADES_CUSTOMIZE_SERVICES', ()) |
50 | 51 |
cyclades_services = deepcopy(vanilla_cyclades_services) |
52 |
fill_endpoints(cyclades_services, BASE_URL) |
|
51 | 53 |
for path, value in CUSTOMIZE_SERVICES: |
52 | 54 |
set_path(cyclades_services, path, value, createpath=True) |
53 | 55 |
|
Also available in: Unified diff