net.bpelunit.framework.control.deploy.activevos9
Class ActiveVOS9Deployer

java.lang.Object
  extended by net.bpelunit.framework.control.deploy.activevos9.ActiveVOS9Deployer
All Implemented Interfaces:
IBPELDeployer

public class ActiveVOS9Deployer
extends Object
implements IBPELDeployer

This class is the deployer for ActiveVOS 9.x. It contains the logic to deploy and undeploy BPRs as part of the BPELUnit test run. TODOs: - Coverage Support - Scenario testing with mocked ActiveVOSAdministrativeFunctions - Logging Done: - Endpoint Replacement

Author:
Daniel Luebke

Nested Class Summary
 
Nested classes/interfaces inherited from interface net.bpelunit.framework.control.ext.IBPELDeployer
IBPELDeployer.IBPELDeployerCapabilities, IBPELDeployer.IBPELDeployerOption
 
Constructor Summary
ActiveVOS9Deployer()
           
 
Method Summary
 void cleanUpAfterTestCase()
           
 void deploy(String pathToTest, ProcessUnderTest processUnderTest)
           
 net.bpelunit.framework.control.deploy.activevos9.ActiveVOSAdministrativeFunctions getAdministrativeFunctions()
           
 String getArchiveLocation(String pathToTest)
           
protected  String getDeployerPassword()
           
protected  String getDeployerUserName()
           
 IDeployment getDeployment(ProcessUnderTest processUnderTest)
           
protected  String getDeploymentLocation()
           
protected  String getDeploymentServiceEndpoint()
           
protected  void setAdministrativeFunctions(net.bpelunit.framework.control.deploy.activevos9.ActiveVOSAdministrativeFunctions mock)
          For testing only
 void setArchiveLocation(String archive)
           
 void setDeployerPassword(String deployerPassword)
           
 void setDeployerUserName(String deployerUserName)
           
 void setDeploymentLocation(String deploymentLocation)
           
 void setDeploymentServiceEndpoint(String deploymentServiceEndpoint)
           
 void setDoUndeploy(String doUndeploy)
           
 void setTerminatePendingProcessesAfterTestCaseIsRun(String terminatePendingProcessesAfterEveryTestCase)
           
 void setTerminatePendingProcessesBeforeTestSuiteIsRun(String terminatePendingProcessesBeforeTestSuiteIsRun)
           
 void undeploy(String testPath, ProcessUnderTest processUnderTest)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveVOS9Deployer

public ActiveVOS9Deployer()
Method Detail

setDeploymentLocation

public void setDeploymentLocation(String deploymentLocation)

setDeploymentServiceEndpoint

public void setDeploymentServiceEndpoint(String deploymentServiceEndpoint)

setDeployerUserName

public void setDeployerUserName(String deployerUserName)

setDeployerPassword

public void setDeployerPassword(String deployerPassword)

setDoUndeploy

public void setDoUndeploy(String doUndeploy)

setTerminatePendingProcessesBeforeTestSuiteIsRun

public void setTerminatePendingProcessesBeforeTestSuiteIsRun(String terminatePendingProcessesBeforeTestSuiteIsRun)

setTerminatePendingProcessesAfterTestCaseIsRun

public void setTerminatePendingProcessesAfterTestCaseIsRun(String terminatePendingProcessesAfterEveryTestCase)

getDeployerUserName

protected String getDeployerUserName()

getDeployerPassword

protected String getDeployerPassword()

getDeploymentLocation

protected String getDeploymentLocation()

getDeploymentServiceEndpoint

protected String getDeploymentServiceEndpoint()

deploy

public void deploy(String pathToTest,
                   ProcessUnderTest processUnderTest)
            throws DeploymentException
Specified by:
deploy in interface IBPELDeployer
Throws:
DeploymentException

undeploy

public void undeploy(String testPath,
                     ProcessUnderTest processUnderTest)
              throws DeploymentException
Specified by:
undeploy in interface IBPELDeployer
Throws:
DeploymentException

getDeployment

public IDeployment getDeployment(ProcessUnderTest processUnderTest)
                          throws DeploymentException
Specified by:
getDeployment in interface IBPELDeployer
Throws:
DeploymentException

getArchiveLocation

public String getArchiveLocation(String pathToTest)
Specified by:
getArchiveLocation in interface IBPELDeployer

setArchiveLocation

public void setArchiveLocation(String archive)
Specified by:
setArchiveLocation in interface IBPELDeployer

cleanUpAfterTestCase

public void cleanUpAfterTestCase()
Specified by:
cleanUpAfterTestCase in interface IBPELDeployer

getAdministrativeFunctions

public net.bpelunit.framework.control.deploy.activevos9.ActiveVOSAdministrativeFunctions getAdministrativeFunctions()

setAdministrativeFunctions

protected void setAdministrativeFunctions(net.bpelunit.framework.control.deploy.activevos9.ActiveVOSAdministrativeFunctions mock)
For testing only

Parameters:
mock -


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.