public class ConfigImportTestUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
REST_DEPLOYMENT_IMPORT |
static String |
REST_DEPLOYMENT_PERMISSION_IMPORT |
static String |
REST_ENVIRONMENT_PERMISSION_IMPORT |
static String |
REST_PLAN_PERMISSION_IMPORT |
Constructor and Description |
---|
ConfigImportTestUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
createOrUpdateDeployment(BambooEnvironmentData bambooEnvironmentData,
com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties props) |
static void |
createOrUpdateDeploymentPermissions(BambooEnvironmentData bambooEnvironmentData,
com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties props) |
static void |
createOrUpdateEnvironmentPermissions(BambooEnvironmentData bambooEnvironmentData,
com.atlassian.bamboo.specs.api.model.permission.EnvironmentPermissionsProperties props) |
static void |
createOrUpdateParentRepository(BambooEnvironmentData bambooEnvironmentData,
String yaml) |
static void |
createOrUpdatePlan(BambooEnvironmentData bambooEnvironmentData,
com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties) |
static com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties |
exportDeployment(BambooEnvironmentData bambooEnvironmentData,
long deploymentProjectId) |
static com.atlassian.bamboo.specs.api.model.plan.PlanProperties |
exportPlan(BambooEnvironmentData bambooEnvironmentData,
PlanKey planKey) |
static String |
getImportUrlByType(com.atlassian.bamboo.specs.api.model.EntityProperties specs) |
static void |
updatePlanPermission(BambooEnvironmentData bambooEnvironmentData,
com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissionProperties) |
public static final String REST_DEPLOYMENT_IMPORT
public static final String REST_PLAN_PERMISSION_IMPORT
public static final String REST_DEPLOYMENT_PERMISSION_IMPORT
public static final String REST_ENVIRONMENT_PERMISSION_IMPORT
public static void createOrUpdateParentRepository(BambooEnvironmentData bambooEnvironmentData, String yaml) throws Exception
Exception
public static long createOrUpdateDeployment(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties props) throws Exception
Exception
public static void createOrUpdateDeploymentPermissions(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties props) throws Exception
Exception
public static void createOrUpdateEnvironmentPermissions(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.permission.EnvironmentPermissionsProperties props) throws Exception
Exception
public static void updatePlanPermission(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissionProperties) throws Exception
Exception
public static void createOrUpdatePlan(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties) throws Exception
Exception
public static com.atlassian.bamboo.specs.api.model.plan.PlanProperties exportPlan(BambooEnvironmentData bambooEnvironmentData, PlanKey planKey) throws Exception
Exception
public static com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties exportDeployment(BambooEnvironmentData bambooEnvironmentData, long deploymentProjectId) throws Exception
Exception
public static String getImportUrlByType(com.atlassian.bamboo.specs.api.model.EntityProperties specs)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.