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

Updating apis call to overcome the 25 limit #422

Closed
wants to merge 1 commit into from

Conversation

jinman
Copy link

@jinman jinman commented Jun 25, 2020

Currently, due to default limit of 25, getRestAPis is getting only 25 APIs and even with usagePlan fix #257 does not show all the apis in the portal because usageplan APIs are filtered with apis list. Hence add this will help query a larger limit.

Issue #, if available:
#418 We are unable to see all the APIs in the AdminPortal due to the default 25 limit. As a result, even if the APIs are listed under the usagePlan (fix for #257), it is not shown because they are being filtered.

Description of changes:
Just changed the visibility to iterate over the pagination to get the full list when GetRestApis is called.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Currently, due to default limit of 25, getRestAPis is getting only 25 APIs and even with usagePlan fix awslabs#257 does not show all the apis in the portal because usageplan APIs are filtered with apis list. Hence add this will help query a larger limit.
@jinman jinman requested a review from a user June 25, 2020 00:06
@ghost
Copy link

ghost commented Jun 26, 2020

Fixed in #393 and released in v4.0.0.

@ghost ghost closed this Jun 26, 2020
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CatalogUpdaterLambda loads only first 25 usage plans
1 participant