Comment 3 for bug 1298769

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

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

commit da3a02243df43ee581c52d3e194c8ed54d4cdd24
Author: Ghanshyam <email address hidden>
Date: Fri Mar 28 15:06:30 2014 +0900

    Correct the keypairs-get-resp.json API sample file

    Current keypair sample files 'keypairs-get-resp.json/xml contain
    'keypairs' as the first key and that means its sample response
    of "list keypairs" API not "get keypair" API.

    The tests don't pass a keypair id, so current tests also are for
    "list keypairs" API.

    Details-
    Below API sample files- from their name it looks like these are for
    get keypair API. But in actual content of these files are written as
    List keypair API response. So it create the confusion that for which
    API these API sample file are. Name suggest for GET and content
    suggest for LIST Keypair.

        /nova/tests/integrated/api_samples/os-keypairs/
        keypairs-get-resp.json.tpl
        /nova/tests/integrated/api_samples/os-keypairs/
        keypairs-get-resp.xml.tpl

    Their API sample test cases are written corrosponding to list keypair
    APIs.

    This patch correct the above API sample file name from get to list
    Keypair APIs.
    API Sample test cases names are also modified accordingly.

    Partial-Bug: 1298769

    Change-Id: I88d894ff9b0f6236221fa922601b641f26a87301