public abstract class AbstractVaultEnvironmentRepository extends Object implements EnvironmentRepository, org.springframework.core.Ordered
Modifier and Type | Field and Description |
---|---|
protected String |
defaultKey
The key in vault shared by all applications.
|
protected int |
order |
protected @NotEmpty String |
profileSeparator
Vault profile separator.
|
protected org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> |
request |
protected EnvironmentWatch |
watch |
Constructor and Description |
---|
AbstractVaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request,
EnvironmentWatch watch,
VaultEnvironmentProperties properties) |
Modifier and Type | Method and Description |
---|---|
Environment |
findOne(String application,
String profile,
String label) |
int |
getOrder() |
protected abstract String |
read(String key) |
void |
setDefaultKey(String defaultKey) |
void |
setOrder(int order) |
void |
setProfileSeparator(String profileSeparator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findOne
protected final org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request
protected final EnvironmentWatch watch
protected String defaultKey
@NotEmpty protected @NotEmpty String profileSeparator
protected int order
public AbstractVaultEnvironmentRepository(org.springframework.beans.factory.ObjectProvider<javax.servlet.http.HttpServletRequest> request, EnvironmentWatch watch, VaultEnvironmentProperties properties)
public Environment findOne(String application, String profile, String label)
findOne
in interface EnvironmentRepository
public void setDefaultKey(String defaultKey)
public void setProfileSeparator(String profileSeparator)
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.