Skip to content

added organizations table to account - #32311

Merged
pedroigor merged 4 commits into
keycloak:mainfrom
edewit:issue-31301
Aug 22, 2024
Merged

added organizations table to account#32311
pedroigor merged 4 commits into
keycloak:mainfrom
edewit:issue-31301

Conversation

@edewit

@edewit edewit commented Aug 21, 2024

Copy link
Copy Markdown
Contributor

Signed-off-by: Erik Jan de Wit erikjan.dewit@gmail.com

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
@edewit
edewit requested review from a team as code owners August 21, 2024 14:28
@edewit edewit self-assigned this Aug 21, 2024
@edewit
edewit marked this pull request as draft August 21, 2024 14:29
pedroigor and others added 2 commits August 21, 2024 11:53
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
pedroigor
pedroigor previously approved these changes Aug 22, 2024
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

@keycloak-github-bot keycloak-github-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unreported flaky test detected, please review

@keycloak-github-bot

Copy link
Copy Markdown

Unreported flaky test detected

If the flaky tests below are affected by the changes, please review and update the changes accordingly. Otherwise, a maintainer should report the flaky tests prior to merging the PR.

org.keycloak.testsuite.organization.authentication.OrganizationBruteForceTest#testRaceAttackPermanentLockout

Keycloak CI - Base IT (3)

java.lang.AssertionError: Invalid count should be less than or equal 2 but was: 3
	at org.junit.Assert.fail(Assert.java:89)
	at org.junit.Assert.assertTrue(Assert.java:42)
	at org.keycloak.testsuite.forms.BruteForceTest.raceAttack(BruteForceTest.java:820)
	at org.keycloak.testsuite.forms.BruteForceTest.testRaceAttackPermanentLockout(BruteForceTest.java:790)
...

Report flaky test


import java.util.Set;

public class OrganizationRepresentation {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have a version of OrganizationRepresentation.java in ../idm directory. It would be cleaner to synthesize the two using some form of polymorphism like using a base class and/or interfaces.

I see that ClientRepresentation.java has the same issue. So I'm fine if we want to refactor both in a later PR.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants