spring-cloud / spring-cloud-consul

Spring Cloud Consul
http://cloud.spring.io/spring-cloud-consul/
Apache License 2.0
813 stars 541 forks source link

getUri should respect the contextpath #733

Closed RealZimboGuy closed 1 year ago

RealZimboGuy commented 3 years ago

the getUri method returns based on secure/IP/port but does not respect the context path

serviceTags=[contextPath=/mycompany/test/]

this is configured as per the server.servlet.context-path on the registering server

spencergibb commented 1 year ago

Sorry for the delay. We have never included context path in a URI from a ServiceInstance across all of spring cloud.