Interface LogRecordRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<LogRecord,UUID>, org.springframework.data.mongodb.repository.MongoRepository<LogRecord,UUID>, org.springframework.data.repository.PagingAndSortingRepository<LogRecord,UUID>, org.springframework.data.repository.query.QueryByExampleExecutor<LogRecord>, org.springframework.data.repository.Repository<LogRecord,UUID>

@Repository public interface LogRecordRepository extends org.springframework.data.mongodb.repository.MongoRepository<LogRecord,UUID>
  • Method Details

    • findByUuid

      LogRecord findByUuid(UUID uuid)
    • findLogRecordWithStepContextByUuid

      @Query(fields="{\'stepContextVariables\': 1}") LogRecord findLogRecordWithStepContextByUuid(UUID uuid)
    • findAllByParentRecordIdIsOrderByCreatedDateStampAsc

      Stream<LogRecord> findAllByParentRecordIdIsOrderByCreatedDateStampAsc(UUID parentRecordId)
    • findLogRecordsForTreeByTestRunIdAndParentRecordIdOrderByCreatedDateStampAsc

      @Query(fields="{\'name\': 1, \'testingStatus\': 1, \'executionStatus\': 1, \'parentRecordId\': 1, \'message\': 1, \'type\': 1, \'testRunId\':1, \'metaInfo\':1}") List<LogRecord> findLogRecordsForTreeByTestRunIdAndParentRecordIdOrderByCreatedDateStampAsc(UUID testRunId, UUID parentRecordId)
    • findLogRecordsByTestRunIdAndParentRecordIdOrderByCreatedDateStampAsc

      @Query(fields="{\'name\': 1, \'testingStatus\': 1,\'isSection\': 1,\'isCompaund\': 1, \'duration\': 1, \'executionStatus\': 1, \'parentRecordId\': 1, \'message\': 1, \'type\': 1, \'testRunId\':1, \'metaInfo\':1}") List<LogRecord> findLogRecordsByTestRunIdAndParentRecordIdOrderByCreatedDateStampAsc(UUID testRunId, UUID parentRecordId)
    • findLogRecordForTreeByUuid

      @Query(fields="{\'name\': 1, \'testingStatus\': 1, \'executionStatus\': 1, \'parentRecordId\': 1, \'message\': 1, \'type\': 1, \'testRunId\':1, \'metaInfo\':1}") LogRecord findLogRecordForTreeByUuid(UUID logRecordId)
    • findLogRecordsWithSpecificFieldsByTestRunIdOrderByStartDateAsc

      @Query(fields="{\'uuid\': 1, \'testingStatus\': 1, \'type\': 1, \'testRunId\': 1, \'name\': 1, \'message\': 1, \'parentRecordId\': 1, \'duration\': 1, \'isSection\': 1, \'isCompaund\': 1}") List<LogRecord> findLogRecordsWithSpecificFieldsByTestRunIdOrderByStartDateAsc(UUID testRunId)
    • findLogRecordsWithPreviewByTestRunIdOrderByStartDateAsc

      @Query(fields="{\'uuid\': 1, \'testingStatus\': 1, \'type\': 1, \'preview\': 1}") Stream<LogRecord> findLogRecordsWithPreviewByTestRunIdOrderByStartDateAsc(UUID testRunId)
    • findAllByTestRunIdOrderByStartDateAsc

      List<LogRecord> findAllByTestRunIdOrderByStartDateAsc(UUID testRunId)
    • findAllNameByTestRunId

      @Query(fields="{\'name\': 1}") List<LogRecord> findAllNameByTestRunId(UUID testRunId)
    • findAllUuidByTestRunId

      @Query(fields="{\'uuid\': 1}") List<LogRecord> findAllUuidByTestRunId(UUID testRunId)
    • findFirstByTestRunIdAndExecutionStatusOrderByCreatedDateStampDesc

      @Query(fields="{\'uuid\': 1, \'startDate\': 1, \'endDate\': 1}") LogRecord findFirstByTestRunIdAndExecutionStatusOrderByCreatedDateStampDesc(UUID testRunId, ExecutionStatuses status)
    • findAllTestingStatusByTestRunId

      @Query(fields="{\'testingStatus\': 1}") List<LogRecord> findAllTestingStatusByTestRunId(UUID testRunId)
    • countAllByParentRecordIdIs

      Long countAllByParentRecordIdIs(UUID parentId)
    • findAllByTestRunIdAndIsSectionAndIsCompaund

      List<LogRecord> findAllByTestRunIdAndIsSectionAndIsCompaund(UUID testRunId, boolean isSection, boolean isCompound)
    • findAllByTestRunIdAndIsSection

      List<LogRecord> findAllByTestRunIdAndIsSection(UUID testRunId, boolean isSection)
    • findAllByTestRunIdAndTestingStatus

      List<LogRecord> findAllByTestRunIdAndTestingStatus(UUID testRunId, TestingStatuses testingStatuses)
    • findUuidAndMessageByTestRunIdAndTestingStatus

      @Query(fields="{\'uuid\': 1, \'message\': 1, \'testRunId\': 1}") List<LogRecord> findUuidAndMessageByTestRunIdAndTestingStatus(UUID testRunId, TestingStatuses testingStatuses)
    • findAllByTestRunIdIn

      List<LogRecord> findAllByTestRunIdIn(List<UUID> testRunIds)
    • findAllByTestRunIdAndNameContains

      List<LogRecord> findAllByTestRunIdAndNameContains(UUID testRunId, String searchValue)
    • findAllByTestRunIdAndNameRegex

      Stream<LogRecord> findAllByTestRunIdAndNameRegex(UUID testRunId, String searchValue)
    • findAllByParentRecordIdOrderByStartDateAsc

      List<LogRecord> findAllByParentRecordIdOrderByStartDateAsc(UUID parentId)
    • findAllByTestRunIdAndType

      List<LogRecord> findAllByTestRunIdAndType(UUID testRunId, TypeAction type)
    • findAllByTestingStatusAndTestRunId

      @Query(fields="{\'uuid\': 1, \'name\':1}") List<LogRecord> findAllByTestingStatusAndTestRunId(TestingStatuses testingStatuses, UUID testRunId)
    • findAllByParentRecordIdAndNameContains

      List<LogRecord> findAllByParentRecordIdAndNameContains(UUID parentRecordId, String searchValue)
    • findAllByLastUpdatedAfterAndTestRunIdIn

      @Query(fields="{\'uuid\': 1, \'testRunId\': 1, \'testingStatus\': 1, \'executionStatus\': 1}") List<LogRecord> findAllByLastUpdatedAfterAndTestRunIdIn(Date lastLoaded, List<UUID> testRunIds)
    • findAllByTestRunId

      List<LogRecord> findAllByTestRunId(UUID testRunId)
    • findLogRecordsWithValidationParamsByTestRunId

      @Query(fields="{\'testRunId\': 1, \'validationLabels\': 1, \'validationTable\': 1, \'testingStatus\': 1}") List<LogRecord> findLogRecordsWithValidationParamsByTestRunId(UUID testRunId)
    • findLogRecordsWithMetaInfoByTestRunIdInAndTestingStatus

      @Query(value="{\'testRunId\': {$in: ?0}, \'metaInfo\': {$exists: true}, \'testingStatus\': ?1}", fields="{\'uuid\': 1, \'name\': 1, \'testRunId\': 1, \'testingStatus\': 1, \'parentRecordId\': 1}") List<LogRecord> findLogRecordsWithMetaInfoByTestRunIdInAndTestingStatus(Collection<UUID> testRunIds, TestingStatuses status)
    • findLogRecordsWithValidationParamsAndFailureByTestRunIds

      @Query(value="{\'testRunId\': {$in: ?0}, $or: [{\'validationLabels\': {$exists: true, $not: {$size: 0}}},{\'validationTable.steps.validationLabels\': {$exists: true, $not: {$size: 0}}},{\'testingStatus\': \'FAILED\'}]}", fields="{\'uuid\': 1, \'name\': 1, \'testRunId\': 1, \'validationLabels\': 1, \'validationTable\': 1, \'testingStatus\': 1, \'parentRecordId\': 1, \'metaInfo\': 1}") Stream<LogRecord> findLogRecordsWithValidationParamsAndFailureByTestRunIds(Collection<UUID> testRunIds)
    • deleteByUuid

      void deleteByUuid(UUID uuid)
    • deleteAllByUuidIn

      void deleteAllByUuidIn(List<UUID> uuid)
    • findLogRecordsForArchivePotFileByTestRunIdIn

      @Query(fields="{\'fileMetadata\': 1, \'uuid\': 1, \'testRunId\': 1}", value="{testRunId: {$in: ?0}, \'fileMetadata.type\': ?1}") List<LogRecord> findLogRecordsForArchivePotFileByTestRunIdIn(List<UUID> testRunsId, FileType fileType)
    • findFileLogRecordsByTestRunIdInAndFileType

      @Query(fields="{\'uuid\': 1, \'testRunId\': 1}", value="{testRunId: {$in: ?0}, \'fileMetadata.type\': ?1}") List<LogRecord> findFileLogRecordsByTestRunIdInAndFileType(List<UUID> testRunsId, FileType fileType)
    • findLogRecordsByUuidIn

      @Query(fields="{\'name\': 1, \'testingStatus\': 1}") List<LogRecord> findLogRecordsByUuidIn(Set<UUID> logRecordsId)
    • countAllByTestRunIdIn

      Long countAllByTestRunIdIn(Set<UUID> testRunIds)
    • countAllByTestRunIdInAndTestingStatus

      Long countAllByTestRunIdInAndTestingStatus(Collection<UUID> testRunIds, TestingStatuses testingStatuses)
    • findAllByTestRunIdInAndTestingStatus

      Stream<LogRecord> findAllByTestRunIdInAndTestingStatus(Collection<UUID> testRunIds, TestingStatuses testingStatuses)
    • findAllByUuidNotInAndTestRunIdInAndTestingStatus

      Stream<LogRecord> findAllByUuidNotInAndTestRunIdInAndTestingStatus(Collection<UUID> logRecordsId, Collection<UUID> testRunIds, TestingStatuses testingStatuses)