drydock/etc/drydock/noauth-api-paste.ini
Scott Hussey 455fa1fb79 NoAuth filter for PasteDeploy
Implement a filter usable by PasteDeploy to forge
the headers normally used by keystonemiddleware to signal
a properly authenitcated request. The filter needs to be
added to the pipeline in paste.ini if noauth support is needed
for testing.

- Add PasteDeploy config to disable keystone config loading

Change-Id: Ie33ee86f1ca8209a6d96cf34c41acd7dca848d58
2017-11-27 10:12:19 -05:00

11 lines
260 B
INI

[app:drydock-api]
disable = keystone
paste.app_factory = drydock_provisioner.drydock:paste_start_drydock
[filter:noauth]
forged_roles = admin
paste.filter_factory = drydock_provisioner.util:noauth_filter_factory
[pipeline:main]
pipeline = noauth drydock-api