SpringCloud學習筆記(一)

記錄:

springboot2.0的變化:

單數據源配置:
spring.datasource.url
多數據源配置:
spring.datasource.jdbc-url

端點監控:
訪問方式變更,且默認只開放health、info方法,其他需配置
舊:localhost:8080/health

新:localhost:8080/actuator/health

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