From 2db4eee7f25e5c028a9d5581ed8df5c703a8871a Mon Sep 17 00:00:00 2001 From: jingce Date: Wed, 23 Apr 2025 17:46:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A=E8=B0=83container-management?= =?UTF-8?q?-plugin=E6=8F=92=E4=BB=B6=E6=9C=AC=E8=BA=ABdatasource=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=C3=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 12 ++++++------ .../src/main/resources/application-prod-ly.yml | 12 ++++++------ .../src/main/resources/application-prod.yml | 12 ++++++------ .../src/main/resources/application-test.yml | 12 ++++++------ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/plugins/container-management-plugin/src/main/resources/application-dev.yml b/plugins/container-management-plugin/src/main/resources/application-dev.yml index 52af6017f..63fdfe9b2 100644 --- a/plugins/container-management-plugin/src/main/resources/application-dev.yml +++ b/plugins/container-management-plugin/src/main/resources/application-dev.yml @@ -6,12 +6,12 @@ context: spring: resources: static-locations: classpath:resources - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.opengauss.Driver - url: jdbc:opengauss://ip:port/postgres?currentSchema=public&batchMode=off - username: username - password: password + #datasource: + # type: com.alibaba.druid.pool.DruidDataSource + # driver-class-name: org.opengauss.Driver + # url: jdbc:opengauss://ip:port/postgres?currentSchema=public&batchMode=off + # username: username + # password: password mybatis-plus: typeAliasesPackage: org.opengauss.admin.container.domain diff --git a/plugins/container-management-plugin/src/main/resources/application-prod-ly.yml b/plugins/container-management-plugin/src/main/resources/application-prod-ly.yml index 20c581fec..61dffb899 100644 --- a/plugins/container-management-plugin/src/main/resources/application-prod-ly.yml +++ b/plugins/container-management-plugin/src/main/resources/application-prod-ly.yml @@ -6,12 +6,12 @@ context: spring: resources: static-locations: classpath:resources - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.opengauss.Driver - url: jdbc:opengauss://ip:port/postgres?currentSchema=public&batchMode=off - username: username - password: password + #datasource: + #type: com.alibaba.druid.pool.DruidDataSource + #driver-class-name: org.opengauss.Driver + #url: jdbc:opengauss://ip:port/postgres?currentSchema=public&batchMode=off + #username: username + #password: password mybatis-plus: typeAliasesPackage: org.opengauss.admin.container.domain diff --git a/plugins/container-management-plugin/src/main/resources/application-prod.yml b/plugins/container-management-plugin/src/main/resources/application-prod.yml index e58ce2708..49b8eb642 100644 --- a/plugins/container-management-plugin/src/main/resources/application-prod.yml +++ b/plugins/container-management-plugin/src/main/resources/application-prod.yml @@ -6,12 +6,12 @@ context: spring: resources: static-locations: classpath:resources - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.opengauss.Driver - url: jdbc:opengauss://ip1:port1,ip2:port2,ip3:port3/opengauss_api?currentSchema=opengauss_api&useUnicode=true&characterEncoding=utf8&useSSL=false&targetServerType=master&batchMode=off"eReturningIdentifiers=false - username: opengauss_api - password: test1 + #datasource: + #type: com.alibaba.druid.pool.DruidDataSource + #driver-class-name: org.opengauss.Driver + #url: jdbc:opengauss://ip1:port1,ip2:port2,ip3:port3/opengauss_api?currentSchema=opengauss_api&useUnicode=true&characterEncoding=utf8&useSSL=false&targetServerType=master&batchMode=off"eReturningIdentifiers=false + #username: opengauss_api + #password: test1 redis: cluster: nodes: node1:20001,node2:20001,node2:20001,node4:20001,node5:20001,node6:20001 diff --git a/plugins/container-management-plugin/src/main/resources/application-test.yml b/plugins/container-management-plugin/src/main/resources/application-test.yml index 7c87cb6fd..88325f3e6 100644 --- a/plugins/container-management-plugin/src/main/resources/application-test.yml +++ b/plugins/container-management-plugin/src/main/resources/application-test.yml @@ -6,12 +6,12 @@ context: spring: resources: static-locations: classpath:resources - datasource: - type: com.alibaba.druid.pool.DruidDataSource - driver-class-name: org.opengauss.Driver - url: jdbc:opengauss://ip1:port1,ip2:port2,ip3:port3/opengauss_api?currentSchema=opengauss_api&useUnicode=true&characterEncoding=utf8&useSSL=false&targetServerType=master&batchMode=off"eReturningIdentifiers=false - username: og_opengauss_api - password: test1 + #datasource: + #type: com.alibaba.druid.pool.DruidDataSource + #driver-class-name: org.opengauss.Driver + #url: jdbc:opengauss://ip1:port1,ip2:port2,ip3:port3/opengauss_api?currentSchema=opengauss_api&useUnicode=true&characterEncoding=utf8&useSSL=false&targetServerType=master&batchMode=off"eReturningIdentifiers=false + #username: og_opengauss_api + #password: test1 redis: cluster: nodes: node1:20001,node2:20001,node2:20001,node4:20001,node5:20001,node6:20001 -- Gitee