java - Spring Eureka server does not find context-path in client url -


when client application registered spring eureka server client id appears @ dashboard, link url contains hostname , port without context-path of client.

if create spring boot client application without setting context-path, mean default root context, eureka server can access actuators available in there.

is there way inform eureka server it? tried set health , info properties, did not work.

if eureka client setup via spring's @enableeurekaclient, client default health check , status check /health , /info respectively. (these paths may default values beyond spring @enableeurekaclient setup, unfamiliar @ point in time).

you can override these defaults setting following properties:

eureka.instance.statuspageurlpath

eureka.instance.healthcheckurlpath

the spring cloud documentation contains information, plus more.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -