Merge "BUG 2820 - LLDP refactor"
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / test / resources / application.conf
1 akka {
2     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
3     persistence.journal.plugin = "in-memory-journal"
4
5     loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
6
7     actor {
8          serializers {
9                   java = "akka.serialization.JavaSerializer"
10                   proto = "akka.remote.serialization.ProtobufSerializer"
11          }
12
13         serialization-bindings {
14             "org.opendaylight.controller.cluster.datastore.modification.MutableCompositeModification" = java
15             "com.google.protobuf.Message" = proto
16
17         }
18     }
19 }
20
21 in-memory-journal {
22     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
23 }
24
25 in-memory-snapshot-store {
26   # Class name of the plugin.
27   class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
28   # Dispatcher for the plugin actor.
29   plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
30 }
31
32 bounded-mailbox {
33   mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
34   mailbox-capacity = 1000
35   mailbox-push-timeout-time = 100ms
36 }
37
38 Member1 {
39   bounded-mailbox {
40     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
41     mailbox-capacity = 1000
42     mailbox-push-timeout-time = 100ms
43   }
44
45   in-memory-journal {
46     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
47   }
48
49   in-memory-snapshot-store {
50     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
51     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
52   }
53
54   akka {
55     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
56     persistence.journal.plugin = "in-memory-journal"
57     
58     loglevel = "DEBUG"
59     
60     actor {
61       provider = "akka.cluster.ClusterActorRefProvider"
62       
63       serializers {
64           java = "akka.serialization.JavaSerializer"
65           proto = "akka.remote.serialization.ProtobufSerializer"
66       }
67
68       serialization-bindings {
69           "com.google.protobuf.Message" = proto
70       }
71     }
72     remote {
73       log-remote-lifecycle-events = off
74       netty.tcp {
75         hostname = "127.0.0.1"
76         port = 2558
77       }
78     }
79
80     cluster {
81       auto-down-unreachable-after = 100s
82       
83       roles = [
84         "member-1"
85       ]
86     }
87   }
88 }
89
90 Member2 {
91   bounded-mailbox {
92     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
93     mailbox-capacity = 1000
94     mailbox-push-timeout-time = 100ms
95   }
96   
97   in-memory-journal {
98     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
99   }
100
101   in-memory-snapshot-store {
102     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
103     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
104   }
105   
106   akka {
107     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
108     persistence.journal.plugin = "in-memory-journal"
109     
110     actor {
111       provider = "akka.cluster.ClusterActorRefProvider"
112       
113       serializers {
114           java = "akka.serialization.JavaSerializer"
115           proto = "akka.remote.serialization.ProtobufSerializer"
116       }
117
118       serialization-bindings {
119           "com.google.protobuf.Message" = proto
120       }
121     }
122     remote {
123       log-remote-lifecycle-events = off
124       netty.tcp {
125         hostname = "127.0.0.1"
126         port = 2559
127       }
128     }
129
130     cluster {
131       auto-down-unreachable-after = 100s
132       
133       roles = [
134         "member-2"
135       ]
136     }
137   }
138 }