#eureka client配置
eureka.client.serviceUrl.defaultZone: http://admin:prolog00212@192.168.1.21:6001/eureka/
eureka.instance.appGroupName: yj
prolog.tx.url: http://192.168.1.21:7000/tx/manager/
prolog.auth.redis.namespace: "yj_wms_user:"
server.port: 19822
spring:
  application:
    name: upcloud-base-gsp
  #redis配置
  redis:
    cluster:
      nodes: 192.168.1.17:6379,192.168.1.17:6380,192.168.1.18:6379,192.168.1.18:6380,192.168.1.19:6379,192.168.1.19:6380
    password: prolog-redis-0212
  #链路跟踪
  zipkin:
    sender.type: rabbit
    rabbitmq.queue: trace
  sleuth:
    enable: false
    sampler:
      probability: 1.0
  rabbitmq:
    addresses: 192.168.1.17:5672,192.168.1.18:5672,192.168.1.19:5672
    username: yj-wms
    password: yj-wms
    virtual-host: /yj-wms
  datasource:
    driverClassName: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://192.168.1.13:2206/upcloud_base_gsp_yj?useSSL=false&serverTimezone=CTT&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true
    username: dev
    password: prolog0212-dev
    #使用druid数据源
    initialSize: 0 #初始化大小
    minIdle: 5 #最小空閒
    maxActive: 50 #最大連接數
    maxWait: 6000 #最大等待時間
    minEvictableIdleTimeMillis: 25200000
    removeAbandonedTimeoutMillis: 600000
prolog:
  dao:
    dialect: mysql
    performance:
      enable: true
      showSql: true
    mybatis:
      mapperLocations: classpath:mappers/mysql/*.xml
  security:
    accessTokenValiditySeconds: 3600
    refreshTokenValiditySeconds: 30000
  service:
    inventory: upcloud-base-inventory
    strategy: upcloud-base-strategy
    item: upcloud-base-item
    warehouse: upcloud-base-wh
    chain: upcloud-base-chain
    common: upcloud-base-common
    operate: upcloud-base-wh-operate
    outbound: upcloud-base-wh-outbound
    inbound: upcloud-base-wh-inbound
    integration : service-integration
    presto: service-data-api-base
  integration:
    token: $2a$12$PHVUZPLUswQVz0Mj.FdzmeF5lC.eqQEGOtA8CN8OzpH7XC8Mf3ste
    sendDeviceId: 338
    sendWmsId: 340
    updateDeviceId: 341
    updateDeviceOkId: 342

logging:
  config: classpath:log4j2-test.xml
  level.root: info
oms:
  omsInventoryResultUrl: http://192.168.1.212:10001/api/oms/gainslosses
  dxiGspMaintenanceRecordUrl: http://192.168.1.212:10001/api/oms/maintenance