使 Spring 引导管理员使用特定客户端 URL
Make Spring boot admin use a specific client URL
我正在尝试将 Spring Boot Admin 与 Spring Boot Jax-RS/Swagger 应用程序集成,但我遇到了以下问题:
当客户端向 Admin 服务器注册时,Admin UI 显示 URL 类似于:http://my.domain:8001 as the link to access the application. Unfortunately, this application has no UI and its actual URL to access the Rest services is http://my.domain:8001/api/...
我真正想做的是让管理页面上的 URL 为这项服务引用我的 Swagger UI。所以管理页面上的 URL 最好是 http://my.domain:8001/swagger-ui.html.
我查看了可以在我的 application.properties 上设置的客户端属性,但似乎无法找到满足我要求的属性。 Spring Boot Admin 这可能吗?我需要进行某种自定义配置还是可以通过设置属性来实现?
我正在尝试将 Spring Boot Admin 与 Spring Boot Jax-RS/Swagger 应用程序集成,但我遇到了以下问题:
当客户端向 Admin 服务器注册时,Admin UI 显示 URL 类似于:http://my.domain:8001 as the link to access the application. Unfortunately, this application has no UI and its actual URL to access the Rest services is http://my.domain:8001/api/...
我真正想做的是让管理页面上的 URL 为这项服务引用我的 Swagger UI。所以管理页面上的 URL 最好是 http://my.domain:8001/swagger-ui.html.
我查看了可以在我的 application.properties 上设置的客户端属性,但似乎无法找到满足我要求的属性。 Spring Boot Admin 这可能吗?我需要进行某种自定义配置还是可以通过设置属性来实现?