ironic/tools
Pavlo Shchelokovskyy 5e8c966a40 Use HTTPProxyToWSGI middleware from oslo
currently it is impossible to use ironic-api for both internal and
public api at the same time when both of those are using (ssl
terminating) proxies as there's only one config option to override the
resource url's in responses ([api]public_endpoint).

This patch adds the http_proxy_to_wsgi middleware from oslo.middleware
to the ironic API service, which, with properly configured proxies,
makes the choice of correct URL automatic, and thus makes such scenario
possible.

As this middleware may potentially not properly handle some
endpoint URL schemas, leave the api.public_endpoint option as a backup,
but it will be ignored when proxy headers parsing is enabled.

Change-Id: I3ce6b0726b479c2835f8777957b2cb12d8098aec
Story: #2006303
Task: #36019
2019-08-02 12:29:37 +00:00
..
config Use HTTPProxyToWSGI middleware from oslo 2019-08-02 12:29:37 +00:00
policy [doc-migration] Add configuration folder for documentation 2017-08-02 13:14:23 +00:00
__init__.py Fix pep8 errors and make it pass Jenkins tests. 2013-05-16 18:40:38 -07:00
bandit.yml Adds bandit template and exclude some of tests 2019-06-20 15:08:43 +08:00
check-releasenotes.py Move execution of 'tools/check-releasenotes.py' to pep8 2018-03-02 12:20:27 +00:00
flake8wrap.sh Remove ironic_tempest_plugin/ directory 2018-01-05 15:12:13 -08:00
link_aggregation_on_windows.ps1 Update docs to portgroup with creating windows images 2018-09-24 04:11:14 +00:00
run_bashate.sh Ignore bashate E044 2018-07-21 17:19:17 -04:00
states_to_dot.py Merge "Show transitions initiated by API requests" 2016-02-09 10:45:14 +00:00
test-setup.sh Prepare for using standard python tests 2017-02-03 14:30:41 -05:00
with_venv.sh Rename files and fix things. 2013-05-07 16:47:55 -07:00