Merge lp:~justin-fathomdb/nova/skip-validation-openstack11 into lp:~hudson-openstack/nova/trunk
Status: | Work in progress |
---|---|
Proposed branch: | lp:~justin-fathomdb/nova/skip-validation-openstack11 |
Merge into: | lp:~hudson-openstack/nova/trunk |
Prerequisite: | lp:~justin-fathomdb/nova/check-xsd |
Diff against target: |
151 lines (+82/-0) 4 files modified
nova/api/openstack/servers.py (+10/-0) nova/api/openstack/validation.py (+8/-0) nova/tests/api/openstack/test_servers.py (+36/-0) nova/wsgi.py (+28/-0) |
To merge this branch: | bzr merge lp:~justin-fathomdb/nova/skip-validation-openstack11 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Dan Prince (community) | Needs Fixing | ||
Christopher MacGown (community) | Approve | ||
termie (community) | Approve | ||
Review via email: mp+56702@code.launchpad.net |
Description of the change
While the OS API 1.1 schema is broken, let's have a flag to skip validation of it
Unmerged revisions
- 856. By justinsb
-
Fix pep8
- 855. By justinsb
-
Temporary workaround - don't bother validating against the broken OpenStack 1.1 schema
- 854. By justinsb
-
Better formed output: if an order is specified for elements, follow the order
- 853. By justinsb
-
Merged with lp:~rackspace-titan/nova/osapi-xml-serialization
- 852. By justinsb
-
Merged with lp:~justin-fathomdb/nova/bug740576 and thereby with trunk
- 851. By justinsb
-
For now, tolerate the stuff that's broken and dial back the tests so that we don't have to raise 200 bugs yet
- 850. By justinsb
-
Imported 1.1 schema from http://
bazaar. launchpad. net/~annegentle /openstack- manuals/ trunk/files/ head:/doc/ source/ docbkx/ openstack- compute- api/ - 849. By justinsb
-
Added validation code
- 848. By justinsb
-
Merged with trunk
- 847. By justinsb
-
Moved CloudServers v1.0 under nova/api/
openstack/ schemas
This branch also has an additional pre-req (though it probably doesn't need it) - the osapi-xml- serialization branch. Hence the diff below is not yet very useful until the pre-reqs merge. It's really just this bit:
+# NOTE(justinsb): Until the OS 1.1 schema is fixed, don't bother checking it DEFINE_ bool('validate_ openstack_ 11',
30 +flags.
31 + False,
32 + 'Should we validate openstack 1.1 schema?')
33
+ if xmlns == common.XML_NS_V11: openstack_ 11:
41 + if not FLAGS.validate_
42 + return True
43 +
44