Implement new_files (#1794)

* Checkpoint

* Checkpoint

* More merge resolving

* Code complete

* Tested that it works

* Keep the queue name different for now

* Query was wrong, should be and

* Style

* Fix compile issue

* Change report to use string instead of SHA, fixes tests as well

* PR comments

* Comments and formatting
This commit is contained in:
Teo Voinea
2022-04-20 14:36:50 -04:00
committed by GitHub
parent 52fcd213a5
commit 16d7694852
34 changed files with 585 additions and 116 deletions

View File

@ -1,8 +1,10 @@
// to avoid collision with Task in model.cs
global using Async = System.Threading.Tasks;
using System;
using System.Collections.Generic;
global using System;
global using System.Collections.Generic;
global using System.Linq;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Azure.Functions.Worker.Middleware;
@ -76,6 +78,9 @@ public class Program
.AddScoped<IProxyOperations, ProxyOperations>()
.AddScoped<IConfigOperations, ConfigOperations>()
.AddScoped<IScalesetOperations, ScalesetOperations>()
.AddScoped<IContainers, Containers>()
.AddScoped<IReports, Reports>()
.AddScoped<INotificationOperations, NotificationOperations>()
//TODO: move out expensive resources into separate class, and add those as Singleton
// ArmClient, Table Client(s), Queue Client(s), HttpClient, etc.