Class ConfigImportTestUtils

java.lang.Object
com.atlassian.bamboo.export.ConfigImportTestUtils

public class ConfigImportTestUtils extends Object
  • Field Details

  • Constructor Details

    • ConfigImportTestUtils

      public ConfigImportTestUtils()
  • Method Details

    • createOrUpdateParentRepository

      public static void createOrUpdateParentRepository(BambooEnvironmentData bambooEnvironmentData, String yaml) throws Exception
      Throws:
      Exception
    • createOrUpdateDeployment

      public static long createOrUpdateDeployment(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties props) throws Exception
      Throws:
      Exception
    • createOrUpdateDeploymentPermissions

      public static void createOrUpdateDeploymentPermissions(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.permission.DeploymentPermissionsProperties props) throws Exception
      Throws:
      Exception
    • createOrUpdateEnvironmentPermissions

      public static void createOrUpdateEnvironmentPermissions(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.permission.EnvironmentPermissionsProperties props) throws Exception
      Throws:
      Exception
    • updatePlanPermission

      public static void updatePlanPermission(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.permission.PlanPermissionsProperties planPermissionProperties) throws Exception
      Throws:
      Exception
    • createOrUpdatePlan

      public static void createOrUpdatePlan(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties) throws Exception
      Throws:
      Exception
    • createOrUpdatePlanBranch

      public static void createOrUpdatePlanBranch(BambooEnvironmentData bambooEnvironmentData, com.atlassian.bamboo.specs.api.model.plan.PlanProperties topLevelPlanProperties, String branch) throws Exception
      Throws:
      Exception
    • exportPlan

      public static com.atlassian.bamboo.specs.api.model.plan.PlanProperties exportPlan(BambooEnvironmentData bambooEnvironmentData, PlanKey planKey) throws Exception
      Throws:
      Exception
    • exportDeployment

      public static com.atlassian.bamboo.specs.api.model.deployment.DeploymentProperties exportDeployment(BambooEnvironmentData bambooEnvironmentData, long deploymentProjectId) throws Exception
      Throws:
      Exception
    • getImportUrlByType

      public static String getImportUrlByType(com.atlassian.bamboo.specs.api.model.EntityProperties specs)