GET servers API sorting REST API updates

Bug #1398288 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
Fix Released
Medium
Atsushi SAKAI

Bug Description

https://review.openstack.org/96345
commit f268be97bd3a3cecfaae7e84d4465da8199c48f6
Author: Steven Kaufer <email address hidden>
Date: Fri Jun 27 07:10:49 2014 +0000

    GET servers API sorting REST API updates

    Updates the v2 and v3 /servers and /servers/detail APIs to support the
    multiple sort keys and sort directions (using the 'sort_key' and
    'sort_dir' parameters); these parameters can be specified multiple
    times to create a list of sort keys and directions. These parameters
    are passed from the API layer to the compute layer, then to the
    instance layer (with updated version), then to the database layers,
    and then to the common paginate_query function; the paginate_query
    function already supports multiple sort keys and directions. The
    function signatures in these various layers are updated with new
    'sort_keys' and 'sort_dirs' parameters that represent the sort keys
    and directions information as lists.

    This support is enabled on the v2 API by the existence of a new
    'os-server-sort-keys' API extension and is always enabled in the v3
    API. The extension API sample issues 2 server creates and then ensures
    that both servers are listed (name is unique) in the list reply.

    DocImpact: The existing v2 and v3 servers API documentation needs to
    reflect these new parameters.

    The nova client will also be updated to use these parameters.

    Change-Id: I02baf6c3cc7d29abab132ef1726140c57e17d9b6
    Partially implements: blueprint nova-pagination

Tags: nova
Lana (loquacity)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → High
Anne Gentle (annegentle)
no longer affects: openstack-manuals
Changed in openstack-api-site:
status: New → Confirmed
importance: Undecided → Medium
Atsushi SAKAI (sakaia)
Changed in openstack-api-site:
assignee: nobody → Atsushi SAKAI (sakaia)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to api-site (master)

Fix proposed to branch: master
Review: https://review.openstack.org/211096

Changed in openstack-api-site:
status: Confirmed → In Progress
Changed in openstack-api-site:
milestone: none → liberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to api-site (master)

Reviewed: https://review.openstack.org/211096
Committed: https://git.openstack.org/cgit/openstack/api-site/commit/?id=cafe8a20aedb014798f349b1759e800f7cac5095
Submitter: Jenkins
Branch: master

commit cafe8a20aedb014798f349b1759e800f7cac5095
Author: Atsushi SAKAI <email address hidden>
Date: Mon Aug 10 19:43:43 2015 +0900

    Add GET servers API sorting REST API

    Add sort_key and sort_dir discription
    I add v2.1 only, if needed I plan to add v2 also.
    But for v2 case, it need to existence "os-server-sort-keys" API.

    Change-Id: I3d97652c925ef106421245a3a359b47949334240
    Closes-Bug: #1398288

Changed in openstack-api-site:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.