BUG-2953 : Unable to read from datastore root with clustering enabled 50/18050/2
authorMoiz Raja <moraja@cisco.com>
Thu, 9 Apr 2015 17:53:55 +0000 (10:53 -0700)
committerMoiz Raja <moraja@cisco.com>
Thu, 9 Apr 2015 20:59:33 +0000 (13:59 -0700)
commit00b5c1a7cc2c4a32ec7335bf852565cb0c90e7c4
tree1de2e65633a4fa0928856efc6d021c514dd8447e
parent78527e81f8cc82140af5cb2649863a597f380291
BUG-2953 : Unable to read from datastore root with clustering enabled

This patch adds a NormalizedNodeAggregator which makes it possible to read
from the root of the datastore tree.

Writing, merging and checking for the existence of the root path is not
supported yet but we could in a future patches if needed.

Change-Id: I892bdc733ec316f41926d8bbccdbbdc6c31a5c25
Signed-off-by: Moiz Raja <moraja@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionProxy.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/ActorContext.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/utils/NormalizedNodeAggregator.java [new file with mode: 0644]
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionProxyTest.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/utils/NormalizedNodeAggregatorTest.java [new file with mode: 0644]