bootstrap.yml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. api.version: api/v1/truckTms
  2. spring:
  3. profiles:
  4. include: ${SPRING_PROFILES:prod}
  5. jackson:
  6. date-format: yyyy-MM-dd HH:mm:ss
  7. time-zone: GMT+8
  8. # serialization: {WRITE_DATES_AS_TIMESTAMPS: true}
  9. messages:
  10. basename: message
  11. encoding: UTF-8
  12. mvc:
  13. static-path-pattern:
  14. #eureka设置
  15. eureka:
  16. client:
  17. service-url:
  18. defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8081}/eureka/
  19. instance:
  20. prefer-ip-address: true
  21. status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/
  22. instance-id: ${spring.cloud.client.ip-address}:${server.port}
  23. genxml:
  24. pth: com/a
  25. cache:
  26. level: 2
  27. redis:
  28. host: 10.10.50.28
  29. port: 6379
  30. pwd: 123456
  31. project:
  32. prefix: sysmanage
  33. pool:
  34. maxTotal: 8
  35. maxWaitMillis: 1000
  36. maxIdle: 8
  37. cache:
  38. time: 864000000
  39. database: 0
  40. #自定义配置Redis相关配置
  41. prefix:
  42. order: order
  43. line: line
  44. suffix: end
  45. str:
  46. tengxun:
  47. key: WDTBZ-A5VKJ-UDLFI-KYJY6-WTP2S-A6B4Y
  48. ZhongJiaoXingLu:
  49. cid: 2667ca1f-e003-4822-b4c1-f25561c27f31
  50. srt: 3dbdc182-b235-4c33-be30-88c0fe8999c5
  51. user: 695b3735-9d65-4106-98f9-5f2181b40fb5
  52. pwd: fQBac3J090gK4L52a73qM821LF790H
  53. #停车
  54. parkMins: 60
  55. #离线时长
  56. outMins : 10
  57. #路线偏移时长
  58. abnMins: 60
  59. #处理类型type=1 异常线路预警
  60. #type=2 异常线路预警
  61. #+停车
  62. #type=3 异常线路预警
  63. #+离线
  64. #type=4 异常线路预警
  65. #+停车+离线
  66. type: 4
  67. mybatis:
  68. type-aliases-package: com.steerinfo.dil.model
  69. mapper-locations: classpath:com/steerinfo/dil/mapper/*.xml
  70. configuration:
  71. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  72. mapUnderscoreToCamelCase: true
  73. call-setters-on-nulls: true