use of com.synopsys.integration.jira.common.rest.JiraHttpClient in project hub-alert by blackducksoftware.
the class JiraServerProperties method createJiraServicesServerFactory.
public JiraServerServiceFactory createJiraServicesServerFactory(Logger logger, Gson gson) throws IssueTrackerException {
JiraServerRestConfig jiraServerConfig = createJiraServerConfig();
Slf4jIntLogger intLogger = new Slf4jIntLogger(logger);
JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger);
return new JiraServerServiceFactory(intLogger, jiraHttpClient, gson);
}
use of com.synopsys.integration.jira.common.rest.JiraHttpClient in project hub-alert by blackducksoftware.
the class JiraCloudProperties method createJiraServicesCloudFactory.
public JiraCloudServiceFactory createJiraServicesCloudFactory(Logger logger, Gson gson) throws IssueTrackerException {
JiraCloudRestConfig jiraServerConfig = createJiraServerConfig();
Slf4jIntLogger intLogger = new Slf4jIntLogger(logger);
JiraHttpClient jiraHttpClient = jiraServerConfig.createJiraHttpClient(intLogger);
return new JiraCloudServiceFactory(intLogger, jiraHttpClient, gson);
}
Aggregations