spring-cloud/spring-cloud-netflix

Update Eureka client status URL based on SSL configuration

Offen

#1.843 geöffnet am 07.04.2017

 (12 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (2.433 Forks)batch import
enhancementhelp wanted

Repository-Metriken

Stars
 (4.805 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Hi,

If I use secure-port in my configuration and I don't specify the management.port, then spring cloud does not change my eureka statusPageUrl and other url's to https.
The if condition at line number 114 in EurekaClientAutConfiguraiton.java (spring-cloud-netflix-eureka-client: 1.2.6 release) prevents it from changing the scheme and it lets netflix configure the url . In netflix's InstanceInfo.java there is no check for secure port and the protocol is hardcoded to http.

I am not sure where to raise this issue, but since I am using spring-cloud-netflix I am putting this here

Contributor Guide