Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG 2134 : Make persistence configurable at the datastore level
[controller.git]
/
opendaylight
/
md-sal
/
sal-akka-raft
/
src
/
test
/
resources
/
application.conf
diff --git
a/opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf
b/opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf
index 6b2cc2203844198bc546ab509695d3c134a35a8b..8a45108f8b675b2442e2dd1ecb9195472095bda5 100644
(file)
--- a/
opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf
+++ b/
opendaylight/md-sal/sal-akka-raft/src/test/resources/application.conf
@@
-1,5
+1,6
@@
akka {
persistence.snapshot-store.plugin = "mock-snapshot-store"
akka {
persistence.snapshot-store.plugin = "mock-snapshot-store"
+ persistence.journal.plugin = "mock-journal"
loglevel = "DEBUG"
loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
loglevel = "DEBUG"
loggers = ["akka.testkit.TestEventListener", "akka.event.slf4j.Slf4jLogger"]
@@
-14,6
+15,7
@@
akka {
}
serialization-bindings {
}
serialization-bindings {
+ "org.opendaylight.controller.cluster.common.actor.Monitor" = java
"org.opendaylight.controller.cluster.raft.client.messages.FindLeader" = java
"org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java
"com.google.protobuf.Message" = proto
"org.opendaylight.controller.cluster.raft.client.messages.FindLeader" = java
"org.opendaylight.controller.cluster.raft.ReplicatedLogImplEntry" = java
"com.google.protobuf.Message" = proto
@@
-28,3
+30,10
@@
mock-snapshot-store {
# Dispatcher for the plugin actor.
plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
}
# Dispatcher for the plugin actor.
plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
}
+
+mock-journal {
+ # Class name of the plugin.
+ class = "org.opendaylight.controller.cluster.raft.utils.MockAkkaJournal"
+ # Dispatcher for the plugin actor.
+ plugin-dispatcher = "akka.persistence.dispatchers.default-plugin-dispatcher"
+}