From 357693969d0aad1e6cacbfabe387dd163d9eb42f Mon Sep 17 00:00:00 2001 From: buildmaster Date: Tue, 26 Mar 2019 21:27:41 +0000 Subject: [PATCH] Sync docs from 2.1.x to gh-pages --- 2.1.x/spring-cloud-commons.xml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/2.1.x/spring-cloud-commons.xml b/2.1.x/spring-cloud-commons.xml index 3c60a9de..bb39e03a 100644 --- a/2.1.x/spring-cloud-commons.xml +++ b/2.1.x/spring-cloud-commons.xml @@ -8,23 +8,23 @@ -Cloud Native is a style of application development that encourages easy adoption of best practices in the areas of continuous delivery and value-driven development. -A related discipline is that of building 12-factor Applications, in which development practices are aligned with delivery and operations goals — for instance, by using declarative programming and management and monitoring. +Cloud Native is a style of application development that encourages easy adoption of best practices in the areas of continuous delivery and value-driven development. +A related discipline is that of building 12-factor Applications, in which development practices are aligned with delivery and operations goals — for instance, by using declarative programming and management and monitoring. Spring Cloud facilitates these styles of development in a number of specific ways. The starting point is a set of features to which all components in a distributed system need easy access. -Many of those features are covered by Spring Boot, on which Spring Cloud builds. Some more features are delivered by Spring Cloud as two libraries: Spring Cloud Context and Spring Cloud Commons. +Many of those features are covered by Spring Boot, on which Spring Cloud builds. Some more features are delivered by Spring Cloud as two libraries: Spring Cloud Context and Spring Cloud Commons. Spring Cloud Context provides utilities and special services for the ApplicationContext of a Spring Cloud application (bootstrap context, encryption, refresh scope, and environment endpoints). Spring Cloud Commons is a set of abstractions and common classes used in different Spring Cloud implementations (such as Spring Cloud Netflix and Spring Cloud Consul). If you get an exception due to "Illegal key size" and you use Sun’s JDK, you need to install the Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files. See the following links for more information: -Java 6 JCE +Java 6 JCE -Java 7 JCE +Java 7 JCE -Java 8 JCE +Java 8 JCE Extract the files into the JDK/jre/lib/security folder for whichever version of JRE/JDK x64/x86 you use. @@ -227,13 +227,13 @@ To use the encryption features in an application, you need to include Spring Sec See the following links for more information: -Java 6 JCE +Java 6 JCE -Java 7 JCE +Java 7 JCE -Java 8 JCE +Java 8 JCE Extract the files into the JDK/jre/lib/security folder for whichever version of JRE/JDK x64/x86 you use. @@ -269,7 +269,7 @@ will also be disabled since they are just a special case of /actuator/r Spring Cloud Commons provides the @EnableDiscoveryClient annotation. This looks for implementations of the DiscoveryClient interface with META-INF/spring.factories. Implementations of the Discovery Client add a configuration class to spring.factories under the org.springframework.cloud.client.discovery.EnableDiscoveryClient key. -Examples of DiscoveryClient implementations include Spring Cloud Netflix Eureka, Spring Cloud Consul Discovery, and Spring Cloud Zookeeper Discovery. +Examples of DiscoveryClient implementations include Spring Cloud Netflix Eureka, Spring Cloud Consul Discovery, and Spring Cloud Zookeeper Discovery. By default, implementations of DiscoveryClient auto-register the local Spring Boot server with the remote discovery server. This behavior can be disabled by setting autoRegister=false in @EnableDiscoveryClient. @@ -508,7 +508,7 @@ public class MyClass { } public String doStuff() { - return restTemplate.getForObject("https://example.com", String.class); + return restTemplate.getForObject("http://example.com", String.class); } }