Ejemplo n.º 1
0
 public JiraConnector(IJiraConfiguration jiraConfiguration, JiraMonitor jiraMonitor)
 {
     jiraConfiguration.Url = jiraConfiguration.Url.Replace(DefaultPostfix, "");
     _jiraConfiguration    = jiraConfiguration;
     _jiraMonitor          = jiraMonitor;
     _jiraClient           = JiraClient.Create(new Uri(jiraConfiguration.Url));
 }
Ejemplo n.º 2
0
 public JiraConnector(
     IJiraConfiguration jiraConfiguration,
     JiraMonitor jiraMonitor,
     ICoreConfiguration coreConfiguration,
     INetworkConfiguration networkConfiguration)
 {
     jiraConfiguration.Url = jiraConfiguration.Url.Replace(DefaultPostfix, "");
     _jiraConfiguration    = jiraConfiguration;
     _jiraMonitor          = jiraMonitor;
     _coreConfiguration    = coreConfiguration;
     _jiraClient           = JiraClient.Create(new Uri(jiraConfiguration.Url), networkConfiguration);
 }