Closed leebake closed 5 years ago
This is handled via the metadata provided to Eureka via the config server. See the documentation here http://cloud.spring.io/spring-cloud-static/Greenwich.RELEASE/single/spring-cloud.html#discovery-first-bootstrap
It works! Thank you @ryanjbaxter !
I have a problem with discovery config-server via Eureka. My apps are deployed on WebLogic server with contextPath given in wls:context-root.
application.yml
bootstrap.yml
bootstrap.yml
The MS1 can't get config from config-server because it send a request to localhost:7001 - wthout contextPath. That's the address MS1 (I suppose) gets from Eureka. Why Eureka dont't return url with contextPath? Config server has been registered with both status-page-url-path and health-check-url-path contains contextPath.