Disable DEBUG mode for MC plugin newton 35/37135/1
authorYun Huang <yun.huang@windriver.com>
Tue, 20 Mar 2018 14:13:07 +0000 (22:13 +0800)
committerYun Huang <yun.huang@windriver.com>
Tue, 20 Mar 2018 14:13:07 +0000 (22:13 +0800)
Change-Id: I24ba8c1e528e5c1352f6d01047b797b87edc4685
Issue-ID: MULTICLOUD-196
Signed-off-by: Yun Huang <yun.huang@windriver.com>
newton/newton/extensions/views/epacaps.py
newton/newton/extensions/views/extensions.py
newton/newton/proxy/views/identityV3.py
newton/newton/proxy/views/services.py
newton/newton/registration/views/registration.py
newton/newton/settings.py

index 77542b3..7efb71a 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 851bc7e..a40ccdd 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..c831d01 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..c1d4f19 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 69c8583..a7b2831 100644 (file)
@@ -20,7 +20,7 @@ from newton_base.registration import registration as newton_registration
 
 logger = logging.getLogger(__name__)
 
-DEBUG=True
+#DEBUG=True
 
 class Registry(newton_registration.Registry):
 
index a5585a6..4a78f98 100644 (file)
@@ -38,9 +38,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