java.lang.Object
com.atlassian.bamboo.plugins.testutils.rest.resource.database.DatabaseResource

@Path("database") @Consumes("application/json") @Produces("application/json") @Singleton public class DatabaseResource extends Object
Make some DB queries
  • Constructor Details

    • DatabaseResource

      @Inject public DatabaseResource(CachedPlanManager cachedPlanManager, com.atlassian.sal.api.rdbms.TransactionalExecutorFactory transactionalExecutorFactory, VcsBranchManager vcsBranchManager)
  • Method Details

    • findTestCasesCount

      @GET @Path("testCaseCount") public javax.ws.rs.core.Response findTestCasesCount()
    • findTestCasesCount

      @GET @Path("testCaseCount/{planKey}") public javax.ws.rs.core.Response findTestCasesCount(@PathParam("planKey") String planKey)
    • isVcsBranchMarkedAsDeleted

      @GET @Path("vcsBranchDeleted") public javax.ws.rs.core.Response isVcsBranchMarkedAsDeleted(@QueryParam("planKey") String planKey, @QueryParam("branchName") String branchName)