This is an automated email from the ASF dual-hosted git repository. jamesnetherton pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/main by this push: new ffc8c12d34 Use more correct convention with configuring datasource ffc8c12d34 is described below commit ffc8c12d34921136a6aed8b4682e831fecd388a7 Author: Lukas Lowinger <llowi...@redhat.com> AuthorDate: Thu May 16 13:12:57 2024 +0200 Use more correct convention with configuring datasource --- .../apache/camel/quarkus/component/opentelemetry/it/JdbcQueryBean.java | 2 -- .../opentelemetry/src/main/resources/application.properties | 3 +-- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/integration-tests/opentelemetry/src/main/java/org/apache/camel/quarkus/component/opentelemetry/it/JdbcQueryBean.java b/integration-tests/opentelemetry/src/main/java/org/apache/camel/quarkus/component/opentelemetry/it/JdbcQueryBean.java index 8a5b09e7bd..ead2d1db0d 100644 --- a/integration-tests/opentelemetry/src/main/java/org/apache/camel/quarkus/component/opentelemetry/it/JdbcQueryBean.java +++ b/integration-tests/opentelemetry/src/main/java/org/apache/camel/quarkus/component/opentelemetry/it/JdbcQueryBean.java @@ -22,7 +22,6 @@ import java.sql.SQLException; import java.sql.Statement; import io.agroal.api.AgroalDataSource; -import io.quarkus.agroal.DataSource; import io.quarkus.runtime.annotations.RegisterForReflection; import jakarta.inject.Inject; import jakarta.inject.Named; @@ -33,7 +32,6 @@ import jakarta.inject.Singleton; @RegisterForReflection(fields = false) public class JdbcQueryBean { @Inject - @DataSource("postgres") AgroalDataSource dataSource; public long getNowTimestamp() { diff --git a/integration-tests/opentelemetry/src/main/resources/application.properties b/integration-tests/opentelemetry/src/main/resources/application.properties index 4b09058179..e9e91adead 100644 --- a/integration-tests/opentelemetry/src/main/resources/application.properties +++ b/integration-tests/opentelemetry/src/main/resources/application.properties @@ -22,5 +22,4 @@ quarkus.camel.opentelemetry.exclude-patterns = timer:filtered* quarkus.otel.bsp.schedule.delay=1 quarkus.otel.bsp.export.timeout=5s -quarkus.datasource."postgres".db-kind=postgresql -quarkus.datasource."postgres".jdbc.telemetry=true \ No newline at end of file +quarkus.datasource.jdbc.telemetry=true \ No newline at end of file