这是indexloc提供的服务,不要输入任何密码
Skip to content

Bug: service-path and service-url are ignored in the metadata #4468

@cdprete

Description

@cdprete

Spring Boot Admin Server information

  • Version: 3.5.1

  • Spring Boot version: 3.5.3

  • Configured Security: None

  • Webflux or Servlet application: WebFlux

Client information

  • Spring Boot versions: 3.5.3

  • Used discovery mechanism: Eureka

  • Webflux or Servlet application: WebFlux

Description

Hello.
I'm trying to change the service-url and service-path of one of my clients through the Eureka metadata - given that I don't use the SBA Client library, but it seems like they're ignored.

eureka.instance.metadata-map:
    service-path: /foo
    service-url: http://${eureka.instance.hostname}:${instance.port}

My expectation is that the URL in the UI should be http://${eureka.instance.hostname}:${instance.port}/foo, but instead it's still the default http://${HOSTNAME}:${server.port}/.

What I'm trying to achieve is to have the URL shown under the instance in the UI pointing to another URL so that, when clicked, it will open the UI behind such URL.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions