Refactor queue file changes (#1755)

* Untested refactor

* Untested refactor

* It works with some test messages

* Use custom deserializer

* Clean up warnings
This commit is contained in:
Teo Voinea
2022-04-06 16:37:52 -04:00
committed by GitHub
parent 8299d8fb57
commit c5f60dcaec
6 changed files with 223 additions and 0 deletions

View File

@ -36,6 +36,8 @@ public class Program
.ConfigureServices((context, services) =>
services.AddSingleton(_ => new LogTracerFactory(GetLoggers()))
.AddSingleton<IStorageProvider>(_ => new StorageProvider(EnvironmentVariables.OneFuzz.FuncStorage ?? throw new InvalidOperationException("Missing account id") ))
.AddSingleton<ICreds>(_ => new Creds())
.AddSingleton<IStorage, Storage>()
)
.Build();