application-test.yml 895 Bytes
Newer Older
fangxinjiang's avatar
fangxinjiang committed
1 2
# 数据源配置
spring:
3 4 5 6 7 8
  mvc:
    pathmatch:
      matching-strategy: ant_path_matcher
  config:
    activate:
      on-profile: test
fangxinjiang's avatar
fangxinjiang committed
9
  redis:
10 11
    host: 192.168.1.65
    port: 22379
fangxinjiang's avatar
fangxinjiang committed
12 13 14 15 16 17 18
    password: '@yf_2017'
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    password: yf_zsk
    url: jdbc:mysql://192.168.1.65:22306/yifu_checks?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
19

20 21 22 23 24 25 26 27 28 29 30 31
## spring security 配置
security:
  oauth2:
    resource:
      loadBalanced: true
      token-info-uri: http://127.0.0.1:3000/oauth/check_token
    # 直接放行URL
    ignore:
      urls:
        - /v3/api-docs
        - /actuator/**
        - /swagger-ui/**