增加 test配置
This commit is contained in:
@@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: 127.0.0.1
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: 127.0.0.1:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: account-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://127.0.0.1:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: 127.0.0.1
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: 127.0.0.1:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: product-server
|
||||||
|
qos-port: 22221
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://127.0.0.1:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9101
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
|
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
|
||||||
|
spring:
|
||||||
|
datasource:
|
||||||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||||
|
url: jdbc:mysql://rm-bp1kn7h89nz62cno1ro.mysql.rds.aliyuncs.com:3306/czg_cashier?useUnicode=true&characterEncoding=utf-8
|
||||||
|
username: cashier
|
||||||
|
password: Cashier@1@
|
||||||
|
|
||||||
|
data:
|
||||||
|
redis:
|
||||||
|
host: 127.0.0.1
|
||||||
|
port: 6379
|
||||||
|
password: 111111
|
||||||
|
timeout: 1000
|
||||||
|
lettuce:
|
||||||
|
pool:
|
||||||
|
min-idle: 0
|
||||||
|
max-idle: 8
|
||||||
|
max-wait: -1ms
|
||||||
|
max-active: 16
|
||||||
|
|
||||||
|
cloud:
|
||||||
|
nacos:
|
||||||
|
discovery:
|
||||||
|
server-addr: 127.0.0.1:8848
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
|
||||||
|
dubbo:
|
||||||
|
application:
|
||||||
|
name: system-server
|
||||||
|
qos-port: 22224
|
||||||
|
qos-enable: true
|
||||||
|
registry:
|
||||||
|
address: nacos://127.0.0.1:8848 # Nacos 服务地址
|
||||||
|
group: server-test
|
||||||
|
namespace: 237e1905-0a66-4375-9bb6-a51c3c034aca
|
||||||
|
protocol:
|
||||||
|
port: 9401
|
||||||
|
threads: 20
|
||||||
|
threadpool: fixed
|
||||||
Reference in New Issue
Block a user