bootstrap.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. api.version: api/v1/otms
  2. spring:
  3. profiles:
  4. #include: ${SPRING_PROFILES:dev}
  5. include: ${SPRING_PROFILES:prod}
  6. jackson:
  7. date-format: yyyy-MM-dd HH:mm:ss
  8. time-zone: GMT+8
  9. # serialization: {WRITE_DATES_AS_TIMESTAMPS: true}
  10. messages:
  11. basename: message
  12. encoding: UTF-8
  13. mvc:
  14. static-path-pattern:
  15. #eureka设置
  16. eureka:
  17. client:
  18. service-url:
  19. defaultZone: http://root:root@${EUREKA_HOST:172.16.33.161}:${EUREKA_PORT:8081}/eureka/
  20. register-with-eureka: false #表示向EurekaServer注册自己 默认为true
  21. fetch-registry: false #是否从EurekaServer抓取已有的注册信息,默认为true,单节点无所谓,集群必须设置为true才能配合ribbon使用负载均衡
  22. instance:
  23. prefer-ip-address: true
  24. status-page-url: http://${spring.cloud.client.ip-address}:${server.port}/swagger-ui.html#/
  25. instance-id: ${spring.cloud.client.ip-address}:${server.port}
  26. genxml:
  27. pth: com/a
  28. cache:
  29. level: 2
  30. redis:
  31. host: 10.10.50.28
  32. port: 6379
  33. pwd: adhykdj
  34. project:
  35. prefix: sysmanage
  36. pool:
  37. maxTotal: 8
  38. maxWaitMillis: 1000
  39. maxIdle: 8
  40. cache:
  41. time: 864000000
  42. database: 0
  43. #自定义配置Redis相关配置
  44. prefix:
  45. order: order
  46. line: line
  47. suffix: end
  48. str:
  49. tengxun:
  50. key: WDTBZ-A5VKJ-UDLFI-KYJY6-WTP2S-A6B4Y
  51. ZhongJiaoXingLu:
  52. cid: 84254ac6-9f05-47c7-ba3c-1d3398590d70
  53. srt: b7c4b6ee-09c8-4865-a0b7-934d42205012
  54. user: 108e0bda-1795-4e43-9df9-426a446eb77f
  55. pwd: cKyp9G98yFy3gHBHG21us7z85377S1
  56. #停车
  57. parkMins: 60
  58. #离线时长
  59. outMins : 10
  60. #路线偏移时长
  61. abnMins: 60
  62. #处理类型type=1 异常线路预警
  63. #type=2 异常线路预警
  64. #+停车
  65. #type=3 异常线路预警
  66. #+离线
  67. #type=4 异常线路预警
  68. #+停车+离线
  69. type: 4
  70. mybatis:
  71. type-aliases-package: com.steerinfo.dil.model
  72. mapper-locations: classpath:com/steerinfo/dil/mapper/*.xml
  73. configuration:
  74. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  75. mapUnderscoreToCamelCase: true
  76. call-setters-on-nulls: true