magnum/magnum/tests
Guang Yee f86de684d2 support http/https proxy for discovery url
HTTP(S) proxy can be specified when creating the template.

https://docs.openstack.org/magnum/latest/admin/magnum-proxy.html

However, it is not being utilized when talking to a public etcd discovery
service, which result in failed cluster creation. We need to be able to
use HTTP(S) proxy when services are running behind a firewall.

NOTE: this patch also updated some test cases to explicitly set
the proper HTTP status code in the mock HTTP request as by default
they are not be initialized, which caused those tests to fail.

Change-Id: I13d86b0dc7c232a51149107f0412219388d8c2cd
story: 2004664
(cherry picked from commit ffc61816c8)
2019-01-25 17:10:38 +00:00
..
contrib Run etcd and flanneld in a system container 2018-02-22 18:21:49 +00:00
functional Merge "Revert "functional: add body for delete_namespaced_service in k8s"" into stable/queens 2018-12-19 14:26:21 +00:00
unit support http/https proxy for discovery url 2019-01-25 17:10:38 +00:00
__init__.py Remove redundant FunctionalTest class 2015-07-15 03:39:11 +08:00
base.py Set is_admin flag correctly in RequestContext 2017-03-03 03:37:08 +00:00
conf_fixture.py Centralize config option: trust section 2016-09-22 05:57:46 +00:00
fake_notifier.py Emit notifications when bay operations get executed 2016-05-19 15:29:56 +08:00
fakes.py Move cluster status updates into driver 2016-12-01 19:52:06 -06:00
policy_fixture.py Register default magnum service and stat policies in code 2017-10-23 02:57:29 +00:00
utils.py Remove redundant code from magnum.test.utils 2015-07-20 21:53:12 +08:00