use of com.synopsys.integration.alert.channel.jira.cloud.distribution.JiraCloudMessageSenderFactory in project hub-alert by blackducksoftware.
the class JiraCloudSummaryFieldLengthTestIT method createJiraCloudMessageSender.
private static IssueTrackerMessageSender<String> createJiraCloudMessageSender() throws AlertException {
TestProperties testProperties = new TestProperties();
Gson gson = new GsonBuilder().create();
IssueCategoryRetriever issueCategoryRetriever = new IssueCategoryRetriever();
JiraCloudMessageSenderFactory jiraCloudMessageSenderFactory = new JiraCloudMessageSenderFactory(gson, ChannelKeys.JIRA_CLOUD, createJiraCloudPropertiesFactory(testProperties), new IssueTrackerCallbackInfoCreator(), issueCategoryRetriever);
JiraCloudJobDetailsModel jiraCloudJobDetails = createJiraCloudJobDetails(testProperties);
return jiraCloudMessageSenderFactory.createMessageSender(jiraCloudJobDetails);
}
Aggregations