application.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. server:
  2. port: 8805
  3. servlet:
  4. context-path: /wxserver
  5. spring:
  6. application:
  7. name: wxservice-server
  8. thymeleaf:
  9. cache: false
  10. datasource:
  11. driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
  12. url: jdbc:sqlserver://172.16.32.179:1433;databaseName=thxyhisdb
  13. # url: jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb
  14. hikari:
  15. username: sa
  16. password:
  17. connection-timeout: 30000
  18. idle-timeout: 600000
  19. max-lifetime: 1800000
  20. minimum-idle: 3
  21. maximum-pool-size: 12
  22. pool-name: ThyyDatabasePool
  23. leak-detection-threshold: 6000
  24. jackson:
  25. time-zone: GMT+8
  26. date-format: yyyy-MM-dd HH:mm:ss
  27. mvc:
  28. format:
  29. date: yyyy-MM-dd
  30. date-time: yyyy-MM-dd HH:mm:ss
  31. mybatis:
  32. configuration:
  33. map-underscore-to-camel-case: true
  34. hrgApiUrl: http://172.16.30.119:8089/thmz/api/v1
  35. appletThmzUrl: http://172.16.30.119:8089/thmz
  36. management:
  37. endpoints:
  38. web:
  39. base-path: /actuator
  40. exposure:
  41. include: '*'
  42. metrics:
  43. export:
  44. simple:
  45. enabled: true
  46. jmx:
  47. enabled: true
  48. prometheus:
  49. enabled: true
  50. distribution:
  51. percentiles-histogram:
  52. http:
  53. server:
  54. requests: false
  55. minimum-expected-value:
  56. http:
  57. server:
  58. requests: 20ms
  59. maximum-expected-value:
  60. http:
  61. server:
  62. requests: 200ms
  63. endpoint:
  64. metrics:
  65. enabled: true
  66. health:
  67. show-details: always
  68. probes:
  69. enabled: true
  70. prometheus:
  71. enabled: true
  72. #hrgApiUrl: http://172.16.30.26:8089/thmz/api/v1
  73. #appletThmzUrl: http://172.16.30.26:8089/thmz
  74. inspectionUrl: http://172.16.32.178:622/pushservice.asmx?wsdl
  75. physicalCheck: http://172.16.32.183:8888/bdp/dataservice/api/
  76. production: false