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

[Explore]: How to implement pagination with the current approach? #3701

Open
c0d1ngm0nk3y opened this issue Jan 13, 2025 · 2 comments
Open
Labels

Comments

@c0d1ngm0nk3y
Copy link
Contributor

c0d1ngm0nk3y commented Jan 13, 2025

Background

Most (if not even all) cf list endpoints (e.g. /v3/apps) have the possibility for pagination by using the parameters page and per_page.

But when calling List on k8s there is no way to to implement such a pagination with the possibility to jump to arbitrary pages directly and efficiently.

How should/could this be done?

Acceptance Criteria

Implementation of pagination for an existing endpoint.

Timebox

No timebox since it has to be solved to be api compatible.

Dev Notes

Just listing everything and returning the requested page to the user, is not really an option because this would scale very poorly.

@c0d1ngm0nk3y
Copy link
Contributor Author

github-project-automation bot moved this to 🧊 Icebox in Korifi - Backlog

@danail-branekov What does that mean?

@danail-branekov
Copy link
Member

danail-branekov commented Jan 13, 2025

@danail-branekov What does that mean?

Whenever someone creates a new issue, the automation puts it into the Icebox bucket of the Korifi backlog. This is the place where we keep things to do that we have not prioritised yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🧊 Icebox
Development

No branches or pull requests

2 participants