From eaeff564e0141f4f1c99e1a612657270cb797f92 Mon Sep 17 00:00:00 2001 From: Christopher Moyer Date: Mon, 2 Jan 2023 21:46:04 -0500 Subject: [PATCH] added more configurations and fixed direct component scope --- pom.xml | 17 ++++++++--------- src/main/resources/application.properties | 1 + 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pom.xml b/pom.xml index e62ec90..98e4097 100644 --- a/pom.xml +++ b/pom.xml @@ -35,10 +35,10 @@ - - - - + + org.apache.camel.quarkus + camel-quarkus-telegram + org.apache.camel.quarkus camel-quarkus-core @@ -55,6 +55,10 @@ io.quarkus quarkus-jdbc-postgresql + + org.apache.camel.quarkus + camel-quarkus-direct + io.quarkus quarkus-arc @@ -83,11 +87,6 @@ camel-quarkus-mock test - - org.apache.camel.quarkus - camel-quarkus-direct - test - diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index ebc32ce..d3c06fd 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,6 @@ app.jso-cad-update-route-in=rabbitmq:${RABBITMQ_IP}/jso.cad.updates.to.postgres?queue=jso.cad.update.received&declare=false&vhost=jso&username=${RABBITMQ_USER}&password=${RABBITMQ_PASSWORD}&autoDelete=false app.jso-cad-update-route-out=sql:INSERT INTO calls(incident_number, dispatched_time, address, signal, call_description, point) VALUES (:#incident_number, :#dispatched_time, :#address, :#signal, :#call_description, point(:#x, :#y)) +app.telegram-route=telegram:bots?authorizationToken=${TELEGRAM_BOT_ID}&chatId=${CHAT_ID} app.google-api-key=${GOOGLE_API_KEY} app.my-lat=30.3025061