예제 #1
0
 public void Start(DeployStatusConfiguration configuration)
 {
     deployStatusInfoClient = new DeployStatusInfoClient(configuration);
     this.deployStatusConfiguration = configuration;
     timer.Change(TimeSpan.FromMinutes(0), TimeSpan.FromMilliseconds(-1));
     log.Info("Timer started");
 }
예제 #2
0
        public DeployStatusInfoClient(DeployStatusConfiguration configuration)
        {
            octopusClient = new OctopusClient(configuration.Octopus);
            trelloClient = new TrelloClient(configuration.Trello);
            teamCityClient = new TeamCityClient(configuration.TeamCity);
            DeployUserResolver = configuration.DeployUserResolver;

            log = LogManager.GetLogger(typeof (DeployStatusInfoClient));
        }
예제 #3
0
 public DeployStatusService()
 {
     log = LogManager.GetLogger(typeof (DeployStatusService));
     deployConfiguration = DeployStatusSettingsSection.Settings.AsDeployConfiguration();
 }