| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change removes the now unused "warnerrors" setting,
which is replaced by "warning-is-error" in sphinx
releases >= 1.5 [1].
[1] http://lists.openstack.org/pipermail/openstack-dev/
2017-March/113085.html
Change-Id: If356e8bfd2ff414037a8688409798b13044fe3b2
|
|/
|
|
| |
Change-Id: Ic325e064e1ab2c2fe31389c03befe9d97ff08d6e
|
|
|
|
| |
Change-Id: I8c8e7b477e2d4c362d1f67928464d9e0a7c3631a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We deprecate and change parameter enforce_type's default value to
True[1], and will remove it int the future, so don't need it anymore.
[1] https://review.openstack.org/328692
Change-Id: I243444f53e14543c5e4ae4c40d9582fb2d17e155
|
|/
|
|
| |
Change-Id: I5edaea8053ea00ea8556157f6a953d4d5842e5a5
|
|
|
|
| |
Change-Id: Ie2f72ad44298c3601a1465160f5c5f873f2c31cf
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
If an inbound header that validates against the regex ``req-$uuid`` is
passed in, we'll set it where oslo.context could later read it. This
creates a mechanism for parents to pass their request-id to children.
Change-Id: I5c5268e8680392395fbe04efe0124575ad8db468
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We discovered that Nova is using a local version of the request_id
header code because it's x-compute-request-id predates
x-openstack-request-id, and things were never migrated after the oslo
code was extracted. In order to let Nova use the base code (which may
become more complicated with inbound request-id setting) we need to
support a compat headers field, which is additional http header names
that should be set with the request-id value.
Change-Id: I18a92f8bf2f85fcf30d32be68bae58f64b135df0
|
| |
| |
| |
| | |
Change-Id: I607978b6bfc0ca34f91c992f1f14b0706ef4c499
|
|/
|
|
| |
Change-Id: Ibef33fb34d4e6848f4a116749f07c16afe7ae1a7
|
|
|
|
| |
Change-Id: I60da2b02b5a758dc6ef57077d0e8dbb88c90ddff
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Use https instead of http to ensure the safety
Change-Id: I0a6a941b6e899d1f9a13e615454befce70f05d54
|
|/
|
|
| |
Change-Id: I040d41c88588f353e52790d16744602f22bd4981
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Webob >=1.7.0 change its way to check if body is readable [1],
The is_body_readable() method returns False now. request.content_length
will be set when set request.body automatically, and if
request.context_length is None request.body will return returns b''.[3]
So just set request.body in test.
[1] https://github.com/Pylons/webob/commit/0e6fcbfbc58af6fdd4e125543bf8f5fb91b984c6
[2] https://github.com/Pylons/webob/blame/master/webob/request.py#L699
[3] https://github.com/Pylons/webob/blame/master/webob/request.py#L692
Closes-Bug: #1679658
Change-Id: I4e0932dd8664d96b2733c5d3b1fa846af0c7d132
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Log messages are no longer being translated.
This removes all use of the _LE, _LI, and _LW
translation markers to simplify logging and to
avoid confusion with new contributions.
See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html
Change-Id: I797b5f0374d6f8ca1cb4641246cab414aa5466dd
|
|
|
|
| |
Change-Id: I541f9d38c847f580f461de75531c2c472cbe532b
|
|
|
|
| |
Change-Id: Ia6f0c93b68aef3baa5099ad51587cecd2ab923c7
|
|
|
|
|
|
|
|
|
| |
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ifd5506f7cbaeda3ce198e8e3213dcfbf629a8c90
|
|
|
|
| |
Change-Id: I4a7664a970bd14deb09a765707588509a2197e5f
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to pass into VersionInfo what one would expect from running:
setup.py --name
Right now we pass in say oslo_context and pbr fails if there is no .git in
the python source tree
Closes-Bug: #1662266
Change-Id: Ia1495af62a02410607c27f443af59dc20b052072
|
|
|
|
| |
Change-Id: I55b809bb367e97bf7278784a317632eec18a5a25
|
|
|
|
|
|
|
|
|
| |
If an exception is caught by the catch_errors middleware the entire
request is dumped into the log including sensitive information like
tokens. Filter that information before outputting the failed request.
Closes-Bug: #1628031
Change-Id: I2563403993513c37751576223275350cac2e0937
|
|\ |
|
| |
| |
| |
| |
| | |
Change-Id: Idb5ae55971e7f76348c224b1bea5c5e19c6278e0
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The new StatsMiddleware is a Paste filter that examines the URL path and
request method, and sends a stat count and a timer to a statsd host
whose name is based on the path/method.
If your statsd is configured to send stats to Graphite, you'll end up
with stat names of the form:
timer.<appname>.<METHOD>.<path>.<from>.<url>
Because a dot has special meaning in Graphite, dots in API versions that
appear in the path will be replaced with _, so for example v2.1 becomes v2_1,
and v1.0 becomes v1_0.
Change-Id: Ieaffeded1bf81c0782d88f49b6f5209f11744899
|
| |
| |
| |
| | |
Change-Id: I9b4a1c61519986c8f9fb2eeb847735841183715a
|
| |
| |
| |
| |
| |
| |
| | |
Now that there exists only a gate job for Python 3.5 and not 3.4,
we should remove those references to the 3.4 that is untested.
Change-Id: I6264d7d2e1d97291b58b4358f3c397c1fbc320ac
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Openstack common has a wrapper for generating uuids. We should
use that function when generating uuids for consistency.
Change-Id: I50cd018b490dea341e6bcfb3034a0244194b4d99
Closes-Bug: #1082248
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: Ieb7b8a62ef5b8fae79fa41861ad3910ecad988c8
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove oslo.middleware.
Change-Id: I069e64daf9558147fdab947341411b58770d3506
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If X-Auth-Token is logged in files, it may be caught by attackers.
This patch tries to replace token-id by * in log files.
Change-Id: Icf0cd9d4da37575d79a0da94ade979793ad0d3fa
Closes-Bug:#1646254
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The healthcheck middleware has actually wrongly been designed as a
filter, whereas it is its own application.
This patch fixes that by exporting the healthcheck middleware as an
application, while keeping the old behaviour for compatibility with
existing deployment.
Change-Id: I1ff43c71449f1955267faf6a85f4d70f705db097
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This makes sure that if the module organization change, nothing breaks.
Change-Id: Ib4fb1e2210a9cea6b12214e0d1e3570086ac2e68
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The detailed mode is referenced in the documenation but it is never
explained how to enable it. This exposes it in the docs.
Change-Id: I136669a7dd0e6e0d293a9b9ea1b685de82404e2b
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
The link in this file points to the same page that hosts the content.
You can see this here:
http://docs.openstack.org/developer/oslo.middleware/healthcheck_plugins.html
Change-Id: I9645917f8f6d1a586d66ad1a6dddda20f949aeb6
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ibec1f8e1eb921dc16de7e32424e3b8a1fb404738
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|