Skip to content

Reduce SCIM group listing database over-fetching - #4155

Open
yedmalaaravind wants to merge 1 commit into
cloudfoundry:developfrom
yedmalaaravind:fix/scim-group-page-fetch-3094
Open

yedmalaaravind wants to merge 1 commit into
cloudfoundry:developfrom
yedmalaaravind:fix/scim-group-page-fetch-3094

Conversation

@yedmalaaravind

Copy link
Copy Markdown
Contributor

Bound each request's lazy database fetch size by the effective SCIM count while preserving the configured DAO page size for other callers. Retain totalResults, filtering, sorting, zone isolation, and membership projections.

Add database-backed endpoint regressions and JDBC row-mapping checks. A one-group request against 250 groups now maps 1 row instead of the default 200. Five endpoint regressions fail against the unchanged upstream handler and all eight pass with this change.

Validation: 156 focused HSQLDB tests passed; one PostgreSQL/MySQL-only test was aborted by its profile condition. Compiled affected sources with javac --release 25 and ran JUnit directly using cached dependencies. Standard Gradle execution was blocked by the environment's daemon connection restriction; the full Gradle suite and real PostgreSQL/MySQL runs remain outstanding.

Related to #3094.

Bound each request's lazy database fetch size by the effective SCIM count while preserving the configured DAO page size for other callers. Retain totalResults, filtering, sorting, zone isolation, and membership projections.

Add database-backed endpoint regressions and JDBC row-mapping checks. A one-group request against 250 groups now maps 1 row instead of the default 200. Five endpoint regressions fail against the unchanged upstream handler and all eight pass with this change.

Validation: 156 focused HSQLDB tests passed; one PostgreSQL/MySQL-only test was aborted by its profile condition. Compiled affected sources with javac --release 25 and ran JUnit directly using cached dependencies. Standard Gradle execution was blocked by the environment's daemon connection restriction; the full Gradle suite and real PostgreSQL/MySQL runs remain outstanding.

Related to cloudfoundry#3094.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

1 participant