This is an automated email from the ASF dual-hosted git repository.

dengliming pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new d16d929ec8 fix: use OpenGauss profile and dialect in docker-compose 
E2E storage (#6449)
d16d929ec8 is described below

commit d16d929ec829694dfc3fd83b68bc1f63ed5adeda
Author: lll-peanut <[email protected]>
AuthorDate: Thu Jul 30 15:14:10 2026 +0800

    fix: use OpenGauss profile and dialect in docker-compose E2E storage (#6449)
    
    shenyu-storage-opengauss.yml incorrectly used SPRING_PROFILES_ACTIVE=mysql
      and shenyu.database.dialect=mysql while connecting to an OpenGauss 
database
      (jdbc:opengauss://). This caused the OpenGauss-specific MyBatis SQL
      interceptors (backtick-to-double-quote rewriting, dateUpdated auto-fill,
      boolean type handler) to not be registered, making MySQL-style SQL with
      backticks get sent to OpenGauss unmodified.
    
      Changed to SPRING_PROFILES_ACTIVE=og and 
shenyu.database.dialect=opengauss,
      consistent with application-og.yml and the Kubernetes OpenGauss E2E
      deployment manifests.
    
    Co-authored-by: aias00 <[email protected]>
    Co-authored-by: Liming Deng <[email protected]>
---
 .../shenyu-e2e-case/compose/storage/shenyu-storage-opengauss.yml      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/shenyu-e2e/shenyu-e2e-case/compose/storage/shenyu-storage-opengauss.yml 
b/shenyu-e2e/shenyu-e2e-case/compose/storage/shenyu-storage-opengauss.yml
index 4407a85e5c..f27cd1de69 100644
--- a/shenyu-e2e/shenyu-e2e-case/compose/storage/shenyu-storage-opengauss.yml
+++ b/shenyu-e2e/shenyu-e2e-case/compose/storage/shenyu-storage-opengauss.yml
@@ -53,8 +53,8 @@ services:
       - "31095:9095"
     environment:
       - TZ=Asia/Beijing
-      - SPRING_PROFILES_ACTIVE=mysql
-      - shenyu.database.dialect=mysql
+      - SPRING_PROFILES_ACTIVE=og
+      - shenyu.database.dialect=opengauss
       - shenyu.database.init_enable=true
       - spring.datasource.username=gaussdb
       - spring.datasource.password=ShenYuE2E@123

Reply via email to