Merge lp://qastaging/~u-matt-h/nova/aws-api-validation into lp://qastaging/~hudson-openstack/nova/trunk
Proposed by
Matthew Hooker
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp://qastaging/~u-matt-h/nova/aws-api-validation | ||||
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk | ||||
Diff against target: |
951 lines (+825/-13) (has conflicts) 8 files modified
etc/nova/api-paste.ini (+13/-10) nova/api/ec2/__init__.py (+3/-0) nova/api/ec2/web.py (+499/-0) nova/api/validator.py (+170/-0) nova/tests/api/ec2/test_middleware.py (+5/-1) nova/tests/api/test_validator.py (+131/-0) nova/tests/test_access.py (+2/-1) nova/tests/test_api.py (+2/-1) Text conflict in nova/api/ec2/__init__.py Text conflict in nova/tests/api/ec2/test_middleware.py |
||||
To merge this branch: | bzr merge lp://qastaging/~u-matt-h/nova/aws-api-validation | ||||
Related bugs: |
|
||||
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christopher MacGown (community) | Needs Fixing | ||
Dan Prince (community) | Needs Fixing | ||
Review via email: mp+71962@code.qastaging.launchpad.net |
Description of the change
This patch has not yet been functionally tested. I'm having trouble figuring out how to do that, and would appreciate some help.
This patch adds a mechanism for validating ec2 api parameters. It should be easily extendable with a light-weight implementation.
To post a comment you must log in.
Unmerged revisions
- 1447. By Matthew Hooker
-
pep8 fixes.
- 1446. By Matthew Hooker
-
add some user data validation. See ~tpatil/nova/bug837534
- 1445. By Matthew Hooker
-
move path regex out of module scope
- 1444. By Matthew Hooker
-
add url path validation using rfc3986 grammar
- 1443. By Matthew Hooker
-
use ec2.web module
- 1442. By Matthew Hooker
-
refactor validator input to use dicts instead of tuples
- 1441. By Matthew Hooker
-
short-circuit test validate_ascii
- 1440. By Matthew Hooker
-
add ascii validator. validate_str should accept unicode strings.
- 1439. By Matthew Hooker
-
merge from trunk
- 1438. By Matthew Hooker
-
rename all ec2_web instances to web
This looks great. Don't see any pressure to get it in before d4 as it is definitely cleanup-related.