Paging for retrieval of all identity zones

Open
#3,144 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java

Research direction

Review the /identity-zones API alongside the documented SCIM /Users and /Groups list behavior. Define appropriate default and maximum page sizes, then verify that the endpoint supports paging and avoids unbounded retrieval; done means the behavior is implemented and documented.

Written by the indexing model from the issue text.

Description

What version of UAA are you running?

77.18.0

How are you deploying the UAA?

I am deploying the UAA

  • using cf-deployment
What did you do?

Retrieval of all identity zones via endpoint /identity-zones.

What did you expect to see? What goal are you trying to achieve with the UAA?

Expectation is that the API applies paging by default, similar to the SCIM API (/Users, /Groups). With regards to the page size, the API should define a default (e.g. 100) and a maximum value (e.g. 500).

The goals are:

  • Avoid high DB load issues if the UAA has a high number of identity zones
  • Ensure an appropriate response time if the UAA has a high number of identity zones
What did you see instead?

No paging mechanism supported for endpoint /identity-zones.

Dominant language
Java
Stars
1.6k
Forks
847
Avg merge
2d 1h
Merged PRs (30d)
48

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cloudfoundry/uaa

All issues in cloudfoundry/uaa

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.