Bug 2187: Implement add-shard-replica RPC
[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 }