From 95e8852c5dfce34fd1f57c91f5169f154af1a2ee Mon Sep 17 00:00:00 2001 From: Mike Battles Date: Tue, 4 Jun 2024 11:15:03 -0400 Subject: [PATCH 1/3] changing property to support env variable --- src/main/resources/META-INF/resources/index.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main/resources/META-INF/resources/index.html diff --git a/src/main/resources/META-INF/resources/index.html b/src/main/resources/META-INF/resources/index.html new file mode 100644 index 0000000..f1f60a3 --- /dev/null +++ b/src/main/resources/META-INF/resources/index.html @@ -0,0 +1,10 @@ + + + + + App Deployed + + +

Landing page for a successful deployment

+ + \ No newline at end of file From 90e9255e301de8cc3f56204164d453090613660e Mon Sep 17 00:00:00 2001 From: Mike Battles Date: Tue, 4 Jun 2024 12:19:58 -0400 Subject: [PATCH 2/3] defaulting to main brokers URL --- src/main/resources/application.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 3b070df..778ac25 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,7 +6,8 @@ quarkus.kafka.devservices.provider = strimzi kafka.topic.name=test # Kafka brokers in native test -%prod.camel.component.kafka.brokers=${kafka.bootstrap.servers} +#%prod.camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092} +camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092} # How often should the messages be generated and pushed to Kafka Topic timer.period = 10000 From 5a9448f690aada6c497675ba122f5aca4a456d0e Mon Sep 17 00:00:00 2001 From: Mike Battles Date: Tue, 4 Jun 2024 12:53:01 -0400 Subject: [PATCH 3/3] reverting back to %prod configuration --- src/main/resources/application.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 778ac25..d9ad562 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -6,8 +6,8 @@ quarkus.kafka.devservices.provider = strimzi kafka.topic.name=test # Kafka brokers in native test -#%prod.camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092} -camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092} +%prod.camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092} +#camel.component.kafka.brokers=${BOOTSTRAP_URL:my-cluster-kafka-bootstrap:9092} # How often should the messages be generated and pushed to Kafka Topic timer.period = 10000