public interface GitHubRepoRepository extends com.capitalone.dashboard.repository.BaseCollectorItemRepository<GitHubRepo>
| Modifier and Type | Method and Description |
|---|---|
List<GitHubRepo> |
findByCollectorIdAndUrl(org.bson.types.ObjectId collectorId,
String url) |
List<GitHubRepo> |
findEnabledGitHubRepos(org.bson.types.ObjectId collectorId) |
List<GitHubRepo> |
findObsoleteGitHubRepos(org.bson.types.ObjectId collectorId) |
findByCollectorAndOptions, findByCollectorIdAndNiceName, findByCollectorIdIn, findByCollectorIdIn, findByCollectorIdInAndDescriptionContainingAndNiceNameContainingAllIgnoreCase, findByCollectorIdInAndDescriptionContainingIgnoreCase, findByEnabledIsTrue@Query(value="{ \'collectorId\' : ?0, enabled: true}")
List<GitHubRepo> findEnabledGitHubRepos(org.bson.types.ObjectId collectorId)
@Query(value="{ \'collectorId\' : ?0, \'errors.errorCode\' : \'404\'}")
List<GitHubRepo> findObsoleteGitHubRepos(org.bson.types.ObjectId collectorId)
@Query(value="{ \'collectorId\' : ?0, options.url : ?1}")
List<GitHubRepo> findByCollectorIdAndUrl(org.bson.types.ObjectId collectorId,
String url)
Copyright © 2021 Hygieia. All rights reserved.