SpringCloud学习笔记(一)

记录:

springboot2.0的变化:

单数据源配置:
spring.datasource.url
多数据源配置:
spring.datasource.jdbc-url

端点监控:
访问方式变更,且默认只开放health、info方法,其他需配置
旧:localhost:8080/health

新:localhost:8080/actuator/health

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章