Skip to content

Commit

Permalink
#1708 Register serializers
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Dec 11, 2020
1 parent f95a8f9 commit 24a8e43
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
11 changes: 11 additions & 0 deletions cortex/connector/src/main/resources/play/reference-overrides.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
akka {
actor {
serializers {
cortex-schema-updater = "org.thp.thehive.connector.cortex.models.SchemaUpdaterSerializer"
}

serialization-bindings {
"org.thp.thehive.connector.cortex.models.SchemaUpdaterMessage" = cortex-schema-updater
}
}
}
2 changes: 1 addition & 1 deletion cortex/connector/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ cortex = {
// # HTTP client configuration (SSL and proxy)
// # ws {}
// }]
}
}
4 changes: 4 additions & 0 deletions thehive/conf/play/reference-overrides.conf
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ akka.actor {
serializers {
stream = "org.thp.thehive.services.StreamSerializer"
notification = "org.thp.thehive.services.notification.NotificationSerializer"
thehive-schema-updater = "org.thp.thehive.models.SchemaUpdaterSerializer"
flow = "org.thp.thehive.services.FlowSerializer"
}

serialization-bindings {
"org.thp.thehive.services.StreamMessage" = stream
"org.thp.thehive.services.notification.NotificationMessage" = notification
"org.thp.thehive.models.SchemaUpdaterMessage" = thehive-schema-updater
"org.thp.thehive.services.FlowMessage" = flow
}
}

0 comments on commit 24a8e43

Please sign in to comment.