diff options
author | Javeme <zhangmei.li@easystack.cn> | 2015-12-16 15:54:16 +0800 |
---|---|---|
committer | Javeme <zhangmei.li@easystack.cn> | 2016-01-19 13:33:11 +0800 |
commit | ed33ec56ab5dede3e9d1d57fc2652a78794435a5 (patch) | |
tree | ff8ad051c96a6bd862c769f2a5b72683df83de73 /etc | |
parent | 336f0f8f34efb465bf827a9e83ff16e52c335d7d (diff) | |
download | heat-ed33ec56ab5dede3e9d1d57fc2652a78794435a5.tar.gz |
deprecate module heat.api.middleware.ssl
Use oslo_middleware.http_proxy_to_wsgi instead of oslo_middleware.ssl
due to the 'oslo_middleware.ssl' module is deprecated.
Change-Id: Ibb137049ca4005dd9a886de1ecc6b00dbae79789
Closes-Bug: #1526656
Diffstat (limited to 'etc')
-rw-r--r-- | etc/heat/api-paste.ini | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/heat/api-paste.ini b/etc/heat/api-paste.ini index b0613156a..5ea89b5ae 100644 --- a/etc/heat/api-paste.ini +++ b/etc/heat/api-paste.ini @@ -1,7 +1,7 @@ # heat-api pipeline [pipeline:heat-api] -pipeline = cors request_id faultwrap ssl versionnegotiation osprofiler authurl authtoken context apiv1app +pipeline = cors request_id faultwrap http_proxy_to_wsgi versionnegotiation osprofiler authurl authtoken context apiv1app # heat-api pipeline for standalone heat # ie. uses alternative auth backend that authenticates users against keystone @@ -12,7 +12,7 @@ pipeline = cors request_id faultwrap ssl versionnegotiation osprofiler authurl a # flavor = standalone # [pipeline:heat-api-standalone] -pipeline = cors request_id faultwrap ssl versionnegotiation authurl authpassword context apiv1app +pipeline = cors request_id faultwrap http_proxy_to_wsgi versionnegotiation authurl authpassword context apiv1app # heat-api pipeline for custom cloud backends # i.e. in heat.conf: @@ -78,9 +78,8 @@ paste.filter_factory = heat.common.context:ContextMiddleware_filter_factory [filter:ec2authtoken] paste.filter_factory = heat.api.aws.ec2token:EC2Token_filter_factory -[filter:ssl] -paste.filter_factory = heat.common.wsgi:filter_factory -heat.filter_factory = heat.api.openstack:sslmiddleware_filter +[filter:http_proxy_to_wsgi] +paste.filter_factory = oslo_middleware:HTTPProxyToWSGI.factory # Middleware to set auth_url header appropriately [filter:authurl] |