commit
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Build Test Deploy / build-test (push) Has been cancelled
				
			
		
			
				
	
				Build Test Deploy / authority-container (push) Has been cancelled
				
			
		
			
				
	
				Build Test Deploy / docs (push) Has been cancelled
				
			
		
			
				
	
				Build Test Deploy / deploy (push) Has been cancelled
				
			
		
			
				
	
				Docs CI / lint-and-preview (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Build Test Deploy / build-test (push) Has been cancelled
				
			Build Test Deploy / authority-container (push) Has been cancelled
				
			Build Test Deploy / docs (push) Has been cancelled
				
			Build Test Deploy / deploy (push) Has been cancelled
				
			Docs CI / lint-and-preview (push) Has been cancelled
				
			This commit is contained in:
		| @@ -1,4 +1,6 @@ | ||||
| using Microsoft.Extensions.DependencyInjection; | ||||
| using Microsoft.Extensions.Options; | ||||
| using StellaOps.Vexer.Storage.Mongo.Migrations; | ||||
|  | ||||
| namespace StellaOps.Vexer.Storage.Mongo; | ||||
|  | ||||
| @@ -6,8 +8,17 @@ public static class VexMongoServiceCollectionExtensions | ||||
| { | ||||
|     public static IServiceCollection AddVexerMongoStorage(this IServiceCollection services) | ||||
|     { | ||||
|         services.AddOptions<VexMongoStorageOptions>(); | ||||
|  | ||||
|         services.AddSingleton<IVexRawStore, MongoVexRawStore>(); | ||||
|         services.AddSingleton<IVexExportStore, MongoVexExportStore>(); | ||||
|         services.AddSingleton<IVexProviderStore, MongoVexProviderStore>(); | ||||
|         services.AddSingleton<IVexConsensusStore, MongoVexConsensusStore>(); | ||||
|         services.AddSingleton<IVexCacheIndex, MongoVexCacheIndex>(); | ||||
|         services.AddSingleton<IVexCacheMaintenance, MongoVexCacheMaintenance>(); | ||||
|         services.AddSingleton<IVexMongoMigration, VexInitialIndexMigration>(); | ||||
|         services.AddSingleton<VexMongoMigrationRunner>(); | ||||
|         services.AddHostedService<VexMongoMigrationHostedService>(); | ||||
|         return services; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user