This PS integrates Deckhand with keystone auth so
that Deckhand can check whether a keystone token is
authenticated (by way of keystonemiddleware)
before proceeding with any requests.
The architecture for this PS is borrowed from [0]
which successfully integrates keystone authentication
with the falcon web application framework. However,
additional Deckhand-specific changes were made for
tests to pass.
The following changes have been made:
- add paste deploy configuration file which adds
keystonemiddleware integration to Deckhand; this
makes it trivial for keystonemiddleware to determine
whether a token in the X-Auth-Token header is authenticated
- use paste.deploy to create a web app
- update unit tests for testing controllers
- update functional test script to ignore keystone authentication
because functional tests don't currently support keystone
integration
[0] https://github.com/stannum-l/nautilus
Change-Id: I6eeeb4a4d9ab1f1cc8fb338e5cc21136ab4d5684
40 lines
1.2 KiB
Plaintext
40 lines
1.2 KiB
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
|
|
# Hacking already pins down pep8, pyflakes and flake8
|
|
hacking>=1.0.0 # Apache-2.0
|
|
|
|
falcon>=1.0.0 # Apache-2.0
|
|
pbr!=2.1.0,>=2.0.0 # Apache-2.0
|
|
PasteDeploy>=1.5.0 # MIT
|
|
Paste # MIT
|
|
Routes>=2.3.1 # MIT
|
|
keystoneauth1>=3.2.0 # Apache-2.0
|
|
|
|
six>=1.9.0 # MIT
|
|
oslo.concurrency>=3.8.0 # Apache-2.0
|
|
stevedore>=1.20.0 # Apache-2.0
|
|
python-keystoneclient>=3.8.0 # Apache-2.0
|
|
python-memcached==1.58
|
|
keystonemiddleware>=4.12.0 # Apache-2.0
|
|
psycopg2==2.7.3.1
|
|
uwsgi==2.0.15
|
|
jsonpath-ng==1.4.3
|
|
jsonschema==2.6.0
|
|
|
|
oslo.cache>=1.5.0 # Apache-2.0
|
|
oslo.concurrency>=3.8.0 # Apache-2.0
|
|
oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
|
|
oslo.context>=2.14.0 # Apache-2.0
|
|
oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0
|
|
oslo.db>=4.24.0 # Apache-2.0
|
|
oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
|
|
oslo.log>=3.22.0 # Apache-2.0
|
|
oslo.middleware>=3.27.0 # Apache-2.0
|
|
oslo.policy>=1.23.0 # Apache-2.0
|
|
oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0
|
|
oslo.utils>=3.20.0 # Apache-2.0
|
|
|
|
python-barbicanclient>=4.0.0 # Apache-2.0
|