net.bpelunit.framework.control.deploy.activevos9
Class ActiveVOS9Deployer
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActiveVOS9Deployer
public ActiveVOS9Deployer()
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.