summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add new cfg moduleMark McLoughlin2012-01-102-0/+1908
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As described here: http://wiki.openstack.org/CommonConfigModule The module implements an API for defining configuration options and reading values for those options that a user may have set in a config file or on the command line. The module is successfully in use in both Nova and Glance. Some work remains in Nova to switch from using it under a gflags compatible shim layer, but Glance is using it fully. There doesn't appear to be any blockers to other projects moving over to it fairly easily. Swift would perhaps be the next project to tackle. Just to go through potential future compatibility concerns: - Nova (the scroundrel) hackily uses the private ConfigOpts::_oparser in order to disable interspersed args. This was just for nova-manage and can probably be resolved some other way. In any case, Nova shouldn't switch to openstack-common's cfg API until it removes this hack. - the CommonConfigOpts subclass set of logging related options is perhaps assuming too much about what configuration options should be common across all the projects. However, it seems a fairly sane set and the worst that can happen is that projects avoid using it. - the parameters to the Opt constructor fairly closely mirror optparse, but they're fairly generic and shouldn't prevent us from switching to e.g. argparse - stuff like %prog expansion in the ConfigOpt's usage ctor param is a similar concern, but it's a very minor concern. - find_config_files() search path is perhaps too much policy for openstack-common; however, it is probably as generic as it could be and projects which need a different policy can just not use the function On the whole, I think we're in good shape wrt future compatibility. Change-Id: I279a9db7806d80aff3b9b085b4a9e4fb193662f9
* Merge pull request #3 from emonty/masterJason Kölker2012-01-065-104/+23
|\ | | | | Use latest tissue update - ready for gerrit
| * Updated README with instructions.Monty Taylor2012-01-061-1/+11
| |
| * Removed run_tests.sh in favor of tox.Monty Taylor2012-01-061-103/+0
| |
| * Added .gitreview file.Monty Taylor2012-01-061-0/+4
| |
| * Added tissue support back in.Monty Taylor2012-01-062-0/+8
|/
* make sure a '_' function is availible for noseJason Kölker2012-01-041-0/+2
|
* Merge pull request #1 from emonty/masterJason Kölker2012-01-046-447/+20
|\ | | | | Changes to make things use tox
| * Use nose and tox.Monty Taylor2012-01-044-447/+0
| |
| * Added pip-requires and tox.ini to run tests.Monty Taylor2012-01-042-0/+20
|/
* add some server testsJason Kölker2011-12-021-0/+20
|
* moar utils testsJason Kölker2011-12-021-0/+53
|
* import should not return an instance of the classJason Kölker2011-12-021-2/+1
|
* add utils testJason Kölker2011-12-011-0/+70
|
* use isinstance and types.*Jason Kölker2011-12-011-2/+2
|
* add context middleware testsJason Kölker2011-12-012-0/+79
|
* add more coverage to test_extensionsJason Kölker2011-12-011-1/+66
|
* add exceptions test coverageJason Kölker2011-12-011-0/+151
|
* add context 'tests'Jason Kölker2011-12-011-0/+27
|
* add more config testsJason Kölker2011-12-011-3/+61
|
* make fix_path a real function so it can be mock'dJason Kölker2011-12-011-1/+7
|
* remove unused importsJason Kölker2011-12-011-2/+0
|
* mox isn't used anywhere, but I will be using mockJason Kölker2011-12-011-1/+1
|
* Only list requirements in the setup.py like it should beJason Kölker2011-12-012-19/+4
|
* Add default nosetests configJason Kölker2011-11-301-0/+22
| | | | | | Default to using coverage with html output reporting, tissue for pep8 checking, and openstack-nose for output formating when running tests directly under nose.
* Rename setup_extensions_test_app so that nosetests ignores itJason Kölker2011-11-301-15/+15
| | | | | Allows the use of openstack.nose_plugin's coloring/output for nosetests should the user desire to not use run_tests.sh/py
* ignore cover's html directoryJason Kölker2011-11-301-0/+1
|
* don't tag revJason Kölker2011-11-301-3/+0
|
* add __init__.py so tests run, remove bin and skeleton from pep8Jason Kölker2011-11-013-1/+1
|
* remove bzr requirementJason Kölker2011-11-011-1/+0
|
* remove the version requirement on moxJason Kölker2011-11-011-1/+1
|
* put requires in setup.py so when package gets included as a requirement, the ↵Jason Kölker2011-11-011-2/+10
| | | | requirements follow along
* Merge commit '99b2c6c202b1ec450e5f7bc1c4080f8c36773376'Jason Kölker2011-11-017-30/+128
|\
| * Rajaram/Vinkesh|increased tests for Request and Response serializersRajaram Mallya2011-09-143-9/+18
| |
| * Rajaram/Vinkesh|added config test file from glanceRajaram Mallya2011-09-091-0/+66
| |
| * Rajaram/Vinkesh|Default xmlns for extension serialization can be overriden, ↵Rajaram Mallya2011-09-093-21/+44
| | | | | | | | added default factory for extension middleware
* | merge in upstreamJason Kölker2011-11-0116-70/+2651
|\|
| * Rajaram/Vinkesh | Copied tests for wsgi from nova. Added default ↵Rajaram Mallya2011-09-086-135/+701
| | | | | | | | content/accept types in Request which can be overridden by projects. Copied tests for XML serialization of Extension Controller's action from nova
| * Rajaram/Vinkesh | Fixed the extension bug where custom collection actions' ↵Rajaram Mallya2011-09-072-18/+36
| | | | | | | | routes in resource extension were not getting registered
| * Vinkesh/Rajaram|Added nova's extension framework into common and tests for itRajaram Mallya2011-09-076-0/+1077
| |
| * Rajaram/Vinkesh|Added nova's serializaiton classes into commonRajaram Mallya2011-09-073-67/+425
| |
| * Vinkesh/Rajaram|Added scripts to run tests from novaRajaram Mallya2011-09-075-0/+560
| |
* | Edited README via GitHubJason Kölker2011-09-281-5/+1
| |
* | port execute and utcnow functions from novaJason Kölker2011-09-281-0/+103
| |
* | update setup.py to only have common requiresJason Kölker2011-09-281-2/+5
| |
* | remove paste templates from commonJason Kölker2011-09-2829-1755/+0
| |
* | Add readme to make github happy and the manifest so the templates get installedJason Kölker2011-09-272-0/+6
| |
* | add Paste* requirementsJason Kölker2011-09-271-2/+2
| |
* | fake out the options needed and allout output to specific dirJason Kölker2011-09-271-0/+13
| |
* | add the openstack paster command to spit out the templateJason Kölker2011-09-272-0/+38
| |