Class BambooDeploymentExportResource
- java.lang.Object
-
- com.atlassian.bamboo.plugins.rest.configuration.external.BambooDeploymentExportResource
-
@Singleton public class BambooDeploymentExportResource extends Object
-
-
Constructor Summary
Constructors Constructor Description BambooDeploymentExportResource(DeploymentExportService deploymentExportService, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
exportAllDeployments()
Export configuration of all deployment projects to YAML format.javax.ws.rs.core.Response
exportDeploymentProject(long deploymentProjectId, com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a deployment project to YAML format
-
-
-
Constructor Detail
-
BambooDeploymentExportResource
public BambooDeploymentExportResource(DeploymentExportService deploymentExportService, DeploymentProjectService deploymentProjectService, BambooPermissionManager bambooPermissionManager, com.atlassian.event.api.EventPublisher eventPublisher, com.atlassian.sal.api.message.I18nResolver i18nResolver, FeatureManager featureManager)
-
-
Method Detail
-
exportAllDeployments
public javax.ws.rs.core.Response exportAllDeployments()
Export configuration of all deployment projects to YAML format.- Returns:
- json array of paths to all updated files
-
exportDeploymentProject
public javax.ws.rs.core.Response exportDeploymentProject(long deploymentProjectId, @Context com.atlassian.plugins.rest.common.security.AuthenticationContext authenticationContext)
Export configuration of a deployment project to YAML format- Parameters:
deploymentProjectId
- deployment project id- Returns:
- json array of paths to all updated files
-
-