Use werkzeug to run Magnum API with SSL

wsgiref.simple_server is mono threaded process that can not
support SSL context. This patch aim to replace wsgiref.simple_server
with werkzeug for running development API server supporting SSL.

Change-Id: Ib4360d77030e4cce8abf5ea543d87b7982e0e285
Closes-Bug: #1614596
This commit is contained in:
Hieu LE
2016-08-23 10:57:24 +07:00
parent e974f5aae7
commit 70c803bfc1
5 changed files with 113 additions and 16 deletions

View File

@@ -0,0 +1,6 @@
---
upgrade:
- Magnum now support SSL for API service. User can enable SSL for API
via new 3 config options 'enabled_ssl', 'ssl_cert_file' and 'ssl_key_file'.
- Change default API development service from wsgiref simple_server to
werkzeug for better supporting SSL.