Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api/v3 Adding pagination functionality for supporting endpoints #40

Closed
wants to merge 5 commits into from
Closed

api/v3 Adding pagination functionality for supporting endpoints #40

wants to merge 5 commits into from

Commits on Oct 19, 2014

  1. api/v3 Adding pagination functionality for supporting endpoints

    If users want to be able to browse through the history available in
    PuppetDB without crashing the server/client with too much information
    adding attributes 'order_by', 'limit' and 'offset' to the following
    functions:
    
    nodes
    facts
    resources
    reports
    events
    event_counts
    corey-hammerton committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    77a8148 View commit details
    Browse the repository at this point in the history
  2. api/v3 Fixing indentation and white-space errors reported in build

    Travis CI Build on this pull request filed due to trailing white-space
    and under-indentation of newly modified code.
    
    Details are https://travis-ci.org/puppet-community/pypuppetdb/builds/38442716
    corey-hammerton committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    c1eabbe View commit details
    Browse the repository at this point in the history
  3. api/v3 Fixing under-indentation warnings in event_counts function.

    Travis CI build is still failing dur to under-indentation at the
    lines where the event_counts function is declared.
    
    Details are https://travis-ci.org/puppet-community/pypuppetdb/builds/38443403
    corey-hammerton committed Oct 19, 2014
    Configuration menu
    Copy the full SHA
    77b011c View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2014

  1. api/v3 Adding pagination support for the fact-names endpoint

    Including the order_by, limit and offset parameters to the function
    fact_names. Documentation and tests show that it does support
    the standard pagination functions
    corey-hammerton committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    8ec8ccf View commit details
    Browse the repository at this point in the history
  2. api/v3 Standardizing indentation on function calls/definitions

    For the function calls and definitions where the parameter list is too
    long and need to be appended to new lines, having each parameter in its
    own line.
    
    This standardizes the coding style and is compliant to python coding
    best practices
    corey-hammerton committed Oct 24, 2014
    Configuration menu
    Copy the full SHA
    a50eeec View commit details
    Browse the repository at this point in the history