mistral/mistral/tests/unit/api
Vlad Gusev 6e05155c1d Add http_proxy_to_wsgi middleware
This sets up the HTTPProxyToWSGI middleware in front of Mistral API. The
purpose of this middleware is to set up the request URL correctly in
the case there is a proxy (for instance, a loadbalancer such as HAProxy)
in front of the Mistral API.

The HTTPProxyToWSGI is off by default and needs to be enabled via a
configuration value.

It can be enabled with the option in mistral.conf:
[oslo_middleware]
enable_proxy_headers_parsing=True

Closes-Bug: #1590608
Closes-Bug: #1816364
Change-Id: I04ba85488b27cb05c3b81ad8c973c3cc3fe56d36
(cherry picked from commit ca1acb656c)
2019-04-08 21:13:03 +00:00
..
v2 Add http_proxy_to_wsgi middleware 2019-04-08 21:13:03 +00:00
__init__.py Moving all API tests under 'mistral.tests.unit' package 2014-09-11 16:42:11 +07:00
base.py Add a config option to disable cron triggers 2017-10-26 13:48:05 +03:00
test_access_control.py Adding Keycloak authorization support. 2018-02-07 09:01:08 +00:00
test_auth.py Add a config option to disable cron triggers 2017-10-26 13:48:05 +03:00
test_cors_middleware.py TrivialFix: remove redundant import alias 2018-01-24 09:51:12 +07:00
test_oslo_middleware.py Add http_proxy_to_wsgi middleware 2019-04-08 21:13:03 +00:00
test_resource_base.py Optimize API layer: using from_db_model() instead of from_dict() 2017-05-22 12:03:17 +07:00
test_resource_list.py Fix next link in get resource list rest API 2018-10-19 10:46:26 +00:00
test_service.py Add a config option to disable cron triggers 2017-10-26 13:48:05 +03:00