mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 15:49:00 +00:00
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). # HTTP URLs that Could Not Be Fixed These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://conor.cc (200) with 4 occurrences could not be migrated: ([https](https://conor.cc) result SSLProtocolException). * [ ] http://richclarkdesign.com (200) with 1 occurrences could not be migrated: ([https](https://richclarkdesign.com) result SSLHandshakeException). * [ ] http://tinysort.sjeiti.com/ (200) with 1 occurrences could not be migrated: ([https](https://tinysort.sjeiti.com/) result SSLException). * [ ] http://unknown-origin.com (200) with 1 occurrences could not be migrated: ([https](https://unknown-origin.com) result AnnotatedConnectException). * [ ] http://www.sjeiti.com/ (301) with 1 occurrences could not be migrated: ([https](https://www.sjeiti.com/) result SSLException). * [ ] http://foo.com (301) with 1 occurrences could not be migrated: ([https](https://foo.com) result SSLHandshakeException). # 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://ejohn.org/ (301) with 1 occurrences migrated to: https://johnresig.com/ ([https](https://ejohn.org/) result ClosedChannelException). * [ ] http://ejohn.org/blog/javascript-micro-templating/ (301) with 1 occurrences migrated to: https://johnresig.com/blog/javascript-micro-templating/ ([https](https://ejohn.org/blog/javascript-micro-templating/) result ClosedChannelException). * [ ] http://example3.com/ (302) with 1 occurrences migrated to: https://www.hugedomains.com/domain_profile.cfm?d=example3&e=com ([https](https://example3.com/) result ConnectTimeoutException). * [ ] http://example3.com (302) with 2 occurrences migrated to: https://www.hugedomains.com/domain_profile.cfm?d=example3&e=com ([https](https://example3.com) result ConnectTimeoutException). * [ ] http://192.168.13.90:9999/actuator/health (ConnectTimeoutException) with 1 occurrences migrated to: https://192.168.13.90:9999/actuator/health ([https](https://192.168.13.90:9999/actuator/health) result ConnectTimeoutException). * [ ] http://192.168.13.90:9999/actuator/info (ConnectTimeoutException) with 1 occurrences migrated to: https://192.168.13.90:9999/actuator/info ([https](https://192.168.13.90:9999/actuator/info) result ConnectTimeoutException). * [ ] http://www.w3.org/TR/html4/loose.dtd (ReadTimeoutException) with 1 occurrences migrated to: https://www.w3.org/TR/html4/loose.dtd ([https](https://www.w3.org/TR/html4/loose.dtd) result SSLException). * [ ] http://%s:%s (UnknownHostException) with 1 occurrences migrated to: https://%s:%s ([https](https://%s:%s) result UnknownHostException). * [ ] http://allowed-origin.com (UnknownHostException) with 2 occurrences migrated to: https://allowed-origin.com ([https](https://allowed-origin.com) result UnknownHostException). * [ ] http://badClients/good (UnknownHostException) with 1 occurrences migrated to: https://badClients/good ([https](https://badClients/good) result UnknownHostException). * [ ] http://badClients/null (UnknownHostException) with 1 occurrences migrated to: https://badClients/null ([https](https://badClients/null) result UnknownHostException). * [ ] http://badClients/ping (UnknownHostException) with 1 occurrences migrated to: https://badClients/ping ([https](https://badClients/ping) result UnknownHostException). * [ ] http://badClients/timeout (UnknownHostException) with 1 occurrences migrated to: https://badClients/timeout ([https](https://badClients/timeout) result UnknownHostException). * [ ] http://bar (UnknownHostException) with 1 occurrences migrated to: https://bar ([https](https://bar) result UnknownHostException). * [ ] http://compose.docker.io/ (UnknownHostException) with 2 occurrences migrated to: https://compose.docker.io/ ([https](https://compose.docker.io/) result UnknownHostException). * [ ] http://custom-example.com (UnknownHostException) with 1 occurrences migrated to: https://custom-example.com ([https](https://custom-example.com) result UnknownHostException). * [ ] http://custom-example.com/ (UnknownHostException) with 1 occurrences migrated to: https://custom-example.com/ ([https](https://custom-example.com/) result UnknownHostException). * [ ] http://defaul-host3:8678/eureka/,http://defaul-host4:8678/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://defaul-host3:8678/eureka/,http://defaul-host4:8678/eureka/ ([https](https://defaul-host3:8678/eureka/,https://defaul-host4:8678/eureka/) result UnknownHostException). * [ ] http://defaul-host4:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://defaul-host4:8678/eureka/ ([https](https://defaul-host4:8678/eureka/) result UnknownHostException). * [ ] http://defaul-host5:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://defaul-host5:8678/eureka/ ([https](https://defaul-host5:8678/eureka/) result UnknownHostException). * [ ] http://defaul-host6:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://defaul-host6:8678/eureka/ ([https](https://defaul-host6:8678/eureka/) result UnknownHostException). * [ ] http://default-host1:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://default-host1:8678/eureka/ ([https](https://default-host1:8678/eureka/) result UnknownHostException). * [ ] http://default-host2:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://default-host2:8678/eureka/ ([https](https://default-host2:8678/eureka/) result UnknownHostException). * [ ] http://default-host3:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://default-host3:8678/eureka/ ([https](https://default-host3:8678/eureka/) result UnknownHostException). * [ ] http://earlymade.com (UnknownHostException) with 4 occurrences migrated to: https://earlymade.com ([https](https://earlymade.com) result UnknownHostException). * [ ] http://ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/ ([https](https://ec2-256-156-243-129.compute-1.amazonaws.com:7001/eureka/) result UnknownHostException). * [ ] http://example.com,http://example2.com (UnknownHostException) with 2 occurrences migrated to: https://example.com,http://example2.com ([https](https://example.com,https://example2.com) result UnknownHostException). * [ ] http://example1.com,http://example2.com (UnknownHostException) with 1 occurrences migrated to: https://example1.com,http://example2.com ([https](https://example1.com,https://example2.com) result UnknownHostException). * [ ] http://first.example.com (UnknownHostException) with 1 occurrences migrated to: https://first.example.com ([https](https://first.example.com) result UnknownHostException). * [ ] http://foo (UnknownHostException) with 5 occurrences migrated to: https://foo ([https](https://foo) result UnknownHostException). * [ ] http://foo/ (UnknownHostException) with 2 occurrences migrated to: https://foo/ ([https](https://foo/) result UnknownHostException). * [ ] http://foo/%20bar (UnknownHostException) with 1 occurrences migrated to: https://foo/%20bar ([https](https://foo/%20bar) result UnknownHostException). * [ ] http://foo/%20bar?hello=1+2 (UnknownHostException) with 2 occurrences migrated to: https://foo/%20bar?hello=1+2 ([https](https://foo/%20bar?hello=1+2) result UnknownHostException). * [ ] http://foo:7001/ (UnknownHostException) with 1 occurrences migrated to: https://foo:7001/ ([https](https://foo:7001/) result UnknownHostException). * [ ] http://foo:7777/ (UnknownHostException) with 1 occurrences migrated to: https://foo:7777/ ([https](https://foo:7777/) result UnknownHostException). * [ ] http://host/doStuff (UnknownHostException) with 1 occurrences migrated to: https://host/doStuff ([https](https://host/doStuff) result UnknownHostException). * [ ] http://host:7777/Management/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Management/health ([https](https://host:7777/Management/health) result UnknownHostException). * [ ] http://host:7777/Management/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Management/info ([https](https://host:7777/Management/info) result UnknownHostException). * [ ] http://host:7777/Server/Management/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/Management/health ([https](https://host:7777/Server/Management/health) result UnknownHostException). * [ ] http://host:7777/Server/Management/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/Management/info ([https](https://host:7777/Server/Management/info) result UnknownHostException). * [ ] http://host:7777/Server/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/health ([https](https://host:7777/Server/health) result UnknownHostException). * [ ] http://host:7777/Server/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/Server/info ([https](https://host:7777/Server/info) result UnknownHostException). * [ ] http://host:7777/health (UnknownHostException) with 1 occurrences migrated to: https://host:7777/health ([https](https://host:7777/health) result UnknownHostException). * [ ] http://host:7777/info (UnknownHostException) with 1 occurrences migrated to: https://host:7777/info ([https](https://host:7777/info) result UnknownHostException). * [ ] http://host:8888/Management/health (UnknownHostException) with 3 occurrences migrated to: https://host:8888/Management/health ([https](https://host:8888/Management/health) result UnknownHostException). * [ ] http://host:8888/Management/info (UnknownHostException) with 3 occurrences migrated to: https://host:8888/Management/info ([https](https://host:8888/Management/info) result UnknownHostException). * [ ] http://host:8888/health (UnknownHostException) with 2 occurrences migrated to: https://host:8888/health ([https](https://host:8888/health) result UnknownHostException). * [ ] http://host:8888/info (UnknownHostException) with 2 occurrences migrated to: https://host:8888/info ([https](https://host:8888/info) result UnknownHostException). * [ ] http://hostname:port/turbine/turbine.stream (UnknownHostException) with 1 occurrences migrated to: https://hostname:port/turbine/turbine.stream ([https](https://hostname:port/turbine/turbine.stream) result UnknownHostException). * [ ] http://hystrix-app:port/actuator/hystrix.stream (UnknownHostException) with 1 occurrences migrated to: https://hystrix-app:port/actuator/hystrix.stream ([https](https://hystrix-app:port/actuator/hystrix.stream) result UnknownHostException). * [ ] http://legacy.example.com (UnknownHostException) with 1 occurrences migrated to: https://legacy.example.com ([https](https://legacy.example.com) result UnknownHostException). * [ ] http://mhhost2:0/foo/health (UnknownHostException) with 2 occurrences migrated to: https://mhhost2:0/foo/health ([https](https://mhhost2:0/foo/health) result UnknownHostException). * [ ] http://mhhost2:0/foo/info (UnknownHostException) with 2 occurrences migrated to: https://mhhost2:0/foo/info ([https](https://mhhost2:0/foo/info) result UnknownHostException). * [ ] http://my.turbine.server:8080/turbine.stream?cluster=CLUSTERNAME (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.server:8080/turbine.stream?cluster=CLUSTERNAME ([https](https://my.turbine.server:8080/turbine.stream?cluster=CLUSTERNAME) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream ([https](https://my.turbine.sever:8989/turbine.stream) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream?cluster=customers (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream?cluster=customers ([https](https://my.turbine.sever:8989/turbine.stream?cluster=customers) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream?cluster=default (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream?cluster=default ([https](https://my.turbine.sever:8989/turbine.stream?cluster=default) result UnknownHostException). * [ ] http://my.turbine.sever:8989/turbine.stream?cluster=products (UnknownHostException) with 1 occurrences migrated to: https://my.turbine.sever:8989/turbine.stream?cluster=products ([https](https://my.turbine.sever:8989/turbine.stream?cluster=products) result UnknownHostException). * [ ] http://myhost2:9000 (UnknownHostException) with 1 occurrences migrated to: https://myhost2:9000 ([https](https://myhost2:9000) result UnknownHostException). * [ ] http://myhost:8080 (UnknownHostException) with 1 occurrences migrated to: https://myhost:8080 ([https](https://myhost:8080) result UnknownHostException). * [ ] http://myhost:8989 (UnknownHostException) with 1 occurrences migrated to: https://myhost:8989 ([https](https://myhost:8989) result UnknownHostException). * [ ] http://myhost:9000 (UnknownHostException) with 1 occurrences migrated to: https://myhost:9000 ([https](https://myhost:9000) result UnknownHostException). * [ ] http://myservice (UnknownHostException) with 1 occurrences migrated to: https://myservice ([https](https://myservice) result UnknownHostException). * [ ] http://peer1/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://peer1/eureka/ ([https](https://peer1/eureka/) result UnknownHostException). * [ ] http://peer1/eureka/,http://peer2/eureka/,http://peer3/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://peer1/eureka/,http://peer2/eureka/,http://peer3/eureka/ ([https](https://peer1/eureka/,https://peer2/eureka/,https://peer3/eureka/) result UnknownHostException). * [ ] http://peer2/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://peer2/eureka/ ([https](https://peer2/eureka/) result UnknownHostException). * [ ] http://region1-zone-host:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://region1-zone-host:8678/eureka/ ([https](https://region1-zone-host:8678/eureka/) result UnknownHostException). * [ ] http://region2-zone-host:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://region2-zone-host:8678/eureka/ ([https](https://region2-zone-host:8678/eureka/) result UnknownHostException). * [ ] http://region4-zone-host:8678/eureka/ (UnknownHostException) with 2 occurrences migrated to: https://region4-zone-host:8678/eureka/ ([https](https://region4-zone-host:8678/eureka/) result UnknownHostException). * [ ] http://sidecar.local.spring.io:5678/configserver/default-master.yml (UnknownHostException) with 1 occurrences migrated to: https://sidecar.local.spring.io:5678/configserver/default-master.yml ([https](https://sidecar.local.spring.io:5678/configserver/default-master.yml) result UnknownHostException). * [ ] http://simple/ (UnknownHostException) with 1 occurrences migrated to: https://simple/ ([https](https://simple/) result UnknownHostException). * [ ] http://simple/emptypost (UnknownHostException) with 1 occurrences migrated to: https://simple/emptypost ([https](https://simple/emptypost) result UnknownHostException). * [ ] http://simple/header (UnknownHostException) with 1 occurrences migrated to: https://simple/header ([https](https://simple/header) result UnknownHostException). * [ ] http://simple/path/ (UnknownHostException) with 2 occurrences migrated to: https://simple/path/ ([https](https://simple/path/) result UnknownHostException). * [ ] http://simple/post (UnknownHostException) with 1 occurrences migrated to: https://simple/post ([https](https://simple/post) result UnknownHostException). * [ ] http://simple/request?param= (UnknownHostException) with 1 occurrences migrated to: https://simple/request?param= ([https](https://simple/request?param=) result UnknownHostException). * [ ] http://simple_bad (UnknownHostException) with 1 occurrences migrated to: https://simple_bad ([https](https://simple_bad) result UnknownHostException). * [ ] http://turbine-hostname:port/turbine.stream (UnknownHostException) with 1 occurrences migrated to: https://turbine-hostname:port/turbine.stream ([https](https://turbine-hostname:port/turbine.stream) result UnknownHostException). * [ ] http://turbine-hostname:port/turbine.stream?cluster= (UnknownHostException) with 1 occurrences migrated to: https://turbine-hostname:port/turbine.stream?cluster= ([https](https://turbine-hostname:port/turbine.stream?cluster=) result UnknownHostException). * [ ] http://user2:pwd2@test2.com (UnknownHostException) with 1 occurrences migrated to: https://user2:pwd2@test2.com ([https](https://user2:pwd2@test2.com) result UnknownHostException). * [ ] http://user:foo@example.com:80/eureka (UnknownHostException) with 1 occurrences migrated to: https://user:foo@example.com:80/eureka ([https](https://user:foo@example.com:80/eureka) result UnknownHostException). * [ ] http://user:password@localhost:8761/eureka (UnknownHostException) with 1 occurrences migrated to: https://user:password@localhost:8761/eureka ([https](https://user:password@localhost:8761/eureka) result UnknownHostException). * [ ] http://user:password@localhost:8761/eureka/ (UnknownHostException) with 1 occurrences migrated to: https://user:password@localhost:8761/eureka/ ([https](https://user:password@localhost:8761/eureka/) result UnknownHostException). * [ ] http://user:pwd@test1.com (UnknownHostException) with 1 occurrences migrated to: https://user:pwd@test1.com ([https](https://user:pwd@test1.com) result UnknownHostException). * [ ] http://www.puppycrawl.com/dtds/suppressions_1_1.dtd (404) with 1 occurrences migrated to: https://www.puppycrawl.com/dtds/suppressions_1_1.dtd ([https](https://www.puppycrawl.com/dtds/suppressions_1_1.dtd) result 404). ## Fixed Success These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://asciidoctor.org with 1 occurrences migrated to: https://asciidoctor.org ([https](https://asciidoctor.org) result 200). * [ ] http://example.com with 15 occurrences migrated to: https://example.com ([https](https://example.com) result 200). * [ ] http://example.com/ with 5 occurrences migrated to: https://example.com/ ([https](https://example.com/) result 200). * [ ] http://example.com/users_service with 1 occurrences migrated to: https://example.com/users_service ([https](https://example.com/users_service) result 200). * [ ] http://github.com/ with 1 occurrences migrated to: https://github.com/ ([https](https://github.com/) result 200). * [ ] http://hello.com with 3 occurrences migrated to: https://hello.com ([https](https://hello.com) result 200). * [ ] http://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html with 1 occurrences migrated to: https://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html ([https](https://jquery-howto.blogspot.com/2009/09/get-url-parameters-values-with-jquery.html) result 200). * [ ] http://martinfowler.com/bliki/CircuitBreaker.html with 1 occurrences migrated to: https://martinfowler.com/bliki/CircuitBreaker.html ([https](https://martinfowler.com/bliki/CircuitBreaker.html) result 200). * [ ] http://projects.spring.io/spring-cloud/ with 6 occurrences migrated to: https://projects.spring.io/spring-cloud/ ([https](https://projects.spring.io/spring-cloud/) result 200). * [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 3 occurrences migrated to: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200). * [ ] http://www.gnu.org/licenses/gpl.html with 1 occurrences migrated to: https://www.gnu.org/licenses/gpl.html ([https](https://www.gnu.org/licenses/gpl.html) result 200). * [ ] http://www.slideshare.net/MikeyCohen1/edge-architecture-ieee-international-conference-on-cloud-engineering-32240146/27 with 1 occurrences migrated to: https://www.slideshare.net/MikeyCohen1/edge-architecture-ieee-international-conference-on-cloud-engineering-32240146/27 ([https](https://www.slideshare.net/MikeyCohen1/edge-architecture-ieee-international-conference-on-cloud-engineering-32240146/27) result 200). * [ ] http://commons.apache.org/proper/commons-configuration with 1 occurrences migrated to: https://commons.apache.org/proper/commons-configuration ([https](https://commons.apache.org/proper/commons-configuration) result 301). * [ ] http://creativecommons.org/licenses/MIT/ with 4 occurrences migrated to: https://creativecommons.org/licenses/MIT/ ([https](https://creativecommons.org/licenses/MIT/) result 301). * [ ] http://plugins.jetbrains.com/plugin/6546 with 3 occurrences migrated to: https://plugins.jetbrains.com/plugin/6546 ([https](https://plugins.jetbrains.com/plugin/6546) result 301). * [ ] http://raw.github.com/ with 1 occurrences migrated to: https://raw.github.com/ ([https](https://raw.github.com/) result 301). * [ ] http://service.com with 3 occurrences migrated to: https://service.com ([https](https://service.com) result 301). * [ ] http://www.opensource.org/licenses/mit-license.php with 1 occurrences migrated to: https://www.opensource.org/licenses/mit-license.php ([https](https://www.opensource.org/licenses/mit-license.php) result 301). * [ ] http://eclipse.org with 2 occurrences migrated to: https://eclipse.org ([https](https://eclipse.org) result 302). * [ ] http://eclipse.org/m2e/ with 4 occurrences migrated to: https://eclipse.org/m2e/ ([https](https://eclipse.org/m2e/) result 302). * [ ] http://example2.com/ with 1 occurrences migrated to: https://example2.com/ ([https](https://example2.com/) result 302). * [ ] http://simplegrid.info with 4 occurrences migrated to: https://simplegrid.info ([https](https://simplegrid.info) result 302). * [ ] http://simplegrid.info/ with 1 occurrences migrated to: https://simplegrid.info/ ([https](https://simplegrid.info/) result 302). * [ ] http://www.springsource.com/developer/sts with 2 occurrences migrated to: https://www.springsource.com/developer/sts ([https](https://www.springsource.com/developer/sts) result 302). # Ignored These URLs were intentionally ignored. * http://localhost with 135 occurrences * http://localhost/ with 2 occurrences * http://localhost/info with 1 occurrences * http://localhost/ping with 2 occurrences * http://localhost/status with 1 occurrences * http://localhost:%d/lazy/sample with 1 occurrences * http://localhost:%d/service/redirectedUri with 1 occurrences * http://localhost:5678/configserver with 1 occurrences * http://localhost:5678/customers with 1 occurrences * http://localhost:5678/hosts/ with 1 occurrences * http://localhost:7777/local with 4 occurrences * http://localhost:8000/health.json with 1 occurrences * http://localhost:8000/src/test/resources/health.json with 1 occurrences * http://localhost:8080 with 2 occurrences * http://localhost:8081 with 3 occurrences * http://localhost:8383/turbine.stream?cluster=RACES with 1 occurrences * http://localhost:8383/turbine.stream?cluster=WEB with 1 occurrences * http://localhost:8678/eureka/ with 1 occurrences * http://localhost:8761 with 2 occurrences * http://localhost:8761/eureka/ with 5 occurrences * http://localhost:9000 with 2 occurrences * http://test1.com with 1 occurrences * http://test1.com,http://test2.com with 1 occurrences * http://test1.com,http://user2:pwd2@test2.com with 1 occurrences * http://test2.com with 1 occurrences * http://test3.com,http://test4.com with 1 occurrences * http://test3.com,http://user4:pwd4@test4.com with 1 occurrences * http://test:test@localhost:8761 with 1 occurrences * http://test@localhost:8761 with 1 occurrences * http://testService with 1 occurrences
187 lines
9.2 KiB
Plaintext
187 lines
9.2 KiB
Plaintext
// Do not edit this file (e.g. go instead to src/main/asciidoc)
|
|
|
|
image::https://circleci.com/gh/spring-cloud/spring-cloud-netflix/tree/master.svg?style=svg["CircleCI", link="https://circleci.com/gh/spring-cloud/spring-cloud-netflix/tree/master"]
|
|
image::https://codecov.io/gh/spring-cloud/spring-cloud-netflix/branch/master/graph/badge.svg["Codecov", link="https://codecov.io/gh/spring-cloud/spring-cloud-netflix/branch/master"]
|
|
image::https://api.codacy.com/project/badge/Grade/a6885a06921e4f72a0df0b7aabd6d118["Codacy code quality", link="https://www.codacy.com/app/Spring-Cloud/spring-cloud-netflix?utm_source=github.com&utm_medium=referral&utm_content=spring-cloud/spring-cloud-netflix&utm_campaign=Badge_Grade"]
|
|
|
|
|
|
This project provides Netflix OSS integrations for Spring Boot apps through autoconfiguration
|
|
and binding to the Spring Environment and other Spring programming model idioms. With a few
|
|
simple annotations you can quickly enable and configure the common patterns inside your
|
|
application and build large distributed systems with battle-tested Netflix components. The
|
|
patterns provided include Service Discovery (Eureka), Circuit Breaker (Hystrix),
|
|
Intelligent Routing (Zuul) and Client Side Load Balancing (Ribbon).
|
|
|
|
|
|
== Features
|
|
|
|
* Service Discovery: Eureka instances can be registered and clients can discover the instances using Spring-managed beans
|
|
* Service Discovery: an embedded Eureka server can be created with declarative Java configuration
|
|
* Circuit Breaker: Hystrix clients can be built with a simple annotation-driven method decorator
|
|
* Circuit Breaker: embedded Hystrix dashboard with declarative Java configuration
|
|
* Client Side Load Balancer: Ribbon
|
|
* External Configuration: a bridge from the Spring Environment to Archaius (enables native configuration of Netflix components using Spring Boot conventions)
|
|
* Router and Filter: automatic registration of Zuul filters, and a simple convention over configuration approach to reverse proxy creation
|
|
|
|
|
|
== Modules In Maintenance Mode
|
|
|
|
Placing a module in maintenance mode means that the Spring Cloud team will no longer be adding new features to the module.
|
|
We will fix blocker bugs and security issues, and we will also consider and review small pull requests from the community.
|
|
|
|
We intend to continue to support these modules for a period of at least a year from the general availability
|
|
of the Greenwich release train.
|
|
|
|
The following Spring Cloud Netflix modules and corresponding starters will be placed into maintenance mode:
|
|
|
|
* spring-cloud-netflix-archaius
|
|
* spring-cloud-netflix-hystrix-contract
|
|
* spring-cloud-netflix-hystrix-dashboard
|
|
* spring-cloud-netflix-hystrix-stream
|
|
* spring-cloud-netflix-hystrix
|
|
* spring-cloud-netflix-ribbon
|
|
* spring-cloud-netflix-turbine-stream
|
|
* spring-cloud-netflix-turbine
|
|
* spring-cloud-netflix-zuul
|
|
|
|
NOTE: This does not include the Eureka or concurrency-limits modules.
|
|
|
|
|
|
== Building
|
|
|
|
:jdkversion: 1.8
|
|
|
|
=== Basic Compile and Test
|
|
|
|
To build the source you will need to install JDK {jdkversion}.
|
|
|
|
Spring Cloud uses Maven for most build-related activities, and you
|
|
should be able to get off the ground quite quickly by cloning the
|
|
project you are interested in and typing
|
|
|
|
----
|
|
$ ./mvnw install
|
|
----
|
|
|
|
NOTE: You can also install Maven (>=3.3.3) yourself and run the `mvn` command
|
|
in place of `./mvnw` in the examples below. If you do that you also
|
|
might need to add `-P spring` if your local Maven settings do not
|
|
contain repository declarations for spring pre-release artifacts.
|
|
|
|
NOTE: Be aware that you might need to increase the amount of memory
|
|
available to Maven by setting a `MAVEN_OPTS` environment variable with
|
|
a value like `-Xmx512m -XX:MaxPermSize=128m`. We try to cover this in
|
|
the `.mvn` configuration, so if you find you have to do it to make a
|
|
build succeed, please raise a ticket to get the settings added to
|
|
source control.
|
|
|
|
For hints on how to build the project look in `.travis.yml` if there
|
|
is one. There should be a "script" and maybe "install" command. Also
|
|
look at the "services" section to see if any services need to be
|
|
running locally (e.g. mongo or rabbit). Ignore the git-related bits
|
|
that you might find in "before_install" since they're related to setting git
|
|
credentials and you already have those.
|
|
|
|
The projects that require middleware generally include a
|
|
`docker-compose.yml`, so consider using
|
|
https://compose.docker.io/[Docker Compose] to run the middeware servers
|
|
in Docker containers. See the README in the
|
|
https://github.com/spring-cloud-samples/scripts[scripts demo
|
|
repository] for specific instructions about the common cases of mongo,
|
|
rabbit and redis.
|
|
|
|
NOTE: If all else fails, build with the command from `.travis.yml` (usually
|
|
`./mvnw install`).
|
|
|
|
=== Documentation
|
|
|
|
The spring-cloud-build module has a "docs" profile, and if you switch
|
|
that on it will try to build asciidoc sources from
|
|
`src/main/asciidoc`. As part of that process it will look for a
|
|
`README.adoc` and process it by loading all the includes, but not
|
|
parsing or rendering it, just copying it to `${main.basedir}`
|
|
(defaults to `${basedir}`, i.e. the root of the project). If there are
|
|
any changes in the README it will then show up after a Maven build as
|
|
a modified file in the correct place. Just commit it and push the change.
|
|
|
|
=== Working with the code
|
|
If you don't have an IDE preference we would recommend that you use
|
|
https://www.springsource.com/developer/sts[Spring Tools Suite] or
|
|
https://eclipse.org[Eclipse] when working with the code. We use the
|
|
https://eclipse.org/m2e/[m2eclipse] eclipse plugin for maven support. Other IDEs and tools
|
|
should also work without issue as long as they use Maven 3.3.3 or better.
|
|
|
|
==== Importing into eclipse with m2eclipse
|
|
We recommend the https://eclipse.org/m2e/[m2eclipse] eclipse plugin when working with
|
|
eclipse. If you don't already have m2eclipse installed it is available from the "eclipse
|
|
marketplace".
|
|
|
|
NOTE: Older versions of m2e do not support Maven 3.3, so once the
|
|
projects are imported into Eclipse you will also need to tell
|
|
m2eclipse to use the right profile for the projects. If you
|
|
see many different errors related to the POMs in the projects, check
|
|
that you have an up to date installation. If you can't upgrade m2e,
|
|
add the "spring" profile to your `settings.xml`. Alternatively you can
|
|
copy the repository settings from the "spring" profile of the parent
|
|
pom into your `settings.xml`.
|
|
|
|
==== Importing into eclipse without m2eclipse
|
|
If you prefer not to use m2eclipse you can generate eclipse project metadata using the
|
|
following command:
|
|
|
|
[indent=0]
|
|
----
|
|
$ ./mvnw eclipse:eclipse
|
|
----
|
|
|
|
The generated eclipse projects can be imported by selecting `import existing projects`
|
|
from the `file` menu.
|
|
|
|
|
|
|
|
== Contributing
|
|
|
|
Spring Cloud is released under the non-restrictive Apache 2.0 license,
|
|
and follows a very standard Github development process, using Github
|
|
tracker for issues and merging pull requests into master. If you want
|
|
to contribute even something trivial please do not hesitate, but
|
|
follow the guidelines below.
|
|
|
|
=== Sign the Contributor License Agreement
|
|
Before we accept a non-trivial patch or pull request we will need you to sign the
|
|
https://cla.pivotal.io/sign/spring[Contributor License Agreement].
|
|
Signing the contributor's agreement does not grant anyone commit rights to the main
|
|
repository, but it does mean that we can accept your contributions, and you will get an
|
|
author credit if we do. Active contributors might be asked to join the core team, and
|
|
given the ability to merge pull requests.
|
|
|
|
=== Code of Conduct
|
|
This project adheres to the Contributor Covenant https://github.com/spring-cloud/spring-cloud-build/blob/master/docs/src/main/asciidoc/code-of-conduct.adoc[code of
|
|
conduct]. By participating, you are expected to uphold this code. Please report
|
|
unacceptable behavior to spring-code-of-conduct@pivotal.io.
|
|
|
|
=== Code Conventions and Housekeeping
|
|
None of these is essential for a pull request, but they will all help. They can also be
|
|
added after the original pull request but before a merge.
|
|
|
|
* Use the Spring Framework code format conventions. If you use Eclipse
|
|
you can import formatter settings using the
|
|
`eclipse-code-formatter.xml` file from the
|
|
https://raw.githubusercontent.com/spring-cloud/spring-cloud-build/master/spring-cloud-dependencies-parent/eclipse-code-formatter.xml[Spring
|
|
Cloud Build] project. If using IntelliJ, you can use the
|
|
https://plugins.jetbrains.com/plugin/6546[Eclipse Code Formatter
|
|
Plugin] to import the same file.
|
|
* Make sure all new `.java` files to have a simple Javadoc class comment with at least an
|
|
`@author` tag identifying you, and preferably at least a paragraph on what the class is
|
|
for.
|
|
* Add the ASF license header comment to all new `.java` files (copy from existing files
|
|
in the project)
|
|
* Add yourself as an `@author` to the .java files that you modify substantially (more
|
|
than cosmetic changes).
|
|
* Add some Javadocs and, if you change the namespace, some XSD doc elements.
|
|
* A few unit tests would help a lot as well -- someone has to do it.
|
|
* If no-one else is using your branch, please rebase it against the current master (or
|
|
other target branch in the main project).
|
|
* When writing a commit message please follow https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html[these conventions],
|
|
if you are fixing an existing issue please add `Fixes gh-XXXX` at the end of the commit
|
|
message (where XXXX is the issue number). |