Skip to content

Commit 48f0d4a

Browse files
Tomáš Krausromain-grecourttomas-langer
authored
Blocking DB Client (helidon-io#7096)
* Issue helidon-io#6991 - Blocking DB Client: API, JDBC and Health Signed-off-by: Tomáš Kraus <tomas.kraus@oracle.com> * Issue helidon-io#6991 - Blocking DB Client: Interceptors API and initial implementation in JDBC Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com> * Issue helidon-io#6991 - Blocking DB Client: Tracing support Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com> * Issue helidon-io#6991 - Blocking DB Client: Common metrics module Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com> * - Fold dbclient-common into dbclient - Implement dbclient-mongodb - Re-work indexed/named parameters - Convergence between DbClientContext and DbClientExecuteContext - Generalized intercepted executions - Removed package-private factory methods in favor of constructors - Added javadocs - Copyright and checkstyle fixes * add missing newline * - Fix LRA - Fix examples/employee-app - Fix examples/dbclient * - Fix spotbugs errors - Add static factory to MongoDbClientBuilder * - Add metrics-jdbc - Add jsonp - Remove change in reactive/dbclient/jdbc * Add dbclient tests * - Rename io.helidon.dbclient.DbMapperProvider to io.helidon.dbclient.DbMapperProviderImpl to avoid confusion - Fix module-info to have uses io.helidon.dbclient.spi.DbMapperProvider - Fix connection close for transaction statements * integration tests (app) * - Fix copyright years - Consistent naming (DB Client -> Database Client) - Minize occurrences of the term "Pokemon" and use {@code Pokemon} when required. * Testing work. * Update maven-javadoc-plugin to 3.5.0 to get passed https://issues.apache.org/jira/browse/MJAVADOC-677 * Rebased on main, fixes to dbclient metrics Signed-off-by: Tomas Langer <tomas.langer@oracle.com> --------- Signed-off-by: Tomáš Kraus <tomas.kraus@oracle.com> Signed-off-by: Tomas Kraus <tomas.kraus@oracle.com> Signed-off-by: Tomas Langer <tomas.langer@oracle.com> Co-authored-by: Romain Grecourt <romain.grecourt@oracle.com> Co-authored-by: Tomas Langer <tomas.langer@oracle.com>
1 parent 9327495 commit 48f0d4a

361 files changed

Lines changed: 25107 additions & 15048 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

applications/parent/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@
4141
<version.plugin.compiler>3.8.1</version.plugin.compiler>
4242
<version.plugin.dependency>3.6.0</version.plugin.dependency>
4343
<version.plugin.exec>1.6.0</version.plugin.exec>
44-
<version.plugin.failsafe>3.0.0-M5</version.plugin.failsafe>
44+
<version.plugin.failsafe>3.1.2</version.plugin.failsafe>
4545
<version.plugin.helidon>3.0.3</version.plugin.helidon>
4646
<version.plugin.helidon-cli>3.0.3</version.plugin.helidon-cli>
4747
<version.plugin.jar>3.0.2</version.plugin.jar>
4848
<version.plugin.nativeimage>0.9.16</version.plugin.nativeimage>
4949
<version.plugin.os>1.5.0.Final</version.plugin.os>
5050
<version.plugin.protobuf>0.6.1</version.plugin.protobuf>
5151
<version.plugin.resources>2.7</version.plugin.resources>
52-
<version.plugin.surefire>3.0.0-M5</version.plugin.surefire>
52+
<version.plugin.surefire>3.1.0</version.plugin.surefire>
5353
</properties>
5454

5555
<build>

bom/pom.xml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,48 @@
678678
</dependency>
679679

680680
<!-- db client -->
681+
<dependency>
682+
<groupId>io.helidon.dbclient</groupId>
683+
<artifactId>helidon-dbclient</artifactId>
684+
<version>${helidon.version}</version>
685+
</dependency>
686+
<dependency>
687+
<groupId>io.helidon.dbclient</groupId>
688+
<artifactId>helidon-dbclient-jdbc</artifactId>
689+
<version>${helidon.version}</version>
690+
</dependency>
691+
<dependency>
692+
<groupId>io.helidon.dbclient</groupId>
693+
<artifactId>helidon-dbclient-mongodb</artifactId>
694+
<version>${helidon.version}</version>
695+
</dependency>
696+
<dependency>
697+
<groupId>io.helidon.dbclient</groupId>
698+
<artifactId>helidon-dbclient-health</artifactId>
699+
<version>${helidon.version}</version>
700+
</dependency>
701+
<dependency>
702+
<groupId>io.helidon.dbclient</groupId>
703+
<artifactId>helidon-dbclient-jsonp</artifactId>
704+
<version>${helidon.version}</version>
705+
</dependency>
706+
<dependency>
707+
<groupId>io.helidon.dbclient</groupId>
708+
<artifactId>helidon-dbclient-metrics</artifactId>
709+
<version>${helidon.version}</version>
710+
</dependency>
711+
<dependency>
712+
<groupId>io.helidon.dbclient</groupId>
713+
<artifactId>helidon-dbclient-metrics-jdbc</artifactId>
714+
<version>${helidon.version}</version>
715+
</dependency>
716+
<dependency>
717+
<groupId>io.helidon.dbclient</groupId>
718+
<artifactId>helidon-dbclient-tracing</artifactId>
719+
<version>${helidon.version}</version>
720+
</dependency>
721+
722+
<!-- reactive db client -->
681723
<dependency>
682724
<groupId>io.helidon.reactive.dbclient</groupId>
683725
<artifactId>helidon-reactive-dbclient</artifactId>

dbclient/dbclient/pom.xml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
Copyright (c) 2019, 2023 Oracle and/or its affiliates.
4+
5+
Licensed under the Apache License, Version 2.0 (the "License");
6+
you may not use this file except in compliance with the License.
7+
You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
18+
<project xmlns="http://maven.apache.org/POM/4.0.0"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
21+
<modelVersion>4.0.0</modelVersion>
22+
<parent>
23+
<groupId>io.helidon.dbclient</groupId>
24+
<artifactId>helidon-dbclient-project</artifactId>
25+
<version>4.0.0-SNAPSHOT</version>
26+
<relativePath>../pom.xml</relativePath>
27+
</parent>
28+
<artifactId>helidon-dbclient</artifactId>
29+
<name>Helidon Database Client API</name>
30+
<description>Helidon Database Client API</description>
31+
32+
<dependencies>
33+
<dependency>
34+
<groupId>io.helidon.common</groupId>
35+
<artifactId>helidon-common-config</artifactId>
36+
</dependency>
37+
<dependency>
38+
<groupId>io.helidon.common</groupId>
39+
<artifactId>helidon-common-context</artifactId>
40+
</dependency>
41+
<dependency>
42+
<groupId>io.helidon.common</groupId>
43+
<artifactId>helidon-common-mapper</artifactId>
44+
</dependency>
45+
<dependency>
46+
<groupId>io.helidon.common.features</groupId>
47+
<artifactId>helidon-common-features-api</artifactId>
48+
<optional>true</optional>
49+
</dependency>
50+
<dependency>
51+
<groupId>org.junit.jupiter</groupId>
52+
<artifactId>junit-jupiter-api</artifactId>
53+
<scope>test</scope>
54+
</dependency>
55+
<dependency>
56+
<groupId>org.hamcrest</groupId>
57+
<artifactId>hamcrest-all</artifactId>
58+
<scope>test</scope>
59+
</dependency>
60+
</dependencies>
61+
</project>

0 commit comments

Comments
 (0)