Skip to content

Conversation

@dmitchell
Copy link
Contributor

as a first step to separating db connection from modeling
and to support location mapper and contentstore using same db config as modulestore

@e0d please review
@chrisndodge @cpennington please review. Ed wanted to complete my separation of the db config from the modulestore config; so, rather than having the modulestore config as a subset of the db config, I separated them
and pass the db config as a dict instead of kwargs to modulestore inits.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need mongo_options? Should they go into the db_store_config?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think the mongo_options should be in the doc_store_config.

@cpennington
Copy link
Contributor

Other than minor comments, 👍

as a first step to separating db connection from modeling
and to support location mapper and contentstore using same db config as modulestore
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpennington here's the replacement of mongo_options with doc_store_config using a nice pattern @singingwolfboy suggested (also in split.py)

@dmitchell
Copy link
Contributor Author

@e0d waiting for your 👍 👎 note, if your yaml used 'mongo_options', move those fields to DOC_STORE_CONFIG

@e0d
Copy link
Contributor

e0d commented Oct 9, 2013

+1

dmitchell added a commit that referenced this pull request Oct 9, 2013
Segregate the mongo db config from the modulestore config
@dmitchell dmitchell merged commit ec01253 into master Oct 9, 2013
@dmitchell dmitchell deleted the dhm/config_separation branch October 9, 2013 20:24
jarv added a commit that referenced this pull request Oct 10, 2013
This reverts commit ec01253, reversing
changes made to ae8c971.
jarv added a commit that referenced this pull request Oct 10, 2013
Revert "Merge pull request #1240 from edx/dhm/config_separation"
dmitchell pushed a commit that referenced this pull request Oct 10, 2013
dmitchell pushed a commit that referenced this pull request Oct 18, 2013
dmitchell added a commit that referenced this pull request Oct 18, 2013
Revert "Revert "Merge pull request #1240 from edx/dhm/config_separation"...
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Dec 21, 2016
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Dec 21, 2016
* Fix enrollment_date for paid course openedx#1240

* Implements ga-self-paced for Studio openedx#1240

* Implements ga-self-paced courseware openedx#1240

* Fix review
jenkins-ks pushed a commit to nttks/edx-platform that referenced this pull request Dec 21, 2016
)

* Change Studio background color for self-paced openedx#1240

* Fix review
lgp171188 pushed a commit to open-craft/openedx-platform that referenced this pull request Nov 30, 2018
* Logs added to get status_code from forums

* Updated comment

* reverted to original state

* Code intended

* pep8 standards followed
lgp171188 pushed a commit to open-craft/openedx-platform that referenced this pull request Nov 30, 2018
iloveagent57 pushed a commit that referenced this pull request Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants