Skip to content

Commit

Permalink
TheHive-Project#2089 migration: add missing binding for case number a…
Browse files Browse the repository at this point in the history
…ctor
  • Loading branch information
vdebergue committed Jun 30, 2021
1 parent d5d7555 commit d349dc8
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package org.thp.thehive.migration.th4

import akka.actor.ActorSystem
import akka.actor.typed.{ActorRef => TypedActorRef}
import akka.actor.typed.Scheduler
import akka.stream.Materializer
import com.google.inject.{Guice, Injector => GInjector}
Expand Down Expand Up @@ -63,6 +64,7 @@ object Output {
bind[Environment].toInstance(Environment.simple())
bind[ApplicationLifecycle].to[DefaultApplicationLifecycle]
bind[Schema].toProvider[TheHiveCortexSchemaProvider]
bind[TypedActorRef[CaseNumberActor.Request]].annotatedWithName("case-number-actor").toProvider[CaseNumberActorProvider]
configuration.get[String]("storage.provider") match {
case "localfs" => bind(classOf[StorageSrv]).to(classOf[LocalFileSystemStorageSrv])
case "database" => bind(classOf[StorageSrv]).to(classOf[DatabaseStorageSrv])
Expand Down

0 comments on commit d349dc8

Please sign in to comment.