Closed jangxx closed 5 months ago
Thanks. We have not yet ported to 24
. If you want to try the branch where we're working on it, please pull the xgp/24-testcontainers
branch and build from source.
Fixed in #51
Okay, I pulled the xgp/24-testcontainers
branch, ran mvn clean install
and got it to build. I had to add .withEnv("JAVA_OPTS", "-Xms64m -Xmx4G")
at line 47 in src\test\java\io\phasetwo\keycloak\resources\AbstractResourceTest.java to get the keycloak container to not throw an out of memory error, but after that all the tests showed success (even though they were all clearly throwing errors about being unable to communicate with the keycloak docker container, but whatever).
The resulting jar file seems to work in letting me create, fetch and delete webhooks and the webhooks also get triggered correctly. Thanks a lot.
Oh, looks like you were faster than me, alright. I'm going to check out the PR.
I'm running Keycloak 24.0.1 inside of the default
quay.io/keycloak/keycloak
docker image with a built version of the plugin mounted into the container as a volume. I also set some environment variables in the docker compose file:I'm now trying to list all webhooks by using the respective endpoint, but all I'm getting is a HTTP 500 response and the logs containing the following lines:
Googling for this error leads to no results so I assume it's a bug somewhere in the plugin where it doesn't like some part of my setup.