Revision 890c2065 snf-pithos-app/pithos/api/settings.py
b/snf-pithos-app/pithos/api/settings.py | ||
---|---|---|
15 | 15 |
'0009': 'διογένης' |
16 | 16 |
} |
17 | 17 |
|
18 |
ASTAKOS_URL = getattr(settings, 'PITHOS_ASTAKOS_URL', |
|
19 |
'http://127.0.0.1:8000/im/') |
|
20 |
from urlparse import urljoin |
|
18 |
# Set to False if pithos running in the same machine with the identity management |
|
19 |
PROXY_USER_SERVICES = getattr(settings, 'PITHOS_PROXY_USER_SERVICES', True) |
|
20 |
|
|
21 |
USER_CATALOG_URL = getattr(settings, 'PITHOS_USER_CATALOG_URL', |
|
22 |
'http://127.0.0.1:8000/im/service/api/v2.0/users/') |
|
23 |
USER_FEEDBACK_URL = getattr(settings, 'PITHOS_USER_FEEDBACK_URL', |
|
24 |
'http://127.0.0.1:8000/im/service/api/v2.0/feedback/') |
|
25 |
USER_LOGIN_URL = getattr(settings, 'PITHOS_USER_LOGIN_URL', |
|
26 |
'http:127.0.0.1:8000/login/') |
|
21 | 27 |
AUTHENTICATION_URL = getattr(settings, 'PITHOS_AUTHENTICATION_URL', |
22 |
urljoin(ASTAKOS_URL, 'authenticate/')) |
|
23 |
USER_INFO_URL = getattr(settings, 'PITHOS_USER_INFO_URL', |
|
24 |
urljoin(ASTAKOS_URL, 'service/api/v2.0/users/')) |
|
28 |
'http://localhost:8000/im/authenticate/') |
|
25 | 29 |
AUTHENTICATION_USERS = getattr(settings, 'PITHOS_AUTHENTICATION_USERS', {}) |
26 | 30 |
|
27 | 31 |
COOKIE_NAME = getattr(settings, 'ASTAKOS_COOKIE_NAME', '_pithos2_a') |
Also available in: Unified diff