application-test.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. # spring-cloud相关配置
  2. eureka:
  3. client: #客户端注册进eureka服务列表内
  4. service-url:
  5. defaultZone: http://eureka-service:8761/eureka
  6. instance:
  7. # 实例ID
  8. # instance-id: ${spring.application.name}:${server.port}:${project.version}
  9. # 优先使用IP地址方式进行注册服务
  10. prefer-ip-address: true
  11. #启用监控
  12. management:
  13. endpoints:
  14. web:
  15. exposure:
  16. include:
  17. - "*" # 开放所有端点health,info,metrics,通过actuator/+端点名就可以获取相应的信息。默认打开health和info
  18. endpoint:
  19. health:
  20. #未开启actuator/health时,我们获取到的信息是{"status":"UP"},status的值还有可能是 DOWN。开启后打印详细信息
  21. show-details: always
  22. server:
  23. port: 8080
  24. spring:
  25. datasource:
  26. url: jdbc:postgresql://192.168.64.14:5432/datacenterlabsl
  27. # url: jdbc:postgresql://datacenter:5432/datacenterlabsl
  28. # url: jdbc:postgresql://datacenter:5432/datacenter
  29. username: postgres
  30. password: cGVyc2FneV8yMDIwcXdlIUAj
  31. # rabbitmq:
  32. # host: 192.168.100.108
  33. # port: 9936
  34. # username: pbsage
  35. # password: pbsage123
  36. # #虚拟host 可以不设置,使用server默认host
  37. # virtual-host: /adm
  38. rabbitmq:
  39. host: 192.168.64.15
  40. port: 9936
  41. username: admin
  42. password: brzj123456
  43. #虚拟host 可以不设置,使用server默认host
  44. virtual-host: /test
  45. servlet:
  46. multipart:
  47. max-request-size: 500MB # 限制上传的多个文件的总大小
  48. max-file-size: 500MB # 限制单个文件的最大值
  49. logging:
  50. config: classpath:logback-spring.xml
  51. level:
  52. root: INFO
  53. org.hibernate: INFO
  54. org.hibernate.type.descriptor.sql.BasicExtractor: INFO
  55. com.ys.adage.mapper: INFO
  56. org.springframework: INFO
  57. mqtopid: # 消息
  58. exchange: exchange-dmp
  59. routingKey: routingKey-center-adm
  60. admQueue: queue-center-adm
  61. synQueue: queue-center-syn
  62. routingKey01: routing-dmp-rwd
  63. routingKey02: routing-dmp-org