@Component public class DeploymentsTestServiceImpl extends Object implements DeploymentsTestService
ENV_DOGFOODING, ENV_STAGING
Constructor and Description |
---|
DeploymentsTestServiceImpl(DeploymentExecutionService deploymentExecutionService,
DeploymentProjectService deploymentProjectService,
DeploymentResultService deploymentResultService,
DeploymentVersionService deploymentVersionService,
EnvironmentService environmentService,
ResultsSummaryManager resultsSummaryManager,
TriggerManager triggerManager) |
Modifier and Type | Method and Description |
---|---|
DeploymentProject |
createDeploymentProjectWithEnvironments(PlanKey planKey) |
DeploymentVersion |
createDeploymentVersion(DeploymentProject deploymentProject,
PlanResultKey resultKey) |
List<DeploymentVersion> |
createDeploymentVersions(DeploymentProject deploymentProject,
int firstResult,
int maxResults) |
DeploymentProject |
createSimpleDeployment(PlanKey planKey) |
DeploymentResult |
executeDeployment(DeploymentProject deploymentProject,
String environmentName,
String versionName) |
@Autowired public DeploymentsTestServiceImpl(DeploymentExecutionService deploymentExecutionService, DeploymentProjectService deploymentProjectService, DeploymentResultService deploymentResultService, DeploymentVersionService deploymentVersionService, EnvironmentService environmentService, ResultsSummaryManager resultsSummaryManager, TriggerManager triggerManager)
@NotNull public DeploymentProject createDeploymentProjectWithEnvironments(@NotNull PlanKey planKey) throws WebValidationException
createDeploymentProjectWithEnvironments
in interface DeploymentsTestService
WebValidationException
@NotNull public DeploymentProject createSimpleDeployment(@NotNull PlanKey planKey) throws WebValidationException
createSimpleDeployment
in interface DeploymentsTestService
WebValidationException
@NotNull public DeploymentVersion createDeploymentVersion(@NotNull DeploymentProject deploymentProject, @NotNull PlanResultKey resultKey) throws WebValidationException
createDeploymentVersion
in interface DeploymentsTestService
WebValidationException
@NotNull public List<DeploymentVersion> createDeploymentVersions(@NotNull DeploymentProject deploymentProject, int firstResult, int maxResults) throws WebValidationException
createDeploymentVersions
in interface DeploymentsTestService
WebValidationException
@NotNull public DeploymentResult executeDeployment(@NotNull DeploymentProject deploymentProject, @NotNull String environmentName, @NotNull String versionName)
executeDeployment
in interface DeploymentsTestService
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.