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

keycloak_realm: add normalizations for enabledEventTypes, and supportedLocales #8224

Conversation

yeoldegrove
Copy link
Contributor

SUMMARY

keycloak_realm: Add sorted defaultClientScopes and optionalClientScopes to normalizations.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

keycloak_realm

ADDITIONAL INFORMATION

Without this code, ansible-playbook --check --diffwill show changes because a unsorted list is diffed.
It uses the same approach as for keycloak_client in

def normalise_cr(clientrep, remove_ids=False):

@yeoldegrove yeoldegrove force-pushed the keycloak_realm/add-normalizations branch from a97b096 to 34c3140 Compare April 15, 2024 13:26
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug module module plugins plugin (any type) labels Apr 15, 2024
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-7 backport-8 Automatically create a backport for the stable-8 branch labels Apr 15, 2024
@felixfontein felixfontein changed the title keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales keycloak_realm: add normalizations for enabledEventTypes, and supportedLocales Apr 15, 2024
Copy link
Collaborator

@felixfontein felixfontein left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@yeoldegrove yeoldegrove force-pushed the keycloak_realm/add-normalizations branch from 34c3140 to 46f0ff1 Compare April 16, 2024 05:31
@yeoldegrove yeoldegrove force-pushed the keycloak_realm/add-normalizations branch from 46f0ff1 to a5a2169 Compare April 18, 2024 06:01
@ansibullbot ansibullbot added needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Apr 18, 2024
@felixfontein
Copy link
Collaborator

If nobody objects, I'll merge this on the upcoming weekend.

@ansibullbot ansibullbot removed needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR labels Apr 18, 2024
@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Apr 20, 2024
@felixfontein felixfontein merged commit 9d66a1d into ansible-collections:main Apr 20, 2024
132 of 133 checks passed
Copy link

patchback bot commented Apr 20, 2024

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/9d66a1dc1e54c242c899fe1dc6c1ceab7871a894/pr-8224

Backported as #8255

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein
Copy link
Collaborator

@yeoldegrove thanks for this one as well!

patchback bot pushed a commit that referenced this pull request Apr 20, 2024
…edLocales (#8224)

keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales

Signed-off-by: Eike Waldt <[email protected]>
(cherry picked from commit 9d66a1d)
Copy link

patchback bot commented Apr 20, 2024

Backport to stable-8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-8/9d66a1dc1e54c242c899fe1dc6c1ceab7871a894/pr-8224

Backported as #8256

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Apr 20, 2024
…edLocales (#8224)

keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales

Signed-off-by: Eike Waldt <[email protected]>
(cherry picked from commit 9d66a1d)
felixfontein pushed a commit that referenced this pull request Apr 21, 2024
…ions for enabledEventTypes, and supportedLocales (#8256)

keycloak_realm: add normalizations for enabledEventTypes, and supportedLocales (#8224)

keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales

Signed-off-by: Eike Waldt <[email protected]>
(cherry picked from commit 9d66a1d)

Co-authored-by: Eike Waldt <[email protected]>
felixfontein pushed a commit that referenced this pull request Apr 21, 2024
…ions for enabledEventTypes, and supportedLocales (#8255)

keycloak_realm: add normalizations for enabledEventTypes, and supportedLocales (#8224)

keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales

Signed-off-by: Eike Waldt <[email protected]>
(cherry picked from commit 9d66a1d)

Co-authored-by: Eike Waldt <[email protected]>
aretrosen pushed a commit to aretrosen/community.general that referenced this pull request Apr 22, 2024
…edLocales (ansible-collections#8224)

keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales

Signed-off-by: Eike Waldt <[email protected]>
Massl123 pushed a commit to Massl123/community.general that referenced this pull request Feb 7, 2025
…edLocales (ansible-collections#8224)

keycloak_realm: add nomalizations for enabledEventTypes, and supportedLocales

Signed-off-by: Eike Waldt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 Automatically create a backport for the stable-8 branch bug This issue/PR relates to a bug module module plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants