File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
thehive/app/org/thp/thehive Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ object TheHiveStarter extends App {
20
20
val application = {
21
21
val scalligraphApplication = new ScalligraphApplicationImpl (config.rootDir, process.classLoader, mode)
22
22
try {
23
- scalligraphApplication.init ()
24
-
23
+ scalligraphApplication.initializeLogger ()
24
+ scalligraphApplication.loadModules()
25
25
val playModules = scalligraphApplication.configuration.getOptional[Seq [String ]](" play.modules.enabled" ).getOrElse(Nil )
26
26
val loadMispModule = playModules.contains(" org.thp.thehive.connector.misp.MispModule" )
27
27
val loadCortexModule = playModules.contains(" org.thp.thehive.connector.cortex.CortexModule" )
@@ -32,6 +32,7 @@ object TheHiveStarter extends App {
32
32
if (loadCortexModule)
33
33
scalligraphApplication.loadModule(" org.thp.thehive.connector.cortex.CortexModule" ).foreach(_.init())
34
34
35
+ scalligraphApplication.initModules()
35
36
scalligraphApplication.application
36
37
} catch {
37
38
case e : Throwable =>
You can’t perform that action at this time.
0 commit comments