diff --git a/spring-cloud.html b/spring-cloud.html index 01a7d7d..9c220a5 100644 --- a/spring-cloud.html +++ b/spring-cloud.html @@ -7,7 +7,407 @@ Spring Cloud - + +
+

The encryption is done with the public key, and a private key is @@ -522,8 +933,8 @@ individual bean by name. This functionality is exposed in the

The Config Client has an Environment pre-processor for decrypting property values locally. It follows the same rules as the Config -Server, and has the same external configuration via encrypt.. Thus -you can use encrypted values in the form {cipher} and as long as +Server, and has the same external configuration via encrypt.*. Thus +you can use encrypted values in the form {cipher}* and as long as there is a valid key then they will be decrypted before the main application context gets the Environment.

@@ -531,11 +942,23 @@ application context gets the Environment.

Endpoints

-

For a Spring Boot Actuator application there are some additional management endpoints: -* POST to /env to update the Environment and rebind @ConfigurationProperties and log levels -* /refresh for re-loading the boot strap context and refreshing the @RefreshScope beans -* /restart for closing the ApplicationContext and restarting it (disabled by default) -* /pause and /resume for calling the Lifecycle methods (stop() and start() on the ApplicationContext)

+

For a Spring Boot Actuator application there are some additional management endpoints:

+
+
+
    +
  • +

    POST to /env to update the Environment and rebind @ConfigurationProperties and log levels

    +
  • +
  • +

    /refresh for re-loading the boot strap context and refreshing the @RefreshScope beans

    +
  • +
  • +

    /restart for closing the ApplicationContext and restarting it (disabled by default)

    +
  • +
  • +

    /pause and /resume for calling the Lifecycle methods (stop() and start() on the ApplicationContext)

    +
  • +
@@ -547,7 +970,7 @@ the box it is responsible for loading configuration properties from the Config Server, and also decrypting properties in the local external configuration files. The two contexts share an Environment which is the source of external properties for any Spring -application. Bootstrap properties are added with hight precedence, so +application. Bootstrap properties are added with high precedence, so they cannot be overridden by local configuration.

@@ -849,7 +1272,7 @@ with Eureka will also become a Cloud Foundry service.