diff options
author | Yun Huang <yun.huang@windriver.com> | 2018-03-20 21:19:48 +0800 |
---|---|---|
committer | Yun Huang <yun.huang@windriver.com> | 2018-03-20 21:19:48 +0800 |
commit | 8f2f1ef249d6d807b114a6a7e8cd385101bb578f (patch) | |
tree | ab854f6b18949deadafc5142fa71536d3307c942 /windriver/titanium_cloud | |
parent | bbfb70d39ea3a2dad2e89aad64714b7cb6819147 (diff) |
Disable DEBUG mode for MC plugin windriver
Change-Id: If46e999c75abfb84b66d045f7fa2035f947d57fa
Issue-ID: MULTICLOUD-196
Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud')
7 files changed, 8 insertions, 8 deletions
diff --git a/windriver/titanium_cloud/extensions/views/epacaps.py b/windriver/titanium_cloud/extensions/views/epacaps.py index 77542b31..7efb71a6 100644 --- a/windriver/titanium_cloud/extensions/views/epacaps.py +++ b/windriver/titanium_cloud/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/windriver/titanium_cloud/extensions/views/extensions.py b/windriver/titanium_cloud/extensions/views/extensions.py index 680e2ca6..d331b7b5 100644 --- a/windriver/titanium_cloud/extensions/views/extensions.py +++ b/windriver/titanium_cloud/extensions/views/extensions.py @@ -27,7 +27,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/windriver/titanium_cloud/extensions/views/fcaps.py b/windriver/titanium_cloud/extensions/views/fcaps.py index d5be095f..c36b2642 100644 --- a/windriver/titanium_cloud/extensions/views/fcaps.py +++ b/windriver/titanium_cloud/extensions/views/fcaps.py @@ -35,7 +35,7 @@ from common.msapi import extsys logger = logging.getLogger(__name__) -DEBUG=True +#DEBUG=True #dict to store running worker threads running_threads = {} diff --git a/windriver/titanium_cloud/proxy/views/identityV3.py b/windriver/titanium_cloud/proxy/views/identityV3.py index dd280314..c831d017 100644 --- a/windriver/titanium_cloud/proxy/views/identityV3.py +++ b/windriver/titanium_cloud/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/windriver/titanium_cloud/proxy/views/services.py b/windriver/titanium_cloud/proxy/views/services.py index 4bfecdbc..c1d4f194 100644 --- a/windriver/titanium_cloud/proxy/views/services.py +++ b/windriver/titanium_cloud/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/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py index 69c85837..a7b2831f 100644 --- a/windriver/titanium_cloud/registration/views/registration.py +++ b/windriver/titanium_cloud/registration/views/registration.py @@ -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): diff --git a/windriver/titanium_cloud/settings.py b/windriver/titanium_cloud/settings.py index 27d44a52..f05991a9 100644 --- a/windriver/titanium_cloud/settings.py +++ b/windriver/titanium_cloud/settings.py @@ -32,9 +32,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 |