bootstrap.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. api.version: api/v1/truckTms
  2. spring:
  3. profiles:
  4. include: ${SPRING_PROFILES:dev}
  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. #feign设置
  15. openfeign:
  16. ColumnDataFeign:
  17. url: ${COLUMNDATAFEIGN_URL:172.16.33.161:8083}
  18. BmsShipFeign:
  19. url: ${BMSSHIPFEIGN_URL:localhost:8078}
  20. BmsTruckFeign:
  21. url: ${BMSTRUCKFEIGN_URL:localhost:8076}
  22. WmshBoundFeign:
  23. url: ${WMSHBOUNDFEIGN_URL:localhost:8070}
  24. WMSFeign:
  25. url: ${WMSHBOUNDFEIGN_URL:localhost:8093}
  26. OmsFeign:
  27. url: ${OMSFEIGN_URL:localhost:8095}
  28. JoinFeign:
  29. url: ${JOINFEIGN_URL:localhost:8066}
  30. #eureka设置
  31. eureka:
  32. client:
  33. service-url:
  34. defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8061}/eureka/
  35. instance:
  36. prefer-ip-address: true
  37. status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/
  38. instance-id: ${spring.cloud.client.ip-address}:${server.port}
  39. genxml:
  40. pth: com/a
  41. cache:
  42. level: 2
  43. redis:
  44. host: 10.10.50.28
  45. port: 6379
  46. pwd: 123456
  47. project:
  48. prefix: sysmanage
  49. pool:
  50. maxTotal: 8
  51. maxWaitMillis: 1000
  52. maxIdle: 8
  53. cache:
  54. time: 864000000
  55. database: 0
  56. #自定义配置Redis相关配置
  57. prefix:
  58. order: order
  59. line: line
  60. suffix: end
  61. str:
  62. tengxun:
  63. key: WDTBZ-A5VKJ-UDLFI-KYJY6-WTP2S-A6B4Y
  64. ZhongJiaoXingLu:
  65. cid: 2667ca1f-e003-4822-b4c1-f25561c27f31
  66. srt: 3dbdc182-b235-4c33-be30-88c0fe8999c5
  67. user: 695b3735-9d65-4106-98f9-5f2181b40fb5
  68. pwd: fQBac3J090gK4L52a73qM821LF790H
  69. #停车
  70. parkMins: 60
  71. #离线时长
  72. outMins : 10
  73. #路线偏移时长
  74. abnMins: 60
  75. #处理类型type=1 异常线路预警
  76. #type=2 异常线路预警
  77. #+停车
  78. #type=3 异常线路预警
  79. #+离线
  80. #type=4 异常线路预警
  81. #+停车+离线
  82. type: 4
  83. mybatis:
  84. type-aliases-package: com.steerinfo.dil.model
  85. mapper-locations: classpath:com/steerinfo/dil/mapper/*.xml
  86. configuration:
  87. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  88. mapUnderscoreToCamelCase: true
  89. call-setters-on-nulls: true
  90. server:
  91. port: 8088