com.xebialabs.deployit.plugins.releaseauth.upgrade
Class Deployit38DeploymentPipeline

java.lang.Object
  extended by com.xebialabs.deployit.server.api.upgrade.Upgrade
      extended by com.xebialabs.deployit.plugins.releaseauth.upgrade.Deployit38DeploymentPipeline
All Implemented Interfaces:
java.lang.Comparable<com.xebialabs.deployit.server.api.upgrade.Upgrade>

public class Deployit38DeploymentPipeline
extends com.xebialabs.deployit.server.api.upgrade.Upgrade

This upgrader converts the deployment pipeline added to an application directly (release dashboard 3.7.x) to a separate DeploymentPipeline CI under the Configuration node (release dashboard 3.8).


Field Summary
static java.lang.String CONFIGURATION_ITEM_NODETYPE_NAME
           
static java.lang.String CONFIGURATION_ITEM_TYPE_PROPERTY_NAME
           
static java.lang.String DEPLOYIT_NAMESPACE_PREFIX
          JCR constants from the 3.8 repository structure, see com.xebialabs.deployit.jcr.JcrConstants
static java.lang.String METADATA_PROPERTY_NAME_PREFIX
           
 
Constructor Summary
Deployit38DeploymentPipeline()
           
 
Method Summary
 boolean doUpgrade(com.xebialabs.deployit.server.api.repository.RawRepository repository)
           
protected static java.util.TreeSet<java.lang.String> gatherAllIds(java.util.Set<java.lang.String> nodes)
           
 com.xebialabs.deployit.server.api.upgrade.Version upgradeVersion()
           
 
Methods inherited from class com.xebialabs.deployit.server.api.upgrade.Upgrade
compareTo, shouldBeApplied, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEPLOYIT_NAMESPACE_PREFIX

public static final java.lang.String DEPLOYIT_NAMESPACE_PREFIX
JCR constants from the 3.8 repository structure, see com.xebialabs.deployit.jcr.JcrConstants

See Also:
Constant Field Values

CONFIGURATION_ITEM_NODETYPE_NAME

public static final java.lang.String CONFIGURATION_ITEM_NODETYPE_NAME
See Also:
Constant Field Values

METADATA_PROPERTY_NAME_PREFIX

public static final java.lang.String METADATA_PROPERTY_NAME_PREFIX
See Also:
Constant Field Values

CONFIGURATION_ITEM_TYPE_PROPERTY_NAME

public static final java.lang.String CONFIGURATION_ITEM_TYPE_PROPERTY_NAME
See Also:
Constant Field Values
Constructor Detail

Deployit38DeploymentPipeline

public Deployit38DeploymentPipeline()
Method Detail

doUpgrade

public boolean doUpgrade(com.xebialabs.deployit.server.api.repository.RawRepository repository)
                  throws com.xebialabs.deployit.server.api.upgrade.UpgradeException
Specified by:
doUpgrade in class com.xebialabs.deployit.server.api.upgrade.Upgrade
Throws:
com.xebialabs.deployit.server.api.upgrade.UpgradeException

gatherAllIds

protected static java.util.TreeSet<java.lang.String> gatherAllIds(java.util.Set<java.lang.String> nodes)

upgradeVersion

public com.xebialabs.deployit.server.api.upgrade.Version upgradeVersion()
Specified by:
upgradeVersion in class com.xebialabs.deployit.server.api.upgrade.Upgrade