Skip to content

Commit

Permalink
Merge pull request #339 from fiskaltrust/fix-azureTSt-dependency
Browse files Browse the repository at this point in the history
Add missing Bootstrapper dependencies
  • Loading branch information
forsthug authored Aug 27, 2024
2 parents 5e3686a + 7dfc1a9 commit f05793c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ private void AddRepositories(IServiceCollection services)
services.AddSingleton<IReadOnlyJournalITRepository, AzureTableStorageJournalITRepository>();
services.AddSingleton<IMiddlewareJournalITRepository, AzureTableStorageJournalITRepository>();

services.AddSingleton<IMiddlewareReceiptJournalRepository, AzureTableStorageReceiptJournalRepository>();
services.AddSingleton<IReceiptJournalRepository, AzureTableStorageReceiptJournalRepository>();
services.AddSingleton<IReadOnlyReceiptJournalRepository, AzureTableStorageReceiptJournalRepository>();
services.AddSingleton<IMiddlewareRepository<ftReceiptJournal>, AzureTableStorageReceiptJournalRepository>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ private void AddRepositories(IServiceCollection services)
services.AddTransient<IReadOnlyJournalITRepository, EfJournalITRepository>();
services.AddTransient<IMiddlewareJournalITRepository, EfJournalITRepository>();

services.AddTransient<IMiddlewareReceiptJournalRepository, EfReceiptJournalRepository>();
services.AddTransient<IReceiptJournalRepository, EfReceiptJournalRepository>();
services.AddTransient<IReadOnlyReceiptJournalRepository, EfReceiptJournalRepository>();
services.AddTransient<IMiddlewareRepository<ftReceiptJournal>, EfReceiptJournalRepository>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ private void AddRepositories(IServiceCollection services)
services.AddTransient<IReadOnlyJournalATRepository>(_ => new EFCoreJournalATRepository(new PostgreSQLMiddlewareDbContext(_optionsBuilder.Options, _queueId)));
services.AddTransient<IMiddlewareRepository<ftJournalAT>>(_ => new EFCoreJournalATRepository(new PostgreSQLMiddlewareDbContext(_optionsBuilder.Options, _queueId)));

services.AddTransient<IMiddlewareJournalDERepository>(_ => new EFCoreJournalDERepository(new PostgreSQLMiddlewareDbContext(_optionsBuilder.Options, _queueId)));
services.AddTransient<IJournalDERepository>(_ => new EFCoreJournalDERepository(new PostgreSQLMiddlewareDbContext(_optionsBuilder.Options, _queueId)));
services.AddTransient<IReadOnlyJournalDERepository>(_ => new EFCoreJournalDERepository(new PostgreSQLMiddlewareDbContext(_optionsBuilder.Options, _queueId)));
services.AddTransient<IMiddlewareRepository<ftJournalDE>>(_ => new EFCoreJournalDERepository(new PostgreSQLMiddlewareDbContext(_optionsBuilder.Options, _queueId)));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ private void AddRepositories(IServiceCollection services)
services.AddTransient<IReadOnlyJournalATRepository, EFCoreJournalATRepository>();
services.AddTransient<IMiddlewareRepository<ftJournalAT>, EFCoreJournalATRepository>();

services.AddTransient<IMiddlewareJournalDERepository, EFCoreJournalDERepository>();
services.AddTransient<IJournalDERepository, EFCoreJournalDERepository>();
services.AddTransient<IReadOnlyJournalDERepository, EFCoreJournalDERepository>();
services.AddTransient<IMiddlewareRepository<ftJournalDE>, EFCoreJournalDERepository>();
Expand All @@ -122,6 +123,7 @@ private void AddRepositories(IServiceCollection services)
services.AddTransient<IReadOnlyJournalITRepository, EFCoreJournalITRepository>();
services.AddTransient<IMiddlewareJournalITRepository, EFCoreJournalITRepository>();

services.AddTransient<IMiddlewareReceiptJournalRepository, EFCoreReceiptJournalRepository>();
services.AddTransient<IReceiptJournalRepository, EFCoreReceiptJournalRepository>();
services.AddTransient<IReadOnlyReceiptJournalRepository, EFCoreReceiptJournalRepository>();
services.AddTransient<IMiddlewareRepository<ftReceiptJournal>, EFCoreReceiptJournalRepository>();
Expand Down

0 comments on commit f05793c

Please sign in to comment.