diff --git a/.github/README.md b/.github/README.md
new file mode 100644
index 0000000..b95b40f
--- /dev/null
+++ b/.github/README.md
@@ -0,0 +1,14 @@
+# Keycloak Metrics
+
+Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [22-26](.woodpecker/verify.yaml#L7-L11).
+
+[](https://central.sonatype.com/artifact/io.kokuwa.keycloak/keycloak-event-metrics)
+[](https://hub.docker.com/r/kokuwaio/keycloak-event-metrics)
+[](https://hub.docker.com/r/kokuwaio/keycloak-event-metrics)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/src/branch/main/Dockerfile)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/src/branch/main/LICENSE)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/issues)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/pulls)
+[](https://ci.kokuwa.io/repos/kokuwaio/keycloak-event-metrics/)
+
+For more documention see: [git.kokuwa.io/kokuwaio/keycloak-event-metrics](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
deleted file mode 100644
index 5d30921..0000000
--- a/.github/workflows/build.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: Verify
-
-on:
- - pull_request
- - push:
- branches: [main]
-
-env:
- MAVEN_ARGS: --batch-mode --color=always --no-transfer-progress
-
-jobs:
-
- build:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@main
- - uses: actions/setup-java@main
- with:
- distribution: temurin
- java-version: 17
- cache: maven
- - run: mvn verify
-
- versions:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- version:
- - 22.0.5
- - 23.0.7
- - 24.0.5
- - 25.0.6
- - 26.2.5
- steps:
- - uses: actions/checkout@main
- - uses: actions/setup-java@main
- with:
- distribution: temurin
- java-version: 17
- cache: maven
- - run: mvn verify -Dversion.org.keycloak.test=${{ matrix.version }}
diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml
deleted file mode 100644
index af980fa..0000000
--- a/.github/workflows/lint.yaml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: Lint
-
-on: push
-
-jobs:
-
- renovate:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@main
- - uses: docker://kokuwaio/renovate-config-validator
-
- markdownlint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@main
- - uses: docker://kokuwaio/markdownlint
-
- yamllint:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@main
- - uses: docker://kokuwaio/yamllint
diff --git a/.woodpecker/deploy.yaml b/.woodpecker/deploy.yaml
index 53976dc..7916e19 100644
--- a/.woodpecker/deploy.yaml
+++ b/.woodpecker/deploy.yaml
@@ -1,9 +1,9 @@
when:
instance: ci.kokuwa.io
- repo: keycloak/keycloak-event-metrics
+ repo: kokuwaio/keycloak-event-metrics
event: [manual, push]
branch: main
- path: [.woodpecker/deploy.yaml, Dockerfile, pom.xml, src/main/**]
+ path: [.woodpecker/deploy.yaml, README.md, Dockerfile, pom.xml, src/main/**]
services:
- name: dockerd
@@ -48,3 +48,14 @@ steps:
org.opencontainers.image.licenses: EUPL-1.2
org.opencontainers.image.ref.name: kokuwaio/keycloak-event-metrics
org.opencontainers.image.version: snapshot
+
+ dockerhub:
+ image: kokuwaio/dockerhub-metadata
+ settings:
+ repository: kokuwaio/keycloak-event-metrics
+ description-short: Provides metrics for Keycloak user/admin events and user/client/session count.
+ categories: monitoring-and-observability
+ username: {from_secret: dockerhub_username}
+ password: {from_secret: dockerhub_password}
+ when:
+ path: [README.md]
diff --git a/.woodpecker/dockerhub.yaml b/.woodpecker/dockerhub.yaml
deleted file mode 100644
index a443560..0000000
--- a/.woodpecker/dockerhub.yaml
+++ /dev/null
@@ -1,17 +0,0 @@
-when:
- instance: ci.kokuwa.io
- repo: keycloak/keycloak-event-metrics
- event: [manual, push]
- branch: main
- path: [.woodpecker/dockerhub.yaml, README.md]
-
-steps:
-
- metadata:
- image: kokuwaio/dockerhub-metadata
- settings:
- repository: kokuwaio/keycloak-event-metrics
- description-short: Provides metrics for Keycloak user/admin events and user/client/session count.
- categories: monitoring-and-observability
- username: {from_secret: dockerhub_username}
- password: {from_secret: dockerhub_password}
diff --git a/.woodpecker/release.yaml b/.woodpecker/release.yaml
index 8ec3522..5d560ab 100644
--- a/.woodpecker/release.yaml
+++ b/.woodpecker/release.yaml
@@ -1,6 +1,6 @@
when:
instance: ci.kokuwa.io
- repo: keycloak/keycloak-event-metrics
+ repo: kokuwaio/keycloak-event-metrics
event: deployment
branch: main
diff --git a/.yamllint.yaml b/.yamllint.yaml
index 8011808..21966f2 100644
--- a/.yamllint.yaml
+++ b/.yamllint.yaml
@@ -13,7 +13,3 @@ rules:
quoted-strings:
quote-type: double
required: only-when-needed
-
- # allow everything on keys
- truthy:
- check-keys: false
diff --git a/README.md b/README.md
index cd59d4d..b7d0bb0 100644
--- a/README.md
+++ b/README.md
@@ -2,14 +2,14 @@
Provides metrics for Keycloak user/admin events and user/client/session count. Tested on Keycloak [22-26](.woodpecker/verify.yaml#L7-L11).
-[](https://central.sonatype.com/search?namespace=io.kokuwa.keycloak&q=keycloak-event-metrics)
+[](https://central.sonatype.com/artifact/io.kokuwa.keycloak/keycloak-event-metrics)
[](https://hub.docker.com/r/kokuwaio/keycloak-event-metrics)
[](https://hub.docker.com/r/kokuwaio/keycloak-event-metrics)
-[](https://git.kokuwa.io/keycloak/keycloak-event-metrics/src/branch/main/Dockerfile)
-[](https://git.kokuwa.io/keycloak/keycloak-event-metrics/src/branch/main/LICENSE)
-[](https://git.kokuwa.io/keycloak/keycloak-event-metrics/pulls)
-[](https://git.kokuwa.io/keycloak/keycloak-event-metrics/issues)
-[](https://ci.kokuwa.io/repos/keycloak/keycloak-event-metrics/)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/src/branch/main/Dockerfile)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/src/branch/main/LICENSE)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/issues)
+[](https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/pulls)
+[](https://ci.kokuwa.io/repos/kokuwaio/keycloak-event-metrics/)
## Why?
diff --git a/pom.xml b/pom.xml
index 8802b9e..ea2dea8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,11 +4,11 @@
io.kokuwa.keycloak
keycloak-event-metrics
- 2.0.0
+ 2.0.1-SNAPSHOT
Keycloak Metrics
Provides metrics for Keycloak user/admin events
- https://git.kokuwa.io/keycloak/keycloak-event-metrics
+ https://git.kokuwa.io/kokuwaio/keycloak-event-metrics
2023
Kokuwa.io
@@ -33,18 +33,18 @@
- https://git.kokuwa.io/keycloak/keycloak-event-metrics
- scm:git:https://git.kokuwa.io/keycloak/keycloak-event-metrics.git
- scm:git:https://git.kokuwa.io/keycloak/keycloak-event-metrics.git
- 2.0.0
+ https://git.kokuwa.io/kokuwaio/keycloak-event-metrics
+ scm:git:https://git.kokuwa.io/kokuwaio/keycloak-event-metrics.git
+ scm:git:https://git.kokuwa.io/kokuwaio/keycloak-event-metrics.git
+ HEAD
forgejo
- https://git.kokuwa.io/keycloak/keycloak-event-metrics/issues
+ https://git.kokuwa.io/kokuwaio/keycloak-event-metrics/issues
woodpecker
- https://ci.kokuwa.io/repos/keycloak/keycloak-event-metrics
+ https://ci.kokuwa.io/repos/kokuwaio/keycloak-event-metrics
@@ -59,7 +59,7 @@
- 2025-06-25T14:15:09Z
+ 2025-06-25T14:15:39Z
UTF-8
ISO-8859-1
@@ -301,7 +301,7 @@
net.revelc.code.formatter
formatter-maven-plugin
- 2.26.0
+ 2.27.0
${formatter.configFile}
@@ -454,7 +454,7 @@
-
+
org.apache.maven.plugins
maven-source-plugin
@@ -506,7 +506,6 @@
central-publishing-maven-plugin
true
- true
sonatype.org
true
published
diff --git a/renovate.json b/renovate.json
index dc88820..c59fb01 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,5 +1,5 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
- "extends": ["local>infrastructure/renovate-config", ":reviewer(stephan.schnabel)"],
+ "extends": ["local>kokuwaio/renovate-config", ":reviewer(stephan.schnabel)"],
"pinDigests": false
}