Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MongoDB #302

Open
laszewsk opened this issue Jan 24, 2019 · 9 comments
Open

MongoDB #302

laszewsk opened this issue Jan 24, 2019 · 9 comments

Comments

@laszewsk
Copy link
Contributor

We have many projects using MongoDB, so we like to add a python MongoDB section to the book

@laszewsk
Copy link
Contributor Author

TAs will add the cloudmesh

cms admin mongo

command that allows users to easily start a DB and manage it from commandline

@laszewsk
Copy link
Contributor Author

Pulashti, fugang. I suggest you start looking at the cms code immediately, I do not have time, but it may no longer work and definitely needs documentation and testing.

Pulashti, add documentation on MongoDB, introduction if not already in handbook, and also a discussion on pymongo

@laszewsk
Copy link
Contributor Author

@laszewsk
Copy link
Contributor Author

@laszewsk
Copy link
Contributor Author

the configuration needs to be in ~/.cloudmesh/cloudmesh.yaml

Students implemented this wrong and also used a

https://github.com/cloudmesh-community/cm/blob/master/cm4/etc/mongo_copy.conf

Which must be eliminated, by potentially merging that content into

cloudmesh:
database:
type: mongodb
.... put the regular stuf such as port and so on here
credentials:
.... put all the needed parameters here

For now cloudmesh4.yaml example contains

https://github.com/cloudmesh-community/cm/blob/master/cm4/etc/cloudmesh4.yaml

a mongo object. but I suggest we change this to the above

@tbalson tbalson modified the milestones: 02-01-2019, sections, chapters Jan 30, 2019
@garbeandy
Copy link
Contributor

I would like to work on this chapter if it is still available for contribution?
I would like to be clear on expectations and can schedule time to review prior to make sure that expectations are met.

@laszewsk
Copy link
Contributor Author

laszewsk commented Feb 7, 2019

In addition to pymongo

see also command

cms admin mongo

loots of good stuff

see the DatabaseUpdate and DatabaseAdd decorator for dicts
see the FlatDict

@laszewsk
Copy link
Contributor Author

laszewsk commented Feb 7, 2019

there is also a long chapter about mongodb

@laszewsk
Copy link
Contributor Author

i think this mostly works we need to work with ms students and verify names.txt

@laszewsk laszewsk mentioned this issue Sep 10, 2019
51 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants