public interface GitHubClient
| Modifier and Type | Method and Description |
|---|---|
void |
fetchMetadata(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo,
com.capitalone.dashboard.model.CollectorItemMetadata collectorItemMetadata) |
void |
fireGraphQL(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo,
boolean firstRun,
Map<Long,String> existingPRMap,
Map<Long,String> prCloseMap,
int offsetMinutes) |
ChangeRepoResponse |
getChangedRepos(long lastEventId,
long lastEventTimeStamp) |
List<com.capitalone.dashboard.model.Commit> |
getCommits() |
List<com.capitalone.dashboard.model.GitRequest> |
getIssues() |
String |
getLDAPDN(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo,
String user) |
List<com.capitalone.dashboard.model.GitRequest> |
getPulls() |
GitHubRateLimit |
getRateLimit(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo) |
long |
getRepoOffsetTime(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo) |
boolean |
isUnderRateLimit() |
ChangeRepoResponse getChangedRepos(long lastEventId, long lastEventTimeStamp) throws MalformedURLException, com.capitalone.dashboard.misc.HygieiaException
MalformedURLExceptioncom.capitalone.dashboard.misc.HygieiaExceptionList<com.capitalone.dashboard.model.Commit> getCommits()
List<com.capitalone.dashboard.model.GitRequest> getPulls()
List<com.capitalone.dashboard.model.GitRequest> getIssues()
String getLDAPDN(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo, String user)
void fireGraphQL(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo,
boolean firstRun,
Map<Long,String> existingPRMap,
Map<Long,String> prCloseMap,
int offsetMinutes)
throws MalformedURLException,
com.capitalone.dashboard.misc.HygieiaException
MalformedURLExceptioncom.capitalone.dashboard.misc.HygieiaExceptionGitHubRateLimit getRateLimit(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo) throws MalformedURLException, com.capitalone.dashboard.misc.HygieiaException
MalformedURLExceptioncom.capitalone.dashboard.misc.HygieiaExceptionboolean isUnderRateLimit()
long getRepoOffsetTime(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo)
void fetchMetadata(com.capitalone.dashboard.model.webhook.github.GitHubRepo repo,
com.capitalone.dashboard.model.CollectorItemMetadata collectorItemMetadata)
throws MalformedURLException,
com.capitalone.dashboard.misc.HygieiaException
MalformedURLExceptioncom.capitalone.dashboard.misc.HygieiaExceptionCopyright © 2021 Hygieia. All rights reserved.