asgard icon indicating copy to clipboard operation
asgard copied to clipboard

Asgard is unable to talk to a Eureka that has no urlContext

Open cquinn opened this issue 11 years ago • 1 comments

We've setup our Eureka instance at the ROOT context in tomcat. So its url looks like hostname:8080/v2/... . There is no (redundant) 'eureka' in the url.

Setting Asgard's eureka.urlContext to '' in theory should work, but the code in Asgard treats null/blank as "use default" and uses '/eureka' instead.

There should be a way to indicate that a "no context" url us really desired.

cquinn avatar May 31 '13 18:05 cquinn

Yup. I always wondered if this idea would come up. Carl, are you going to assign this to yourself and make the no-context option possible?

Hint: Add more logic in DiscoveryService.findBaseUrl (or EurekaService if it gets renamed), and also ConfigService.getEurekaUrlContext

joesondow avatar Jun 01 '13 19:06 joesondow