public bool Validate()
 {
     var proxy = new JiraConnectorFactory(JiraConnectorType.Rest).Create(entity.Url, entity.UserName, entity.Password);
     return proxy.Validate();
 }
        public void RegisterComponents(IKernel container)
        {
            var connector = new JiraConnectorFactory(JiraConnectorType.Rest).Create(jiraConfig.Url, jiraConfig.UserName, jiraConfig.Password);

            container.Rebind<IEventManager>().ToConstant(eventManager);
            container.Rebind<ILogger>().ToConstant(logger);

            container.Bind<IJiraConnector>().ToConstant(connector);
            container.Bind<JiraServiceConfiguration>().ToConstant(jiraConfig);
            container.Bind<IJiraIssueProcessor>().To<JiraIssueReaderUpdater>();
            container.Bind<StartupChecker>().To<StartupChecker>();

            startupChecker = container.Get<StartupChecker>();
            jiraProcessor = container.Get<IJiraIssueProcessor>();
        }