akka.actor.provider set to 'cluster'
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / resources / application.conf
index dbe7508cc8c185a33a35fcf072498041b589854c..d7ae0cb29fd2cee152430b001e49f1b6dcb82d9a 100644 (file)
@@ -1,20 +1,32 @@
 akka {
+    persistence.snapshot-store.plugin = "mock-snapshot-store"
+    persistence.journal.plugin = "mock-journal"
 
     loglevel = "DEBUG"
+    loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
 
     actor {
-        # enable to test serialization only.
-        serialize-messages = on
+        provider = "akka.cluster.ClusterActorRefProvider"
 
-        serializers {
-          java  = "akka.serialization.JavaSerializer"
-          proto = "akka.remote.serialization.ProtobufSerializer"
-        }
+        # enable to test serialization only.
+        serialize-messages = off
 
-        serialization-bindings {
-            "org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java
-            "com.google.protobuf.Message" = proto
-            "com.google.protobuf.GeneratedMessage" = proto
+        default-mailbox {
+           mailbox-type="org.opendaylight.controller.cluster.common.actor.UnboundedDequeBasedControlAwareMailbox"
         }
     }
 }
+
+mock-snapshot-store {
+  # Class name of the plugin.
+  class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
+  # Dispatcher for the plugin actor.
+  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+}
+
+mock-journal {
+  # Class name of the plugin.
+  class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
+  # Dispatcher for the plugin actor.
+  plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+}