Class VaultServer
- java.lang.Object
-
- com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
-
- com.xebialabs.xlrelease.domain.BaseConfiguration
-
- com.xebialabs.xlrelease.domain.Configuration
-
- com.xebialabs.xlrelease.domain.ExternalVariableServer
-
- com.xebialabs.xlrelease.externalproviders.vault.VaultServer
-
- All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem,java.io.Serializable,java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>
@Metadata(label="Vault Server") public class VaultServer extends com.xebialabs.xlrelease.domain.ExternalVariableServer- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VaultServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckConnection()org.springframework.vault.core.VaultTemplatecreateConnection()java.lang.StringgetNamespace()java.lang.StringgetScriptLocation()java.util.Map<java.lang.String,java.lang.String>lookup(java.util.List<com.xebialabs.xlrelease.domain.variables.PasswordStringVariable> variables)voidsetNamespace(java.lang.String namespace)voidsetScriptLocation(java.lang.String scriptLocation)-
Methods inherited from class com.xebialabs.xlrelease.domain.ExternalVariableServer
equals, getToken, getUrl, hashCode, setToken, setUrl
-
Methods inherited from class com.xebialabs.xlrelease.domain.Configuration
getTitle, getVariableMapping, hasVariableMapping, setTitle, setVariableMapping
-
Methods inherited from class com.xebialabs.xlrelease.domain.BaseConfiguration
getFolderId, hasId, setFolderId
-
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString
-
-
-
-
Method Detail
-
getScriptLocation
public java.lang.String getScriptLocation()
-
setScriptLocation
public void setScriptLocation(java.lang.String scriptLocation)
-
getNamespace
public java.lang.String getNamespace()
-
setNamespace
public void setNamespace(java.lang.String namespace)
-
createConnection
public org.springframework.vault.core.VaultTemplate createConnection()
-
checkConnection
public boolean checkConnection()
-
lookup
public java.util.Map<java.lang.String,java.lang.String> lookup(java.util.List<com.xebialabs.xlrelease.domain.variables.PasswordStringVariable> variables)
- Specified by:
lookupin classcom.xebialabs.xlrelease.domain.ExternalVariableServer
-
-