Fixes for the AWS environment config.
This commit is contained in:
@@ -153,7 +153,7 @@ AWS_SECRET_ACCESS_KEY = AUTH_TOKENS["AWS_SECRET_ACCESS_KEY"]
|
||||
DATABASES = AUTH_TOKENS['DATABASES']
|
||||
MODULESTORE = AUTH_TOKENS['MODULESTORE']
|
||||
CONTENTSTORE = AUTH_TOKENS['CONTENTSTORE']
|
||||
|
||||
DOC_STORE_CONFIG = MODULESTORE['default']['DOC_STORE_CONFIG']
|
||||
# Datadog for events!
|
||||
DATADOG = AUTH_TOKENS.get("DATADOG", {})
|
||||
DATADOG.update(ENV_TOKENS.get("DATADOG", {}))
|
||||
|
||||
@@ -441,3 +441,5 @@ TRACKING_BACKENDS = {
|
||||
# names/passwords. Heartbeat events are likely not interesting.
|
||||
TRACKING_IGNORE_URL_PATTERNS = [r'^/event', r'^/login', r'^/heartbeat']
|
||||
TRACKING_ENABLED = True
|
||||
|
||||
DOC_STORE_CONFIG = None
|
||||
|
||||
@@ -236,6 +236,7 @@ XQUEUE_INTERFACE = AUTH_TOKENS['XQUEUE_INTERFACE']
|
||||
# use the one from common.py
|
||||
MODULESTORE = AUTH_TOKENS.get('MODULESTORE', MODULESTORE)
|
||||
CONTENTSTORE = AUTH_TOKENS.get('CONTENTSTORE', CONTENTSTORE)
|
||||
DOC_STORE_CONFIG = MODULESTORE['default']['DOC_STORE_CONFIG']
|
||||
|
||||
OPEN_ENDED_GRADING_INTERFACE = AUTH_TOKENS.get('OPEN_ENDED_GRADING_INTERFACE',
|
||||
OPEN_ENDED_GRADING_INTERFACE)
|
||||
|
||||
@@ -378,6 +378,7 @@ MODULESTORE = {
|
||||
}
|
||||
}
|
||||
CONTENTSTORE = None
|
||||
DOC_STORE_CONFIG = None
|
||||
|
||||
# Should we initialize the modulestores at startup, or wait until they are
|
||||
# needed?
|
||||
|
||||
Reference in New Issue
Block a user