Class DatabaseResource
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 Summary
ConstructorDescriptionDatabaseResource
(CachedPlanManager cachedPlanManager, com.atlassian.sal.api.rdbms.TransactionalExecutorFactory transactionalExecutorFactory, VcsBranchManager vcsBranchManager) -
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
javax.ws.rs.core.Response
findTestCasesCount
(String planKey) javax.ws.rs.core.Response
isVcsBranchMarkedAsDeleted
(String planKey, String branchName)
-
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
-