【发布时间】:2018-06-27 06:18:59
【问题描述】:
我在客户网络中部署了一个 spring-boot 客户端应用程序,我想使用 SBA 作为其执行器端点的 GUI。我无法使用register-client-applications 注册应用程序,主要是因为客户端应用程序没有连接到 SBA(它位于防火墙后面)。
有没有办法手动将客户端添加到 SBA?
【问题讨论】:
我在客户网络中部署了一个 spring-boot 客户端应用程序,我想使用 SBA 作为其执行器端点的 GUI。我无法使用register-client-applications 注册应用程序,主要是因为客户端应用程序没有连接到 SBA(它位于防火墙后面)。
有没有办法手动将客户端添加到 SBA?
【问题讨论】:
您可以为 Spring Cloud 的发现客户端添加使用静态配置。所以客户端不需要到达 sba 服务器。见http://codecentric.github.io/spring-boot-admin/current/#spring-cloud-discovery-static-config
【讨论】: