Skip to content

Add pagination support to Client Grants, Grants, Resource Servers and Rules#132

Merged
lbalmaceda merged 5 commits intomasterfrom
pagination-v2
Jul 4, 2018
Merged

Add pagination support to Client Grants, Grants, Resource Servers and Rules#132
lbalmaceda merged 5 commits intomasterfrom
pagination-v2

Conversation

@lbalmaceda
Copy link
Copy Markdown
Contributor

@lbalmaceda lbalmaceda commented Jun 19, 2018

What

This PR adds pagination support on MGMT API entities that were missing.

Scope

  • Client Grants
  • Grants
  • Resource Servers
  • Rules

Discussion

Since the Rules entity already was accepting a Filter as part of the call params, and no other param is required I am forced to create a new method (because the returned type change). This looks odd since the accepted call params are equally the same to the existing list method. If you look carefully, what changes between this one and the rest of the entities is that now I added a listAll method to handle pagination on Rules

Pending items

Deprecate the old list methods without pagination.

Closed Issues

Closes #126

Related Issues

Related #134

@lbalmaceda lbalmaceda added this to the v1-Next milestone Jun 19, 2018
cocojoe
cocojoe previously approved these changes Jun 26, 2018
Copy link
Copy Markdown
Member

@cocojoe cocojoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cocojoe cocojoe dismissed their stale review July 3, 2018 12:56

How is pagination being documented?

Copy link
Copy Markdown
Contributor

@joshcanhelp joshcanhelp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved per @cocojoe

@lbalmaceda lbalmaceda merged commit 77821ab into master Jul 4, 2018
@lbalmaceda lbalmaceda deleted the pagination-v2 branch July 4, 2018 18:13
@lbalmaceda lbalmaceda modified the milestones: v1-Next, 1.8.0 Jul 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants