Class 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
    • Field Summary

      • Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

        id, syntheticProperties, type
      • Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem

        SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
    • Constructor Summary

      Constructors 
      Constructor Description
      VaultServer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean checkConnection()  
      org.springframework.vault.core.VaultTemplate createConnection()  
      java.lang.String getNamespace()  
      java.lang.String getScriptLocation()  
      java.util.Map<java.lang.String,​java.lang.String> lookup​(java.util.List<com.xebialabs.xlrelease.domain.variables.PasswordStringVariable> variables)  
      void setNamespace​(java.lang.String namespace)  
      void setScriptLocation​(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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VaultServer

        public VaultServer()
    • 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:
        lookup in class com.xebialabs.xlrelease.domain.ExternalVariableServer