9db9900577c7d5f53e22b6cb6ae90cac5256c9df
[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 = "INFO"
59     
60     actor {
61       provider = "akka.cluster.ClusterActorRefProvider"
62       
63       serializers {
64           java = "akka.serialization.JavaSerializer"
65           proto = "akka.remote.serialization.ProtobufSerializer"
66           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
67       }
68
69       serialization-bindings {
70           "com.google.protobuf.Message" = proto
71           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
72       }
73     }
74     remote {
75       log-remote-lifecycle-events = off
76       netty.tcp {
77         hostname = "127.0.0.1"
78         port = 2558
79       }
80     }
81
82     cluster {
83       auto-down-unreachable-after = 100s
84       retry-unsuccessful-join-after = 100ms
85       
86       roles = [
87         "member-1"
88       ]
89     }
90   }
91 }
92
93 Member2 {
94   bounded-mailbox {
95     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
96     mailbox-capacity = 1000
97     mailbox-push-timeout-time = 100ms
98   }
99   
100   in-memory-journal {
101     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
102   }
103
104   in-memory-snapshot-store {
105     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
106     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
107   }
108   
109   akka {
110     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
111     persistence.journal.plugin = "in-memory-journal"
112     
113     actor {
114       provider = "akka.cluster.ClusterActorRefProvider"
115       
116       serializers {
117           java = "akka.serialization.JavaSerializer"
118           proto = "akka.remote.serialization.ProtobufSerializer"
119           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
120       }
121
122       serialization-bindings {
123           "com.google.protobuf.Message" = proto
124           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
125       }
126     }
127     remote {
128       log-remote-lifecycle-events = off
129       netty.tcp {
130         hostname = "127.0.0.1"
131         port = 2559
132       }
133     }
134
135     cluster {
136       auto-down-unreachable-after = 100s
137       retry-unsuccessful-join-after = 100ms
138       
139       roles = [
140         "member-2"
141       ]
142     }
143   }
144 }
145
146 Member3 {
147   bounded-mailbox {
148     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
149     mailbox-capacity = 1000
150     mailbox-push-timeout-time = 100ms
151   }
152
153   in-memory-journal {
154     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
155   }
156
157   in-memory-snapshot-store {
158     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
159     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
160   }
161
162   akka {
163     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
164     persistence.journal.plugin = "in-memory-journal"
165     
166     loglevel = "INFO"
167     
168     actor {
169       provider = "akka.cluster.ClusterActorRefProvider"
170       
171       serializers {
172           java = "akka.serialization.JavaSerializer"
173           proto = "akka.remote.serialization.ProtobufSerializer"
174           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
175       }
176
177       serialization-bindings {
178           "com.google.protobuf.Message" = proto
179           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
180       }
181     }
182     remote {
183       log-remote-lifecycle-events = off
184       netty.tcp {
185         hostname = "127.0.0.1"
186         port = 2557
187       }
188     }
189
190     cluster {
191       auto-down-unreachable-after = 100s
192       retry-unsuccessful-join-after = 100ms
193       
194       roles = [
195         "member-3"
196       ]
197     }
198   }
199 }
200
201 Member4 {
202   bounded-mailbox {
203     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
204     mailbox-capacity = 1000
205     mailbox-push-timeout-time = 100ms
206   }
207
208   in-memory-journal {
209     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
210   }
211
212   in-memory-snapshot-store {
213     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
214     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
215   }
216
217   akka {
218     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
219     persistence.journal.plugin = "in-memory-journal"
220
221     loglevel = "INFO"
222
223     actor {
224       provider = "akka.cluster.ClusterActorRefProvider"
225
226       serializers {
227           java = "akka.serialization.JavaSerializer"
228           proto = "akka.remote.serialization.ProtobufSerializer"
229           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
230       }
231
232       serialization-bindings {
233           "com.google.protobuf.Message" = proto
234           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
235       }
236     }
237     remote {
238       log-remote-lifecycle-events = off
239       netty.tcp {
240         hostname = "127.0.0.1"
241         port = 2560
242       }
243     }
244
245     cluster {
246       auto-down-unreachable-after = 100s
247       retry-unsuccessful-join-after = 100ms
248
249       roles = [
250         "member-4"
251       ]
252     }
253   }
254 }
255
256 Member5 {
257   bounded-mailbox {
258     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
259     mailbox-capacity = 1000
260     mailbox-push-timeout-time = 100ms
261   }
262
263   in-memory-journal {
264     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
265   }
266
267   in-memory-snapshot-store {
268     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
269     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
270   }
271
272   akka {
273     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
274     persistence.journal.plugin = "in-memory-journal"
275
276     loglevel = "INFO"
277
278     actor {
279       provider = "akka.cluster.ClusterActorRefProvider"
280
281       serializers {
282           java = "akka.serialization.JavaSerializer"
283           proto = "akka.remote.serialization.ProtobufSerializer"
284           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
285       }
286
287       serialization-bindings {
288           "com.google.protobuf.Message" = proto
289           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
290       }
291     }
292     remote {
293       log-remote-lifecycle-events = off
294       netty.tcp {
295         hostname = "127.0.0.1"
296         port = 2561
297       }
298     }
299
300     cluster {
301       auto-down-unreachable-after = 100s
302       retry-unsuccessful-join-after = 100ms
303
304       roles = [
305         "member-5"
306       ]
307     }
308   }
309 }