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
Post a Comment