Class VaultEnvironmentRepository
- java.lang.Object
-
- org.springframework.cloud.config.server.environment.AbstractVaultEnvironmentRepository
-
- org.springframework.cloud.config.server.environment.VaultEnvironmentRepository
-
- All Implemented Interfaces:
EnvironmentRepository,org.springframework.core.Ordered
@Validated public class VaultEnvironmentRepository extends AbstractVaultEnvironmentRepository
Deprecated.PreferSpringVaultEnvironmentRepositoryinstead of this environment repository implementation. The alternative implementation supports additional features including more authentication options, support for several underlying HTTP client libraries, and better SSL configuration.- Author:
- Spencer Gibb, Mark Paluch, Haroun Pacquee, Haytham Mohamed, Scott Frederick
-
-
Field Summary
-
Fields inherited from class org.springframework.cloud.config.server.environment.AbstractVaultEnvironmentRepository
defaultKey, order, profileSeparator, request, watch
-
-
Constructor Summary
Constructors Constructor Description VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties)Deprecated.VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties, ConfigTokenProvider tokenProvider)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected Stringread(String key)Deprecated.voidsetBackend(String backend)Deprecated.voidsetHost(String host)Deprecated.voidsetNamespace(String namespace)Deprecated.voidsetPort(int port)Deprecated.voidsetScheme(String scheme)Deprecated.-
Methods inherited from class org.springframework.cloud.config.server.environment.AbstractVaultEnvironmentRepository
findOne, getOrder, setDefaultKey, setOrder, setProfileSeparator
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.config.server.environment.EnvironmentRepository
findOne
-
-
-
-
Constructor Detail
-
VaultEnvironmentRepository
public VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties)Deprecated.
-
VaultEnvironmentRepository
public VaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, org.springframework.web.client.RestTemplate rest, VaultEnvironmentProperties properties, ConfigTokenProvider tokenProvider)Deprecated.
-
-
Method Detail
-
read
protected String read(String key)
Deprecated.- Specified by:
readin classAbstractVaultEnvironmentRepository
-
setHost
public void setHost(String host)
Deprecated.
-
setPort
public void setPort(int port)
Deprecated.
-
setScheme
public void setScheme(String scheme)
Deprecated.
-
setBackend
public void setBackend(String backend)
Deprecated.
-
setNamespace
public void setNamespace(String namespace)
Deprecated.
-
-