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

fix(keycloak): serialize the calls to get groups and users #2038

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions workspaces/keycloak/.changeset/tender-ears-judge.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@backstage-community/plugin-catalog-backend-module-keycloak': patch
---

Serialize the calls to get groups and users from Keycloak. In cases where there was a large number of users and / or groups, originally the keycloak would make many async calls that would lead to DOS of the keycloak server.
4 changes: 2 additions & 2 deletions workspaces/keycloak/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@
"tsc:full": "tsc --skipLibCheck true --incremental false",
"build:all": "backstage-cli repo build --all",
"build:api-reports": "yarn build:api-reports:only",
"build:api-reports:only": "backstage-repo-tools api-reports --allow-all-warnings -o ae-wrong-input-file-type ,ae-undocumented --validate-release-tags",
"build:api-reports:only": "backstage-repo-tools api-reports --allow-all-warnings -o ae-wrong-input-file-type --validate-release-tags",
"clean": "backstage-cli repo clean",
"test": "backstage-cli repo test",
"test:all": "backstage-cli repo test --coverage",
"fix": "backstage-cli repo fix",
"lint": "backstage-cli repo lint --since origin/main",
"lint:all": "backstage-cli repo lint",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"new": "backstage-cli new --scope @backstage-community",
"postinstall": "cd ../../ && yarn install"
},
Expand All @@ -43,7 +44,6 @@
"typescript": "~5.3.0"
},
"dependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.3.1",
"knip": "^5.27.4"
},
"resolutions": {
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading