| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: Id86fa35bc81d9d24211d8553ac2ef9e91949ba7a
|
|
|
|
|
|
|
|
|
| |
If this middleware detects a server response with existing CORS
headers, it deactivates itself in favor of what is already provided.
This is to support API's (such as Swift) that permit configurable
CORS rules for exposed endpoints.
Change-Id: Ia416bcf6b4cc28025b8204e2eb936a491e8538a6
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This patch modifies the CORS middleware to use the __call__ logic
from its parent class, rather than overriding it. Logic has been
moved into process_request and process_response accordingly.
Change-Id: Ia5907ec37c1103a9b9a24d549a81822b1b3ad332
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the 'request' parameter to the base middleware's
parse_response method. It is intended to support middleware whose
logic is conditional on the request. For example, response header
decorators that respond only to the presence of certain request
headers (If-Not-Match, If-Modified-Since, Origin, etc).
The request parameter has been made optional, in order to be
backwards compatible with older middleware. Additional inspection
has been provided, as well as tests for backwards compatibility.
Change-Id: I5fa94f74765f14bcf79c48ba4c813929da449be3
|
| |
| |
| |
| | |
Change-Id: I9ceca37d91690cbb66ad8789b9a72a92cd450170
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
The patches in the libraries will be put on hold until application
patches have landed, or L2, whichever comes first. At that point, new
versions of the libraries without namespace packages will be released as
a major version update.
Please merge this patch, or an equivalent, before L2 to avoid problems
with those library releases.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: I7344c794b73aca1e0dcad681a4c43e3a66dd2eb3
|
| |
| |
| |
| | |
Change-Id: I0885272d44c0976ba1297a2998445b86af171bb2
|
|/
|
|
| |
Change-Id: Iaeef4aad648b17e48f3106c8fff042240721f62c
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change defines SSLMiddleware middleware which enables OpenStack
services behind SSL termination proxies to return urls with original
protocol scheme.
SSLMiddleware is based on heat SSLMiddleware class.
Change-Id: I72f8da160ced6ac80fdac743c00ea3f7ffb1f57c
Closes-Bug: #1444490
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit bcbfceb716f7259a9a81e5750b60dc6ddc8f0a63.
Related-Bug: #1463478
Change-Id: I37055c4a85ad747de9b177fb0d12f48edc2d63f5
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Blueprint remove-namespace-packages
Depends-on: I38e7c60ec602c33f74de237b6014b4ac13ee4985
for openstack/nova
Change-Id: I3cc1bf69e5e7daccf283d9b9c7f8620d68961de7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The CORS specification permits the declaration of '*' as a response
wildcard domain, which explicitly allows _all_ domains to break
the single-origin policy. While we DO NOT recommend this method,
the ability to set a global policy should be included for the
sake of completeness.
Change-Id: Ifcc65ca74fa976dbd322a7ffd4ffba5443d1df5b
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The Oslo libraries have moved all of their code out of the 'oslo'
namespace package into per-library packages. The namespace package was
retained during kilo for backwards compatibility, but will be removed by
the liberty-2 milestone. This change removes the use of the namespace
package, replacing it with the new package names.
Blueprint: remove-namespace-packages
https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages
Change-Id: I783117608e1e6ea402e1c83309f80d994108baff
|
|/ /
| |
| |
| | |
Change-Id: I8c0137faa571be09168ceb2ba9283c99b8a338e7
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ifa0354af9fa910380125e95c7a96a55b46be1a89
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
This script is part of the oslotest package now.
Change-Id: I61992ae7c0a2c0626f89c0c690afddc99798797e
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to the Healthcheck documentation [1]_ the 200 response returns
"OK" as the body if none of the backends report an application issue.
Current implementation returns empty body which is confusing, so it has
been updated to cover the docs.
[1]
http://docs.openstack.org/developer/oslo.middleware/api.html#oslo_middleware.Healthcheck
Change-Id: I5fb9045112658ef74b8a831bc7814f30c9f42053
Closes-bug: 1414646
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I1f68b02374bb757da62b7ef999a75416cd18d651
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The newer version of oslo_config contains a method that allows
us to load raw values into our fixture directly. This patch updates
the relevant unit tests to use this method instead of the manual
load/clear it was doing previously.
Change-Id: I415bed500995c389c4a4bcf9787609a806562018
|
|/ /
| |
| |
| | |
Change-Id: I5668523f9eb7c46920d97d835ac7c61233eb4195
|
|/
|
|
|
| |
Change-Id: Ibb6b10a15a26b442b5cbf03c378ebf17f9487e58
Depends-On: Ib948b756b8e6ca47a4c9c44c48031e54b7386a06
|
|
|
|
|
|
|
|
|
|
| |
This aims to provide a comprehensive middleware solution
for the CORS (Cross-Origin-Resource-Sharing) specification -
http://www.w3.org/TR/cors/.
Tests and documentation have been provided.
Change-Id: I3c0ff620f10bec2cbf7b748d48fff025aab44351
|
|
|
|
| |
Change-Id: Ie93fdb724aa9593db076121c52e5e42ad772acf1
|
|
|
|
| |
Change-Id: I762bcdb213c7c2ba03255a3c78c28c18e3a33c28
|
|
|
|
| |
Change-Id: I0cbfe30c700d383a42cb21dff04a87b12808e4ee
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Similar to the previous fix, this change ensures that all of the
contents of the library are packaged when the .git repository is not
present.
Change-Id: I125ca872b1784dc389594b59f035cd24b1435c9f
|
|/
|
|
| |
Change-Id: Ib85d1585ff0da8a23245499a83e9f56eab7d3c14
|
|
|
|
|
|
|
|
|
|
| |
Under certain circonstances which I couldn't fully understand
(eg: it works if in a git repo, but not if the .git folder
isn't there), python setup.py install forgets some files, and
not all is there. This patch fixed all issues for me in my
Debian package.
Change-Id: I814c4e91156434b1897eb9f50af4d0b81543ca2b
|
|
|
|
|
|
|
|
| |
This change fix the factory method of the healthcheck middleware
It also adds documentation about how to configure the middleware
Change-Id: Ie549d4686e921a9d407ba2829f69f92216bfcf9a
|
|
|
|
|
|
| |
shortcut to healthcheck middleware to hide module path.
Change-Id: I48539b33baa7b6001bd4c8a963ada34046b12fac
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
The i18n module for this library is private to the library and should
never be used by outside code. Rename the module to reflect this.
Change-Id: I39149056daeeb27428b938fb9cd7278cd42f2444
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
Change-Id: I4ec9b2a310471e4e07867073e9577731ac34027d
Blueprint: drop-namespace-packages
|
|/
|
|
| |
Change-Id: Ife7e7e6eaf96a9a9191312c97b37415f351d1fdd
|
|\ |
|
| |
| |
| |
| |
| | |
Implements blueprint oslo-middleware-healthcheck
Change-Id: Id19a47c07ff4fbf954ab188b7186361ed9ef213a
|
|/
|
|
| |
Change-Id: I9f18bcb41385928b450c1a7249f12fda3fb4528a
|
|
|
|
|
|
| |
Point to the right bug tracker in README.rst.
Change-Id: I87bc7714cd8df7457f535caf29cdee8b055cd8b0
|
|
|
|
|
|
|
|
|
|
| |
Move the public API out of oslo.middleware to oslo_middleware. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.
bp/drop-namespace-packages
Change-Id: If88c65c82b64f096a02f7ec62e019aea4de2f9d3
|