Add version for metadata url

Change-Id: I75b792ed6629a607aa5e7748c0c11e9881ddd998
This commit is contained in:
Ekaterina Fedorova 2013-12-04 18:12:20 +04:00
parent dc564630d8
commit 5e9783e72d
4 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ def get_endpoint(request):
try:
endpoint = url_for(request, 'murano-metadata')
except ServiceCatalogException:
endpoint = 'http://localhost:8084'
endpoint = 'http://localhost:8084/v1'
log.warning(
'Murano Metadata API location could not be found in Service '
'Catalog, using default: {0}'.format(endpoint))

View File

@ -9,4 +9,4 @@ django-floppyforms==1.1
ordereddict
yaql==0.2
python-muranoclient>=0.3
murano-metadataclient==0.4.dev33.g89019e5
murano-metadataclient==0.4.dev35.g5b1da5e

View File

@ -116,7 +116,7 @@ LOGGING['handlers']['murano-file'] = {'level': 'DEBUG', 'formatter': 'verbose',
LOGGING['loggers']['muranodashboard'] = {'handlers': ['murano-file'], 'level': 'DEBUG'}
LOGGING['loggers']['muranoclient'] = {'handlers': ['murano-file'], 'level': 'ERROR'}
#MURANO_API_URL = "http://localhost:8082"
#MURANO_METADATA_URL = "http://localhost:8084"
#MURANO_METADATA_URL = "http://localhost:8084/v1"
#if murano-api set up with ssl uncomment next strings
#MURANO_API_INSECURE = True
#END_MURANO_DASHBOARD

View File

@ -96,7 +96,7 @@ LOGGING['handlers']['murano-file'] = {'level': 'DEBUG', 'formatter': 'verbose',
LOGGING['loggers']['muranodashboard'] = {'handlers': ['murano-file'], 'level': 'DEBUG'}
LOGGING['loggers']['muranoclient'] = {'handlers': ['murano-file'], 'level': 'ERROR'}
#MURANO_API_URL = "http://localhost:8082"
#MURANO_METADATA_URL = "http://localhost:8084"
#MURANO_METADATA_URL = "http://localhost:8084/v1"
#if murano-api set up with ssl uncomment next strings
#MURANO_API_INSECURE = True
#END_MURANO_DASHBOARD