예제 #1
0
 public TestDataController()
 {
     _storageAccount = ControllerUtil.CreateStorageAccount();
     _storage        = new TestResultStorage(_storageAccount);
     _stats          = new TestCacheStats(_storage, _storageAccount.CreateCloudTableClient());
     _statsUtil      = ControllerUtil.GetOrCreateCounterStatsUtil(_storageAccount);
 }
예제 #2
0
        public StatusController()
        {
            var storage = ControllerUtil.CreateStorageAccount();

            _testResultStorage = new TestResultStorage(storage);
            _testCacheStats    = new TestCacheStats(_testResultStorage, storage.CreateCloudTableClient());
            _testRunTable      = storage.CreateCloudTableClient().GetTableReference(AzureConstants.TableNames.TestRunData);
        }
예제 #3
0
        public TestDataController()
        {
            _storageAccount = ControllerUtil.CreateStorageAccount();
            var dashboardStorage = new DashboardStorage(_storageAccount);

            _storage   = new TestResultStorage(dashboardStorage);
            _stats     = new TestCacheStats(_storage);
            _statsUtil = new CounterStatsUtil(dashboardStorage);
        }
예제 #4
0
        public void Configuration(IAppBuilder app)
        {
            ConfigureAuth(app);

            AzureUtil.EnsureAzureResources(ControllerUtil.CreateStorageAccount());
        }
예제 #5
0
 public BuildsController()
 {
     _storageAccount = ControllerUtil.CreateStorageAccount();
     _buildUtil      = new BuildUtil(_storageAccount);
 }
        public BuildsApiController()
        {
            var storageAccount = ControllerUtil.CreateStorageAccount();

            _buildUtil = new BuildUtil(storageAccount);
        }