deckhand/deckhand/tests/unit
Felipe Monteiro 18ae85a229 optimization: Skip post-validation for rendered document cache hit
This patch set adds logic to optimize performance around rendered
documents caching further by implementing logic to skip over
post-rendering validation when cache hits occur. This works because:

* if the result set isn't cached, then post-validation is performed;
  if the post-validation fails the just-cached result set is
  invalidated
* if the result set is cached, then post-validation for that
  result set has already been performed successfully, so it
  can be safely skipped over

It was discovered via profiler anaylsis that document validation
accounts for an appreciable amount of run time, so optimizing
around this makes a noticeable difference.

Change-Id: I18344ea750cf1028a377028f80ecdd931d9672c0
2018-10-02 18:58:07 -05:00
..
barbican Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
common substitution: Recursive pattern replacement 2018-09-12 09:24:46 -06:00
control Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
db Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
engine optimization: Skip post-validation for rendered document cache hit 2018-10-02 18:58:07 -05:00
resources Simplify schema validation 2018-07-03 02:07:33 +00:00
views Remove dead validation policy code. 2018-01-07 21:59:23 -04:00
__init__.py Initial engine framework 2017-07-17 20:46:49 +01:00
base.py Implement rendered documents caching 2018-07-28 20:51:25 +00:00
fake_policy.py DECKHAND-66: Document substitution implementation 2017-10-13 15:16:27 -04:00
fixtures.py trivial: Fix error message for non-matching policy checks 2018-09-16 13:31:01 -06:00
test_policy.py [TrivialFix] Fix incorrect copyright 2017-12-05 21:16:48 +00:00