Merge branch 'main' into issue-76

This commit is contained in:
Stephan Schnabel 2024-03-05 08:55:41 +01:00 committed by GitHub
commit 6e59841578
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 5 additions and 2 deletions

View file

@ -51,6 +51,7 @@ jobs:
- 21.1.2 - 21.1.2
- 22.0.5 - 22.0.5
- 23.0.7 - 23.0.7
- 24.0.0
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4

View file

@ -1,6 +1,6 @@
# Keycloak Metrics # Keycloak Metrics
Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [21-23](.github/workflows/pr.yaml#L50-L53). Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [21-24](.github/workflows/pr.yaml#L50-L54).
[![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/kokuwaio/keycloak-event-metrics.svg?label=License)](http://www.apache.org/licenses/) [![Apache License, Version 2.0, January 2004](https://img.shields.io/github/license/kokuwaio/keycloak-event-metrics.svg?label=License)](http://www.apache.org/licenses/)
[![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.keycloak/keycloak-event-metrics.svg?label=Maven%20Central)](https://central.sonatype.com/search?namespace=io.kokuwa.keycloak&q=keycloak-event-metrics) [![Maven Central](https://img.shields.io/maven-central/v/io.kokuwa.keycloak/keycloak-event-metrics.svg?label=Maven%20Central)](https://central.sonatype.com/search?namespace=io.kokuwa.keycloak&q=keycloak-event-metrics)

View file

@ -69,7 +69,7 @@
<!-- ============================== Libaries ============================= --> <!-- ============================== Libaries ============================= -->
<!-- ===================================================================== --> <!-- ===================================================================== -->
<version.org.keycloak>23.0.7</version.org.keycloak> <version.org.keycloak>24.0.0</version.org.keycloak>
<version.org.keycloak.test>${version.org.keycloak}</version.org.keycloak.test> <version.org.keycloak.test>${version.org.keycloak}</version.org.keycloak.test>
<version.org.testcontainers>1.18.3</version.org.testcontainers> <version.org.testcontainers>1.18.3</version.org.testcontainers>

View file

@ -80,6 +80,8 @@ public class KeycloakClient {
"emailVerified", true, "emailVerified", true,
"email", username + "@example.org", "email", username + "@example.org",
"username", username, "username", username,
"firstName", username,
"lastName", username,
"credentials", List.of(Map.of( "credentials", List.of(Map.of(
"type", CredentialRepresentation.PASSWORD, "type", CredentialRepresentation.PASSWORD,
"value", password, "value", password,