protected override ExtendedActorSystem CreateActorSystem(MightyCalcApiConfiguration cfg) { return((ExtendedActorSystem)ActorSystem.Create(cfg.ClusterName, cfg.Akka)); }
protected override DbContextOptions <FunctionUsageContext> GetDbOptions(MightyCalcApiConfiguration cfg) { return(new DbContextOptionsBuilder <FunctionUsageContext>() .UseInMemoryDatabase(nameof(UserFunctionTests) + ++counter).Options); }
protected override void ConfigureExtensions(ActorSystem system, MightyCalcApiConfiguration cfg) { base.ConfigureExtensions(system, cfg); system.InitReportingExtension(new ReportingDependencies(GetDbOptions(cfg))).Start(); }