Class ConfigServerClientSettings
Holds the settings used to configure the Spring Cloud Config Server provider ConfigServerConfigurationProvider.
Inheritance
Namespace: Steeltoe.Extensions.Configuration.ConfigServer
Assembly: Steeltoe.Extensions.Configuration.ConfigServerBase.dll
Syntax
public class ConfigServerClientSettings : object
Constructors
| Edit this page View SourceConfigServerClientSettings()
Initializes a new instance of the ConfigServerClientSettings class.
Declaration
public ConfigServerClientSettings()
Remarks
Initialize Config Server client settings with defaults
Fields
| Edit this page View SourceDEFAULT_ACCESS_TOKEN_URI
Default address used by provider to obtain a OAuth Access Token
Declaration
public const string DEFAULT_ACCESS_TOKEN_URI = null
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_CERTIFICATE_VALIDATION
Default certifcate validation enabled setting
Declaration
public const bool DEFAULT_CERTIFICATE_VALIDATION = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_CLIENT_ID
Default client id used by provider to obtain a OAuth Access Token
Declaration
public const string DEFAULT_CLIENT_ID = null
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_CLIENT_SECRET
Default client secret used by provider to obtain a OAuth Access Token
Declaration
public const string DEFAULT_CLIENT_SECRET = null
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_CONFIGSERVER_SERVICEID
Default discovery first service id setting
Declaration
public const string DEFAULT_CONFIGSERVER_SERVICEID = null
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_DISABLE_TOKEN_RENEWAL
Default Disable Vault Token renewal
Declaration
public const bool DEFAULT_DISABLE_TOKEN_RENEWAL = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_DISCOVERY_ENABLED
Default discovery first enabled setting
Declaration
public const bool DEFAULT_DISCOVERY_ENABLED = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_ENVIRONMENT
Default enironment used when accessing configuration data
Declaration
public const string DEFAULT_ENVIRONMENT = null
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_FAILFAST
Default fail fast setting
Declaration
public const bool DEFAULT_FAILFAST = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_HEALTH_ENABLED
Default health check enabled setting
Declaration
public const bool DEFAULT_HEALTH_ENABLED = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_HEALTH_TIMETOLIVE
Default health check time to live in milliseconds setting
Declaration
public const long DEFAULT_HEALTH_TIMETOLIVE = null
Field Value
Type | Description |
---|---|
System.Int64 |
DEFAULT_INITIAL_RETRY_INTERVAL
Default initial retry interval in milliseconds
Declaration
public const int DEFAULT_INITIAL_RETRY_INTERVAL = null
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_MAX_RETRY_ATTEMPTS
Default number of retries to be attempted
Declaration
public const int DEFAULT_MAX_RETRY_ATTEMPTS = null
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_MAX_RETRY_INTERVAL
Default initial retry interval in milliseconds
Declaration
public const int DEFAULT_MAX_RETRY_INTERVAL = null
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_PROVIDER_ENABLED
Default Config Server provider enabled setting
Declaration
public const bool DEFAULT_PROVIDER_ENABLED = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_RETRY_ENABLED
Default retry enabled setting
Declaration
public const bool DEFAULT_RETRY_ENABLED = null
Field Value
Type | Description |
---|---|
System.Boolean |
DEFAULT_RETRY_MULTIPLIER
Default multiplier for next retry interval
Declaration
public const double DEFAULT_RETRY_MULTIPLIER = null
Field Value
Type | Description |
---|---|
System.Double |
DEFAULT_TIMEOUT_MILLISECONDS
Default timeout in milliseconds
Declaration
public const int DEFAULT_TIMEOUT_MILLISECONDS = null
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_URI
Default Config Server address used by provider
Declaration
public const string DEFAULT_URI = null
Field Value
Type | Description |
---|---|
System.String |
DEFAULT_VAULT_TOKEN_RENEW_RATE
Default Vault Token renewal rate
Declaration
public const int DEFAULT_VAULT_TOKEN_RENEW_RATE = null
Field Value
Type | Description |
---|---|
System.Int32 |
DEFAULT_VAULT_TOKEN_TTL
Default Vault Token Time to Live setting
Declaration
public const int DEFAULT_VAULT_TOKEN_TTL = null
Field Value
Type | Description |
---|---|
System.Int32 |
Properties
| Edit this page View SourceAccessTokenUri
Gets or sets address used by provider to obtain a OAuth Access Token
Declaration
public virtual string AccessTokenUri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientId
Gets or sets client id used by provider to obtain a OAuth Access Token
Declaration
public virtual string ClientId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ClientSecret
Gets or sets client secret used by provider to obtain a OAuth Access Token
Declaration
public virtual string ClientSecret { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DisableTokenRenewal
Declaration
public virtual bool DisableTokenRenewal { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DiscoveryEnabled
Gets or sets a value indicating whether discovery first behavior is enabled
Declaration
public virtual bool DiscoveryEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
DiscoveryServiceId
Gets or sets a value of the service id used during discovery first behavior
Declaration
public virtual string DiscoveryServiceId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Enabled
Gets or sets a value indicating whether enables/Disables the Config Server provider
Declaration
public virtual bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Environment
Gets or sets the environment used when accessing configuration data
Declaration
public virtual string Environment { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FailFast
Gets or sets a value indicating whether enables/Disables failfast behavior
Declaration
public virtual bool FailFast { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HealthEnabled
Gets or sets a value indicating whether health check is enabled
Declaration
public virtual bool HealthEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
HealthTimeToLive
Gets or sets a value for the health check cache time to live
Declaration
public virtual long HealthTimeToLive { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |
Label
Gets or sets the label used when accessing configuration data
Declaration
public virtual string Label { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the application name used when accessing configuration data
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Password
Gets or sets the password used when accessing the Config Server
Declaration
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String |
RawUri
Gets returns the HttpRequestUrl, unescaped
Declaration
public virtual string RawUri { get; }
Property Value
Type | Description |
---|---|
System.String |
RawUris
Gets returns HttpRequestUrls, unescaped
Declaration
public virtual string[] RawUris { get; }
Property Value
Type | Description |
---|---|
System.String[] |
RetryAttempts
Gets or sets the max number of retries the client will attempt
Declaration
public virtual int RetryAttempts { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RetryEnabled
Gets or sets a value indicating whether enables/Disables config server client retry on failures
Declaration
public virtual bool RetryEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RetryInitialInterval
Gets or sets initial retry interval in milliseconds
Declaration
public virtual int RetryInitialInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RetryMaxInterval
Gets or sets max retry interval in milliseconds
Declaration
public virtual int RetryMaxInterval { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
RetryMultiplier
Gets or sets multiplier for next retry interval
Declaration
public virtual double RetryMultiplier { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Timeout
Gets or sets returns the request timeout in milliseconds
Declaration
public virtual int Timeout { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Token
Gets or sets returns the token use for Vault
Declaration
public virtual string Token { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TokenRenewRate
Gets or sets vault token renew rate in Milliseconds
Declaration
public virtual int TokenRenewRate { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
TokenTtl
Gets or sets vault token Time to Live setting in Millisecoonds
Declaration
public virtual int TokenTtl { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Uri
Gets or sets the Config Server address
Declaration
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Username
Gets or sets the username used when accessing the Config Server
Declaration
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ValidateCertificates
Gets or sets a value indicating whether enables/Disables whether provider validates server certificates
Declaration
public virtual bool ValidateCertificates { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |