Skip to content

Commit

Permalink
Merge pull request #1829 from jedla97/bump-keycloak-image
Browse files Browse the repository at this point in the history
Enable Keycloak modules and bump the Keycloak images
  • Loading branch information
michalvavrik committed Jun 7, 2024
2 parents 04d03bb + 1cf983a commit e852160
Show file tree
Hide file tree
Showing 16 changed files with 84 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand Down
3 changes: 3 additions & 0 deletions http/http-advanced/src/test/resources/keycloak-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand Down
33 changes: 15 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<!-- Docker images used by both surefire and failsafe plugin -->
<postgresql.latest.image>docker.io/library/postgres:16.1</postgresql.latest.image>
<mysql.80.image>registry.access.redhat.com/rhscl/mysql-80-rhel7</mysql.80.image>
<rhbk.image>registry.redhat.io/rhbk/keycloak-rhel9:22-8</rhbk.image>
<rhbk.image>registry.redhat.io/rhbk/keycloak-rhel9:24</rhbk.image>
<wiremock-jre8.version>2.35.2</wiremock-jre8.version>
<build-reporter-maven-extension.version>3.7.0</build-reporter-maven-extension.version>
<reruns>2</reruns>
Expand Down Expand Up @@ -274,7 +274,7 @@
<infinispan.image>quay.io/infinispan/server:14.0</infinispan.image>
<infinispan.expected-log>Infinispan Server.*started in</infinispan.expected-log>
<spring.cloud.server.image>quay.io/quarkusqeteam/spring-cloud-config-server:4.1</spring.cloud.server.image>
<keycloak.image>quay.io/keycloak/keycloak:23.0.6</keycloak.image>
<keycloak.image>quay.io/keycloak/keycloak:24.0</keycloak.image>
<bouncycastle.bctls-fips.version>1.0.12.2</bouncycastle.bctls-fips.version>
<rhbk.image>${rhbk.image}</rhbk.image>
</systemPropertyVariables>
Expand Down Expand Up @@ -506,21 +506,19 @@
<module>security/https</module>
<module>security/jpa</module>
<module>security/jwt</module>
<!-- TODO: Jakub to follow-up https://github.com/quarkus-qe/quarkus-test-framework/pull/1153 -->
<!-- <module>security/keycloak</module> -->
<!-- <module>security/keycloak-authz-classic</module> -->
<!-- <module>security/keycloak-authz-reactive</module> -->
<!-- <module>security/keycloak-jwt</module> -->
<!-- <module>security/keycloak-webapp</module> -->
<!-- <module>security/keycloak-oauth2</module> -->
<!-- <module>security/keycloak-multitenant</module> -->
<!-- <module>security/keycloak-oidc-client-basic</module> -->
<!-- <module>security/keycloak-oidc-client-extended</module> -->
<!-- <module>security/keycloak-oidc-client-reactive-basic</module> -->
<!-- <module>security/keycloak-oidc-client-reactive-extended</module> -->
<module>security/keycloak</module>
<module>security/keycloak-authz-classic</module>
<module>security/keycloak-authz-reactive</module>
<module>security/keycloak-jwt</module>
<module>security/keycloak-webapp</module>
<module>security/keycloak-oauth2</module>
<module>security/keycloak-multitenant</module>
<module>security/keycloak-oidc-client-basic</module>
<module>security/keycloak-oidc-client-extended</module>
<module>security/keycloak-oidc-client-reactive-basic</module>
<module>security/keycloak-oidc-client-reactive-extended</module>
<module>security/vertx-jwt</module>
<!-- TODO: Jakub to follow-up https://github.com/quarkus-qe/quarkus-test-framework/pull/1153 -->
<!-- <module>security/oidc-client-mutual-tls</module> -->
<module>security/oidc-client-mutual-tls</module>
<module>security/webauthn</module>
</modules>
</profile>
Expand Down Expand Up @@ -567,8 +565,7 @@
<module>monitoring/micrometer-prometheus</module>
<module>monitoring/micrometer-prometheus-kafka</module>
<module>monitoring/micrometer-prometheus-kafka-reactive</module>
<!-- TODO: Jakub to follow-up https://github.com/quarkus-qe/quarkus-test-framework/pull/1153 -->
<!-- <module>monitoring/micrometer-prometheus-oidc</module> -->
<module>monitoring/micrometer-prometheus-oidc</module>
<module>monitoring/opentelemetry</module>
<module>monitoring/opentelemetry-reactive</module>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand All @@ -44,6 +47,9 @@
},
{
"username": "test-admin-user",
"email": "test-admin-user@localhost",
"firstName": "test-admin-user",
"lastName": "test-admin-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand All @@ -44,6 +47,9 @@
},
{
"username": "test-admin-user",
"email": "test-admin-user@localhost",
"firstName": "test-admin-user",
"lastName": "test-admin-user",
"enabled": true,
"credentials": [
{
Expand Down
6 changes: 6 additions & 0 deletions security/keycloak-jwt/src/test/resources/keycloak-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"users": [
{
"username": "test-user",
"email": "test-user@localhost",
"firstName": "test-user",
"lastName": "test-user",
"enabled": true,
"credentials": [
{
Expand All @@ -28,6 +31,9 @@
},
{
"username": "test-admin",
"email": "test-admin@localhost",
"firstName": "test-admin",
"lastName": "test-admin",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"users": [
{
"username": "test-user",
"email": "test-user@localhost",
"firstName": "test-user",
"lastName": "test-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand All @@ -28,6 +31,9 @@
},
{
"username": "test-admin-user",
"email": "test-admin-user@localhost",
"firstName": "test-admin-user",
"lastName": "test-admin-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand All @@ -34,6 +37,9 @@
},
{
"username": "test-admin-user",
"email": "test-admin-user@localhost",
"firstName": "test-admin-user",
"lastName": "test-admin-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"users": [
{
"username": "test-user",
"email": "test-user@localhost",
"firstName": "test-user",
"lastName": "test-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand All @@ -34,6 +37,9 @@
},
{
"username": "test-admin-user",
"email": "test-admin-user@localhost",
"firstName": "test-admin-user",
"lastName": "test-admin-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
"users": [
{
"username": "test-user",
"email": "test-user@localhost",
"firstName": "test-user",
"lastName": "test-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"users": [
{
"username": "test-user",
"email": "test-user@localhost",
"firstName": "test-user",
"lastName": "test-user",
"enabled": true,
"credentials": [
{
Expand All @@ -29,6 +32,9 @@
},
{
"username": "test-admin",
"email": "test-admin@localhost",
"firstName": "test-admin",
"lastName": "test-admin",
"enabled": true,
"credentials": [
{
Expand Down
6 changes: 6 additions & 0 deletions security/keycloak/src/test/resources/keycloak-realm.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
"users": [
{
"username": "test-normal-user",
"email": "test-normal-user@localhost",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
Expand All @@ -35,6 +38,9 @@
},
{
"username": "test-admin-user",
"email": "test-admin-user@localhost",
"firstName": "test-admin-user",
"lastName": "test-admin-user",
"enabled": true,
"credentials": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"users": [
{
"username": "test-normal-user",
"enabled": true,
"email": "[email protected]",
"firstName": "test-normal-user",
"lastName": "test-normal-user",
"enabled": true,
"credentials": [
{
"type": "password",
Expand Down

0 comments on commit e852160

Please sign in to comment.