deckhand/deckhand/tests/unit/db
Felipe Monteiro 8bf4f7407d Revamp document hashing
This PS revamps document hashing. Instead of relying on Python's
built-in hash function to hash the contents of a document (i.e.
metadata and data values), sha256 from hashlib is used instead,
mostly for security purposes.

Further, new parameters have been added to the document DB model:
data_hash and metadata_hash, and the old value hash has been
dropped. The data type for storing the hashes has been changed
to String from BigInt.

Finally, testing documentation was added.

Change-Id: I428ddcbce1007ea990ca0df1aa630072a050c722
2017-10-02 18:09:13 +01:00
..
__init__.py Add unit tests for db documents api. 2017-07-21 05:31:59 +01:00
base.py Revamp document hashing 2017-10-02 18:09:13 +01:00
test_documents.py Revision diffing API. 2017-09-25 21:58:30 +01:00
test_documents_negative.py Revamp document hashing 2017-10-02 18:09:13 +01:00
test_revision_diffing.py Revision diffing API. 2017-09-25 21:58:30 +01:00
test_revision_rollback.py Revision rollback API. 2017-09-25 22:20:47 +01:00
test_revision_rollback_negative.py Revision rollback API. 2017-09-25 22:20:47 +01:00
test_revision_tags.py [feat] DECKHAND-38: Secrets DB model and secrets manager. 2017-09-11 12:39:38 -04:00
test_revision_tags_negative.py Revamp document hashing 2017-10-02 18:09:13 +01:00
test_revisions.py Revision diffing API. 2017-09-25 21:58:30 +01:00