From d5c475a72d54dac25683534e43d284e968311971 Mon Sep 17 00:00:00 2001 From: buildmaster Date: Mon, 30 Mar 2020 13:26:32 +0000 Subject: [PATCH] Sync docs from master to gh-pages --- reference/html/index.html | 26 ++++++++++++++++++++++-- reference/html/spring-cloud-commons.html | 26 ++++++++++++++++++++++-- 2 files changed, 48 insertions(+), 4 deletions(-) diff --git a/reference/html/index.html b/reference/html/index.html index 133159a4..a5b5d43a 100644 --- a/reference/html/index.html +++ b/reference/html/index.html @@ -186,7 +186,8 @@ $(addBlockSwitches);
  • 4.3. Configuration
  • -
  • 5. Configuration Properties
  • +
  • 5. CachedRandomPropertySource
  • +
  • 6. Configuration Properties
  • @@ -1855,7 +1856,28 @@ for example, in case of -

    5. Configuration Properties

    +

    5. CachedRandomPropertySource

    +
    +
    +

    Spring Cloud Context provides a PropertySource that caches random values based on a key. Outside of the caching +functionality it works the same as Spring Boot’s RandomValuePropertySource. +This random value might be useful in the case where you want a random value that is consistent even after the Spring Application +context restarts. The property value takes the form of cachedrandom.[yourkey].[type] where yourkey is the key in the cache. The type value can +be any type supported by Spring Boot’s RandomValuePropertySource.

    +
    +
    +
    +
    +
    +
    myrandom=${cachedrandom.appname.value}
    +
    +
    +
    +
    +
    + +
    +

    6. Configuration Properties

    To see the list of all Spring Cloud Commons related configuration properties please check the Appendix page.

    diff --git a/reference/html/spring-cloud-commons.html b/reference/html/spring-cloud-commons.html index 133159a4..a5b5d43a 100644 --- a/reference/html/spring-cloud-commons.html +++ b/reference/html/spring-cloud-commons.html @@ -186,7 +186,8 @@ $(addBlockSwitches);
  • 4.3. Configuration
  • -
  • 5. Configuration Properties
  • +
  • 5. CachedRandomPropertySource
  • +
  • 6. Configuration Properties
  • @@ -1855,7 +1856,28 @@ for example, in case of -

    5. Configuration Properties

    +

    5. CachedRandomPropertySource

    +
    +
    +

    Spring Cloud Context provides a PropertySource that caches random values based on a key. Outside of the caching +functionality it works the same as Spring Boot’s RandomValuePropertySource. +This random value might be useful in the case where you want a random value that is consistent even after the Spring Application +context restarts. The property value takes the form of cachedrandom.[yourkey].[type] where yourkey is the key in the cache. The type value can +be any type supported by Spring Boot’s RandomValuePropertySource.

    +
    +
    +
    +
    +
    +
    myrandom=${cachedrandom.appname.value}
    +
    +
    +
    +
    +
    +
    +
    +

    6. Configuration Properties

    To see the list of all Spring Cloud Commons related configuration properties please check the Appendix page.