From d2c5515d32971ce4fbde25df75de327df06427d2 Mon Sep 17 00:00:00 2001 From: Johannes Graf Date: Thu, 3 Aug 2023 00:10:53 +0200 Subject: [PATCH 1/3] bump to java 17 --- pom.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 8400167..21eeada 100644 --- a/pom.xml +++ b/pom.xml @@ -13,6 +13,8 @@ 21.1.2 ${project.artifactId}-${project.version} + 17 + 17 @@ -73,10 +75,7 @@ org.apache.maven.plugins maven-compiler-plugin - - 1.8 - 1.8 - + 3.11.0 From 35c10187ab3d227c918583689070904f22b77f1d Mon Sep 17 00:00:00 2001 From: Johannes Graf Date: Wed, 2 Aug 2023 22:49:01 +0200 Subject: [PATCH 2/3] bump keycloak dependency to 22.0.0 adjust imports to reflect switch to jakarta --- pom.xml | 2 +- .../keycloak/event/provider/EventAdminNotificationMqMsg.java | 2 +- .../keycloak/event/provider/EventClientNotificationMqMsg.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 21eeada..1bab0c9 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ Keycloak: Event Publisher to RabbitMQ - 21.1.2 + 22.0.0 ${project.artifactId}-${project.version} 17 17 diff --git a/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java b/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java index 0703e9b..d50c60d 100644 --- a/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java +++ b/src/main/java/com/github/aznamier/keycloak/event/provider/EventAdminNotificationMqMsg.java @@ -2,8 +2,8 @@ import java.io.Serializable; -import javax.xml.bind.annotation.XmlRootElement; +import jakarta.xml.bind.annotation.XmlRootElement; import org.keycloak.events.admin.AdminEvent; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; diff --git a/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java b/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java index 2be0c84..4b8de32 100644 --- a/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java +++ b/src/main/java/com/github/aznamier/keycloak/event/provider/EventClientNotificationMqMsg.java @@ -2,8 +2,8 @@ import java.io.Serializable; -import javax.xml.bind.annotation.XmlRootElement; +import jakarta.xml.bind.annotation.XmlRootElement; import org.keycloak.events.Event; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; From a7e8d5b31c0b1461d7de857283572622dfc23b90 Mon Sep 17 00:00:00 2001 From: Johannes Graf Date: Thu, 3 Aug 2023 00:16:40 +0200 Subject: [PATCH 3/3] bump version to reflect keycloak 22 update --- README.md | 9 +++++---- pom.xml | 4 ++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 6938912..7429e08 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,11 @@ ##### A Keycloak SPI plugin that publishes events to a RabbitMq server. | Plugin | min Keycloak ver | -| -- | ---- | -| 1.x | 10.x | -| 2.x | 13.x | -| 3.x | 16.x | +|--------|------------------| +| 1.x | 10.x | +| 2.x | 13.x | +| 3.x | 16.x | +| 4.x | 22.x | For example here is the notification of the user updated by administrator diff --git a/pom.xml b/pom.xml index 1bab0c9..7dd580e 100644 --- a/pom.xml +++ b/pom.xml @@ -5,8 +5,8 @@ com.github.aznamier.keycloak.event.provider keycloak-to-rabbit jar - 3.0.3 - + 4.0.0 + Keycloak: Event Publisher to RabbitMQ