Polishing
Add author tag. Improve documentation. Regenerate readme. Original pull request: gh-36
This commit is contained in:
@@ -191,6 +191,7 @@ for SSL certificate validation
|
||||
Supported schemes are `http` and `https`.
|
||||
* `connection-timeout` sets the connection timeout in milliseconds
|
||||
* `read-timeout` sets the read timeout in milliseconds
|
||||
* `config.order` sets the order for the property source
|
||||
|
||||
Enabling further integrations requires additional dependencies and
|
||||
configuration. Depending on how you have set up Vault you might need
|
||||
|
||||
@@ -161,6 +161,8 @@ spring.cloud.vault:
|
||||
scheme: https
|
||||
connection-timeout: 5000
|
||||
read-timeout: 15000
|
||||
config:
|
||||
order: -10
|
||||
----
|
||||
|
||||
* `host` sets the hostname of the Vault host. The host name will be used
|
||||
@@ -170,6 +172,7 @@ for SSL certificate validation
|
||||
Supported schemes are `http` and `https`.
|
||||
* `connection-timeout` sets the connection timeout in milliseconds
|
||||
* `read-timeout` sets the read timeout in milliseconds
|
||||
* `config.order` sets the order for the property source
|
||||
|
||||
Enabling further integrations requires additional dependencies and
|
||||
configuration. Depending on how you have set up Vault you might need
|
||||
|
||||
@@ -40,6 +40,7 @@ import static org.springframework.cloud.vault.config.SecureBackendAccessors.*;
|
||||
*
|
||||
* @author Spencer Gibb
|
||||
* @author Mark Paluch
|
||||
* @author Jean-Philippe Bélanger
|
||||
*/
|
||||
class VaultPropertySourceLocator implements PropertySourceLocator, PriorityOrdered {
|
||||
|
||||
|
||||
@@ -181,9 +181,12 @@ public class VaultProperties {
|
||||
|
||||
@Data
|
||||
public static class Config {
|
||||
|
||||
/**
|
||||
* Used to force a PropertySourceLocator ordering.
|
||||
* This is useful to use Vault as an override on consul properties;
|
||||
* Used to set a {@link org.springframework.core.env.PropertySource} priority.
|
||||
* This is useful to use Vault as an override on other property sources.
|
||||
*
|
||||
* @see org.springframework.core.PriorityOrdered
|
||||
*/
|
||||
private int order = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user