adding placeholder for endpoints

Change-Id: Iab2a034976c138df9d7a5ab064858ac6dfc025c9
Create secret - case insensitive Content-Type check

Allows for upper case and mixed case types, subtypes, and parameters
in the Content-Type header field as per RFC 1341. More details can
be found at http://www.w3.org/Protocols/rfc1341/4_Content-Type.html.

Closes-Bug: #1252453
Change-Id: I400a05593e0c622de93a47a0fe0394793eb777f1
Correct RBAC response codes

Change response code form 401 to 403 when an authenticated user attempts to access a resource they do not have permission to.

Closes-Bug: 1291008
Change-Id: I3954da658eaa73e96d0ba1eb91c0892bb03f5fea
Fix string format used to report content validation errors

The format used ('{!s}') was not compatible with Python 2.6. Replaced
this format with ('{0}').

Change-Id: Iab252cf867f16e4da354d9634d8ae4712fefb77e
Closes-Bug: #1291482
Merge "adding placeholder for endpoints"
Merge "Correct RBAC response codes"
Switch to testtools and make barbican compatible with Python2.6

Change-Id: I1e08612d6c9d43808d1f1db166ea1a807c63aae8
Include discover in test-requirements

The discover package is needed to use testr with Python 2.6.

Change-Id: Ia8491afe3250a3cdad9e6c76331dc9aca17e702d
Barbican should not do rbac on version api call

Closes-Bug: #1290445

Change-Id: Idcd52600542b017f54c25a75ec0ab37348eb109d
Make max api request size configurable.

Make the maximum allow request size for the barbican api a configuration option.

Change-Id: Ied2c4c08ea845c45ba689d1daf6b83e42aa6a732
Housekeeping, re-alphabetize requirements

Change-Id: I3c4961419de426c84ca65a8f60e6c438ddd2f798
Merge "Make max api request size configurable."
Remove v1 from the falcon app route

This bug was introduced by a recent change
"Barbican should not do rbac on version api call"
Where the main barbican app was split up into two falcon apps,
one for the version resource, and another for the rest of the
calls.

In the paste file, the latter app was mounted on 'v1' but
because the routes in the falcon app also map to 'v1' this resulted
in all calls being routed to 'v1/v1/{tenant}/...'

This change removes the routes from the app, so that only the
'v1' in the paste configuration is mapped, which fixes the
double v1 route.

Change-Id: I05746f11d262ec7aa4f60aeb44e41217e8bc8a44
Closes-Bug: #1296969
Revive Alembic-based database migration logic.

Alembic migrations were introduced to Barbican a while ago but have not been
used recently. This CR revisits the migration logic and ensures that time-zero
database tables creation is distinguished from Alembic-base schema updates.
The associated database migration script is also revived, allowing for
schema migrations outside of the Barbican boot process.

Change-Id: I3e7fd7ac3f629da18329c22ad11cb9ccc1b7f9f9
Implements: blueprint db-revive-migrations
Merge "Revive Alembic-based database migration logic."