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

Add pagination support to GetIdpGroupId method #1277

Closed

Conversation

ArinGhazarian
Copy link
Collaborator

@ArinGhazarian ArinGhazarian commented Oct 4, 2024

The GetIdpGroupId method hasn't been using pagination to get all groups so far. This PR adds pagination support to the GetIdpGroupId method by using the new GetAllAsync overload that accepts a result collection selector.

The new overload was necessary because the List extrernal groups API is returning a Json object instead of an Array. With the new selector it'd be now possible to specify the desired field which is the result collection.

  • Did you write/update appropriate tests
  • Release notes updated (if appropriate)
  • Appropriate logging output
  • Issue linked
  • Docs updated (or issue created)
  • New package licenses are added to ThirdPartyNotices.txt (if applicable)

@ArinGhazarian ArinGhazarian marked this pull request as ready for review October 4, 2024 20:10
Copy link

github-actions bot commented Oct 4, 2024

Unit Test Results

811 tests   811 ✅  21s ⏱️
  1 suites    0 💤
  1 files      0 ❌

Results for commit a20fabd.

Copy link

github-actions bot commented Oct 4, 2024

Code Coverage

Package Line Rate Branch Rate Complexity Health
bbs2gh 78% 73% 651
ado2gh 84% 78% 627
Octoshift 87% 76% 1276
gei 79% 70% 519
Summary 83% (6824 / 8177) 75% (1535 / 2046) 3073

@ArinGhazarian
Copy link
Collaborator Author

Closing in favor of #1267, the changes of this branch were merged into it.

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.

1 participant