作者 wangbin

lcn事务实例

... ... @@ -118,3 +118,8 @@ security:
resource:
loadBalanced: true
token-info-uri: http://trobs-auth/oauth/check_token
#txmanager地址
tm:
manager:
url: http://192.168.29.13:5004/tx/manager/
... ...
## spring security 配置
security:
oauth2:
client:
client-id: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)
client-secret: ENC(NlpJuAsYk0XcxpCEGP0TXZOfcqSyasSRspEFLWimxbY=)
scope: server
# 数据源配置
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: trobs
password: dfU76$N(kp
url: jdbc:mysql://10.1.1.86:3306/trobs?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
resources:
static-locations: classpath:/static/,classpath:/views/
... ...