Merge "Bug 1850 - The earlier patch missed out on removing the unnecessary call to...
[controller.git] / opendaylight / md-sal / sal-akka-raft / src / test / resources / application.conf
1 akka {
2     persistence.snapshot-store.plugin = "mock-snapshot-store"
3     persistence.journal.plugin = "mock-journal"
4
5     loglevel = "DEBUG"
6     loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
7
8     actor {
9         # enable to test serialization only.
10         serialize-messages = on
11
12         serializers {
13           java  = "akka.serialization.JavaSerializer"
14           proto = "akka.remote.serialization.ProtobufSerializer"
15         }
16
17         serialization-bindings {
18             "org.opendaylight.controller.cluster.raft.client.messages.FindLeader" = java
19             "org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java
20             "com.google.protobuf.Message" = proto
21             "com.google.protobuf.GeneratedMessage" = proto
22         }
23     }
24 }
25
26 mock-snapshot-store {
27   # Class name of the plugin.
28   class = "org.opendaylight.controller.cluster.raft.utils.MockSnapshotStore"
29   # Dispatcher for the plugin actor.
30   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
31 }
32
33 mock-journal {
34   # Class name of the plugin.
35   class = "org.opendaylight.controller.cluster.raft.utils.MockAkkaJournal"
36   # Dispatcher for the plugin actor.
37   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
38 }