Centralize settings of UT 63/31663/1
authorYun Huang <yun.huang@windriver.com>
Wed, 14 Feb 2018 02:25:18 +0000 (10:25 +0800)
committerYun Huang <yun.huang@windriver.com>
Wed, 14 Feb 2018 02:25:18 +0000 (10:25 +0800)
Change-Id: Ia669d463da422804fca1912a87506b1bacb57512
Issue-ID: MULTICLOUD-83
Signed-off-by: Yun Huang <yun.huang@windriver.com>
windriver/titanium_cloud/settings.py

index 8d2684e..750e69d 100644 (file)
@@ -12,6 +12,8 @@
 import os
 import sys
 
+CACHE_EXPIRATION_TIME = 3600
+
 # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 
@@ -114,6 +116,9 @@ CACHES = {
     }
 }
 
+OPENSTACK_VERSION = "newton"
+MULTIVIM_VERSION = "multicloud-" + OPENSTACK_VERSION
+
 if 'test' in sys.argv:
     from titanium_cloud.pub.config import config