-
|
First of all. I'm not a very experienced java developer. This might be something very obvious :) I'm working on a slightly modified version of https://github.com/aznamier/keycloak-event-listener-rabbitmq/ and adding a test for it using test containers (namespace has changed from Now, when running the test, keycloak fails to start Now the KeycloakContainer is configured like this: @Container
private final KeycloakContainer keycloak = new KeycloakContainer()
.withEnv("KK_TO_RMQ_URL", "rabbitmq")
.withEnv("KK_TO_RMQ_USER", "guest")
.withEnv("KK_TO_RMQ_PASSWORD", "guest")
.withEnv("KK_TO_RMQ_EXCHANGE", "events")
.withRealmImportFile("integration-test.json")
.withDefaultProviderClasses()
.withVerboseOutput()
.withNetwork(network)
.dependsOn(rabbitmq);So, this project has a dependency on |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Oh, there is section in the readme about dependencies... I'll try something with that! Edit: Yes. Fixed by specifying additional libs .withProviderLibsFrom(
Maven.resolver()
.loadPomFromFile("./pom.xml")
.resolve("com.rabbitmq:amqp-client")
.withoutTransitivity().asList(File.class)
) |
Beta Was this translation helpful? Give feedback.
Oh, there is section in the readme about dependencies... I'll try something with that!
Edit:
Yes. Fixed by specifying additional libs