spring config热更新

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/daijiguo/article/details/84304684

post的请求方式访问http://host:port/actuator/fresh页面
同时,可以配合git webhook,远程gitlab或github一更新,则自动在VPS上执行:

git pull
curl -X POST http://host:port/actuator/refresh

参考:
https://blog.csdn.net/skywoodsky/article/details/80745388

猜你喜欢

转载自blog.csdn.net/daijiguo/article/details/84304684