CDS: Implement front-end support for local transactions
[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           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       
85       roles = [
86         "member-1"
87       ]
88     }
89   }
90 }
91
92 Member2 {
93   bounded-mailbox {
94     mailbox-type = "org.opendaylight.controller.cluster.common.actor.MeteredBoundedMailbox"
95     mailbox-capacity = 1000
96     mailbox-push-timeout-time = 100ms
97   }
98   
99   in-memory-journal {
100     class = "org.opendaylight.controller.cluster.raft.utils.InMemoryJournal"
101   }
102
103   in-memory-snapshot-store {
104     class = "org.opendaylight.controller.cluster.raft.utils.InMemorySnapshotStore"
105     plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
106   }
107   
108   akka {
109     persistence.snapshot-store.plugin = "in-memory-snapshot-store"
110     persistence.journal.plugin = "in-memory-journal"
111     
112     actor {
113       provider = "akka.cluster.ClusterActorRefProvider"
114       
115       serializers {
116           java = "akka.serialization.JavaSerializer"
117           proto = "akka.remote.serialization.ProtobufSerializer"
118           readylocal = "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransactionSerializer"
119       }
120
121       serialization-bindings {
122           "com.google.protobuf.Message" = proto
123           "org.opendaylight.controller.cluster.datastore.messages.ReadyLocalTransaction" = readylocal
124       }
125     }
126     remote {
127       log-remote-lifecycle-events = off
128       netty.tcp {
129         hostname = "127.0.0.1"
130         port = 2559
131       }
132     }
133
134     cluster {
135       auto-down-unreachable-after = 100s
136       
137       roles = [
138         "member-2"
139       ]
140     }
141   }
142 }

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.