diff --git a/auth/src/main/resources/application-test.yml b/auth/src/main/resources/application-test.yml index 718ce81ac..07c7f96b5 100644 --- a/auth/src/main/resources/application-test.yml +++ b/auth/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${AUTH_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_auth?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true} diff --git a/iam/src/main/resources/application-test.yml b/iam/src/main/resources/application-test.yml index 533e8c44c..9566a4810 100644 --- a/iam/src/main/resources/application-test.yml +++ b/iam/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${IAM_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_iam?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true} diff --git a/order/src/main/resources/application-test.yml b/order/src/main/resources/application-test.yml index b6652c04d..5f6be57fc 100644 --- a/order/src/main/resources/application-test.yml +++ b/order/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${ORDER_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_order?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true} diff --git a/warehouse/src/main/resources/application-test.yml b/warehouse/src/main/resources/application-test.yml index 3b61d1dbb..5fb37b7f4 100644 --- a/warehouse/src/main/resources/application-test.yml +++ b/warehouse/src/main/resources/application-test.yml @@ -1,4 +1,13 @@ spring: + cloud: + nacos: + config: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} + encode: UTF-8 + discovery: + namespace: ${NACOS_NAMESPACE:test} + group: ${NACOS_GROUP:BAIYUE} datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: ${WAREHOUSE_TEST_DB_URL:jdbc:mysql://${TEST_DB_HOST:8.163.30.128}:${TEST_DB_PORT:3306}/baiyue_warehouse?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true}