summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Support for SSL in wsgi.ServiceDavanum Srinivas2013-01-296-5/+324
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable support for SSL as well using code from glance. We have some new options for configuring the SSL support. test_app starts wsgi.Service with a test app, then creates a url to make sure the http requests are actually served properly test_app_using_router adds wsgi.Router and Mapper() to the mix along with using the wsgify annotation for serving the http requests Fixes LP# 979488 (partial) Fixes LP# 869884 (partial) DocImpact Change-Id: Iae47b13b50e00c102c8c36f4a3e73b24fa4e6303
* | | | Merge "Add _FATAL_EXCEPTION_FORMAT_ERRORS global."Jenkins2013-02-023-4/+18
|\ \ \ \
| * | | | Add _FATAL_EXCEPTION_FORMAT_ERRORS global.Dan Prince2013-01-303-4/+18
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new global variable to control when exception format errors are fatal. Also, updates the Oslo test base class to enable fatal exception format errors. The motivation for this change is to give projects that use openstack common a hook to enable exception format checking when testing. Change-Id: Id8f4a0946b1614c8e987976b79069532a2e8608f
* | | | Merge "Use importutils for matchmaker import."Jenkins2013-02-021-15/+1
|\ \ \ \
| * | | | Use importutils for matchmaker import.Eric Windisch2013-01-301-15/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Per Vish's suggestion. this should be simplier, cull redundant code, and otherwise cut the fat. Change-Id: I9fa3effdc8e9e2f3f124690ecf77ee8bb7d4d39e
* | | | Merge "Dict args safe processing."Jenkins2013-02-021-8/+9
|\ \ \ \ | |_|_|/ |/| | |
| * | | Dict args safe processing.Eric Windisch2013-01-281-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve safety of dict args in process() Change-Id: I0eae36ca6566c1b60f0a01ebee57ae8a7530fcb1
* | | | Fixes 'not in' operator usageZhongyue Luo2013-01-312-1/+13
| |/ / |/| | | | | | | | Change-Id: Ibac9853fc72e2452fa5e2b3a493bd03523faabfb
* | | Merge "Add tests for setup"Jenkins2013-01-301-0/+114
|\ \ \
| * | | Add tests for setupAlessio Ababilov2013-01-301-0/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test write_git_changelog, generate_authors, get_cmdclass, and parse_dependency_links. Also test private _run_shell_command function. Change-Id: I583d679afc1dc805c920b4beffc2f664833aabd0
* | | | Fix PEP8 error in oslo-rootwrapThierry Carrez2013-01-301-2/+2
|/ / / | | | | | | | | | | | | | | | | | | Fix a PEP8 error uncovered during the cinder import of the rootwrap module. A bit weird oslo's own tests didn't catch it. Change-Id: Ib107023dd6e4178dd51b358cf9374e7a8468d1bf
* | | Merge "Support running uninstalled in a tarball dir."Jenkins2013-01-301-3/+10
|\ \ \ | |_|/ |/| |
| * | Support running uninstalled in a tarball dir.Monty Taylor2013-01-251-3/+10
| |/ | | | | | | | | | | | | | | | | | | Running tests from the directory of an expanded tarball is a reasonable thing to do, so support it by checking for PKG-INFO file if the pkg_resources version grab fails. Fixes bug 1103473 Change-Id: I2bf1fc39b070d3a2cdf6a3abe5e816c81d2916a0
* | Merge "rootwrap: Avoid PEP8 errors on name replacement"Jenkins2013-01-291-5/+8
|\ \
| * | rootwrap: Avoid PEP8 errors on name replacementThierry Carrez2013-01-281-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | Avoid triggering PEP8 errors when "oslo" is replaced by the project name in oslo-rootwrap. Made necessary by "cinder", but tested compatible with "ceilometer". Change-Id: I9a1e25ec58e8b1e833c00f6cbb2083f967cbef76
* | | Merge "Only import modules in tools/flakes"Jenkins2013-01-291-2/+2
|\ \ \
| * | | Only import modules in tools/flakesJoe Gordon2013-01-281-2/+2
| |/ / | | | | | | | | | Change-Id: I049f4e4d3927d0bf792697d30250083c87ca0b73
* | | Merge "Fix MonekyPatch typo in test_qpid"Jenkins2013-01-290-0/+0
|\ \ \
| * | | Fix MonekyPatch typo in test_qpidAlessio Ababilov2013-01-281-1/+1
| |/ / | | | | | | | | | Change-Id: I55943cca1053de09a3fc004d40c940fb92322211
* | | Merge "Default lockutils to using a tempdir"Jenkins2013-01-291-3/+2
|\ \ \
| * | | Default lockutils to using a tempdirJason Kölker2013-01-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Previously lockutils attempted to use __file__/../ as the lock path. This causes packages to fail if the user running the code doesn't have +w access to that dir. Remove the default so it will use mkdtemp instead * Fixes bug 1107950 Change-Id: Ie0cd6fac5403a53a768eb4a0ce7da602b3fef755
* | | | Merge "Fix Pep8 Warning"Jenkins2013-01-291-1/+1
|\ \ \ \
| * | | | Fix Pep8 WarningDirk Mueller2013-01-281-1/+1
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | Fixes E271 multiple spaces after keyword "return _run_shell_command(" Change-Id: Ic6b2c88a0b7cabd04341d073ef837a13c1bb7a29
* | | | Merge "Update copyright on install_venv_common.py"Jenkins2013-01-291-0/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Update copyright on install_venv_common.pyMatthew Treinish2013-01-281-0/+1
| |/ / | | | | | | | | | | | | | | | | | | This updates the copyrights on install_venv_common.py to include IBM. Change-Id: I5da3d9f1f511f20b332dc206aba4bcd2011a4940
* / / Add TTL to AMQP messagesBrent Eagles2013-01-285-15/+150
|/ / | | | | | | | | | | | | | | | | | | This patch sets a TTL derived from the timeout parameter used when invoking the RPC. Needed for: * Bug 1053614 Change-Id: Idaf9a2a972feac3f95f170c52632033b027b4414
* | Merge "Fixes "is not", "not in" syntax usage."Jenkins2013-01-283-7/+7
|\ \
| * | Fixes "is not", "not in" syntax usage.Zhongyue Luo2013-01-283-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | Replaced "not ... is" to "is not" Replaced "not ... in" to "not in" Removed a redundant parenthesis Change-Id: I9564ab1207ccdcb32d7c2bb9e8f29658b2232ff9
* | | Merge "Add install_venv library."Jenkins2013-01-281-0/+224
|\ \ \
| * | | Add install_venv library.Matthew Treinish2013-01-241-0/+224
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a install_venv.py library that can be used by each project's tools/install_venv.py script. Currently all the projects have very similar install_venv scripts in their respective tools directories that all accomplish the same end result. This just breaks out the common code and puts it in a class that can be imported and used in each project's script. Change-Id: I8346fc4201f35e5d0c475caef893ca71e7db8236
* | | Merge "Prevent parallel test port clashes for zmq."Jenkins2013-01-282-6/+14
|\ \ \
| * | | Prevent parallel test port clashes for zmq.Monty Taylor2013-01-242-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The scheme of incrementing port numbers did not work so well for parallel test runs. Part of blueprint grizzly-testtools. Change-Id: I100e79ae79e4409691145dc721139d1a86839199
* | | | Merge "Replace direct use of testtools BaseTestCase."Jenkins2013-01-2830-132/+121
|\| | |
| * | | Replace direct use of testtools BaseTestCase.Monty Taylor2013-01-2430-132/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the BaseTestCase across the tests in the tree lets us put in log fixtures and consistently handle mox and stubout. Part of blueprint grizzly-testtools. Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
* | | | Merge "Remove the last of the nose-isms."Jenkins2013-01-281-13/+12
|\| | |
| * | | Remove the last of the nose-isms.Monty Taylor2013-01-241-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | testtools provides a skipTest method, so there's no need to pull in nose directly into the tests. Part of blueprint grizzly/testtools. Change-Id: I97a9f09a27cad0433949a96fc18001ecf69c8ba2
* | | | Merge "Replaced direct usage of stubout with BaseTestCase."Jenkins2013-01-286-39/+13
|\| | |
| * | | Replaced direct usage of stubout with BaseTestCase.Monty Taylor2013-01-246-39/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BaseTestCase properly hooks stubout into fixtures. Just use that. Part of blueprint grizzly-testtools. Change-Id: I4bf6b92b9b16d051d8c6ecaf52cf70925848ed8c
* | | | Merge "Fix up test_qpid to use BaseTestCase."Jenkins2013-01-282-30/+16
|\| | |
| * | | Fix up test_qpid to use BaseTestCase.Monty Taylor2013-01-242-30/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While we're in there, simplify its use of fixtures. Part of blueprint grizzly-testtools. Change-Id: I7ef05cc9c191aab1959a31770f905f34447e64ea
* | | | Merge "Use testtools as test base class."Jenkins2013-01-2845-410/+208
|\| | |
| * | | Use testtools as test base class.Monty Taylor2013-01-2445-410/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On the path to testr migration, we need to replace the unittest base classes with testtools. Replace tearDown with addCleanup, addCleanup is more resilient than tearDown. The fixtures library has excellent support for managing and cleaning tempfiles. Use it. Replace skip_ with testtools.skipTest Part of blueprint grizzly-testtools. Change-Id: I45e11bbb1ff9b31f3278d3b016737dcb7850cd98
* | | | Merge "Start adding reusable test fixtures."Jenkins2013-01-283-0/+39
|\| | | | |_|/ |/| |
| * | Start adding reusable test fixtures.Monty Taylor2013-01-243-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | Now that nova is using fixtures, we have grown some that can be used across projects. The mox/stubout fixture is a great example of this - and also can be used in the oslo tests themselves. Change-Id: Ia78019317a6772c5c66a875c948854248383f9ea
* | | Merge "Document tools/flakes is from commons"Jenkins2013-01-261-0/+2
|\ \ \
| * | | Document tools/flakes is from commonsJoe Gordon2013-01-241-0/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | When copying tools around it may not be clear that they came from openstack-common. So add a note at top of code. Had to say from openstack-common since cannot say from oslo-incubator since word oslo is replaced when copied. Change-Id: I7514c88d448f13cb7b11ed1ea81a035c6a201bae
* / | setup: count revs for revno if there are no tagsMark McLoughlin2013-01-251-3/+17
|/ / | | | | | | | | | | | | | | | | | | | | | | We currently use 'git describe --always' to figure out the number of commits there have been leading up to the HEAD commit. However, if there are no tags in the repo, git-describe just returns the sha hash of HEAD and we fail. In that case, use 'git rev-list HEAD | wc -l' so we can be #winning. Change-Id: I345e0ee32189504276b3dfd3367057ce1d4a2b06
* | Merge "UTC ISO8601 from timestamp"Jenkins2013-01-232-0/+12
|\ \
| * | UTC ISO8601 from timestampFlaper Fesp2013-01-212-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Taken from glance xattr.py module. This function converts timestamp formated dates into a UTC Iso 8601 date. It is being required in multiple places now (mostly on clients printing dates) in order to make dates human readable. Change-Id: I6f19325a4c2df241a0ef76bd256280a2930d9265
* | | Merge "Import timeutils.is_soon from keystoneclient"Jenkins2013-01-232-0/+19
|\ \ \