| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Blueprint remove-namespace-packages
Co-Authored-By: Doug Hellmann <doug@doughellmann.com>
Closes-Bug: #1463508
Change-Id: I1479f37f500a358cdf7ad416f0257288b65c9245
|
|\ \ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Remove support for python 2.6
* Remove skipsdist : Needs to be set only if
sdist is expensive
* Remove usedevelop : only needed when skipsdist
is set to True
* Remove install_command : We can just use the
default, we don't need to override
* Remove setenv : We can just use the default as
we don't need any extra environment variables
* Remove requirements.txt from deps, as this is
already added automatically
Change-Id: Iad4623157750ca3808f5b2adb712814c98d824fa
|
|\ \ \ \ \
| | |_|/ /
| |/| | | |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Define filter factories so other projects can reference them by name
and can take advantage of the python egg instead of referencing
by the direct path.
Change-Id: Id05c319c1d19261618471fa75983cf8020fc60b6
Closes-Bug: 1500509
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
oslo_config's configfile autodiscovery permits an additional parameter
named 'prog', which will add an additional file name to the possible
files that are checked in oslo_config directories. This patch adds this
parameter to paste-ini initialization, permitting access to more
configuration files.
This feature is required by glance, as glance does not make use of
./glance/glance.conf. Instead, they use ./glance/glance-api.conf. The
appropriate middleware configuration in this case would then be:
oslo_config_project=glance
oslog_config_program=glance-api
Change-Id: Ie530e4fac8076dc46b705770d12940ef91cb4644
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Since most openstack applications do not run on a single
port it is useful to be able to have a single healthcheck
plugin that can respond to requests for different ports with
different files; this way for example keystone admin port can
be disabled while its public port can be kept active (without
having to run two different applications, one for the admin
endpoint and one for the public endpoint).
Change-Id: I0bafb5a2091e54c9f01f24812438296b75afaf63
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
we should've added a shortcut to oslo_middleware/__init__ to hide path.
additionally we shouldn't have added Middleware to class name as it's
redundant
Change-Id: Id581180c24006aa142eb8bf086eb7fc42835cff5
Closes-Bug: #1514507
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The existence of this header is not tested, and therefore can
create fragility downstream as operators deploying an API
may not realize that this setting is needed. If the upstream
library is ever updated to remove this, all downstream projects
will silently fail.
Furthermore, the addition of openstack-specific headers as
defaults in this library makes oslo_middleware less useful
outside of openstack.
The correct way to address this issue is to enable latent
configuration from paste.ini. This way, each service can
include their default headers in their packaged paste file.
This reverts commit 562173aeb7839eaca6274531b0e91147941af6df.
Change-Id: I401011ed055fea49268686deb5c25f02d2ca6164
|
| | |
| | |
| | |
| | | |
Change-Id: Ie6d9cc72562f253d99dd542cb179a21ebede52db
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This specific header is needed for passing keystone token from JS
clients to the OpenStack services, thus making Keystone authentication
possible.
Change-Id: Ib3b7787c0fd1dcc1a1d199c3e32100523f326d9f
|
|/ /
| |
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: I58f84d62bd8c03e2cf56caa3a5b1e9f50f548e3c
|
| |
| |
| |
| | |
Change-Id: I0dcf0b205de230d31c43699b9944ae22b3fc7e01
|
| |
| |
| |
| | |
Change-Id: Ia778b3fbde857888dee29b54215f63ca2abb2c70
|
| |
| |
| |
| | |
Change-Id: I853d618046d9df130074b97d92cd3d57709e9ef4
|
| |
| |
| |
| | |
Change-Id: Iafdbe5f8b12b5d25acc447e3d8d043b5a0faa018
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
A number of configuration errors prevent the successful creation of code
coverage. This corrects the .coveragerc source/omit setup and the tox
package name generation.
http://lists.openstack.org/pipermail/openstack-dev/2015-October/076193.html
Change-Id: I2ee48d5b987cc26fe2de6d538ab278821100b278
|
|/ /
| |
| |
| |
| |
| |
| | |
We can remove openstack-common.conf as we don't
sync any code from oslo-incubator any more.
Change-Id: Ic915216c74966abc43c4a4d39d3ae42d42db64fa
|
| |
| |
| |
| | |
Change-Id: Ic2d3dcadbaaaa2819f2c84b23778a2e407a9b127
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This middleware is supposed to be placed in front of any WSGI
application. It will translate the WSGI environment to an environment
mimicking the environment of the reverse proxy placed in front of it.
It supports translating:
- Protocol via X-Forwarded-Proto
- Host via X-Forwarded-Host
- Prefix via X-Forwarded-Prefix (not standard, but already used in other
projects)
- Forwarded header (RFC7239)
Change-Id: I9e66e17a343fc454016415375bcd5a1285334f5a
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
The current value is launchpad url which is not
appropriate and so changed to Oslo wikipage
Change-Id: I2a324a072869471d8e7f1ece5e1fdadc1bea568f
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ib0c385eceaa15103def2720d8d875c7b218d842f
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add on information about the active threads and active
greenthreads and some basic server information to be able
to show this to operators (or others) that have detailed
mode enabled and can benefit from this information being
output.
This addition makes it so that basic diagnostic information
can be obtained from the response of the healthcheck middleware
and not just OK or NOT OK; making the eventlet backdoor feature
that oslo.service provides less needed for operators.
Change-Id: I469c56586597561633921ebf3916585646f45373
|
|\ \ \ \ |
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Instead of creating a body for a request that is known
to be a HEAD request avoid creating any body in the first
place and just return the status code determined from
the health evaluation.
Closes-Bug: #1494533
Change-Id: I39abee3cdfff4af40355f91d22607e3a2aa52e29
|
|\ \ \ \
| |/ / /
| | / /
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It can be quite useful to have admin endpoints for healthcheck
middleware provide more information about the health of the system.
To enable this kind of information this initial step starts to
add a jinja2 template that will produce the existing simple case
by default, but when setup with detailed mode it can then produce
more information about which checks were performed and there results.
It can be expanded in the future to provide more information as
desired (possibly showing more useful application level info when
in detailed mode).
Closes-Bug: #1494531
Change-Id: I9c6dae848985d950c3cf6798695c7669eb245ccb
|
| |
| |
| |
| |
| |
| | |
TrivialFix
Change-Id: Icaa184373cb1a7775950295863bb8bbd663d875c
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: I5b2a3002d91ed9b6634d8a43c80e896fd66628d3
|
| | |
| | |
| | |
| | | |
Change-Id: I89f8cdc4b396680ced7d1e0da1f072e369fb275b
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | | |
Change-Id: I07466e16af96b99c9db2ed431da7cdbeb36966c7
|
|\ \ \
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As per:
http://lists.openstack.org/pipermail/openstack-dev/2015-August/073338.html
The point behind the addition of the stevedore.sphinxext extension is
"to document drivers and other types of plugins to make the available
sets built into projects easier to discover" (dhellman).
Change-Id: If24f70704dd4840c44e6e72928157078fea80b51
|
| | |
| | |
| | |
| | |
| | |
| | | |
Needed for coverage 4.0
Change-Id: Id112f4abb0c3eb75ebfa9c7462759949f88b6085
|
| | |
| | |
| | |
| | | |
Change-Id: I43586e6f065846a7217bdb0d5461fc414433d839
|
| |/
|/|
| |
| |
| |
| |
| | |
For more information about this automatic import see:
https://wiki.openstack.org/wiki/Translations/Infrastructure
Change-Id: Ibda8436eb29ef110b14f88da9c5d35da6338baa9
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, the code only handle * (wildcard) in allowed_origins when
using OPTIONS. When doing the actual request, * is not handled at all
and therefore the request is denied.
This patch fixes that by handling the wildcard the same way in both code
path.
Change-Id: I7c19b818b5845baca2a999b714ca6ebb90d9633d
|
|/
|
|
|
|
|
|
| |
Current paste filter of cors middleware require allowed_origin.
But it should be required only if oslo_config_project is unset.
Change-Id: I85ae5d5984ea9b2401563c30ba5a83dc8d88acbf
Closes-bug: #1491293
|
|\ |
|