diff --git a/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/resources/application.properties b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/resources/application.properties new file mode 100644 index 0000000000..d0b6aa7199 --- /dev/null +++ b/kogito-quarkus-examples/process-kafka-persistence-quarkus/src/test/resources/application.properties @@ -0,0 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 1626279866..fba27c9a93 100755 --- a/pom.xml +++ b/pom.xml @@ -410,6 +410,11 @@ org.apache.maven.plugins maven-failsafe-plugin + + + ${container.image.kafka} + + diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml index ea2d5d4bf8..0624ec72db 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/pom.xml @@ -154,6 +154,7 @@ org.jboss.logmanager.LogManager ${maven.home} + ${container.image.kafka} diff --git a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties index aa62062ff2..f88d69af54 100644 --- a/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-callback-quarkus/src/test/resources/application.properties @@ -21,3 +21,5 @@ quarkus.kogito.devservices.enabled=false kie.flyway.enabled=true quarkus.datasource.db-kind=postgresql + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml index 07e78a31dc..09c9abff84 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/pom.xml @@ -146,6 +146,7 @@ org.jboss.logmanager.LogManager ${maven.home} + ${container.image.kafka} diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties index 50bf6c1154..f4a7c5c71b 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus-mongodb/src/test/resources/application.properties @@ -21,4 +21,6 @@ quarkus.http.test-port=0 # Temporary fix for test to pass due to issue in Quarkus classloading resolver -quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers \ No newline at end of file +quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml index 75736429f9..56d8c803a8 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/pom.xml @@ -146,6 +146,7 @@ org.jboss.logmanager.LogManager ${maven.home} + ${container.image.kafka} diff --git a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties index 50bf6c1154..f4a7c5c71b 100644 --- a/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties +++ b/serverless-workflow-examples/serverless-workflow-correlation-quarkus/src/test/resources/application.properties @@ -21,4 +21,6 @@ quarkus.http.test-port=0 # Temporary fix for test to pass due to issue in Quarkus classloading resolver -quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers \ No newline at end of file +quarkus.class-loading.parent-first-artifacts=org.testcontainers:testcontainers + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file diff --git a/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml b/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml index b3135db6c7..ba95319075 100644 --- a/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-examples-parent/pom.xml @@ -35,6 +35,7 @@ 2024-01-16T00:00:00Z 3.4.1 + redpandadata/redpanda:v24.3.1 diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml index 52febe5d5c..63d414a42c 100644 --- a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/pom.xml @@ -162,6 +162,7 @@ org.jboss.logmanager.LogManager ${maven.home} + ${container.image.kafka} diff --git a/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/resources/application.properties b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/resources/application.properties new file mode 100644 index 0000000000..d0b6aa7199 --- /dev/null +++ b/serverless-workflow-examples/serverless-workflow-qas-service-showcase/query-service/src/test/resources/application.properties @@ -0,0 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# + +quarkus.kafka.devservices.image-name=${container.image.kafka} \ No newline at end of file