summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add Python 3.5 classifier and venvmelissaml2016-11-222-1/+2
| | | | | | | | Now that there is a passing gate job, we can claim support for Python 3.5 in the classifier. This patch also adds the convenience py35 venv. Change-Id: I73178227e44caee792e6f7e4f4ddf4cfb07e096d
* Merge "Updated from global requirements"Jenkins2016-11-211-2/+2
|\
| * Updated from global requirementsOpenStack Proposal Bot2016-11-091-2/+2
| | | | | | | | Change-Id: Ibec1f8e1eb921dc16de7e32424e3b8a1fb404738
* | Enable release notes translationChangBo Guo(gcb)2016-11-161-0/+3
|/ | | | | | | | | | | | Releasenote translation publishing is being prepared. 'locale_dirs' needs to be defined in conf.py to generate translated version of the release notes. Note that this repository might not get translated release notes - or no translations at all - but we add the entry here nevertheless to prepare for it. Change-Id: I399cfbc691637ef6e40ecb1e2c18a9227f84e243
* Updated from global requirementsOpenStack Proposal Bot2016-11-021-1/+1
| | | | Change-Id: I89394ebfe69077027322038a13e7a275c43b8a78
* Imported Translations from ZanataOpenStack Proposal Bot2016-11-021-0/+27
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I91b101bd4986278a5d03270fbf8c78020b4be1fa
* Merge "Updated from global requirements"Jenkins2016-11-022-3/+3
|\
| * Updated from global requirementsOpenStack Proposal Bot2016-11-012-3/+3
| | | | | | | | Change-Id: Id67ce4576ba7ff2d9b1434fbc87f61e3dbb9f4d8
* | Allow healthcheck to be configured by oslo.configJamie Lennox2016-11-027-26/+128
|/ | | | | | | | | | | | | It is standard practice in oslo.middleware to allow configuration via both the paste file and the oslo.config file. Projects such as keystone don't allow shipping default configuration in the paste.ini files. Use the configuration methods provided by the existing base middleware to allow configuing via oslo.config and register the sample options available for the middleware. Closes-Bug: #1634329 Change-Id: I33b7b1f9d945280265eb3b712cb85a2d66616c17
* Merge "Replace 'assertEqual(None, ...)' with 'assertIsNone(...)'"Jenkins2016-11-011-3/+3
|\
| * Replace 'assertEqual(None, ...)' with 'assertIsNone(...)'howardlee2016-11-011-3/+3
| | | | | | | | | | | | TrivialFix Change-Id: I15aaf281a1f830b88b372124ffe92e4d77bd8fed
* | TrivialFix: Remove default=None when set value in Configmelissaml2016-10-191-1/+0
|/ | | | | | | | | By default oslo.cfg sets the default values as None [1], There is no need to explicitly do this. [1] https://github.com/openstack/oslo.config/blob/master/oslo_config/cfg.py#L829 Change-Id: Ia91d058a2ba434755ff77fc3162c046fbf0776fd
* Merge "Limit ssl deprecation warning to external importers"3.20.0Jenkins2016-10-171-4/+1
|\
| * Limit ssl deprecation warning to external importersHenry Gessau2016-10-171-4/+1
| | | | | | | | | | | | Closes-Bug: #1629671 Change-Id: I946ee89d9f078e2a766a2b0c89141d067c483cfa
* | Merge "Changed the home-page link"Jenkins2016-10-171-1/+1
|\ \
| * | Changed the home-page linkmelissaml2016-10-161-1/+1
| |/ | | | | | | | | | | Set the correct link for home-page. Change-Id: I026612ee874e7d926c8b82eab5a60c6601c4e951
* | Merge "Deprecated set_latent"Jenkins2016-10-172-18/+4
|\ \ | |/ |/|
| * Deprecated set_latentMichael Krotscheck2016-05-052-18/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the introduction of set_defaults, as well as new documentation features for default values in oslo_config, the CORS middleware has been placed in the odd position where its configuration behaves inconsistently. A user may use set_defaults to set persisted default values that may be overridden, or they may use set_latent to add values that will be applied to every request. As both of these serve essentially the same function, and the latter is only necessary if it is feasible to configure multiple allowed_origins with different CORS properties. With the depecation of multiple configuration blocks, it is no longer necessary to maintain this feature. Therefore, this patch adds the necessary deprecation flags, and removes it from the documentation. Change-Id: Icd44684b3d05ff6a07665348c08adff8245f2523
* | Merge "Add reno for release notes management"Jenkins2016-10-1310-0/+314
|\ \
| * | Add reno for release notes managementKirill Bespalov2016-06-3010-0/+314
| | | | | | | | | | | | | | | | | | | | | An initial patch to add reno and create a base directory for release notes Change-Id: I2fa27beb5d7e2c898ce567dce2add00ccdb54afe
* | | Updated from global requirementsOpenStack Proposal Bot2016-10-121-1/+1
| | | | | | | | | | | | Change-Id: I6bd7d189b1aadb9c74896fc1352e774570abfd46
* | | Updated from global requirementsOpenStack Proposal Bot2016-10-071-1/+1
| | | | | | | | | | | | Change-Id: I1bd0a4c7dbb08d77f9e41b55e40420f1048ceb56
* | | Merge "make sure we handle the forwarded for headers"Jenkins2016-10-062-0/+31
|\ \ \
| * | | make sure we handle the forwarded for headersGuang Yee2016-09-082-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The X-Forwarded-For header or the "for=" component in the Forwarded header (per RFC 7239) is essential for applications to keep track of the originating peer IP. CADF auditing, for example, is relying on REMOTE_ADDR to accurating keeping track of the real client address. If either headers are present, the REMOTE_ADDR WSGI request environment variable will be replaced by the forwarded for address. The Forwarded header have precedence over the X-Forwarded-For header. Change-Id: Ib690e3274cd00d8cfa8a15d341ac433555495ce6
* | | | Updated from global requirementsOpenStack Proposal Bot2016-09-281-2/+2
|/ / / | | | | | | | | | Change-Id: Ic1ee3e75669ce54bdb329fb0d77acb2b2ea78d44
* | | Merge "Show more healthcheck examples"Jenkins2016-08-291-25/+178
|\ \ \
| * | | Show more healthcheck examplesJoshua Harlow2016-08-231-25/+178
| | | | | | | | | | | | | | | | Change-Id: I164b192f85ee9232a92ad7a5e99a3af647813dc8
* | | | Merge "Remove pot files"3.19.0Jenkins2016-08-242-50/+0
|\ \ \ \
| * | | | Remove pot filesAndreas Jaeger2016-08-242-50/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not store pot files anymore in repositories, instead they are published at http://tarballs.openstack.org/translation-source/oslo.middleware/master/ after each commit and thus always accurate. Remove these outdated and obsoleted files. Change-Id: I3af3a1f4d73fac1505c32de82bffc48a376eeecd
* | | | | Merge "Fix inline docstring to use default path (not /status)"Jenkins2016-08-241-2/+2
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Fix inline docstring to use default path (not /status)Joshua Harlow2016-08-231-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Iff4256b7f7b523631ebddb6c9da9323b65cd0613
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-08-241-1/+1
| |/ / / |/| | | | | | | | | | | Change-Id: I078c6d0365fa5cd2b335728e997ade93e9cc2181
* | | | Merge "Fixed typo in SSL"3.18.0Jenkins2016-08-151-1/+1
|\ \ \ \
| * | | | Fixed typo in SSLMaciej Szankin2016-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TrivialFix Change-Id: I71b6996c084a47f46268a9929ba1d527c178240d
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ieb701ffd687316a2d2a84b2d360ca5502b5ac9e2
* | | | | Merge "Fix parameters of assertEqual are misplaced"Jenkins2016-08-125-128/+129
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix parameters of assertEqual are misplacedyan.haifeng2016-07-235-128/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many assertEqual sentences don't follow assertEqual(expected, actual), These misplaces have 2 impacts: 1, giving confusing messages when some tests failed. 2, mislead other developers, new test modules may follow these wrong pattern. This patch fix all of them. Change-Id: I901e87c52aac317c5cd9942aa1cd35a067aaa94d Closes-Bug: #1604213
* | | | | Updated from global requirements3.17.0OpenStack Proposal Bot2016-08-081-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Idfa4664da0c6bffed5d58ad8ab37160e44b67e88
* | | | | Replace deprecated LOG.warn with LOG.warningHaifeng.Yan2016-08-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LOG.warn is deprecated. It is still used in few modules. Replaced with non-deprecated LOG.warning. Change-Id: I62b9878fb1cecd70ffaf614a642c68cb04e22130 Closes-Bug: #1508442
* | | | | Updated from global requirements3.16.0OpenStack Proposal Bot2016-07-291-1/+1
|/ / / / | | | | | | | | | | | | Change-Id: I226cfd2bb2b44583050a57b7039c2280cea7b70e
* | | | Updated from global requirementsOpenStack Proposal Bot2016-07-181-2/+2
| | | | | | | | | | | | | | | | Change-Id: I9726495a68e43fee804bea6535a30e6324d54a40
* | | | Fix unit tests on WindowsGabriel Adrian Samfira2016-07-132-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relatively small fix enabling tests to pass on Windows. Connecting to the ANY address on Windows is not allowed. Also, paths in Windows, most times contain a colon. Doing a split() on a string such as 80:C:\test will yield 3 elements, not 2. Change-Id: Icbf466940d4f1ac2a1d48c63839cd31e2ec62581
* | | | Merge "Deprecate using String as valid value for allowed_origin."3.15.0Jenkins2016-07-111-1/+3
|\ \ \ \
| * | | | Deprecate using String as valid value for allowed_origin.Michael Krotscheck2016-05-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a deprecation note to users that pass strings to what should be a list. Change-Id: If1130b60679011d76d6452a57de31184eb6142f2
* | | | | Merge "Deprecate multiple config block parsing."Jenkins2016-07-112-25/+7
|\ \ \ \ \ | |/ / / /
| * | | | Deprecate multiple config block parsing.Michael Krotscheck2016-05-092-25/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the introduction of set_defaults, as well as new documentation features for default values in oslo_config, the CORS middleware has been placed in the odd position where its configuration behaves inconsistently. If you configure via add_origin, then defaults set in set_defaults are not honored. If you configure via multiple configuration blocks ([cors.foo]), then the defaults are also not honored. Additionally, with the conversion of allowed_origin into a list_opt, there is less direct need for multiple config-block parsing. In order to ensure that the middleware behaves consistently with the rest of oslo, as well as adheres to a set of basic sane assumptions made by consumers, this patch deprecates the code path that searches oslo's configuration for multiple [cors.*] blocks. Subsequent patches will add additional deprecation flags to this end. Change-Id: I49c15ccc2dce03b0dea33ec45ef6e271e58582da
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-07-091-2/+2
| | | | | | | | | | | | | | | | | | | | Change-Id: Ide7df253a6e36a146ad567fc8ef10dac05a85a7c
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-06-301-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: Ic7bc8936c2fc9e1ae59a8cfde3eb50a521485d0e
* | | | | Updated from global requirementsOpenStack Proposal Bot2016-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I69f586a1c9180684dc9626eddd745f32dae94a1b
* | | | | Merge "Expose sample config opts for http-proxy-to-wsgi"3.14.0Jenkins2016-06-162-1/+29
|\ \ \ \ \