Endpoints

相对于Spring Boot来说,spring cloud 由一些额外的管理端

  • 通过post请求到\/env 来更新环境以及重新绑定@ConfigurationProperties和日志级别
  • \/refresh用来重新加载boot strap上下文以及刷新@RefreshScope beans
  • \/restart 用来关闭ApplicationContext并重新启动它(默认不可用)
  • \/pause 和 \/resume用来调用生命周期的方法(在 ApplicationContext中为stop() and start() )

results matching ""

    No results matching ""