Code Review
/
multicloud
/
openstack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8083053
)
Centralize settings of UT
63/31663/1
author
Yun Huang
<yun.huang@windriver.com>
Wed, 14 Feb 2018 02:25:18 +0000
(10:25 +0800)
committer
Yun 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
patch
|
blob
|
history
diff --git
a/windriver/titanium_cloud/settings.py
b/windriver/titanium_cloud/settings.py
index
8d2684e
..
750e69d
100644
(file)
--- a/
windriver/titanium_cloud/settings.py
+++ b/
windriver/titanium_cloud/settings.py
@@
-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