mistral/mistral
Vlad Gusev ca1acb656c 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
2019-03-09 01:51:59 +03:00
..
actions Fix senlin fake client creation 2018-11-06 11:52:32 +01:00
api Add http_proxy_to_wsgi middleware 2019-03-09 01:51:59 +03:00
auth make user_info_endpoint_url independent of auth_url 2018-10-14 09:21:52 +03:00
cmd Update version.version_string to actually be a string 2018-10-09 11:30:10 -05:00
db Eliminating datetime.now() 2018-11-21 10:51:44 +01:00
engine Sending TASK_FAILED event in case of MistralException 2019-02-07 19:33:10 +00:00
event_engine [Event-engine] Allow event_engine to work in HA 2018-10-17 16:30:17 +00:00
executors Add loging for sending an action to executor 2018-11-28 14:14:16 +07:00
expressions Add YAQL engine options 2018-06-01 17:06:57 +07:00
ext Use the Mistral syntax highlighting on the dsl v2 page 2017-04-06 10:20:34 +01:00
hacking Fix the pep8 commands failed 2017-07-27 22:15:12 +08:00
lang Update OnClauseSPec task name criteria 2018-10-12 11:58:22 -05:00
notifiers Minor improvement of the NoopPublisher 2018-09-03 11:45:57 +00:00
policies Add a policy to control the right to publish resources 2018-07-05 11:46:52 +02:00
resources Fix for YaqlEvaluationException in std.create_instance workflow. 2016-07-12 00:29:23 -04:00
rpc Merge "[Event-engine] Allow event_engine to work in HA" 2018-12-09 11:31:19 +00:00
scheduler Eliminating datetime.now() 2018-11-21 10:51:44 +01:00
service Optimize API layer: using from_db_model() instead of from_dict() 2017-05-22 12:03:17 +07:00
services Merge "[Event-engine] Allow event_engine to work in HA" 2018-12-09 11:31:19 +00:00
tests Add http_proxy_to_wsgi middleware 2019-03-09 01:51:59 +03:00
utils Add http_proxy_to_wsgi middleware 2019-03-09 01:51:59 +03:00
workflow Process all task batches in wf output evaluation 2019-01-15 13:54:41 +01:00
__init__.py Remove eventlet monkey patch in mistral __init__ 2015-02-20 07:49:56 +00:00
_i18n.py Update and optimize documentation links 2017-07-19 17:10:49 +08:00
config.py Add missing ws separator between words 2018-11-21 11:23:37 +08:00
context.py Add http_proxy_to_wsgi middleware 2019-03-09 01:51:59 +03:00
exceptions.py Create Base class for Mistral Exceptions and Errors 2018-05-31 08:47:04 +00:00
messaging.py [Event-engine] Make listener pool name configurable 2017-10-13 10:47:34 +03:00
version.py Update version.version_string to actually be a string 2018-10-09 11:30:10 -05:00