summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Updated from global requirements2.10.0OpenStack Proposal Bot2015-10-161-1/+1
| | | | Change-Id: Ia778b3fbde857888dee29b54215f63ca2abb2c70
* Updated from global requirementsOpenStack Proposal Bot2015-10-141-1/+1
| | | | Change-Id: I853d618046d9df130074b97d92cd3d57709e9ef4
* Updated from global requirementsOpenStack Proposal Bot2015-10-131-1/+1
| | | | Change-Id: Iafdbe5f8b12b5d25acc447e3d8d043b5a0faa018
* Merge "Fix coverage configuration and execution"2.9.0Jenkins2015-10-083-5/+7
|\
| * Fix coverage configuration and executionRonald Bradford2015-10-053-5/+7
| | | | | | | | | | | | | | | | | | | | 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
* | No need for Oslo Incubator SyncDavanum Srinivas2015-10-041-7/+0
|/ | | | | | | We can remove openstack-common.conf as we don't sync any code from oslo-incubator any more. Change-Id: Ic915216c74966abc43c4a4d39d3ae42d42db64fa
* ssl: deprecated in favor of http_proxy_to_wsgiJulien Danjou2015-09-292-1/+7
| | | | Change-Id: Ic2d3dcadbaaaa2819f2c84b23778a2e407a9b127
* Merge "Introduce HTTP Proxy to WSGI middleware"Jenkins2015-09-292-0/+161
|\
| * Introduce HTTP Proxy to WSGI middlewareJulien Danjou2015-09-282-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Fix the home-page in setup.cfg with Oslo wiki page"Jenkins2015-09-291-1/+1
|\ \ | |/ |/|
| * Fix the home-page in setup.cfg with Oslo wiki pagevenkatamahesh2015-09-201-1/+1
| | | | | | | | | | | | | | The current value is launchpad url which is not appropriate and so changed to Oslo wikipage Change-Id: I2a324a072869471d8e7f1ece5e1fdadc1bea568f
* | Merge "Imported Translations from Zanata"Jenkins2015-09-268-28/+34
|\ \
| * | Imported Translations from ZanataOpenStack Proposal Bot2015-09-268-28/+34
| | | | | | | | | | | | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ib0c385eceaa15103def2720d8d875c7b218d842f
* | | Merge "Further improve the healthcheck output"Jenkins2015-09-261-1/+98
|\ \ \
| * | | Further improve the healthcheck outputJoshua Harlow2015-09-171-1/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Avoid any body when request is a HEAD request"Jenkins2015-09-262-9/+53
|\ \ \ \
| * | | | Avoid any body when request is a HEAD requestJoshua Harlow2015-09-172-9/+53
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Allow the healthcheck middleware to provide more detailed responses"Jenkins2015-09-263-20/+174
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Allow the healthcheck middleware to provide more detailed responsesJoshua Harlow2015-09-173-20/+174
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix string formattingAbhijeet Malawade2015-09-251-1/+1
| | | | | | | | | | | | TrivialFix Change-Id: Icaa184373cb1a7775950295863bb8bbd663d875c
* | Merge "Include changelog/history in docs"Jenkins2015-09-252-0/+9
|\ \
| * | Include changelog/history in docsJoshua Harlow2015-09-242-0/+9
| | | | | | | | | | | | Change-Id: I5b2a3002d91ed9b6634d8a43c80e896fd66628d3
* | | Fix typos in docstringJulien Danjou2015-09-251-5/+5
| | | | | | | | | | | | Change-Id: I89f8cdc4b396680ced7d1e0da1f072e369fb275b
* | | Merge "Add shields.io version/downloads links/badges into README.rst"Jenkins2015-09-241-0/+8
|\ \ \
| * | | Add shields.io version/downloads links/badges into README.rstJoshua Harlow2015-09-241-0/+8
| |/ / | | | | | | | | | Change-Id: I07466e16af96b99c9db2ed431da7cdbeb36966c7
* | | Merge "Add plugin doco generated with stevedore.sphinxext"Jenkins2015-09-242-0/+8
|\ \ \ | |/ / |/| |
| * | Add plugin doco generated with stevedore.sphinxextCraige McWhirter2015-09-182-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Change ignore-errors to ignore_errorsMonty Taylor2015-09-211-1/+1
| | | | | | | | | | | | | | | | | | Needed for coverage 4.0 Change-Id: Id112f4abb0c3eb75ebfa9c7462759949f88b6085
* | | Updated from global requirementsOpenStack Proposal Bot2015-09-172-2/+2
| | | | | | | | | | | | Change-Id: I43586e6f065846a7217bdb0d5461fc414433d839
* | | Imported Translations from ZanataOpenStack Proposal Bot2015-09-161-4/+6
| |/ |/| | | | | | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ibda8436eb29ef110b14f88da9c5d35da6338baa9
* | Merge "cors: fix wildcard in actual request"Jenkins2015-09-102-14/+40
|\ \
| * | cors: fix wildcard in actual requestJulien Danjou2015-09-072-14/+40
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | cors: fix filter with oslo_config_project is setMehdi Abaakouk2015-09-022-6/+10
|/ | | | | | | | 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
* Merge "Split option discovery function by middleware"2.8.0Jenkins2015-08-276-4/+136
|\
| * Split option discovery function by middlewareDoug Hellmann2015-08-276-4/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | Create separate option discovery functions for each piece of middleware, so an application that only uses one piece can include only those options in its sample configuration file. Test the results with some unit tests that simply ensure the functions do not raise exceptions, and by adding configuration options to the documentation for the library, using the new integration of oslo.config with sphinx. Change-Id: I4c777cd70c063441f430c48ab1f9c9cac2c1fc75
* | Updated from global requirementsOpenStack Proposal Bot2015-08-271-1/+1
|/ | | | Change-Id: I4b9778404f5653ab439c83707f5b7978d972d05b
* Updated from global requirementsOpenStack Proposal Bot2015-08-261-1/+1
| | | | Change-Id: I462b2e36ec561f31858bcb5da82237c29d119768
* Fix remarks missed on #2098172.7.0Mehdi Abaakouk2015-08-213-8/+17
| | | | | | | | | | Some useful comments have been done on review https://review.openstack.org/#/c/209817 after it have been merged. This change fixes them. Change-Id: I4e36c354576510665d8aa1c95d8e82696d80ce0c
* Added new test for CORS Simple Headers2.6.1Michael Krotscheck2015-08-202-0/+37
| | | | | | | | | It turns out that the simple header list outlined by the CORS specification includes additional headers that were missed during the initial implementation. This patch adds those headers, and includes a test to enforce it moving forward. Change-Id: I06f28102d1fa59d7c647fd08d69ea60e277a653f
* Restore backward compat of paste factoryMehdi Abaakouk2015-08-2010-29/+57
| | | | | | | | | | | | | Some application inherits from our middleware class When we homogenize the signature and configuration handling of all middlewares we break them. This change fixes that. Closes-bug: #1486735 Change-Id: I40c3d59110c6f8c5a1b3d3ccc734dc441069b025
* Merge "Do not dump HealthcheckResult class source"2.6.0Jenkins2015-08-171-1/+1
|\
| * Do not dump HealthcheckResult class sourceDavanum Srinivas2015-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | If verbose is true, the class definition is printed just before being built. We don't really need to print this into our logs, so we should drop the verbose parameter (as it defaults to False anyway). Closes-Bug: #1482744 Change-Id: Ic6cb7fe9c87151bb0c318d060fd88bb2e1977404
* | Updated from global requirementsOpenStack Proposal Bot2015-08-131-2/+2
|/ | | | Change-Id: Ia836ea531b965f562a8afff4b5b197ec35946788
* Renamed latent_configuration to _latent_configuration.Michael Krotscheck2015-08-121-8/+8
| | | | | | This hash is private, this patch marks it as such. Change-Id: Ia334f18b7db847c6b2cbb98a6462744530ed59ad
* Added latent properties to CORS middleware.Michael Krotscheck2015-08-123-8/+173
| | | | | | | | | | | | Latent properties allow a consumer of this middleware to declare system-required headers and methods options. For instance, if an API exposes version-negotiation headers, these may be hard coded when the middleware is attached. This only works when the middleware is explicitly used. It does not work in paste configuration. Change-Id: Ic55b1af23603a0d83a32d20054c18e50367be8fb
* Merge "Declare some methods static"Jenkins2015-08-072-3/+6
|\
| * Declare some methods staticJulien Danjou2015-08-072-3/+6
| | | | | | | | | | | | Some methods are actually static, so declare them as such. Change-Id: Ic76fd10e2d043bdbe5bdca48d82a341454c1a7d4
* | Allow to get option from paste-deployMehdi Abaakouk2015-08-078-37/+101
| | | | | | | | | | | | | | | | This change allows any middleware that use oslo.config to be configured via paste-deploy, like the cors does. Related-bug: #1482086 Change-Id: Ibb3e951b45b51c9bc602c9113df18a58226d92d1
* | Remove usage of oslo.config globalMehdi Abaakouk2015-08-079-75/+91
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently application that doesn't use the global configuration object have to rely on hack to setup the global oslo config object for each middleware it want to use. For example, gnocchi have its own middleware loader and add crap to load keystonemiddleware: https://github.com/openstack/gnocchi/blob/master/gnocchi/rest/app.py#L140 And it can't use oslo.middleware that relies on the global conf object. Also aodh (use 'paste' for middleware) have to hack the global configuration object for each middlewares it want to use by code... https://review.openstack.org/#/c/208632/1/aodh/service.py But middleware are optional deployer stuffs, we should not write any code for them... This change allows application to use paste-deploy (or any middleware loader) without enforcing the application to use the global oslo.config object. If the middleware want to use oslo.config it should load the configuration file himself (and fallback to the global one if any) The proposed paste configuration to allow this is: [filter:cors] paste.filter_factory = oslo.middleware:cors oslo_config_project = aodh So the cors middleware can find and load the aodh config and what is it interested in. Also, some of them use oslo.config local, some other the global object. Some can be loaded by an middleware loader like paste, some other not. This change make consistent the way we bootstrap all middlewares. Closes-bug: #1482086 Change-Id: Iad197d1f3a386683d818b59718df34e14e15ca5c
* Imported Translations from TransifexOpenStack Proposal Bot2015-08-046-12/+12
| | | | | | | For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Id61bd8bffb05c3d07b2656b4fa7364a86150239e