From d15d4a40765de4c5f0cfb6a61e6f9914afc25ad7 Mon Sep 17 00:00:00 2001 From: Spring Operator Date: Tue, 26 Mar 2019 02:39:32 -0500 Subject: [PATCH] URL Cleanup This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). # Fixed URLs ## Fixed But Review Recommended These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://eureka.192.168.11.11.xip.io/eureka/ (ConnectTimeoutException) with 1 occurrences migrated to: https://eureka.192.168.11.11.xip.io/eureka/ ([https](https://eureka.192.168.11.11.xip.io/eureka/) result ConnectTimeoutException). * [ ] http://config-server-fluxional-suttee.cfapps.io (404) with 1 occurrences migrated to: https://config-server-fluxional-suttee.cfapps.io ([https](https://config-server-fluxional-suttee.cfapps.io) result 404). * [ ] http://eureka-unprevalent-toper.cfapps.io (404) with 1 occurrences migrated to: https://eureka-unprevalent-toper.cfapps.io ([https](https://eureka-unprevalent-toper.cfapps.io) result 404). # Ignored These URLs were intentionally ignored. * http://127.0.0.1:8761 with 1 occurrences * http://fortunes/random with 1 occurrences * http://localhost:8888 with 2 occurrences --- README.adoc | 4 ++-- configuration/application.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index f9cb3bf..2a4f33b 100644 --- a/README.adoc +++ b/README.adoc @@ -63,8 +63,8 @@ This will push a Spring Cloud Config Server, a Eureka server, and a Hystrix Dash . Edit `scripts/create_services.sh` to add the random routes that were generated for you: + ---- -cf cups config-server -p '{"uri":"http://config-server-fluxional-suttee.cfapps.io"}' -cf cups service-registry -p '{"uri":"http://eureka-unprevalent-toper.cfapps.io"}' +cf cups config-server -p '{"uri":"https://config-server-fluxional-suttee.cfapps.io"}' +cf cups service-registry -p '{"uri":"https://eureka-unprevalent-toper.cfapps.io"}' cf cs elephantsql turtle fortunes-db ---- diff --git a/configuration/application.yml b/configuration/application.yml index b4a416e..40611d1 100644 --- a/configuration/application.yml +++ b/configuration/application.yml @@ -28,7 +28,7 @@ server: eureka: client: serviceUrl: - defaultZone: http://eureka.192.168.11.11.xip.io/eureka/ + defaultZone: https://eureka.192.168.11.11.xip.io/eureka/ instance: metadataMap: instanceId: ${instance.guid}:${spring.application.name}:${server.port:8080}