Comment 6 for bug 885025

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/98215
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c41e6cf794e6d68ae083960e195c92e2ac487df1
Submitter: Jenkins
Branch: master

commit c41e6cf794e6d68ae083960e195c92e2ac487df1
Author: Chris St. Pierre <email address hidden>
Date: Fri Jul 11 09:52:24 2014 -0400

    Revise compute API schemas and add tests

    This revises the servers, images, and flavors schemas to avoid a
    duplicate definition of the top-level tags in those schemas. Instead,
    of defines each schema to allow either a list of tags with only
    name/id (as in the index listings), or a list of fully-defined
    servers/images/flavors. It is not permitted to mix and match.

    It also adds three kinds of unit tests for the API schemas:

    * A basic check to ensure that the schema files are valid RelaxNG;
    * A check to ensure that the collected body of schema files does not
      contain duplicate top-level tag definitions;
    * Explicit test XML documents.

    Closes-Bug: 885025
    Change-Id: I542b420de34fd82bb2a2813f36637aef2c2d5c92