Acquire SchemaContext from ShardDataTree 84/42784/3
authorRobert Varga <rovarga@cisco.com>
Fri, 29 Jul 2016 14:02:10 +0000 (16:02 +0200)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 30 Jul 2016 09:11:48 +0000 (09:11 +0000)
commit744080c6e16bd2ba675b7b526b900aa6ee68bb90
treea79ed76abbde8ce410009a20cae45836b47b8cbf
parentd3790efbca191389411dbb71f1940027f95c2c23
Acquire SchemaContext from ShardDataTree

Instead of passing the SchemaContext explictly, make
ShardRecoveryCoordinator understand that it can obtain
the SchemaContext from ShardDataTree.

Change-Id: Id5ed521a96e8a741ad7da6199ba117b99a8f78e4
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/Shard.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/ShardRecoveryCoordinator.java
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/ShardRecoveryCoordinatorTest.java