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