Disable DEBUG mode for MC plugin ocata 81/38881/1
authorYun Huang <yun.huang@windriver.com>
Tue, 27 Mar 2018 06:18:32 +0000 (14:18 +0800)
committerYun Huang <yun.huang@windriver.com>
Tue, 27 Mar 2018 06:19:15 +0000 (14:19 +0800)
Change-Id: I89e0d449b430e8a9fc0b0785d87c4a21425a4247
Issue-ID: MULTICLOUD-196
Signed-off-by: Yun Huang <yun.huang@windriver.com>
ocata/ocata/extensions/views/epacaps.py
ocata/ocata/extensions/views/extensions.py
ocata/ocata/proxy/views/identityV3.py
ocata/ocata/proxy/views/services.py
ocata/ocata/registration/views/registration.py
ocata/ocata/settings.py

index 77542b3..025d55d 100644 (file)
@@ -23,7 +23,7 @@ from newton_base.extensions import epacaps as newton_epacaps
 
 logger = logging.getLogger(__name__)
 
-DEBUG=True
+DEBUG=True
 
 
 class EpaCaps(newton_epacaps.EpaCaps):
index 61428a5..2c499f3 100644 (file)
@@ -19,7 +19,7 @@ from newton_base.extensions import extensions as newton_extensions
 
 logger = logging.getLogger(__name__)
 
-DEBUG=True
+DEBUG=True
 
 class Extensions(newton_extensions.Extensions):
 
index dd28031..eaeeca4 100644 (file)
@@ -19,7 +19,7 @@ from newton_base.proxy import identityV3 as newton_identityV3
 
 logger = logging.getLogger(__name__)
 
-DEBUG=True
+DEBUG=True
 
 class Tokens(newton_identityV3.Tokens):
 
index 4bfecdb..d7c1dc0 100644 (file)
@@ -21,7 +21,7 @@ from newton_base.proxy import services as newton_services
 
 logger = logging.getLogger(__name__)
 
-DEBUG=True
+DEBUG=True
 
 class Services(newton_services.Services):
 
index d824b88..30e4c9a 100644 (file)
@@ -26,7 +26,7 @@ from keystoneauth1.exceptions import HttpError
 
 logger = logging.getLogger(__name__)
 
-DEBUG=True
+DEBUG=True
 
 class Registry(newton_registration.Registry):
 
index 169d83e..aea20e9 100644 (file)
@@ -31,9 +31,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 SECRET_KEY = '3o-wney!99y)^h3v)0$j16l9=fdjxcb+a8g+q3tfbahcnu2b0o'
 
 # SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = True
+DEBUG = True
 
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
 
 # Application definition