- 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 Summary
Methods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findAllById, findById, save
Methods inherited from interface org.springframework.data.mongodb.repository.MongoRepository
findAll, findAll, findAll, findAll, insert, insert, saveAll
Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAll
Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
-
findLogRecordWithStepContextByUuid
@Query(fields="{\'stepContextVariables\': 1}")
LogRecord findLogRecordWithStepContextByUuid(UUID uuid)
-
findAllByParentRecordIdIsOrderByCreatedDateStampAsc
-
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
-
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
-
findAllByTestRunIdAndTestingStatus
-
findUuidAndMessageByTestRunIdAndTestingStatus
@Query(fields="{\'uuid\': 1, \'message\': 1, \'testRunId\': 1}")
List<LogRecord> findUuidAndMessageByTestRunIdAndTestingStatus(UUID testRunId,
TestingStatuses testingStatuses)
-
-
findAllByTestRunIdAndNameContains
-
findAllByTestRunIdAndNameRegex
-
findAllByParentRecordIdOrderByStartDateAsc
-
findAllByTestRunIdAndType
-
findAllByTestingStatusAndTestRunId
-
findAllByParentRecordIdAndNameContains
-
findAllByLastUpdatedAfterAndTestRunIdIn
@Query(fields="{\'uuid\': 1, \'testRunId\': 1, \'testingStatus\': 1, \'executionStatus\': 1}")
List<LogRecord> findAllByLastUpdatedAfterAndTestRunIdIn(Date lastLoaded,
List<UUID> testRunIds)
-
-
findLogRecordsWithValidationParamsByTestRunId
@Query(fields="{\'testRunId\': 1, \'validationLabels\': 1, \'validationTable\': 1, \'testingStatus\': 1}")
List<LogRecord> findLogRecordsWithValidationParamsByTestRunId(UUID testRunId)
-
-
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)
-
-
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)
-
-
countAllByTestRunIdInAndTestingStatus
-
findAllByTestRunIdInAndTestingStatus
-
findAllByUuidNotInAndTestRunIdInAndTestingStatus