public TestPlanDAO
void saveTestPlan(@NotNull
TestPlan testPlan)
Save the given common test plan into the mongo database.
testPlan - is the test plan to save.void removeTestPlan(@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> planId)
Remove the given test plan from the database.
planId - is the identifier of the common test plan to remove from the database.void saveTestExecution(@NotNull
TestPlanExecution testPlanExecution)
Save the given common test plan execution into the mongo database.
testPlanExecution - is the test plan execution to save.@NotNull java.util.List<ai.tock.bot.admin.test.TestPlan> getTestPlans()
@Nullable TestPlan getTestPlan(@NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId)
@NotNull
java.util.List<ai.tock.bot.admin.test.TestPlan> getPlansByApplicationId(@NotNull
java.lang.String applicationId)
@NotNull
java.util.List<ai.tock.bot.admin.test.TestPlanExecution> getPlanExecutions(@NotNull
org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId)
@Nullable TestPlanExecution getPlanExecution(@NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlan> testPlanId)
@Nullable TestPlanExecution getTestPlanExecution(@NotNull TestPlan testPlan, @NotNull org.litote.kmongo.Id<ai.tock.bot.admin.test.TestPlanExecution> testPlanExecutionId)