You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2024/08/20 11:03:33 UTC
(shardingsphere) branch master updated: Add jdbc url params to e2e config. (#32605)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 3f71b8ff397 Add jdbc url params to e2e config. (#32605)
3f71b8ff397 is described below
commit 3f71b8ff3975d689bffa759980151fae3f86ec65
Author: Cong Hu <ia...@gmail.com>
AuthorDate: Tue Aug 20 19:03:27 2024 +0800
Add jdbc url params to e2e config. (#32605)
---
.../env/scenario/db/jdbc/conf/mysql/rules.yaml | 20 +++++------
.../env/scenario/db/jdbc/conf/opengauss/rules.yaml | 20 +++++------
.../scenario/db/jdbc/conf/postgresql/rules.yaml | 20 +++++------
.../jdbc/conf/mysql/rules.yaml | 20 +++++------
.../jdbc/conf/opengauss/rules.yaml | 20 +++++------
.../jdbc/conf/postgresql/rules.yaml | 20 +++++------
.../jdbc/conf/mysql/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/opengauss/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/postgresql/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/mysql/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/opengauss/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/postgresql/rules.yaml | 40 ++++++++++-----------
.../distsql_rdl/jdbc/conf/mysql/rules.yaml | 6 ++--
.../distsql_rdl/jdbc/conf/opengauss/rules.yaml | 6 ++--
.../distsql_rdl/jdbc/conf/postgresql/rules.yaml | 6 ++--
.../empty_rules/jdbc/conf/mysql/rules.yaml | 42 +++++++++++-----------
.../empty_rules/jdbc/conf/opengauss/rules.yaml | 42 +++++++++++-----------
.../empty_rules/jdbc/conf/postgresql/rules.yaml | 42 +++++++++++-----------
.../scenario/encrypt/jdbc/conf/mysql/rules.yaml | 2 +-
.../encrypt/jdbc/conf/opengauss/rules.yaml | 2 +-
.../encrypt/jdbc/conf/postgresql/rules.yaml | 2 +-
.../jdbc/conf/mysql/rules.yaml | 4 +--
.../jdbc/conf/opengauss/rules.yaml | 4 +--
.../jdbc/conf/postgresql/rules.yaml | 4 +--
.../encrypt_shadow/jdbc/conf/mysql/rules.yaml | 4 +--
.../encrypt_shadow/jdbc/conf/opengauss/rules.yaml | 4 +--
.../encrypt_shadow/jdbc/conf/postgresql/rules.yaml | 4 +--
.../env/scenario/mask/jdbc/conf/mysql/rules.yaml | 2 +-
.../scenario/mask/jdbc/conf/opengauss/rules.yaml | 2 +-
.../scenario/mask/jdbc/conf/postgresql/rules.yaml | 2 +-
.../mask_encrypt/jdbc/conf/mysql/rules.yaml | 2 +-
.../mask_encrypt/jdbc/conf/opengauss/rules.yaml | 2 +-
.../mask_encrypt/jdbc/conf/postgresql/rules.yaml | 2 +-
.../jdbc/conf/mysql/rules.yaml | 20 +++++------
.../jdbc/conf/opengauss/rules.yaml | 20 +++++------
.../jdbc/conf/postgresql/rules.yaml | 20 +++++------
.../mask_sharding/jdbc/conf/mysql/rules.yaml | 20 +++++------
.../mask_sharding/jdbc/conf/opengauss/rules.yaml | 20 +++++------
.../mask_sharding/jdbc/conf/postgresql/rules.yaml | 20 +++++------
.../passthrough/jdbc/conf/mysql/rules.yaml | 2 +-
.../passthrough/jdbc/conf/opengauss/rules.yaml | 2 +-
.../passthrough/jdbc/conf/postgresql/rules.yaml | 2 +-
.../readwrite_splitting/jdbc/conf/mysql/rules.yaml | 6 ++--
.../jdbc/conf/opengauss/rules.yaml | 6 ++--
.../jdbc/conf/postgresql/rules.yaml | 6 ++--
.../jdbc/conf/mysql/rules.yaml | 8 ++---
.../jdbc/conf/opengauss/rules.yaml | 8 ++---
.../jdbc/conf/postgresql/rules.yaml | 8 ++---
.../env/scenario/shadow/jdbc/conf/mysql/rules.yaml | 4 +--
.../scenario/shadow/jdbc/conf/opengauss/rules.yaml | 4 +--
.../shadow/jdbc/conf/postgresql/rules.yaml | 4 +--
.../jdbc/conf/mysql/rules.yaml | 20 +++++------
.../jdbc/conf/opengauss/rules.yaml | 20 +++++------
.../jdbc/conf/postgresql/rules.yaml | 20 +++++------
.../sharding_and_shadow/jdbc/conf/mysql/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/opengauss/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/postgresql/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/mysql/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/opengauss/rules.yaml | 40 ++++++++++-----------
.../jdbc/conf/postgresql/rules.yaml | 40 ++++++++++-----------
.../env/scenario/tbl/jdbc/conf/mysql/rules.yaml | 2 +-
.../scenario/tbl/jdbc/conf/opengauss/rules.yaml | 2 +-
.../scenario/tbl/jdbc/conf/postgresql/rules.yaml | 2 +-
63 files changed, 516 insertions(+), 516 deletions(-)
diff --git a/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/mysql/rules.yaml
index 726ee9d0f00..31bd7683e5b 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: db
dataSources:
ds_0:
- url: jdbc:mysql://mysql.db.host:3306/db_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_1:
- url: jdbc:mysql://mysql.db.host:3306/db_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_2:
- url: jdbc:mysql://mysql.db.host:3306/db_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_3:
- url: jdbc:mysql://mysql.db.host:3306/db_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_4:
- url: jdbc:mysql://mysql.db.host:3306/db_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_5:
- url: jdbc:mysql://mysql.db.host:3306/db_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_6:
- url: jdbc:mysql://mysql.db.host:3306/db_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_7:
- url: jdbc:mysql://mysql.db.host:3306/db_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_8:
- url: jdbc:mysql://mysql.db.host:3306/db_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_9:
- url: jdbc:mysql://mysql.db.host:3306/db_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db.host:3306/db_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/opengauss/rules.yaml
index 1a7db8cf74f..a1b9b0f9130 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: db
dataSources:
ds_0:
- url: jdbc:opengauss://opengauss.db.host:5432/db_0
+ url: jdbc:opengauss://opengauss.db.host:5432/db_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_1:
- url: jdbc:opengauss://opengauss.db.host:5432/db_1
+ url: jdbc:opengauss://opengauss.db.host:5432/db_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_2:
- url: jdbc:opengauss://opengauss.db.host:5432/db_2
+ url: jdbc:opengauss://opengauss.db.host:5432/db_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_3:
- url: jdbc:opengauss://opengauss.db.host:5432/db_3
+ url: jdbc:opengauss://opengauss.db.host:5432/db_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_4:
- url: jdbc:opengauss://opengauss.db.host:5432/db_4
+ url: jdbc:opengauss://opengauss.db.host:5432/db_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_5:
- url: jdbc:opengauss://opengauss.db.host:5432/db_5
+ url: jdbc:opengauss://opengauss.db.host:5432/db_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_6:
- url: jdbc:opengauss://opengauss.db.host:5432/db_6
+ url: jdbc:opengauss://opengauss.db.host:5432/db_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_7:
- url: jdbc:opengauss://opengauss.db.host:5432/db_7
+ url: jdbc:opengauss://opengauss.db.host:5432/db_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_8:
- url: jdbc:opengauss://opengauss.db.host:5432/db_8
+ url: jdbc:opengauss://opengauss.db.host:5432/db_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_9:
- url: jdbc:opengauss://opengauss.db.host:5432/db_9
+ url: jdbc:opengauss://opengauss.db.host:5432/db_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/postgresql/rules.yaml
index 0d4cd56986c..c12ee616e75 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/db/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: db
dataSources:
ds_0:
- url: jdbc:postgresql://postgresql.db.host:5432/db_0
+ url: jdbc:postgresql://postgresql.db.host:5432/db_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_1:
- url: jdbc:postgresql://postgresql.db.host:5432/db_1
+ url: jdbc:postgresql://postgresql.db.host:5432/db_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_2:
- url: jdbc:postgresql://postgresql.db.host:5432/db_2
+ url: jdbc:postgresql://postgresql.db.host:5432/db_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_3:
- url: jdbc:postgresql://postgresql.db.host:5432/db_3
+ url: jdbc:postgresql://postgresql.db.host:5432/db_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_4:
- url: jdbc:postgresql://postgresql.db.host:5432/db_4
+ url: jdbc:postgresql://postgresql.db.host:5432/db_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_5:
- url: jdbc:postgresql://postgresql.db.host:5432/db_5
+ url: jdbc:postgresql://postgresql.db.host:5432/db_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_6:
- url: jdbc:postgresql://postgresql.db.host:5432/db_6
+ url: jdbc:postgresql://postgresql.db.host:5432/db_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_7:
- url: jdbc:postgresql://postgresql.db.host:5432/db_7
+ url: jdbc:postgresql://postgresql.db.host:5432/db_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_8:
- url: jdbc:postgresql://postgresql.db.host:5432/db_8
+ url: jdbc:postgresql://postgresql.db.host:5432/db_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
ds_9:
- url: jdbc:postgresql://postgresql.db.host:5432/db_9
+ url: jdbc:postgresql://postgresql.db.host:5432/db_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/mysql/rules.yaml
index faa0fb5b332..61bc3aa9d00 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: db_tbl_sql_federation
dataSources:
sql_federation_ds_0:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_1:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_2:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_3:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_4:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_5:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_6:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_7:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_8:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_9:
- url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.db_tbl_sql_federation.host:3306/sql_federation_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/opengauss/rules.yaml
index f2cf347578c..5ec2b5b056f 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: db_tbl_sql_federation
dataSources:
sql_federation_ds_0:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_0
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_1:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_1
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_2:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_2
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_3:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_3
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_4:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_4
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_5:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_5
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_6:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_6
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_7:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_7
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_8:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_8
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_9:
- url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_9
+ url: jdbc:opengauss://opengauss.db_tbl_sql_federation.host:5432/sql_federation_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/postgresql/rules.yaml
index 8a7730b385f..d864dc14ffd 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: db_tbl_sql_federation
dataSources:
sql_federation_ds_0:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_0
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_1:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_1
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_2:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_2
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_3:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_3
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_4:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_4
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_5:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_5
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_6:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_6
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_7:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_7
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_8:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_8
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 50
minPoolSize: 2
sql_federation_ds_9:
- url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_9
+ url: jdbc:postgresql://postgresql.db_tbl_sql_federation.host:5432/sql_federation_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/mysql/rules.yaml
index aaf01f79977..b1539bf8f97 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: dbtbl_with_readwrite_splitting
dataSources:
write_ds_0:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_1:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_2:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_3:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_4:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_5:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_6:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_7:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_8:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_9:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/write_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_0:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_1:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_2:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_3:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_4:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_5:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_6:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_7:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_8:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_9:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting.host:3306/read_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/opengauss/rules.yaml
index 8c2406acf68..868b752d388 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: dbtbl_with_readwrite_splitting
dataSources:
write_ds_0:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_0
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_1:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_1
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_2:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_2
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_3:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_3
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_4:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_4
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_5:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_5
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_6:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_6
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_7:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_7
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_8:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_8
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_9:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_9
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/write_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_0:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_0
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_1:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_1
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_2:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_2
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_3:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_3
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_4:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_4
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_5:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_5
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_6:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_6
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_7:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_7
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_8:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_8
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_9:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_9
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting.host:5432/read_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/postgresql/rules.yaml
index 52a0e8c4e5b..b539cb308a8 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: dbtbl_with_readwrite_splitting
dataSources:
write_ds_0:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_0
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_1:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_1
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_2:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_2
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_3:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_3
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_4:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_4
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_5:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_5
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_6:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_6
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_7:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_7
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_8:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_8
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_9:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_9
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/write_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_0:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_0
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_1:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_1
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_2:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_2
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_3:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_3
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_4:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_4
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_5:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_5
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_6:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_6
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_7:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_7
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_8:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_8
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_9:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_9
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting.host:5432/read_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/mysql/rules.yaml
index 48ef543baec..5296bd6dc33 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: dbtbl_with_readwrite_splitting_and_encrypt
dataSources:
encrypt_write_ds_0:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 20
minPoolSize: 2
encrypt_write_ds_1:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_2:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_3:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_4:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_5:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_6:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_7:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_8:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_9:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_write_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_0:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_1:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_2:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_3:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_4:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_5:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_6:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_7:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_8:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_9:
- url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.dbtbl_with_readwrite_splitting_and_encrypt.host:3306/encrypt_read_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/opengauss/rules.yaml
index ba5e96648a0..9eaad0c839e 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: dbtbl_with_readwrite_splitting_and_encrypt
dataSources:
encrypt_write_ds_0:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_0
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_1:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_1
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_2:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_2
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_3:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_3
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_4:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_4
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_5:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_5
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_6:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_6
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_7:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_7
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_8:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_8
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_9:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_9
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_0:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_0
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_1:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_1
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_2:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_2
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_3:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_3
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_4:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_4
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_5:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_5
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_6:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_6
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_7:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_7
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_8:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_8
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_9:
- url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_9
+ url: jdbc:opengauss://opengauss.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/postgresql/rules.yaml
index 04375ddb36a..08a19884723 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: dbtbl_with_readwrite_splitting_and_encrypt
dataSources:
encrypt_write_ds_0:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_0
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_1:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_1
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_2:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_2
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_3:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_3
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_4:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_4
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_5:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_5
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_6:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_6
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_7:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_7
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_8:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_8
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_write_ds_9:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_9
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_write_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_0:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_0
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_1:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_1
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_2:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_2
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_3:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_3
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_4:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_4
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_5:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_5
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_6:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_6
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_7:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_7
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_8:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_8
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds_9:
- url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_9
+ url: jdbc:postgresql://postgresql.dbtbl_with_readwrite_splitting_and_encrypt.host:5432/encrypt_read_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/mysql/rules.yaml
index 688d5a44e61..217b03a24ae 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: distsql_rdl
dataSources:
ds_0:
- url: jdbc:mysql://mysql.distsql_rdl.host:3306/rdl_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.distsql_rdl.host:3306/rdl_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
ds_1:
- url: jdbc:mysql://mysql.distsql_rdl.host:3306/rdl_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.distsql_rdl.host:3306/rdl_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
ds_2:
- url: jdbc:mysql://mysql.distsql_rdl.host:3306/rdl_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.distsql_rdl.host:3306/rdl_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/opengauss/rules.yaml
index 3ba8db3bb4c..c707ba7c869 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: distsql_rdl
dataSources:
ds_0:
- url: jdbc:opengauss://opengauss.distsql_rdl.host:5432/rdl_ds_0
+ url: jdbc:opengauss://opengauss.distsql_rdl.host:5432/rdl_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
ds_1:
- url: jdbc:opengauss://opengauss.distsql_rdl.host:5432/rdl_ds_1
+ url: jdbc:opengauss://opengauss.distsql_rdl.host:5432/rdl_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
ds_2:
- url: jdbc:opengauss://opengauss.distsql_rdl.host:5432/rdl_ds_2
+ url: jdbc:opengauss://opengauss.distsql_rdl.host:5432/rdl_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/postgresql/rules.yaml
index 717bdb066b7..2cab83b8a35 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/distsql_rdl/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: distsql_rdl
dataSources:
ds_0:
- url: jdbc:postgresql://postgresql.distsql_rdl.host:5432/rdl_ds_0
+ url: jdbc:postgresql://postgresql.distsql_rdl.host:5432/rdl_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
ds_1:
- url: jdbc:postgresql://postgresql.distsql_rdl.host:5432/rdl_ds_1
+ url: jdbc:postgresql://postgresql.distsql_rdl.host:5432/rdl_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
ds_2:
- url: jdbc:postgresql://postgresql.distsql_rdl.host:5432/rdl_ds_2
+ url: jdbc:postgresql://postgresql.distsql_rdl.host:5432/rdl_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/mysql/rules.yaml
index 47f328178a7..988a3e3c087 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: empty_rules
dataSources:
write_ds_0:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_1:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_2:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_3:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_4:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_5:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_6:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_7:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_8:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_9:
- url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/write_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_0:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_1:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_2:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_3:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_4:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_5:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_6:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_7:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_8:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_9:
- url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/read_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -219,7 +219,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
rdl_test_0:
- url: jdbc:mysql://mysql.empty_rules.host:3306/rdl_test_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.empty_rules.host:3306/rdl_test_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/opengauss/rules.yaml
index dc095621691..cf734ad9a05 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: empty_rules
dataSources:
write_ds_0:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_0
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_1:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_1
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_2:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_2
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_3:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_3
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_4:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_4
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_5:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_5
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_6:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_6
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_7:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_7
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_8:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_8
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_9:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_9
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/write_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_0:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_0
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_1:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_1
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_2:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_2
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_3:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_3
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_4:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_4
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_5:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_5
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_6:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_6
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_7:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_7
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_8:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_8
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_9:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_9
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/read_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -219,7 +219,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
rdl_test_0:
- url: jdbc:opengauss://opengauss.empty_rules.host:5432/rdl_test_0
+ url: jdbc:opengauss://opengauss.empty_rules.host:5432/rdl_test_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/postgresql/rules.yaml
index 85abd0f05cb..ad8380540df 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: empty_rules
dataSources:
write_ds_0:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_0
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_1:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_1
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_2:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_2
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_3:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_3
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_4:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_4
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_5:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_5
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_6:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_6
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_7:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_7
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_8:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_8
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_ds_9:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_9
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/write_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_0:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_0
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_1:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_1
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_2:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_2
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_3:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_3
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_4:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_4
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_5:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_5
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_6:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_6
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_7:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_7
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_8:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_8
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_ds_9:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_9
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/read_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -219,7 +219,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
rdl_test_0:
- url: jdbc:postgresql://postgresql.empty_rules.host:5432/rdl_test_0
+ url: jdbc:postgresql://postgresql.empty_rules.host:5432/rdl_test_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/mysql/rules.yaml
index fab7bd21969..35cc65a30bd 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt
dataSources:
encrypt:
- url: jdbc:mysql://mysql.encrypt.host:3306/encrypt?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.encrypt.host:3306/encrypt?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/opengauss/rules.yaml
index 82cfdc15d91..f0152202cd2 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt
dataSources:
encrypt:
- url: jdbc:opengauss://opengauss.encrypt.host:5432/encrypt
+ url: jdbc:opengauss://opengauss.encrypt.host:5432/encrypt?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/postgresql/rules.yaml
index df1cca9733a..7e2d1a4adfb 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt
dataSources:
encrypt:
- url: jdbc:postgresql://postgresql.encrypt.host:5432/encrypt
+ url: jdbc:postgresql://postgresql.encrypt.host:5432/encrypt?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/mysql/rules.yaml
index ae06a4f5c44..aca67886046 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_and_readwrite_splitting
dataSources:
encrypt_write_ds:
- url: jdbc:mysql://mysql.encrypt_and_readwrite_splitting.host:3306/encrypt_write_ds?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.encrypt_and_readwrite_splitting.host:3306/encrypt_write_ds?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds:
- url: jdbc:mysql://mysql.encrypt_and_readwrite_splitting.host:3306/encrypt_read_ds?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.encrypt_and_readwrite_splitting.host:3306/encrypt_read_ds?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/opengauss/rules.yaml
index dafa20e2c6a..48d4b6a8875 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_and_readwrite_splitting
dataSources:
encrypt_write_ds:
- url: jdbc:opengauss://opengauss.encrypt_and_readwrite_splitting.host:5432/encrypt_write_ds
+ url: jdbc:opengauss://opengauss.encrypt_and_readwrite_splitting.host:5432/encrypt_write_ds?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds:
- url: jdbc:opengauss://opengauss.encrypt_and_readwrite_splitting.host:5432/encrypt_read_ds
+ url: jdbc:opengauss://opengauss.encrypt_and_readwrite_splitting.host:5432/encrypt_read_ds?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/postgresql/rules.yaml
index 362db00a3e0..4f8434d81b1 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt_and_readwrite_splitting/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_and_readwrite_splitting
dataSources:
encrypt_write_ds:
- url: jdbc:postgresql://postgresql.encrypt_and_readwrite_splitting.host:5432/encrypt_write_ds
+ url: jdbc:postgresql://postgresql.encrypt_and_readwrite_splitting.host:5432/encrypt_write_ds?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_read_ds:
- url: jdbc:postgresql://postgresql.encrypt_and_readwrite_splitting.host:5432/encrypt_read_ds
+ url: jdbc:postgresql://postgresql.encrypt_and_readwrite_splitting.host:5432/encrypt_read_ds?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/mysql/rules.yaml
index 61b7350623d..ebc3a7ba422 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_shadow
dataSources:
db:
- url: jdbc:mysql://mysql.encrypt_shadow.host:3306/db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.encrypt_shadow.host:3306/db?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_shadow_db:
- url: jdbc:mysql://mysql.encrypt_shadow.host:3306/encrypt_shadow_db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.encrypt_shadow.host:3306/encrypt_shadow_db?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/opengauss/rules.yaml
index 4629662d202..1a600c44a96 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_shadow
dataSources:
db:
- url: jdbc:opengauss://opengauss.encrypt_shadow.host:5432/db
+ url: jdbc:opengauss://opengauss.encrypt_shadow.host:5432/db?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_shadow_db:
- url: jdbc:opengauss://opengauss.encrypt_shadow.host:5432/encrypt_shadow_db
+ url: jdbc:opengauss://opengauss.encrypt_shadow.host:5432/encrypt_shadow_db?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/postgresql/rules.yaml
index 6afe9fd80ce..db5c81d5484 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/encrypt_shadow/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: encrypt_shadow
dataSources:
db:
- url: jdbc:postgresql://postgresql.encrypt_shadow.host:5432/db
+ url: jdbc:postgresql://postgresql.encrypt_shadow.host:5432/db?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_shadow_db:
- url: jdbc:postgresql://postgresql.encrypt_shadow.host:5432/encrypt_shadow_db
+ url: jdbc:postgresql://postgresql.encrypt_shadow.host:5432/encrypt_shadow_db?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/mysql/rules.yaml
index 88576b975fa..72ea806962f 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask
dataSources:
mask:
- url: jdbc:mysql://mysql.mask.host:3306/mask?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask.host:3306/mask?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/opengauss/rules.yaml
index a508160a23c..7466cf285b8 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask
dataSources:
encrypt:
- url: jdbc:opengauss://opengauss.mask.host:5432/mask
+ url: jdbc:opengauss://opengauss.mask.host:5432/mask?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/postgresql/rules.yaml
index b079e6f1ef1..847a30730aa 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask
dataSources:
encrypt:
- url: jdbc:postgresql://postgresql.mask.host:5432/mask
+ url: jdbc:postgresql://postgresql.mask.host:5432/mask?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/mysql/rules.yaml
index b424d9b6e67..0959f857f1f 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_encrypt
dataSources:
mask_encrypt:
- url: jdbc:mysql://mysql.mask_encrypt.host:3306/mask_encrypt?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt.host:3306/mask_encrypt?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/opengauss/rules.yaml
index 8bb24ae8835..402a6676782 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_encrypt
dataSources:
mask_encrypt:
- url: jdbc:opengauss://opengauss.mask_encrypt.host:5432/mask_encrypt
+ url: jdbc:opengauss://opengauss.mask_encrypt.host:5432/mask_encrypt?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/postgresql/rules.yaml
index 495430f8e34..ef335ddc348 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_encrypt
dataSources:
mask_encrypt:
- url: jdbc:postgresql://postgresql.mask_encrypt.host:5432/mask_encrypt
+ url: jdbc:postgresql://postgresql.mask_encrypt.host:5432/mask_encrypt?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/mysql/rules.yaml
index 17426c2eee1..603b8db260d 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_encrypt_sharding
dataSources:
mask_encrypt_ds_0:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 10
minPoolSize: 2
mask_encrypt_ds_1:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_2:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_3:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_4:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_5:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_6:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_7:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_8:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_9:
- url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_encrypt_sharding.host:3306/mask_encrypt_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/opengauss/rules.yaml
index d296a90e9dd..eee4c1ab25e 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_encrypt_sharding
dataSources:
mask_encrypt_ds_0:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_0
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_1:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_1
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_2:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_2
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_3:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_3
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_4:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_4
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_5:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_5
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_6:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_6
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_7:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_7
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_8:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_8
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_9:
- url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_9
+ url: jdbc:opengauss://opengauss.mask_encrypt_sharding.host:5432/mask_encrypt_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/postgresql/rules.yaml
index 63989cb79fd..832151927e8 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_encrypt_sharding/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_encrypt_sharding
dataSources:
mask_encrypt_ds_0:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_0
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_1:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_1
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_2:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_2
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_3:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_3
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_4:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_4
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_5:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_5
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_6:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_6
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_7:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_7
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_8:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_8
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_encrypt_ds_9:
- url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_9
+ url: jdbc:postgresql://postgresql.mask_encrypt_sharding.host:5432/mask_encrypt_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/mysql/rules.yaml
index 020d93f6f9e..936db734810 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_sharding
dataSources:
mask_ds_0:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 10
minPoolSize: 2
mask_ds_1:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_2:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_3:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_4:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_5:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_6:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_7:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_8:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_9:
- url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.mask_sharding.host:3306/mask_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/opengauss/rules.yaml
index b6083724e8a..00006904923 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_sharding
dataSources:
mask_ds_0:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_0
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_1:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_1
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_2:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_2
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_3:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_3
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_4:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_4
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_5:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_5
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_6:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_6
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_7:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_7
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_8:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_8
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_9:
- url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_9
+ url: jdbc:opengauss://opengauss.mask_sharding.host:5432/mask_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/postgresql/rules.yaml
index b866b35425d..8a54a7f4f34 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/mask_sharding/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: mask_sharding
dataSources:
mask_ds_0:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_0
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_1:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_1
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_2:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_2
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_3:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_3
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_4:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_4
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_5:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_5
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_6:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_6
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_7:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_7
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_8:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_8
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
mask_ds_9:
- url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_9
+ url: jdbc:postgresql://postgresql.mask_sharding.host:5432/mask_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/mysql/rules.yaml
index 922221db705..be12b219f67 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: passthrough
dataSources:
passthrough:
- url: jdbc:mysql://mysql.passthrough.host:3306/passthrough?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.passthrough.host:3306/passthrough?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/opengauss/rules.yaml
index 6470aba198f..061b59e3495 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: passthrough
dataSources:
passthrough:
- url: jdbc:opengauss://opengauss.passthrough.host:5432/passthrough?stringtype=unspecified
+ url: jdbc:opengauss://opengauss.passthrough.host:5432/passthrough?stringtype=unspecified?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/postgresql/rules.yaml
index 5e010c06305..f56ee734bef 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/passthrough/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: passthrough
dataSources:
passthrough:
- url: jdbc:postgresql://postgresql.passthrough.host:5432/passthrough
+ url: jdbc:postgresql://postgresql.passthrough.host:5432/passthrough?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/mysql/rules.yaml
index 42792a44e1d..c18b74f054e 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting
dataSources:
write_ds:
- url: jdbc:mysql://mysql.readwrite_splitting.host:3306/write_ds?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.readwrite_splitting.host:3306/write_ds?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_0:
- url: jdbc:mysql://mysql.readwrite_splitting.host:3306/read_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.readwrite_splitting.host:3306/read_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_1:
- url: jdbc:mysql://mysql.readwrite_splitting.host:3306/read_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.readwrite_splitting.host:3306/read_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/opengauss/rules.yaml
index 912243cbe61..a52f4ccda92 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting
dataSources:
write_ds:
- url: jdbc:opengauss://opengauss.readwrite_splitting.host:5432/write_ds
+ url: jdbc:opengauss://opengauss.readwrite_splitting.host:5432/write_ds?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_0:
- url: jdbc:opengauss://opengauss.readwrite_splitting.host:5432/read_0
+ url: jdbc:opengauss://opengauss.readwrite_splitting.host:5432/read_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_1:
- url: jdbc:opengauss://opengauss.readwrite_splitting.host:5432/read_1
+ url: jdbc:opengauss://opengauss.readwrite_splitting.host:5432/read_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/postgresql/rules.yaml
index 6770fe8cf1f..8b6efd01ded 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting
dataSources:
write_ds:
- url: jdbc:postgresql://postgresql.readwrite_splitting.host:5432/write_ds
+ url: jdbc:postgresql://postgresql.readwrite_splitting.host:5432/write_ds?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_0:
- url: jdbc:postgresql://postgresql.readwrite_splitting.host:5432/read_0
+ url: jdbc:postgresql://postgresql.readwrite_splitting.host:5432/read_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_1:
- url: jdbc:postgresql://postgresql.readwrite_splitting.host:5432/read_1
+ url: jdbc:postgresql://postgresql.readwrite_splitting.host:5432/read_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/mysql/rules.yaml
index e4566407622..f92ca1a99d9 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting_and_shadow
dataSources:
write_db:
- url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_db_shadow:
- url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db_shadow?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/write_db_shadow?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_0:
- url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_0?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_1:
- url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_1?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.readwrite_splitting_and_shadow.host:3306/read_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/opengauss/rules.yaml
index 97104f83988..ca954209022 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting_and_shadow
dataSources:
write_db:
- url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/write_db
+ url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/write_db?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_db_shadow:
- url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/write_db_shadow
+ url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/write_db_shadow?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_0:
- url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/read_0
+ url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/read_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_1:
- url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/read_1
+ url: jdbc:opengauss://opengauss.readwrite_splitting_and_shadow.host:5432/read_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/postgresql/rules.yaml
index 24afe1399d3..481b2b1f508 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/readwrite_splitting_and_shadow/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: readwrite_splitting_and_shadow
dataSources:
write_db:
- url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/write_db
+ url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/write_db?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
write_db_shadow:
- url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/write_db_shadow
+ url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/write_db_shadow?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_0:
- url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/read_0
+ url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/read_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
read_1:
- url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/read_1
+ url: jdbc:postgresql://postgresql.readwrite_splitting_and_shadow.host:5432/read_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/mysql/rules.yaml
index bc1e62c0cc3..84a8e297fb8 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: shadow
dataSources:
db:
- url: jdbc:mysql://mysql.shadow.host:3306/db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.shadow.host:3306/db?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db:
- url: jdbc:mysql://mysql.shadow.host:3306/shadow_db?useSSL=false&characterEncoding=utf-8&tinyInt1isBit=true
+ url: jdbc:mysql://mysql.shadow.host:3306/shadow_db?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true&tinyInt1isBit=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/opengauss/rules.yaml
index 35f27d8ffb2..1d4c1b0404a 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: shadow
dataSources:
db:
- url: jdbc:opengauss://opengauss.shadow.host:5432/db
+ url: jdbc:opengauss://opengauss.shadow.host:5432/db?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db:
- url: jdbc:opengauss://opengauss.shadow.host:5432/shadow_db
+ url: jdbc:opengauss://opengauss.shadow.host:5432/shadow_db?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/postgresql/rules.yaml
index cde2bc11be7..e4c9da4bc09 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/shadow/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: shadow
dataSources:
db:
- url: jdbc:postgresql://postgresql.shadow.host:5432/db
+ url: jdbc:postgresql://postgresql.shadow.host:5432/db?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db:
- url: jdbc:postgresql://postgresql.shadow.host:5432/shadow_db
+ url: jdbc:postgresql://postgresql.shadow.host:5432/shadow_db?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/mysql/rules.yaml
index d3e81a4de44..a0e1cd71dbd 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_and_encrypt
dataSources:
encrypt_ds_0:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 20
minPoolSize: 2
encrypt_ds_1:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_2:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_3:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_4:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_5:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_6:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_7:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_8:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_9:
- url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_encrypt.host:3306/encrypt_ds_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/opengauss/rules.yaml
index 8cc65e44069..4ad95242b85 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_and_encrypt
dataSources:
encrypt_ds_0:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_0
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_1:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_1
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_2:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_2
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_3:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_3
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_4:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_4
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_5:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_5
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_6:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_6
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_7:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_7
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_8:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_8
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_9:
- url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_9
+ url: jdbc:opengauss://opengauss.sharding_and_encrypt.host:5432/encrypt_ds_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/postgresql/rules.yaml
index b49085f9a3a..e77c8cab61e 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_and_encrypt
dataSources:
encrypt_ds_0:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_0
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_1:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_1
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_2:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_2
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_3:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_3
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_4:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_4
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_5:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_5
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_6:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_6
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_7:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_7
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_8:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_8
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
encrypt_ds_9:
- url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_9
+ url: jdbc:postgresql://postgresql.sharding_and_encrypt.host:5432/encrypt_ds_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/mysql/rules.yaml
index 451dfebcbe4..336dd17aa67 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_and_shadow
dataSources:
db_0:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_1:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_2:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_3:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_4:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_5:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_6:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_7:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_8:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_9:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/db_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_0:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_1:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_2:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_3:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_4:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_5:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_6:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_7:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_8:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_9:
- url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_and_shadow.host:3306/shadow_db_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/opengauss/rules.yaml
index 2aa39391d7f..5a2f8a9252b 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_and_shadow
dataSources:
db_0:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_0
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_1:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_1
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_2:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_2
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_3:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_3
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_4:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_4
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_5:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_5
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_6:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_6
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_7:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_7
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_8:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_8
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_9:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_9
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/db_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_0:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_0
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_1:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_1
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_2:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_2
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_3:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_3
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_4:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_4
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_5:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_5
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_6:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_6
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_7:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_7
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_8:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_8
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_9:
- url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_9
+ url: jdbc:opengauss://opengauss.sharding_and_shadow.host:5432/shadow_db_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/postgresql/rules.yaml
index ae5749d311b..8f29cefb65d 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_shadow/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_and_shadow
dataSources:
db_0:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_0
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_1:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_1
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_2:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_2
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_3:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_3
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_4:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_4
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_5:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_5
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_6:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_6
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_7:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_7
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_8:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_8
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_9:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_9
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/db_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_0:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_0
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_1:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_1
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_2:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_2
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_3:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_3
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_4:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_4
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_5:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_5
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_6:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_6
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_7:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_7
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_8:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_8
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_9:
- url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_9
+ url: jdbc:postgresql://postgresql.sharding_and_shadow.host:5432/shadow_db_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/mysql/rules.yaml
index 7b9d7527d2f..804110d37e8 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_encrypt_shadow
dataSources:
db_0:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_1:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_2:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_3:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_4:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_5:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_6:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_7:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_8:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_9:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/db_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_0:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_0?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_0?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_1:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_1?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_1?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_2:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_2?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_2?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_3:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_3?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_3?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_4:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_4?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_4?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_5:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_5?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_5?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_6:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_6?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_6?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_7:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_7?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_7?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_8:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_8?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_8?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_9:
- url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_9?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.sharding_encrypt_shadow.host:3306/shadow_db_9?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/opengauss/rules.yaml
index 06599912fd7..0c6ac5a498a 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_encrypt_shadow
dataSources:
db_0:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_0
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_1:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_1
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_2:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_2
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_3:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_3
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_4:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_4
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_5:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_5
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_6:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_6
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_7:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_7
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_8:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_8
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_9:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_9
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/db_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_0:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_0
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_0?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_1:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_1
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_1?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_2:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_2
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_2?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_3:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_3
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_3?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_4:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_4
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_4?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_5:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_5
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_5?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_6:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_6
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_6?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_7:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_7
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_7?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_8:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_8
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_8?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_9:
- url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_9
+ url: jdbc:opengauss://opengauss.sharding_encrypt_shadow.host:5432/shadow_db_9?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/postgresql/rules.yaml
index 00a15803c7c..52aeab44c13 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_encrypt_shadow/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: sharding_encrypt_shadow
dataSources:
db_0:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_0
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -29,7 +29,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_1:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_1
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -39,7 +39,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_2:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_2
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -49,7 +49,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_3:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_3
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -59,7 +59,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_4:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_4
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -69,7 +69,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_5:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_5
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -79,7 +79,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_6:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_6
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -89,7 +89,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_7:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_7
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -99,7 +99,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_8:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_8
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -109,7 +109,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
db_9:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_9
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/db_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -119,7 +119,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_0:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_0
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_0?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -129,7 +129,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_1:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_1
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_1?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -139,7 +139,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_2:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_2
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_2?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -149,7 +149,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_3:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_3
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_3?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -159,7 +159,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_4:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_4
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_4?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -169,7 +169,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_5:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_5
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_5?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -179,7 +179,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_6:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_6
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_6?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -189,7 +189,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_7:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_7
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_7?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -199,7 +199,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_8:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_8
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_8?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
@@ -209,7 +209,7 @@ dataSources:
maxPoolSize: 2
minPoolSize: 2
shadow_db_9:
- url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_9
+ url: jdbc:postgresql://postgresql.sharding_encrypt_shadow.host:5432/shadow_db_9?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/mysql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/mysql/rules.yaml
index 9794b3e8767..a144a2da34e 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/mysql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/mysql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: tbl
dataSources:
tbl:
- url: jdbc:mysql://mysql.tbl.host:3306/tbl?useSSL=false&characterEncoding=utf-8
+ url: jdbc:mysql://mysql.tbl.host:3306/tbl?useSSL=true&requireSSL=true&enabledTLSProtocols=TLSv1.2,TLSv1.3&verifyServerCertificate=false&useServerPrepStmts=true&useLocalSessionState=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&allowMultiQueries=true&rewriteBatchedStatements=true
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/opengauss/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/opengauss/rules.yaml
index 63bdd9293b5..b8b9949d4fb 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/opengauss/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/opengauss/rules.yaml
@@ -19,7 +19,7 @@ databaseName: tbl
dataSources:
tbl:
- url: jdbc:opengauss://opengauss.tbl.host:5432/tbl
+ url: jdbc:opengauss://opengauss.tbl.host:5432/tbl?batchMode=OFF
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123
diff --git a/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/postgresql/rules.yaml b/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/postgresql/rules.yaml
index b712134ad28..3baca880c5b 100644
--- a/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/postgresql/rules.yaml
+++ b/test/e2e/sql/src/test/resources/env/scenario/tbl/jdbc/conf/postgresql/rules.yaml
@@ -19,7 +19,7 @@ databaseName: tbl
dataSources:
tbl:
- url: jdbc:postgresql://postgresql.tbl.host:5432/tbl
+ url: jdbc:postgresql://postgresql.tbl.host:5432/tbl?ssl=on&sslmode=prefer
dataSourceClassName: com.zaxxer.hikari.HikariDataSource
username: test_user
password: Test@123