Revision d861a967 snf-astakos-app/astakos/im/settings.py

b/snf-astakos-app/astakos/im/settings.py
4 4
from astakosclient import astakos_services as vanilla_astakos_services
5 5
from synnefo.util.keypath import get_path
6 6
from synnefo.lib import join_urls
7
from synnefo.lib.services import fill_endpoints
8

  
9
from copy import deepcopy
7 10

  
8 11

  
9 12
BASE_URL = getattr(settings, 'ASTAKOS_BASE_URL',
......
12 15

  
13 16
BASE_HOST, BASE_PATH = parse_base_url(BASE_URL)
14 17

  
18
astakos_services = deepcopy(vanilla_astakos_services)
19
fill_endpoints(astakos_services, BASE_URL)
15 20
ACCOUNTS_PREFIX = get_path(astakos_services, 'astakos_account.prefix')
16 21
VIEWS_PREFIX = get_path(astakos_services, 'astakos_ui.prefix')
17 22
KEYSTONE_PREFIX = get_path(astakos_services, 'astakos_keystone.prefix')

Also available in: Unified diff