deckhand/deckhand/tests/unit
Doug Aaser 2786769de5 Fix encrypted doc rendering
This patchset fixes a bug where Deckhand was failing to perform
substitution and layering on document sets where all the documents had a
storagePolicy of encrypted. Deckhand would attempt to substitute from an
encrypted source document, but when that document marked as encrypted,
it fails because the source doc had been redacted. The behavior now goes
as follows:

- Resolve Barbican references before layering and substitution have been
  performed so that the prior two operations don't attempt to operate on a
  Barbican reference
- After substitution, redact the destination document if it is marked as
  encrypted
- Now, after substition, we can redact the rest of the documents and
  substitutions

Change-Id: I725775d554c9eed2692fc6203c416a7119646680
2019-10-04 16:33:46 +00:00
..
barbican Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
common Redact rendered Documents 2018-10-24 22:42:25 -04:00
control Fix encrypted doc rendering 2019-10-04 16:33:46 +00:00
db Revision diffing issue with revision rollback. 2018-11-21 11:32:16 -06:00
engine fix: Use schema instead of metadata.schema for replacement check 2018-10-31 15:02:28 -04:00
resources Simplify schema validation 2018-07-03 02:07:33 +00:00
views Validate bucket diffing works with revision rollback 2018-10-18 19:07:42 +01:00
__init__.py Initial engine framework 2017-07-17 20:46:49 +01:00
base.py Validate bucket diffing works with revision rollback 2018-10-18 19:07:42 +01:00
fake_policy.py DECKHAND-66: Document substitution implementation 2017-10-13 15:16:27 -04:00
fixtures.py Redacts Raw Documents 2018-10-19 23:56:12 -05:00
test_policy.py [TrivialFix] Fix incorrect copyright 2017-12-05 21:16:48 +00:00