deckhand/deckhand
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
..
barbican Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
client Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
common Fix: various documentation and URL fixes 2018-09-25 11:44:57 +02:00
conf Implement Barbican cache for quick secret payload/ref data 2018-08-22 16:16:26 +01:00
control fix: Address small issues with revision rollback controller 2018-10-18 09:45:16 -04:00
db Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
engine Merge "optimization: Skip post-validation for rendered document cache hit" 2018-10-16 16:30:32 +00:00
policies Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
tests fix: Address small issues with revision rollback controller 2018-10-18 09:45:16 -04: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 Fix: various documentation and URL fixes 2018-09-25 11:44:57 +02:00
factories.py Adding api for revisions deep diffing 2018-09-17 17:01:34 +05:30
policy.py DECKHAND-66: Document substitution implementation 2017-10-13 15:16:27 -04:00
service.py fix: Address small issues with revision rollback controller 2018-10-18 09:45:16 -04:00
types.py Simplify schema validation 2018-07-03 02:07:33 +00:00