Flask-security: DynamoDB User Datastore

Created on 21 Sep 2014  路  3Comments  路  Source: mattupstate/flask-security

Hello,

I've started creating a DynamoDB User Datastore here in a forked repo: (https://github.com/lashex/flask-security/commit/2a88c92e64a64d29c508e17fff403554dd9c9fd9) I have it working within my own project, but before I start poking around with how to get this fully integrated in the public flask_security project I wanted to know if I was starting my contribution in the right way. Essentially, how should I go about adding tests, and examples? would you prefer that I just modify the documentation and add my own tests to the project or would you prefer if I just did the core and you added the tests you'd like to see?

Thanks for any thoughts or guidance.

All 3 comments

Updated commit in the repo: (https://github.com/lashex/flask-security/commit/7132a03f84972753bf1a4688dfaa099bdae5e0f3), with more documentation, code fixes and abstract class implementation of DynamoUser. Should I send in a Pull request as-is or do you have any suggestions as I questioned previously?

@lashex To be quite honest, I'm not very interested in supporting a "cloud" database. Testing this implementation would require integration with AWS which I'm not willing to do.

Just for the record there is a completely mocked "DynamoDB Local" which can run offline or in another container. http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.DynamoDBLocal.html
This is what I use for testing.

Was this page helpful?
0 / 5 - 0 ratings