Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
649551b9
Commit
649551b9
authored
May 28, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2061 from edx/feanil/revert_docstore_changes
Revert all the docstore related changes.
parents
7184c747
7211df33
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
75 deletions
+39
-75
playbooks/roles/edxapp/defaults/main.yml
+39
-75
No files found.
playbooks/roles/edxapp/defaults/main.yml
View file @
649551b9
...
...
@@ -566,39 +566,6 @@ edxapp_environment:
# yaml based configs is complete
CONFIG_ROOT
:
"
{{
edxapp_app_dir
}}"
EDXAPP_LMS_DRAFT_MONGO_READ_PREFERENCE
:
'
PRIMARY'
EDXAPP_LMS_SPLIT_MONGO_READ_PREFERENCE
:
'
PRIMARY'
EDXAPP_CMS_MONGO_READ_PREFERENCE
:
'
PRIMARY'
EDXAPP_LMS_DRAFT_MONGO_REPLICA_SET
:
!!null
EDXAPP_LMS_SPLIT_MONGO_REPLICA_SET
:
!!null
EDXAPP_CMS_MONGO_REPLICA_SET
:
!!null
edxapp_generic_doc_store_config
:
&edxapp_generic_default_docstore
db
:
"
{{
EDXAPP_MONGO_DB_NAME
}}"
host
:
"
{{
EDXAPP_MONGO_HOSTS
}}"
password
:
"
{{
EDXAPP_MONGO_PASSWORD
}}"
port
:
"
{{
EDXAPP_MONGO_PORT
}}"
user
:
"
{{
EDXAPP_MONGO_USER
}}"
collection
:
'
modulestore'
ssl
:
"
{{
EDXAPP_MONGO_USE_SSL
}}"
edxapp_lms_draft_doc_store_config
:
<<
:
*edxapp_generic_default_docstore
read_preference
:
"
{{
EDXAPP_LMS_DRAFT_MONGO_READ_PREFERENCE
}}"
replicaSet
:
"
{{
EDXAPP_LMS_DRAFT_MONGO_REPLICA_SET
}}"
edxapp_lms_split_doc_store_config
:
<<
:
*edxapp_generic_default_docstore
read_preference
:
"
{{
EDXAPP_LMS_SPLIT_MONGO_READ_PREFERENCE
}}"
replicaSet
:
"
{{
EDXAPP_LMS_SPLIT_MONGO_REPLICA_SET
}}"
edxapp_cms_doc_store_config
:
<<
:
*edxapp_generic_default_docstore
read_preference
:
"
{{
EDXAPP_CMS_MONGO_READ_PREFERENCE
}}"
replicaSet
:
"
{{
EDXAPP_CMS_MONGO_REPLICA_SET
}}"
edxapp_generic_auth_config
:
&edxapp_generic_auth
EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST
:
"
{{
EDXAPP_EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST
}}"
ECOMMERCE_API_SIGNING_KEY
:
"
{{
EDXAPP_ECOMMERCE_API_SIGNING_KEY
}}"
...
...
@@ -606,11 +573,18 @@ edxapp_generic_auth_config: &edxapp_generic_auth
AWS_ACCESS_KEY_ID
:
"
{{
EDXAPP_AWS_ACCESS_KEY_ID
}}"
AWS_SECRET_ACCESS_KEY
:
"
{{
EDXAPP_AWS_SECRET_ACCESS_KEY
}}"
SECRET_KEY
:
"
{{
EDXAPP_EDXAPP_SECRET_KEY
}}"
DOC_STORE_CONFIG
:
"
{{
edxapp_generic_doc_store_config
}}"
XQUEUE_INTERFACE
:
basic_auth
:
"
{{
EDXAPP_XQUEUE_BASIC_AUTH
}}"
django_auth
:
"
{{
EDXAPP_XQUEUE_DJANGO_AUTH
}}"
url
:
"
{{
EDXAPP_XQUEUE_URL
}}"
DOC_STORE_CONFIG
:
&edxapp_generic_default_docstore
db
:
"
{{
EDXAPP_MONGO_DB_NAME
}}"
host
:
"
{{
EDXAPP_MONGO_HOSTS
}}"
password
:
"
{{
EDXAPP_MONGO_PASSWORD
}}"
port
:
"
{{
EDXAPP_MONGO_PORT
}}"
user
:
"
{{
EDXAPP_MONGO_USER
}}"
collection
:
'
modulestore'
ssl
:
"
{{
EDXAPP_MONGO_USE_SSL
}}"
CONTENTSTORE
:
ENGINE
:
'
xmodule.contentstore.mongo.MongoContentStore'
#
...
...
@@ -626,6 +600,35 @@ edxapp_generic_auth_config: &edxapp_generic_auth
ssl
:
"
{{
EDXAPP_MONGO_USE_SSL
}}"
ADDITIONAL_OPTIONS
:
"
{{
EDXAPP_CONTENTSTORE_ADDITIONAL_OPTS
}}"
DOC_STORE_CONFIG
:
*edxapp_generic_default_docstore
MODULESTORE
:
default
:
ENGINE
:
'
xmodule.modulestore.mixed.MixedModuleStore'
OPTIONS
:
mappings
:
"
{{
EDXAPP_XML_MAPPINGS
}}"
stores
:
-
&edxapp_generic_split_modulestore
NAME
:
'
split'
ENGINE
:
'
xmodule.modulestore.split_mongo.split_draft.DraftVersioningModuleStore'
DOC_STORE_CONFIG
:
*edxapp_generic_default_docstore
OPTIONS
:
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
fs_root
:
"
{{
edxapp_course_data_dir
}}"
render_template
:
'
edxmako.shortcuts.render_to_string'
-
&edxapp_generic_draft_modulestore
NAME
:
'
draft'
ENGINE
:
'
xmodule.modulestore.mongo.DraftMongoModuleStore'
DOC_STORE_CONFIG
:
*edxapp_generic_default_docstore
OPTIONS
:
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
fs_root
:
"
{{
edxapp_course_data_dir
}}"
render_template
:
'
edxmako.shortcuts.render_to_string'
-
&edxapp_generic_xml_modulestore
NAME
:
'
xml'
ENGINE
:
'
xmodule.modulestore.xml.XMLModuleStore'
OPTIONS
:
data_dir
:
"
{{
edxapp_course_data_dir
}}"
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
DATABASES
:
read_replica
:
ENGINE
:
'
django.db.backends.mysql'
...
...
@@ -794,32 +797,6 @@ lms_auth_config:
CC_PROCESSOR
:
"
{{
EDXAPP_CC_PROCESSOR
}}"
TRACKING_SEGMENTIO_WEBHOOK_SECRET
:
"
{{
EDXAPP_TRACKING_SEGMENTIO_WEBHOOK_SECRET
}}"
PROFILE_IMAGE_SECRET_KEY
:
"
{{
EDXAPP_PROFILE_IMAGE_SECRET_KEY
}}"
MODULESTORE
:
default
:
ENGINE
:
'
xmodule.modulestore.mixed.MixedModuleStore'
OPTIONS
:
mappings
:
"
{{
EDXAPP_XML_MAPPINGS
}}"
stores
:
-
NAME
:
'
split'
ENGINE
:
'
xmodule.modulestore.split_mongo.split_draft.DraftVersioningModuleStore'
DOC_STORE_CONFIG
:
"
{{
edxapp_lms_split_doc_store_config
}}"
OPTIONS
:
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
fs_root
:
"
{{
edxapp_course_data_dir
}}"
render_template
:
'
edxmako.shortcuts.render_to_string'
-
NAME
:
'
draft'
ENGINE
:
'
xmodule.modulestore.mongo.DraftMongoModuleStore'
DOC_STORE_CONFIG
:
"
{{
edxapp_lms_draft_doc_store_config
}}"
OPTIONS
:
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
fs_root
:
"
{{
edxapp_course_data_dir
}}"
render_template
:
'
edxmako.shortcuts.render_to_string'
-
NAME
:
'
xml'
ENGINE
:
'
xmodule.modulestore.xml.XMLModuleStore'
OPTIONS
:
data_dir
:
"
{{
edxapp_course_data_dir
}}"
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
lms_env_config
:
<<
:
*edxapp_generic_env
...
...
@@ -857,21 +834,8 @@ cms_auth_config:
# mappings: "{{ EDXAPP_XML_MAPPINGS }}"
mappings
:
{}
stores
:
-
NAME
:
'
split'
ENGINE
:
'
xmodule.modulestore.split_mongo.split_draft.DraftVersioningModuleStore'
DOC_STORE_CONFIG
:
"
{{
edxapp_cms_doc_store_config
}}"
OPTIONS
:
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
fs_root
:
"
{{
edxapp_course_data_dir
}}"
render_template
:
'
edxmako.shortcuts.render_to_string'
-
NAME
:
'
draft'
ENGINE
:
'
xmodule.modulestore.mongo.DraftMongoModuleStore'
DOC_STORE_CONFIG
:
"
{{
edxapp_cms_doc_store_config
}}"
OPTIONS
:
default_class
:
'
xmodule.hidden_module.HiddenDescriptor'
fs_root
:
"
{{
edxapp_course_data_dir
}}"
render_template
:
'
edxmako.shortcuts.render_to_string'
-
*edxapp_generic_split_modulestore
-
*edxapp_generic_draft_modulestore
# Commented for now so that it can be tested first: LMS-11258
# - *edxapp_generic_xml_modulestore
PARSE_KEYS
:
"
{{
EDXAPP_PARSE_KEYS
}}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment