Add the basics of geographic data distribution and get the tests to work.

This commit is contained in:
Jake Moshenko 2014-06-17 16:03:43 -04:00
parent 2bf12996f5
commit bf98575feb
23 changed files with 198 additions and 100 deletions

View file

@ -72,10 +72,6 @@ class DefaultConfig(object):
# copies.
USE_CDN = True
# Data storage
STORAGE_TYPE = 'LocalStorage'
STORAGE_PATH = 'test/data/registry'
# Authentication
AUTHENTICATION_TYPE = 'Database'
@ -149,3 +145,10 @@ class DefaultConfig(object):
# Feature Flag: Whether to support GitHub build triggers.
FEATURE_GITHUB_BUILD = False
DISTRIBUTED_STORAGE_CONFIG = {
'local_eu': ['LocalStorage', 'test/data/registry/eu'],
'local_us': ['LocalStorage', 'test/data/registry/us'],
}
DISTRIBUTED_STORAGE_PREFERENCE = ['local_us']