Skip to content

Commit e79c915

Browse files
authored
Merge branch 'openGemini:main' into main
2 parents 2861337 + b511969 commit e79c915

File tree

12 files changed

+118
-12
lines changed

12 files changed

+118
-12
lines changed

.typos.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2024 openGemini Authors
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
[default.extend-words]
16+
# abbr
17+
"vertx" = "vertx"

opengemini-client-api/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-client-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
</parent>
2626

2727
<artifactId>opengemini-client-api</artifactId>

opengemini-client-common/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-client-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
</parent>
2626

2727
<artifactId>opengemini-client-common</artifactId>

opengemini-client-reactor/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-client-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
</parent>
2626

2727
<artifactId>opengemini-client-reactor</artifactId>

opengemini-client/pom.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-client-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
</parent>
2626

2727
<artifactId>opengemini-client</artifactId>
@@ -54,6 +54,23 @@
5454
<version>${okhttp.version}</version>
5555
<scope>provided</scope>
5656
</dependency>
57+
<dependency>
58+
<groupId>io.grpc</groupId>
59+
<artifactId>grpc-netty</artifactId>
60+
</dependency>
61+
<dependency>
62+
<groupId>io.grpc</groupId>
63+
<artifactId>grpc-stub</artifactId>
64+
</dependency>
65+
<dependency>
66+
<groupId>io.grpc</groupId>
67+
<artifactId>grpc-protobuf</artifactId>
68+
</dependency>
69+
<dependency>
70+
<groupId>io.vertx</groupId>
71+
<artifactId>vertx-grpc</artifactId>
72+
<version>${vertx.version}</version>
73+
</dependency>
5774
</dependencies>
5875

5976
</project>

pom.xml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-client-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
<packaging>pom</packaging>
2626
<modules>
2727
<module>opengemini-client</module>
@@ -42,6 +42,7 @@
4242
<annotations.version>13.0</annotations.version>
4343
<async-http-client.version>3.0.0.Beta3</async-http-client.version>
4444
<commons-lang3.version>3.17.0</commons-lang3.version>
45+
<grpc.version>1.61.1</grpc.version>
4546
<http-facade.version>0.2.1</http-facade.version>
4647
<jackson.version>2.17.2</jackson.version>
4748
<junit.version>5.11.1</junit.version>
@@ -52,11 +53,14 @@
5253
<mockito.version>5.13.0</mockito.version>
5354
<okhttp.version>4.12.0</okhttp.version>
5455
<puppycrawl.version>10.18.1</puppycrawl.version>
56+
<protobuf.version>3.25.1</protobuf.version>
57+
<protoc.version>3.25.1</protoc.version>
5558
<reactor-netty.version>1.1.21</reactor-netty.version>
5659
<scala.version>3.4.0</scala.version>
5760
<slf4j.version>2.0.7</slf4j.version>
58-
<spring.version>6.0.19</spring.version>
59-
<spring-boot.version>3.1.11</spring-boot.version>
61+
<spring.version>6.1.12</spring.version>
62+
<spring-boot.version>3.2.9</spring-boot.version>
63+
<vertx.version>4.5.10</vertx.version>
6064
<!-- plugin -->
6165
<central-publishing-maven-plugin.version>0.6.0</central-publishing-maven-plugin.version>
6266
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
@@ -70,6 +74,8 @@
7074
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
7175
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
7276
<maven-surefire-plugin.version>3.5.0</maven-surefire-plugin.version>
77+
<maven-os-maven-plugin.version>1.7.1</maven-os-maven-plugin.version>
78+
<maven-protobuf-maven-plugin>0.6.1</maven-protobuf-maven-plugin>
7379
<nexus-staging-plugin.version>1.6.13</nexus-staging-plugin.version>
7480
<scala-maven-plugin.version>4.9.2</scala-maven-plugin.version>
7581
<spotbugs-maven-plugin.version>4.8.6.4</spotbugs-maven-plugin.version>
@@ -95,6 +101,13 @@
95101
<artifactId>jackson-databind</artifactId>
96102
<version>${jackson.version}</version>
97103
</dependency>
104+
<dependency>
105+
<groupId>io.grpc</groupId>
106+
<artifactId>grpc-bom</artifactId>
107+
<version>${grpc.version}</version>
108+
<type>pom</type>
109+
<scope>import</scope>
110+
</dependency>
98111
</dependencies>
99112
</dependencyManagement>
100113

@@ -146,6 +159,13 @@
146159
</dependencies>
147160

148161
<build>
162+
<extensions>
163+
<extension>
164+
<groupId>kr.motd.maven</groupId>
165+
<artifactId>os-maven-plugin</artifactId>
166+
<version>${maven-os-maven-plugin.version}</version>
167+
</extension>
168+
</extensions>
149169
<sourceDirectory>${src.dir}</sourceDirectory>
150170
<plugins>
151171
<plugin>

spring/opengemini-spring-boot-starter-reactive/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-spring-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

spring/opengemini-spring-boot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-spring-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

spring/opengemini-spring/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.opengemini</groupId>
2323
<artifactId>opengemini-spring-parent</artifactId>
24-
<version>0.3.2</version>
24+
<version>0.3.3</version>
2525
<relativePath>../pom.xml</relativePath>
2626
</parent>
2727

spring/opengemini-spring/src/main/java/io/opengemini/client/spring/data/core/OpenGeminiPropertiesConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public HttpClientConfig toHttpClientConfig(OpenGeminiProperties.Http http) {
8383
HttpClientConfig.Builder builder = new HttpClientConfig.Builder();
8484
builder.engine(http.getEngine());
8585
builder.timeout(http.getTimeout());
86-
builder.timeout(http.getTimeout());
86+
builder.connectTimeout(http.getConnectTimeout());
8787
Optional.ofNullable(http.getSsl()).map(this::toTlsConfig).ifPresent(builder::tlsConfig);
8888
Optional.ofNullable(http.getOkHttp()).map(this::toOkHttpConfig).ifPresent(builder::okHttpConfig);
8989
return builder.build();

0 commit comments

Comments
 (0)