deckhand/deckhand
Felipe Monteiro 3af01d63d5 Implement Barbican cache for quick secret payload/ref data
This patchset implements caching lookup and reverse-lookup
functions to allow for much faster retrieval of encrypted data
from Barbican, which doesn't currently support batched
requests in its Secrets API.

This behavior is necessary since Deckhand has to potentially
retrieve and store up to dozens of secrets per request. Note
that data for both lookup functions are invalidated
together, as they are tied to the same cache.

This change implements caching around arguably the most
expensive operation in Deckhand: encryption. By
caching encryption itself, the performance of rendering
documents thereby increases in a meaningful way, without
having to implement much logic to pull it off.

A follow up patch set here: https://review.openstack.org/#/c/585842
focuses on caching rendered documents themselves.

Change-Id: I0d330690a3c5e899b763ddcaa00d356007aa23fb
2018-08-22 16:16:26 +01:00
..
barbican Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
client style(pep8): remove identation ignores 2018-06-01 22:08:42 +00:00
common refactor: Use yaml.add_representer to reduce complexity 2018-07-10 19:23:52 +01:00
conf Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
control Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
db Fix typo in revision_diff function 2018-08-14 13:22:45 +05:30
engine Merge "Remove deprecated substitution_sources kwarg" 2018-08-02 18:55:36 +00:00
policies Rename Deckhand bucket endpoint to buckets for consistency 2017-10-27 19:21:03 +01:00
tests Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
__init__.py Oslo config integration (#1) 2017-06-26 16:57:50 -07:00
cmd.py Integrate Deckhand with keystone auth 2017-10-16 19:54:46 +01:00
context.py Integrate Deckhand with keystone auth 2017-10-16 19:54:46 +01:00
errors.py refactor: Use yaml.add_representer to reduce complexity 2018-07-10 19:23:52 +01:00
factories.py Simplify schema validation 2018-07-03 02:07:33 +00:00
policy.py DECKHAND-66: Document substitution implementation 2017-10-13 15:16:27 -04:00
service.py [feature] Endpoint for listing revision validations with details 2018-04-29 01:37:38 +00:00
types.py Simplify schema validation 2018-07-03 02:07:33 +00:00