Database API does not support pagination

Bug #1658710 reported by Ian Cordasco
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
craton
Fix Released
High
Ian Cordasco

Bug Description

In order to support REST API pagination the database API needs to support passing around pagination information.

Ian Cordasco (icordasc)
Changed in craton:
assignee: nobody → Ian Cordasco (icordasc)
importance: Undecided → High
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to craton (master)

Reviewed: https://review.openstack.org/421523
Committed: https://git.openstack.org/cgit/openstack/craton/commit/?id=aad5fd33c3577a67ebfdaadc3690b678ba364942
Submitter: Jenkins
Branch: master

commit aad5fd33c3577a67ebfdaadc3690b678ba364942
Author: Ian Cordasco <email address hidden>
Date: Mon Jan 23 08:56:45 2017 -0600

    Update dbapi to perform pagination

    This takes the first step towards performing and allowing pagination in
    Craton's API. It prepared the database APIs to receive the pagination
    parameters required to use oslo_db's paginate_query logic.

    This also fixes an inconsistency in the /v1/users and /v1/projects calls
    where {users,projects}_get_by_name were assumed to return single items
    but were in fact returning lists. These also need pagination applied, so
    we have refactored them slightly and added pagination parameters to
    those dbapi calls.

    Closes-bug: #1658710
    Partially-implements: bp pagination-of-resources
    Change-Id: I229de802e8ac357e81704f1fc8a8d8db7a32620e

Changed in craton:
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

Related blueprints

Remote bug watches

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