From 5d5294e216342741cc3e4a07b90fc4881b3a27ab Mon Sep 17 00:00:00 2001 From: Michael Anstis Date: Mon, 10 Jan 2022 20:31:53 +0000 Subject: [PATCH] Move Trusty Service docker image name to properties file. --- quarkus/addons/tracing-decision/deployment/pom.xml | 11 +++++++++++ .../deployment/KogitoDevServicesBuildTimeConfig.java | 2 +- .../src/main/resources/application.properties | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 quarkus/addons/tracing-decision/deployment/src/main/resources/application.properties diff --git a/quarkus/addons/tracing-decision/deployment/pom.xml b/quarkus/addons/tracing-decision/deployment/pom.xml index 1eb3106be4f..891594eac7d 100644 --- a/quarkus/addons/tracing-decision/deployment/pom.xml +++ b/quarkus/addons/tracing-decision/deployment/pom.xml @@ -9,6 +9,11 @@ kogito-addons-quarkus-tracing-decision-deployment Kogito Add-On Tracing Decision - Deployment + + + 1.15.0 + + org.kie.kogito @@ -50,6 +55,12 @@ + + + src/main/resources + true + + maven-compiler-plugin diff --git a/quarkus/addons/tracing-decision/deployment/src/main/java/org/kie/kogito/tracing/decision/quarkus/deployment/KogitoDevServicesBuildTimeConfig.java b/quarkus/addons/tracing-decision/deployment/src/main/java/org/kie/kogito/tracing/decision/quarkus/deployment/KogitoDevServicesBuildTimeConfig.java index 736203cbf2c..fc798957180 100644 --- a/quarkus/addons/tracing-decision/deployment/src/main/java/org/kie/kogito/tracing/decision/quarkus/deployment/KogitoDevServicesBuildTimeConfig.java +++ b/quarkus/addons/tracing-decision/deployment/src/main/java/org/kie/kogito/tracing/decision/quarkus/deployment/KogitoDevServicesBuildTimeConfig.java @@ -42,7 +42,7 @@ public class KogitoDevServicesBuildTimeConfig { /** * The TrustyService image to use. */ - @ConfigItem(defaultValue = "quay.io/kiegroup/kogito-trusty-postgresql:1.14.0") + @ConfigItem public String imageName; /** diff --git a/quarkus/addons/tracing-decision/deployment/src/main/resources/application.properties b/quarkus/addons/tracing-decision/deployment/src/main/resources/application.properties new file mode 100644 index 00000000000..570cc529aa5 --- /dev/null +++ b/quarkus/addons/tracing-decision/deployment/src/main/resources/application.properties @@ -0,0 +1 @@ +quarkus.kogito.dev-services-trusty.image-name=quay.io/kiegroup/kogito-trusty-postgresql:${version.kogito.trusty.postgresql.image}