deckhand/deckhand/engine
Felipe Monteiro 3dc3f4c47b Simplify document wrapper class
This PS simplifies the DocumentWrapper class by changing the way
it is designed. The purpose of the class was to make it easier
to retrieve nested dictionary attributes from a document. The class
previously inherited from `object` meaning that the object could not
directly be treated as a dictionary, complicating usage of the class.

With this change, the class now inherits from a `dict` meaning that
it can be manipulated the same way a dictionary can, while still
able to return nested dictionary attributes without having to worry
about exceptions getting thrown.

Each property implemented by `DocumentWrapper` uses jsonpath_parse
implements in `deckhand.utils` to retrieve nested attributes or
else self.get() to retrieve first-level dictionary attributes.

Change-Id: I1d73a79aa4c3117be31aab978c20258c1052ad6d
2018-01-19 20:47:56 +00:00
..
schema Improve document validation module. 2018-01-15 16:51:52 -05:00
__init__.py Initial engine framework 2017-07-17 20:46:49 +01:00
document_validation.py Simplify document wrapper class 2018-01-19 20:47:56 +00:00
document_wrapper.py Simplify document wrapper class 2018-01-19 20:47:56 +00:00
layering.py Simplify document wrapper class 2018-01-19 20:47:56 +00:00
secrets_manager.py Simplify document wrapper class 2018-01-19 20:47:56 +00:00
utils.py [feat] DECKHAND-13: Document layering (merge) logic 2017-08-15 21:50:09 +01:00