Bump akka to 2.6.12
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / test / resources / application.conf
index 524e69ffe3f45f2a26e07a018a82d522ee21caa8..3324665c59147e071133788165f5660549c9e76f 100644 (file)
@@ -31,8 +31,6 @@ odl-cluster-rpc {
 
     cluster {
       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2550"]
-
-      auto-down-unreachable-after = 10s
     }
   }
 }
@@ -40,6 +38,8 @@ unit-test {
   akka {
     loglevel = "DEBUG"
     #loggers = ["akka.event.slf4j.Slf4jLogger"]
+    persistence.snapshot-store.plugin = "in-memory-snapshot-store"
+    persistence.journal.plugin = "in-memory-journal"
   }
   bounded-mailbox {
     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
@@ -47,6 +47,17 @@ unit-test {
     mailbox-capacity = 1000
     mailbox-push-timeout-time = 10ms
   }
+
+  in-memory-journal {
+    class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
+  }
+
+  in-memory-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"
+  }
 }
 
 memberA {
@@ -58,6 +69,9 @@ memberA {
   akka {
     loglevel = "INFO"
     loggers = ["akka.event.slf4j.Slf4jLogger"]
+
+    persistence.snapshot-store.plugin = "in-memory-snapshot-store"
+    persistence.journal.plugin = "in-memory-journal"
     actor {
       provider = "akka.cluster.ClusterActorRefProvider"
       debug {
@@ -78,10 +92,18 @@ memberA {
 
     cluster {
       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
-
-      auto-down-unreachable-after = 10s
     }
   }
+  in-memory-journal {
+    class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
+  }
+
+  in-memory-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"
+  }
 }
 memberB {
   bounded-mailbox {
@@ -93,6 +115,9 @@ memberB {
     loglevel = "INFO"
     loggers = ["akka.event.slf4j.Slf4jLogger"]
 
+    persistence.snapshot-store.plugin = "in-memory-snapshot-store"
+    persistence.journal.plugin = "in-memory-journal"
+
     actor {
       provider = "akka.cluster.ClusterActorRefProvider"
       debug {
@@ -113,10 +138,18 @@ memberB {
 
     cluster {
       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
-
-      auto-down-unreachable-after = 10s
     }
   }
+  in-memory-journal {
+    class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
+  }
+
+  in-memory-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"
+  }
 }
 memberC {
   bounded-mailbox {
@@ -127,6 +160,10 @@ memberC {
   akka {
     loglevel = "INFO"
     loggers = ["akka.event.slf4j.Slf4jLogger"]
+
+    persistence.snapshot-store.plugin = "in-memory-snapshot-store"
+    persistence.journal.plugin = "in-memory-journal"
+
     actor {
       provider = "akka.cluster.ClusterActorRefProvider"
       debug {
@@ -147,9 +184,17 @@ memberC {
 
     cluster {
       seed-nodes = ["akka://opendaylight-rpc@127.0.0.1:2551"]
-
-      auto-down-unreachable-after = 10s
     }
   }
+  in-memory-journal {
+    class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
+  }
+
+  in-memory-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"
+  }
 }