BUG-1014: pass proper TreeType to DataTreeFactory 69/29669/12
authorRobert Varga <rovarga@cisco.com>
Fri, 13 Nov 2015 17:28:54 +0000 (18:28 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 15 Dec 2015 16:41:19 +0000 (16:41 +0000)
commit9b78e3a07fc3090565400eb2206a8e970f9a675b
tree1912a8938f87bf60b8bdc1db0bfcd7f59426e60d
parent9681454e5a6acb2ce5e87c72c06e6a03e901c765
BUG-1014: pass proper TreeType to DataTreeFactory

Convert the LogicalStoreType into a TreeType and pass it down to the
DataTreeFactory, thus ensuring the resulting DataTree is aware of which
YANG store (CONFIG or OPER) it should enforce.

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