43 lines
859 B
YAML
43 lines
859 B
YAML
spring:
|
|
config:
|
|
import: ""
|
|
main:
|
|
lazy-initialization: true
|
|
banner-mode: off
|
|
datasource:
|
|
name: databus-unit-test
|
|
url: jdbc:h2:mem:testdb;MODE=MYSQL;DATABASE_TO_UPPER=false;NON_KEYWORDS=value;
|
|
driver-class-name: org.h2.Driver
|
|
username: sa
|
|
password:
|
|
druid:
|
|
async-init: true
|
|
initial-size: 1
|
|
sql:
|
|
init:
|
|
schema-locations: classpath:/sql/create_tables.sql
|
|
data:
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 16379
|
|
database: 0
|
|
mybatis:
|
|
lazy-initialization: true
|
|
mybatis-plus:
|
|
global-config:
|
|
db-config:
|
|
id-type: AUTO
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
zt:
|
|
info:
|
|
base-package: com.zt.plat.module
|
|
env:
|
|
name: unit-test
|
|
config:
|
|
server-addr: localhost:8848
|
|
username: nacos
|
|
password: nacos
|
|
namespace: public
|
|
group: DEFAULT_GROUP
|