Class DeploymentsTestServiceImpl
java.lang.Object
com.atlassian.bamboo.plugins.testutils.deployments.DeploymentsTestServiceImpl
- All Implemented Interfaces:
DeploymentsTestService
Provides Deployment-related functionality for functional testing
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.plugins.testutils.deployments.DeploymentsTestService
ENV_DOGFOODING, ENV_STAGING
-
Constructor Summary
ConstructorDescriptionDeploymentsTestServiceImpl
(DeploymentExecutionService deploymentExecutionService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, ResultsSummaryManager resultsSummaryManager, TriggerManager triggerManager) -
Method Summary
Modifier and TypeMethodDescription@NotNull DeploymentProject
createDeploymentProjectWithEnvironments
(@NotNull PlanKey planKey) @NotNull DeploymentVersion
createDeploymentVersion
(@NotNull DeploymentProject deploymentProject, @NotNull PlanResultKey resultKey) @NotNull List<DeploymentVersion>
createDeploymentVersions
(@NotNull DeploymentProject deploymentProject, int firstResult, int maxResults) @NotNull DeploymentProject
createSimpleDeployment
(@NotNull PlanKey planKey) @NotNull DeploymentResult
executeDeployment
(@NotNull DeploymentProject deploymentProject, @NotNull String environmentName, @NotNull String versionName)
-
Constructor Details
-
DeploymentsTestServiceImpl
@Autowired public DeploymentsTestServiceImpl(DeploymentExecutionService deploymentExecutionService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, ResultsSummaryManager resultsSummaryManager, TriggerManager triggerManager)
-
-
Method Details
-
createDeploymentProjectWithEnvironments
@NotNull public @NotNull DeploymentProject createDeploymentProjectWithEnvironments(@NotNull @NotNull PlanKey planKey) throws WebValidationException - Specified by:
createDeploymentProjectWithEnvironments
in interfaceDeploymentsTestService
- Throws:
WebValidationException
-
createSimpleDeployment
@NotNull public @NotNull DeploymentProject createSimpleDeployment(@NotNull @NotNull PlanKey planKey) throws WebValidationException - Specified by:
createSimpleDeployment
in interfaceDeploymentsTestService
- Throws:
WebValidationException
-
createDeploymentVersion
@NotNull public @NotNull DeploymentVersion createDeploymentVersion(@NotNull @NotNull DeploymentProject deploymentProject, @NotNull @NotNull PlanResultKey resultKey) throws WebValidationException - Specified by:
createDeploymentVersion
in interfaceDeploymentsTestService
- Throws:
WebValidationException
-
createDeploymentVersions
@NotNull public @NotNull List<DeploymentVersion> createDeploymentVersions(@NotNull @NotNull DeploymentProject deploymentProject, int firstResult, int maxResults) throws WebValidationException - Specified by:
createDeploymentVersions
in interfaceDeploymentsTestService
- Throws:
WebValidationException
-
executeDeployment
@NotNull public @NotNull DeploymentResult executeDeployment(@NotNull @NotNull DeploymentProject deploymentProject, @NotNull @NotNull String environmentName, @NotNull @NotNull String versionName) - Specified by:
executeDeployment
in interfaceDeploymentsTestService
-