Skip to content

Commit 0f9956a

Browse files
lizhou1111lizhou1111Jasmine-geeddumelendez
authored
Add Timeplus module (#8779)
Co-authored-by: lizhou1111 <[email protected]> Co-authored-by: Jasmine-ge <[email protected]> Co-authored-by: Eddú Meléndez <[email protected]>
1 parent e7f8af5 commit 0f9956a

File tree

17 files changed

+300
-0
lines changed

17 files changed

+300
-0
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ body:
6060
- Solace
6161
- Solr
6262
- TiDB
63+
- Timeplus
6364
- ToxiProxy
6465
- Trino
6566
- Vault

.github/ISSUE_TEMPLATE/enhancement.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ body:
6060
- Solace
6161
- Solr
6262
- TiDB
63+
- Timeplus
6364
- ToxiProxy
6465
- Trino
6566
- Vault

.github/ISSUE_TEMPLATE/feature.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ body:
6060
- Solace
6161
- Solr
6262
- TiDB
63+
- Timeplus
6364
- ToxiProxy
6465
- Trino
6566
- Vault

.github/dependabot.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,11 @@ updates:
342342
schedule:
343343
interval: "weekly"
344344
open-pull-requests-limit: 10
345+
- package-ecosystem: "gradle"
346+
directory: "/modules/timeplus"
347+
schedule:
348+
interval: "weekly"
349+
open-pull-requests-limit: 10
345350
- package-ecosystem: "gradle"
346351
directory: "/modules/toxiproxy"
347352
schedule:

.github/labeler.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,10 @@
216216
- changed-files:
217217
- any-glob-to-any-file:
218218
- modules/tidb/**/*
219+
"modules/timeplus":
220+
- changed-files:
221+
- any-glob-to-any-file:
222+
- modules/timeplus/**/*
219223
"modules/toxiproxy":
220224
- changed-files:
221225
- any-glob-to-any-file:

.github/settings.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,9 @@ labels:
253253
- name: modules/tidb
254254
color: '#006b75'
255255

256+
- name: modules/timeplus
257+
color: '#006b75'
258+
256259
- name: modules/toxiproxy
257260
color: '#006b75'
258261

docs/modules/databases/jdbc.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ Insert `tc:` after `jdbc:` as follows. Note that the hostname, port and database
8787

8888
`jdbc:tc:tidb:v6.1.0:///databasename`
8989

90+
#### Using Timeplus
91+
92+
`jdbc:tc:timeplus:2.3.21:///databasename`
93+
9094
#### Using Trino
9195

9296
`jdbc:tc:trino:352://localhost/memory/default`

docs/modules/databases/timeplus.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Timeplus Module
2+
3+
## Adding this module to your project dependencies
4+
5+
Add the following dependency to your `pom.xml`/`build.gradle` file:
6+
7+
=== "Gradle"
8+
```groovy
9+
testImplementation "org.testcontainers:timeplus:{{latest_version}}"
10+
```
11+
12+
=== "Maven"
13+
```xml
14+
<dependency>
15+
<groupId>org.testcontainers</groupId>
16+
<artifactId>timeplus</artifactId>
17+
<version>{{latest_version}}</version>
18+
<scope>test</scope>
19+
</dependency>
20+
```
21+
22+
!!! hint
23+
Adding this Testcontainers library JAR will not automatically add a database driver JAR to your project. You should ensure that your project also has a suitable database driver as a dependency.
24+

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ nav:
7272
- modules/databases/presto.md
7373
- modules/databases/questdb.md
7474
- modules/databases/tidb.md
75+
- modules/databases/timeplus.md
7576
- modules/databases/trino.md
7677
- modules/databases/yugabytedb.md
7778
- modules/activemq.md

modules/timeplus/build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
description = "Testcontainers :: JDBC :: Timeplus"
2+
3+
dependencies {
4+
api project(':testcontainers')
5+
api project(':jdbc')
6+
7+
testImplementation project(':jdbc-test')
8+
testRuntimeOnly 'com.timeplus:timeplus-native-jdbc:2.0.4'
9+
testImplementation 'org.assertj:assertj-core:3.26.3'
10+
}

0 commit comments

Comments
 (0)