summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-27 14:18:32 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-27 14:19:15 +0800
commit4dc6af80f315833f14a38b923fa17e9f3e29ee42 (patch)
treeabbeb75a60909fa1be1cd8b699e3925eaaa3330f
parent653c290d76672bb2b8d21ed6ab75e78c9866adb1 (diff)
Disable DEBUG mode for MC plugin ocata
Change-Id: I89e0d449b430e8a9fc0b0785d87c4a21425a4247 Issue-ID: MULTICLOUD-196 Signed-off-by: Yun Huang <yun.huang@windriver.com>
-rw-r--r--ocata/ocata/extensions/views/epacaps.py2
-rw-r--r--ocata/ocata/extensions/views/extensions.py2
-rw-r--r--ocata/ocata/proxy/views/identityV3.py2
-rw-r--r--ocata/ocata/proxy/views/services.py2
-rw-r--r--ocata/ocata/registration/views/registration.py2
-rw-r--r--ocata/ocata/settings.py4
6 files changed, 7 insertions, 7 deletions
diff --git a/ocata/ocata/extensions/views/epacaps.py b/ocata/ocata/extensions/views/epacaps.py
index 77542b31..025d55df 100644
--- a/ocata/ocata/extensions/views/epacaps.py
+++ b/ocata/ocata/extensions/views/epacaps.py
@@ -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):
diff --git a/ocata/ocata/extensions/views/extensions.py b/ocata/ocata/extensions/views/extensions.py
index 61428a5b..2c499f36 100644
--- a/ocata/ocata/extensions/views/extensions.py
+++ b/ocata/ocata/extensions/views/extensions.py
@@ -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):
diff --git a/ocata/ocata/proxy/views/identityV3.py b/ocata/ocata/proxy/views/identityV3.py
index dd280314..eaeeca47 100644
--- a/ocata/ocata/proxy/views/identityV3.py
+++ b/ocata/ocata/proxy/views/identityV3.py
@@ -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):
diff --git a/ocata/ocata/proxy/views/services.py b/ocata/ocata/proxy/views/services.py
index 4bfecdbc..d7c1dc05 100644
--- a/ocata/ocata/proxy/views/services.py
+++ b/ocata/ocata/proxy/views/services.py
@@ -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):
diff --git a/ocata/ocata/registration/views/registration.py b/ocata/ocata/registration/views/registration.py
index d824b88e..30e4c9aa 100644
--- a/ocata/ocata/registration/views/registration.py
+++ b/ocata/ocata/registration/views/registration.py
@@ -26,7 +26,7 @@ from keystoneauth1.exceptions import HttpError
logger = logging.getLogger(__name__)
-DEBUG=True
+# DEBUG=True
class Registry(newton_registration.Registry):
diff --git a/ocata/ocata/settings.py b/ocata/ocata/settings.py
index 169d83ea..aea20e9b 100644
--- a/ocata/ocata/settings.py
+++ b/ocata/ocata/settings.py
@@ -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