Skip to content

Commit

Permalink
feat: upgraded version and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-segning committed Feb 20, 2024
1 parent dad9821 commit 603b4ac
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ jobs:
prerelease: false
allowUpdates: true
bodyFile: CHANGELOG.md
tag: v0.4.0
tag: v0.5.0
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Changelog

## v0.4.0
## v0.5.0

- Upgraded to Keycloak 22.0.4
- Changed base path for webhooks from `/webhook` to `/`
- Upgraded to Keycloak 23.0.6
6 changes: 3 additions & 3 deletions Dev.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG TAG=22.0.4
ARG TAG=23.0.6

FROM quay.io/keycloak/keycloak:${TAG}

ENV WEBHOOK_PLUGIN_VERSION 0.4.0
ENV WEBHOOK_PLUGIN_VERSION 0.5.0

ENV KEYCLOAK_DIR /opt/keycloak
ENV KC_PROXY edge
Expand All @@ -11,7 +11,7 @@ LABEL maintainer="Stephane, Segning Lambou <[email protected]>"

USER 0

COPY build/libs/keycloak-webhook-${WEBHOOK_PLUGIN_VERSION}-all.jar $KEYCLOAK_DIR/providers/keycloak-webhook.jar
COPY build/libs/keycloak-webhook-${WEBHOOK_PLUGIN_VERSION}-all.jar $KEYCLOAK_DIR/providers/keycloak-webhook-all.jar

RUN $KEYCLOAK_DIR/bin/kc.sh build

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ARG TAG=22.0.4
ARG PLUGIN_VERSION=0.4.0
ARG TAG=23.0.6
ARG PLUGIN_VERSION=0.5.0

FROM curlimages/curl AS DOWNLOADER

Expand Down
19 changes: 10 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ plugins {
}

group = "com.vymalo.keycloak.webhook"
version = "0.4.0"
version = "0.5.0"

val gsonVersion = "2.10.1"
val amqpVersion = "5.17.0"
val okhttp3Version = "4.10.0"
val okioVersion = "3.0.0"
val amqpVersion = "5.20.0"
val okhttp3Version = "4.12.0"
val okioVersion = "3.6.0"

repositories {
mavenCentral()
Expand All @@ -23,19 +23,20 @@ repositories {
dependencies {
testImplementation(kotlin("test"))

api("org.apache.commons", "commons-lang3", "3.12.0")
api("org.apache.commons", "commons-lang3", "3.14.0")

implementation(kotlin("stdlib"))

implementation("org.keycloak", "keycloak-services", "22.0.4")
implementation("org.keycloak", "keycloak-server-spi", "22.0.4")
implementation("org.keycloak", "keycloak-server-spi-private", "22.0.4")
implementation("org.keycloak", "keycloak-services", "23.0.6")
implementation("org.keycloak", "keycloak-server-spi", "23.0.6")
implementation("org.keycloak", "keycloak-server-spi-private", "23.0.6")

api("com.squareup.okhttp3", "okhttp", okhttp3Version)
api("com.rabbitmq", "amqp-client", amqpVersion)
api("com.google.code.gson", "gson", gsonVersion)

api("org.slf4j", "slf4j-log4j12", "1.7.36")
api("org.slf4j", "slf4j-log4j12", "2.0.12")
api("com.squareup.okio", "okio-jvm", okioVersion)
}

tasks.test {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:

KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
KEYCLOAK_FRONTEND_URL: http://localhost:9100/auth
#KEYCLOAK_FRONTEND_URL: http://localhost:9100

KC_HTTP_PORT: 9100
KC_METRICS_ENABLED: 'true'
Expand Down
2 changes: 1 addition & 1 deletion openapi/webhook.open-api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ info:
email: [email protected]
license:
name: MIT
version: 0.4.0
version: 0.5.0
externalDocs:
description: Find out more about calling setting up an external service to verify phone number
url: https://blog.ssegning.com
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,6 @@ class WebhookEventListenerProviderFactory : EventListenerProviderFactory, Server

override fun getId(): String = PROVIDER_ID

override fun getOperationalInfo() = mapOf("version" to "0.4.0")
override fun getOperationalInfo() = mapOf("version" to "0.5.0")

}

0 comments on commit 603b4ac

Please sign in to comment.