deckhand/deckhand/tests
Felipe Monteiro b80df59d11 fix: Address small issues with revision rollback controller
1. There is no exception called `InvalidRollback` in Deckhand (it
was removed a while back). Instead, the only exception that
db_api.revision_rollback raises is RevisionNotFound from
the revision_get call internally.

So catch that instead from the controller.

2. The default value of parameters is `str` so when revision_id
of '0' is passed to the db module for processing, it skips over
the check for `if revision_id == 0` as revision_id is a str,
not int. So this leverages builtin int converter logic in
falcon [0] but requires uplifting the version of falcon to
at least 1.3.0 to make use of it [1].

[0] https://falcon.readthedocs.io/en/stable/api/routing.html#field-converters
[1] https://falcon.readthedocs.io/en/1.3.0/api/routing.html#field-converters

Change-Id: I068cd9e9b6818a5d51501f2718ee2d40d556c094
2018-10-18 09:45:16 -04:00
..
common integration tests: Add Barbican validation/assertions 2018-07-22 16:32:57 +00:00
functional Fix: various documentation and URL fixes 2018-09-25 11:44:57 +02:00
integration integration tests: Add Barbican validation/assertions 2018-07-22 16:32:57 +00:00
unit fix: Address small issues with revision rollback controller 2018-10-18 09:45:16 -04:00
__init__.py Initial engine framework 2017-07-17 20:46:49 +01:00
deckhand.conf.test Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
test_utils.py Move retrieval of encrypted documents to Deckhand controller 2018-07-08 23:16:26 +00:00