diff options
author | Jie Hu <hu.jie@zte.com.cn> | 2016-12-06 13:31:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-12-06 13:31:31 +0000 |
commit | 3a203b0a44b6952df2b7f8b93f3d27b421cdd1f6 (patch) | |
tree | ff7d6cccb2024773514b8af6055292ae3f705072 /api/etc/escalator-api-paste.ini | |
parent | 3f262284f3ce78ce23b4e3c8e9fed112fc56e37d (diff) | |
parent | 240007fb0b972692ce239d601654c4d294ff46a2 (diff) |
Merge "add escalator frame"
Diffstat (limited to 'api/etc/escalator-api-paste.ini')
-rw-r--r-- | api/etc/escalator-api-paste.ini | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/api/etc/escalator-api-paste.ini b/api/etc/escalator-api-paste.ini new file mode 100644 index 0000000..d8b1940 --- /dev/null +++ b/api/etc/escalator-api-paste.ini @@ -0,0 +1,23 @@ +# Use this pipeline for no auth - DEFAULT +[pipeline:escalator-api] +pipeline = unauthenticated-context rootapp + +[pipeline:escalator-api-keystone] +pipeline = authtoken context rootapp + +[composite:rootapp] +paste.composite_factory = escalator.api:root_app_factory +/v1: apiv1app + +[app:apiv1app] +paste.app_factory = escalator.api.v1.router:API.factory + +[filter:unauthenticated-context] +paste.filter_factory = escalator.api.middleware.context:UnauthenticatedContextMiddleware.factory + +[filter:authtoken] +paste.filter_factory = keystonemiddleware.auth_token:filter_factory +delay_auth_decision = true + +[filter:context] +paste.filter_factory = escalator.api.middleware.context:ContextMiddleware.factory |